Example #1
0
 public AddDryForm(string newIdRaw, string idContractor, string newRaw, string weightBefore)
 {
     InitializeComponent();
     controller        = new AddDryController();
     idRaw             = newIdRaw;
     raw               = newRaw;
     this.idContractor = idContractor;
     this.weightBefore = weightBefore;
 }
Example #2
0
 public AddDryForm(Drying newDrying)
 {
     InitializeComponent();
     controller              = new AddDryController();
     drying                  = newDrying;
     dateTimePicker.Text     = drying.Date;
     weightBefore            = drying.WeightBefore;
     textBoxWeightAfter.Text = drying.WeightAfter;
     textBoxWetBefore.Text   = drying.WetBefore;
     textBoxWetAfter.Text    = drying.WetAfter;
 }