示例#1
0
        public Form2(DateTime date, PlanData job)
        {
            InitializeComponent();
            this.Date = date;
            this.Job  = job;

            fPanel.Width  = panel2.Width;
            fPanel.Height = panel2.Height;
            panel2.Controls.Add(fPanel);

            dateTimePicker1.Value = Date;
        }
 public DayPlan(DateTime dateTime, PlanData job)
 {
     InitializeComponent();
     DateTime = dateTime;
     Job      = job;
 }