Friday, December 11, 2009
How To Apply Clock and Date on Your Application
To apply A Clock on Your Application You have To add A SimpleAction
Take A controller and Add a SimpleAction
Now Write Code
void View_ControlsCreated(object sender, EventArgs e)
{
if (View is ListView)
{
System.Windows.Forms.Timer tmr = new System.Windows.Forms.Timer();
tmr.Enabled = true;
tmr.Start();
tmr.Tick += new EventHandler(tmr_Tick);
}
}
void tmr_Tick(object sender, EventArgs e)
{
SimpleAction1.Caption = DateTime.Now.ToString();
}
Subscribe to:
Post Comments (Atom)
Mat Table Angular
Mat Table in Angular Mat table is used to display data . its a material designed styled data-table . For using Material Table MatTableMo...
No comments:
Post a Comment