Ejemplo n.º 1
0
 public OrderFormController(OrderForm form, Operation operation)
 {
     this.form = form;
     form.SetController(this);
     this.operation = operation;
     SetFormTitle();
     SetTextBoxesState();
 }
 public OrderFormController(OrderForm form)
 {
     this.form = form;
     try
     {
         form.SetController(this);
     }
     catch (NullReferenceException)
     {
         MessageBox.Show("Posługiwanie się nullowym obiektem.", "Błąd");
     }
 }
 public OrderFormController(OrderForm form, Operation operation)
 {
     this.form = form;
     this.operation = operation;
     try
     {
         form.SetController(this);
         SetFormTitle();
         SetTextBoxesState();
     }
     catch (NullReferenceException)
     {
         MessageBox.Show("Posługiwanie się nullowym obiektem.", "Błąd");
     }
 }
Ejemplo n.º 4
0
 public OrderFormController(OrderForm form)
 {
     this.form = form;
     form.SetController(this);
 }