Beispiel #1
0
        //Methods extMethods = new Methods();

        public MDIMain()
        {
            InitializeComponent();

            publicMDIParent = this;

            MosesInit();

            Load += MDIMainForm_Load;

            Resize += MDIMainForm_Resize;

            FormClosing += MDIMainForm_FormClosing;

            timer.Tick += OnTimerTick;

            Init();



            //NavBars.ManageNavBarControls(navBarControl1, Program.ApplicationCode);

            NavBars.NavBarEnableDisableControls(navBarControl1, false);

            NavBars.ManageUserLoginNavBar(navBarControl1);
        }
Beispiel #2
0
        public MDIMains()
        {
            InitializeComponent();
            //connects.ConnectionString();

            //   stateCode = extMethods.getQuery("statecode", "");

            publicMDIParent = this;

            Load += MDIMainForm_Load;

            Resize += MDIMainForm_Resize;

            FormClosing += MDIMainForm_FormClosing;

            timer.Tick += OnTimerTick;

            Init();


            //DataTable dts = (new Logic()).getSqlStatement("select CentreCode from [tblReceiptOffice]").Tables[0];

            //if (dts != null && dts.Rows.Count > 0)
            //{
            //    ReceiptOfficecode = dts.Rows[0]["CentreCode"].ToString();
            //}

            NavBars.ManageNavBarControls(navBarControl1, Program.ApplicationCode);

            NavBars.NavBarEnableDisableControls(navBarControl1, false);

            NavBars.ManageUserLoginNavBar(navBarControl1);
        }