コード例 #1
0
 private void toolStripButton1_Click(object sender, EventArgs e)
 {
     if (currentRowId > 0)
     {
         C_Moving form = new C_Moving(currentRowId); //Объект формы
         form.MdiParent = this.ParentForm;           //Указываем родителя
         form.Show();
     }
 }
コード例 #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (currentRegNumber != "" && currentid != 0)
     {
         C_Moving form = new C_Moving(currentRegNumber, currentid); //Объект формы
         form.MdiParent = this.ParentForm;                          //Указываем родителя
         form.Show();
     }
 }