Example #1
0
 private void Button_Click(object sender, EventArgs e)
 {
     App.cardProtocol(); //if everything is good
     result = App.isValid();
     if (result)
     {
         if (System.Windows.Forms.Control.ModifierKeys == Keys.Shift)
         {
             UserInventory ui = new UserInventory();
             ui.ShowDialog();
         }
         else
         {
             App.recordTran();
         }
     }
 }
Example #2
0
        private void Button_Click(object sender, EventArgs e)
        {
            App.cardProtocol(); //if everything is good
            result = App.isValid();
            if (result)
            {

                if (System.Windows.Forms.Control.ModifierKeys == Keys.Shift)
                {

                    UserInventory ui = new UserInventory();
                    ui.ShowDialog();
                }
                else
                {

                    App.recordTran();

                }

            }
        }