示例#1
0
        void form_ExportClick(object sender, EventArgs e)
        {
            DateLineForm form = (DateLineForm)sender;

            this.StartDate = form.StartDate;
            this.EndDate   = form.EndDate;
            this.Export();
        }
 public void OpenForm()
 {
     _form = new DateLineForm();
     _form.Text = this.Name;
     _form.DateTypeName = "��ڧ�����";
     _form.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     _form.ExportClick += new EventHandler(form_ExportClick);
     _form.ShowDialog();
 }
示例#3
0
 public void OpenForm()
 {
     _form               = new DateLineForm();
     _form.Text          = this.Name;
     _form.DateTypeName  = "實際完成日";
     _form.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     _form.ExportClick  += new EventHandler(form_ExportClick);
     _form.ShowDialog();
 }