Ejemplo n.º 1
0
        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());
            }
        }
Ejemplo n.º 2
0
        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();
            }
        }
Ejemplo n.º 3
0
        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();
            }
        }
Ejemplo n.º 4
0
        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();
            }
        }