Exemplo n.º 1
0
        public GTConfig()
        {
            InitializeComponent();

            // Init object
            busSql = new BUS.BUSSql();
        }
Exemplo n.º 2
0
        public FGuest()
        {
            InitializeComponent();

            //Init Usercontrol
            ucLogin  = new UCGuest.GTLogin();
            ucConfig = new UCGuest.GTConfig();

            //Register callback when click items
            uc_menu.YuhItems[0].YuhSelect += new EventHandler(openLogin);
            uc_menu.YuhItems[1].YuhSelect += new EventHandler(openConfigSql);
            uc_menu.YuhItems[2].YuhSelect += new EventHandler(openSupport);
            uc_menu.ReferActionClicked();

            //Load SqlDeltail
            busSql = new BUS.BUSSql();
            busSql.LoadDeltailSqlGlobal();

            //Save last guest
            m_guestLast = this;
        }