Esempio n. 1
0
        private void NewMember_Click(object sender, EventArgs e)
        {
            MemberAdd Frm = new MemberAdd();

            Frm.Connnection = lsGdb.Gdb;
            Frm.ShowDialog(this);
            SelectMember("memnamee1", Frm.lsMemNameE);
        }
Esempio n. 2
0
        private void Main_KeyUp(object sender, KeyEventArgs e)
        {
            switch (e.KeyCode)
            {
            case Keys.Escape:
            {
                //if (MessageBox.Show("Do you exit Program", "Exit Program", MessageBoxButtons.YesNo) == DialogResult.Yes)
                //{
                //    Application.Exit();
                //}
                CloseFrm();
                break;
            }

            case Keys.PageUp:
                //axWindowsMediaPlayer1.Ctlcontrols.stop();
                //axWindowsMediaPlayer1.Ctlcontrols.play();
                //axWindowsMediaPlayer2.Ctlcontrols.play();
                break;

            case Keys.F2:
                VoucherAdd lsReserveForm = new VoucherAdd();
                lsReserveForm.ShowDialog(this);
                break;

            case Keys.F6:
                MemberAdd lsMemberAdd = new MemberAdd();
                lsMemberAdd.ShowDialog(this);
                break;

            case Keys.F7:
                ShopSendData lsSendData = new ShopSendData();
                lsSendData.ShowDialog(this);
                break;
            }
        }