Beispiel #1
0
 public FRM_ORRDER_TOTAL()
 {
     InitializeComponent();
     if (raOR.Checked == true)
     {
         dataGridView1.DataSource = order.ORDER_TOTAL();
         CalculateTotalAmount1();
         this.cmb.DataSource = order.GET_CUSTOMER_ID();
         cmb.DisplayMember   = "MAGACA";
         cmb.ValueMember     = "ID";
     }
     else if (raPOR.Checked == true)
     {
         dataGridView1.DataSource = order.PURCHASE_TOTAL();
         CalculateTotalAmount1();
         this.cmb.DataSource = order.GET_SUPPLIER_ID();
         cmb.DisplayMember   = "MAGACA";
         cmb.ValueMember     = "ID";
     }
 }