Пример #1
0
        private void button4_Click(object sender, EventArgs e)
        {
            frmPOS lp = new frmPOS(StaffID, 0, false);

            lp.ShowDialog();
            //Interaction.MsgBox("Under Constrution");
        }
Пример #2
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (ListView1.Items.Count == 0)
     {
         Interaction.MsgBox("Please select record to Update", MsgBoxStyle.Exclamation, "Update Invoice");
         return;
     }
     try
     {
         if (string.IsNullOrEmpty(ListView1.FocusedItem.Text))
         {
         }
         else
         {
             int    iID = Convert.ToInt32(ListView1.FocusedItem.Text);
             frmPOS fp  = new frmPOS(frmMain.StaffID, iID, true);
             fp.ShowDialog();
         }
     }
     catch
     {
         Interaction.MsgBox("Please select invoice to update", MsgBoxStyle.Exclamation, "update");
         return;
     }
 }
Пример #3
0
        private void button4_Click(object sender, EventArgs e)
        {
            frmPOS lp = new frmPOS(StaffID);

            lp.ShowDialog();
        }
Пример #4
0
        private void button4_Click(object sender, EventArgs e)
        {
            frmPOS lp = new frmPOS(Username, StaffID, "System, Admin");

            lp.ShowDialog();
        }