Beispiel #1
0
 public frmBlindCount(frmStockCountStart pfrmParent, string plantno, string plant, string sloc, string location, string display)
 {
     InitializeComponent();
     if (display == "X")
     {
         eventdisable = true;
         this.frmBlindCount_Display(plantno, plant, sloc, location);
     }
     else
     {
         try
         {
             this.frmParent = pfrmParent;
             this.RefreshSAPGateway();
             this.Plant.Text    = plant.ToString();
             this.location.Text = location.ToString();
             Plantno            = plantno.ToString();
             Sloc       = sloc.ToString();
             itemcount  = 0;
             stockcount = 0;
             count.Text = null;
             this.material.Focus();
         }
         catch
         {
         }
     }
 }
Beispiel #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     this.frmBlind = new frmStockCountStart(this);
     this.frmBlind.ShowDialog();
 }