Ejemplo n.º 1
0
        public Main()
        {
            InitializeComponent();

            // Shorthand for our panels
            this.mainPanel = this.splitContainer2.Panel2;

            // Add default panels
            this.Visible = true;

            //
            // UserControls for right panel
            //
            b = new Balance_UserControl(this);
            t = new Transfer_UserControl(this);
            d = new Deposit_UserControl(this);
            w = new Withdraw_UserControl(this);

            login = new LoginForm();
            login.FormClosed += new FormClosedEventHandler(login_FormClosed);
            login.ShowDialog(this);
        }
Ejemplo n.º 2
0
        public Main()
        {
            InitializeComponent();

            // Shorthand for our panels
            this.mainPanel = this.splitContainer2.Panel2;

            // Add default panels
            this.Visible = true;

            //
            // UserControls for right panel
            //
            b = new Balance_UserControl(this);
            t = new Transfer_UserControl(this);
            d = new Deposit_UserControl(this);
            w = new Withdraw_UserControl(this);

            login             = new LoginForm();
            login.FormClosed += new FormClosedEventHandler(login_FormClosed);
            login.ShowDialog(this);
        }