private void sendReceiptBtn_Click(object sender, EventArgs e)
        {
            label2.Visible        = true;
            swich                 = true;
            printreceiptTab.swich = false;
            MessageTab msg = new MessageTab();

            msg.ShowDialog();
        }
Exemple #2
0
 private void sendEmailBtn_Click(object sender, EventArgs e)
 {
     if (checkReceipt == true)
     {
         swich = true;
         sendReceiptTab.swich = false;
         MessageTab msg = new MessageTab();
         msg.ShowDialog();
     }
     else
     {
         MessageBox.Show("Please Check the recipt for an employee first.");
     }
 }