Example #1
0
 private void toolStripButton4_Click(object sender, EventArgs e)
 {
     Dialog.frmDialogCateNet frm = new frmDialogCateNet();
     frm.ShowDialog();
 }
 private void button3_Click_1(object sender, EventArgs e)
 {
     showGrid();
     Dialog.frmDialogCateNet frm = new frmDialogCateNet();
     frm.ShowDialog();
     if (frm.DialogResult == DialogResult.OK) {
         for (int i = 0; i < frm.getMid().Count; i++) {
             dataGridView1.Rows.Add(frm.getMid()[i],frm.getMname()[i],"",frm.getMunit()[i]);
         }
     }
 }
Example #3
0
 private void munuCate_Click(object sender, EventArgs e)
 {
     Dialog.frmDialogCateNet frm = new Dialog.frmDialogCateNet();
     frm.MdiParent = this;
     frm.StartPosition = FormStartPosition.CenterScreen;
     frm.Show();
 }