Beispiel #1
0
 private void radioButton2_CheckedChanged(object sender, EventArgs e)
 {
     groupBox3.Visible = false;
     groupBox4.Visible = false;
     if (raOR.Checked == true)
     {
         dataGridView1.DataSource = order.ORDER_TOTAL();
         CalculateTotalAmount1();
     }
     else if (raPOR.Checked == true)
     {
         dataGridView1.DataSource = order.PURCHASE_TOTAL();
         CalculateTotalAmount1();
     }
     else
     {
         dataGridView1.DataSource = order.ITEM_TOTAL();
         CalculateTotalAmount2();
     }
 }