コード例 #1
0
 private void BtnClass_Click(object sender, EventArgs e)
 {
     using (frmClass frm = new frmClass())
     {
         this.Hide();
         frm.ShowDialog();
     }
 }
コード例 #2
0
        private void BtnClass_Click(object sender, EventArgs e)
        {
            frmClass frm = new frmClass();

            frm.ShowDialog();
        }