Exemple #1
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (ISFREE == 0)
     {
         Form36 f36 = new Form36(F1, ServiceGrid.SelectedRows[0].Cells[1].Value.ToString(), ServiceGrid.SelectedRows[0].Cells[2].Value.ToString());
         f36.ShowDialog();
         ShowFreeServices();
     }
     else
     {
         Form37 f37 = new Form37(F1, ServiceGrid.SelectedRows[0].Cells[1].Value.ToString(), ServiceGrid.SelectedRows[0].Cells[3].Value.ToString(), ServiceGrid.SelectedRows[0].Cells[2].Value.ToString());
         f37.ShowDialog();
         ShowPaidServices();
     }
 }
Exemple #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (ISFREE == 0)
     {
         Form36 f36 = new Form36(F1);
         f36.ShowDialog();
         ShowFreeServices();
     }
     else
     {
         Form37 f37 = new Form37(F1);
         f37.ShowDialog();
         ShowPaidServices();
     }
 }