예제 #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     ExcelTemplate et = new ExcelTemplate(tmp);
     et.colName = columnname;
     if (et.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     {
         this.DialogResult = System.Windows.Forms.DialogResult.OK;
     }
 }
예제 #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            ExcelTemplate et = new ExcelTemplate(tmp);

            et.colName = columnname;
            if (et.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                this.DialogResult = System.Windows.Forms.DialogResult.OK;
            }
        }
예제 #3
0
파일: MDIMain.cs 프로젝트: xy19xiaoyu/PatSI
 private void 管理GToolStripMenuItem_Click(object sender, EventArgs e)
 {
     foreach (Form form in this.MdiChildren)
     {
         if (form is ExcelTemplate)
         {
             form.Show();
             return;
         }
     }
     ExcelTemplate tmp = new ExcelTemplate();
     tmp.Show();
 }
예제 #4
0
파일: MDIMain.cs 프로젝트: xy19xiaoyu/PatSI
        private void 管理GToolStripMenuItem_Click(object sender, EventArgs e)
        {
            foreach (Form form in this.MdiChildren)
            {
                if (form is ExcelTemplate)
                {
                    form.Show();
                    return;
                }
            }
            ExcelTemplate tmp = new ExcelTemplate();

            tmp.Show();
        }