private void label6_Click(object sender, EventArgs e)
        {
            if (i_bad_qty == 0)
            {
                MessageBox.Show("등록할 불량 갯수를 선택해 주세요", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
                return;
            }
            SelectDefect selectDefect = new SelectDefect(this);

            selectDefect.Show();
        }
 private void form9ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (ActiveMdiChild != null)                 // 자식폼이 열려 있으면
     {
         if (this.ActiveMdiChild != mChildForm9) // 열려있는 자식폼이 Form3 가 아니면
         {
             //ActiveMdiChild.Close(); // 현재 활성화된 창을 닫아라
         }
         mChildForm9 = ShowOrActiveForm(mChildForm9, typeof(SelectDefect)) as SelectDefect;
     }
     else
     {
         mChildForm9 = ShowOrActiveForm(mChildForm9, typeof(SelectDefect)) as SelectDefect;
     }
 }