Exemplo n.º 1
0
 private void barButtonItem53_ItemClick(object sender, ItemClickEventArgs e)
 {
     barButtonItem53.ButtonStyle = BarButtonStyle.Check;
     RibonPasif();
     if (tsrEtx == null)
     {
         tsrEtx             = new frm_IhaleTasereEt();
         tsrEtx.MdiParent   = this;
         tsrEtx.FormClosed += new FormClosedEventHandler(TsrEtx_FormClosed);
         tsrEtx.Show();
     }
     else
     {
         tsrEtx.Activate();
     }
 }
Exemplo n.º 2
0
 private void TsrEtx_FormClosed(object sender, FormClosedEventArgs e)
 {
     tsrEtx = null;
     RibonAktif();
     barButtonItem53.ButtonStyle = BarButtonStyle.Default;
 }