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...
-
CriteriaOperator criteria = new BinaryOperator("Age", 30, BinaryOperatorType.Greater); CriteriaOperator criteria = CriteriaOperato...
-
SortingCollection sc = new SortingCollection(); sc.Add (new SortProperty("field on which you want to sort",DevExpress.Xpo.DB.Sorti...
-
Minification and Uglyfication in Angular Deployement Minification : While building Angular Application white spaces , unused variable , u...
No comments:
Post a Comment