示例#1
0
 public override void visit(Form1 form)
 {
     form.getTextBoxTime().Text = DateTime.Now.ToString("HH:mm:ss tt");
     form.getTextBoxDate().Text = DateTime.Now.DayOfWeek.ToString() +
                                  " " + DateTime.Now.ToString("d");
 }
示例#2
0
 public abstract void visit(Form1 form);