Beispiel #1
0
 private void reportToolStripMenuItem_Click_1(object sender, EventArgs e)
 {
     try
     {
         Home.Home_pnl.Visible = false;
         UI.BillPrint _asdf = new UI.BillPrint();
         _asdf.MdiParent   = this;
         _asdf.WindowState = FormWindowState.Maximized;
         _asdf.Show();
         _asdf.Focus();
     }
     catch (Exception ex)
     {
         notifyIcon1.ShowBalloonTip(1000, this.Name, ex.Message, ToolTipIcon.Info);;
     }
 }
 private void reportToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         if (_BillPrint.IsDisposed)
             _BillPrint = new BillPrint();
         Home.Home_pnl.Visible = false;
         _BillPrint.MdiParent = this;
         _BillPrint.WindowState = FormWindowState.Maximized;
         _BillPrint.Show();
         _BillPrint.Focus();
     }
     catch (Exception ex)
     {
         notifyIcon1.ShowBalloonTip(1000, this.Name, ex.Message, ToolTipIcon.Info); ;
     }
 }