If LabVIEW does it like, so eazy!
C # is now a simple function to implement.
In the Toolbox, locate the Timer control double-click
The idea is to trigger the timer event when the interface is open and to adjust the transparency of the interface every time.
Open up
property box, locate the load double-click
The initial value of the payment opacity is 0, triggering timer1;
Immediately after we set the Timer1 event, double-click the Timer1 control of the front panel
Private void Timer1_Tick (object sender, EventArgs e) { if1) This0.1; }
over! It's not so hard to realize.
The timer control corresponds to the one in LabVIEW
So I'll practice other functions on the way.
Get time,
DateTime.Now.Year.ToString (); Get the year //2008datetime.now.month.tostring (); Get month/ /9datetime.now.dayofweek.tostring (); Get day//ThursdayDateTime.Now.DayOfYear.ToString (); /248datetime.now.hour.tostring (); Get hours //20datetime.now.minute.tostring (); Get minutes //31datetime.now.second.tostring (); Gets the number of seconds //45
Implementation of the "C # Zhanza" Interface emerging