コード例 #1
0
 private void MT_View_Click(object sender, EventArgs e)
 {
     if (vt == null)
     {
         vt             = new ViewTransaction();
         vt.MdiParent   = this;
         vt.FormClosed += new FormClosedEventHandler(Vt_FormClosed);
         vt.Show();
     }
     else
     {
         vt.Activate();
     }
 }
コード例 #2
0
 private void Vt_FormClosed(object sender, FormClosedEventArgs e)
 {
     vt = null;
 }