Beispiel #1
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (pd != null)
     {
         pd = null;
     }
     else
     {
         pd = new PaymentDelivery();
         pd.Show();
     }
 }
Beispiel #2
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (dataGridView1.Rows.Count > 0)
     {
         if (pd != null)
         {
             pd = null;
         }
         else
         {
             pd = new PaymentDelivery();
             pd.Show();
             Close();
         }
     }
     else
     {
         label5.Text = "You need to add product to continue.";
     }
 }
Beispiel #3
0
 private void simpleButton3_Click(object sender, EventArgs e)
 {
     if (bunifuCustomDataGrid5.Rows.Count > 0)
     {
         if (_pd != null)
         {
             _pd = null;
         }
         else
         {
             _pd = new PaymentDelivery();
             _pd.Show();
             Close();
         }
     }
     else
     {
         label5.Text = "You need to add product to continue.";
     }
 }