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