Beispiel #1
0
 private void barReportOutstanding_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (uxReportOutstanding == null)
     {
         uxReportOutstanding           = new Addons.ReportOutstanding.UxReportOutstandingListView();
         uxReportOutstanding.Disposed += new EventHandler(uxReportOutstanding_Disposed);                 //Add Disposed EventHandler
         uxReportOutstanding.MdiParent = this;
         TabMDIUX.MdiParent            = this;
         uxReportOutstanding.Show();
         uxReportOutstanding.Dock = DockStyle.Fill;
         uxReportOutstanding.BringToFront();
     }
     else
     {
         uxReportOutstanding.Activate();
         uxReportOutstanding.BringToFront();
     }
 }
Beispiel #2
0
 void uxReportOutstanding_Disposed(object sender, EventArgs e)
 {
     uxReportOutstanding = null;
 }