コード例 #1
0
        private void buttonAddBug_Click(object sender, EventArgs e)
        {
            dataGridViewList.Hide();

            if (abf == null)
            {
                abf             = new AddbugForm();
                abf.MdiParent   = this;
                abf.FormClosed += abf_FormClosed;
                abf.Show();
            }
            else
            {
                abf.Activate();
            }
        }
コード例 #2
0
 void abf_FormClosed(object sender, FormClosedEventArgs e)
 {
     abf = null;
     // throw new NotImplementedException();
 }