コード例 #1
0
 private void counterBttn_Click(object sender, EventArgs e)
 {
     if (counterform == null)
     {
         counterform             = new counterFrm();
         counterform.Tag         = username1;
         counterform.FormClosed += counterform_FormClosed;
     }
     counterform.Show(this);
     Hide();
 }
コード例 #2
0
 void counterform_FormClosed(object sender, FormClosedEventArgs e)
 {
     counterform = null;
     Show();
 }