示例#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
 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
        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();
        }