private void frm_main_Load(object sender, EventArgs e) { try { ribbonControl.Minimized = true; //timer_InternetNotOk.Enabled = true; //timer_InternetOk.Enabled = false; timer_Refresh.Enabled = true; Frm_LanMtc frm = new Frm_LanMtc(); int a = AddTab.tabadd(xtraTabbedMdiManager1, frm); if (a == 0) { frm.MdiParent = this; frm.Show(); } // khởi chạy đồng hồ thời gian TimeNow = new Thread(new ThreadStart(Time)); TimeNow.Start(); } catch (Exception ex) { logger.Error(ex.ToString()); } }
private void bar_btnSearchEdit_ItemClick(object sender, ItemClickEventArgs e) { Frm_SearchAndEdit frm = new Frm_SearchAndEdit(); int a = AddTab.tabadd(xtraTabbedMdiManager1, frm); if (a == 0) { frm.MdiParent = this; frm.Show(); } }
private void barButtonItem6_ItemClick(object sender, ItemClickEventArgs e) { Frm_LanHonHop frm = new Frm_LanHonHop(); //frm.MdiParent = this; int a = AddTab.tabadd(xtraTabbedMdiManager1, frm); if (a == 0) { frm.MdiParent = this; frm.Show(); } }
private void btn_lanetc_ItemClick(object sender, ItemClickEventArgs e) { Frm_Etc frm = new Frm_Etc(); //frm.MdiParent = this; int a = AddTab.tabadd(xtraTabbedMdiManager1, frm); if (a == 0) { frm.MdiParent = this; frm.Show(); } }