Exemplo n.º 1
0
 private void button2_Click(object sender, EventArgs e)
 {
     int ModelOrder = CatalogBLL.initialOrder(1);
     if (RMisClick)
     {
         XuanxingUI XuUi = new XuanxingUI(ModelOrder);
         this.Close();
         XuUi.ShowDialog();
     }
     else if(ModisClick){
         AAonRating.aaon.DeviceID = 2;
         ModAHUnit Mod = new ModAHUnit();
         Mod.InitialForm(0, null);
         Mod.OrderIDToMod = OrderSale;
         this.Close();
         Mod.ShowDialog();
     }
     else if (RNisClick)
     {
         RnCurb rc = new RnCurb();
         this.Close();
         rc.ShowDialog();
     }
     else if(CAisClick){
         ControlsAndAccessories cor = new ControlsAndAccessories();
         cor.orderID = OrderSale;
         this.Close();
         cor.ShowDialog();
     }
     else if(RLisClick){
         XuanxingUI XuUi = new XuanxingUI(ModelOrder);
         this.Close();
         XuUi.ShowDialog();
     }
     this.Close();
 }
Exemplo n.º 2
0
 private void pictureBox9_DoubleClick(object sender, EventArgs e)
 {
     RnCurb rc = new RnCurb();
     rc.ShowDialog();
 }