Esempio n. 1
0
        public frmGivePoint(frmViewCustomers owner)
        {
            InitializeComponent();
            _owner            = owner;
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmGivePoint_FormClosing);

            btnAddPoint.MouseEnter  += new EventHandler(btnAddPoint_MouseEnter);
            btnExitPoint.MouseEnter += new EventHandler(btnExitPoint_MouseEnter);
        }
Esempio n. 2
0
        public frmSearchCustomer(frmViewCustomers owner)
        {
            InitializeComponent();
            _owner            = owner;
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmSearchCustomer_FormClosing);

            btnSearch.MouseEnter     += new EventHandler(btnSearch_MouseEnter);
            btnExitSearch.MouseEnter += new EventHandler(btnExitSearch_MouseEnter);
        }
Esempio n. 3
0
        public frmAddCustomer(frmViewCustomers owner)
        {
            InitializeComponent();
            _owner            = owner;
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmAddCustomer_FormClosing);

            btnInsert.MouseEnter  += new EventHandler(btnInsert_MouseEnter);
            btnExitAdd.MouseEnter += new EventHandler(btnExitAdd_MouseEnter);
        }
Esempio n. 4
0
        private void btnViewCustomers_Click(object sender, EventArgs e)
        {
            dba.GetSound();

            frmViewCustomers viewCustomer = new frmViewCustomers();

            viewCustomer.ShowDialog();

            label1.Focus();
        }