Пример #1
0
 public StepControlObserver(UIStepGenerator form)
 {
     HelperUI.ModifyMethod(form, () =>
     {
         Container = new UIStepControl();
         form.Add(Container);
     });
 }
 public StepContainerObserver(FrmMain form, FrmMainObserver obs)
 {
     HelperUI.ModifyMethod(form, () =>
     {
         FrmMainObserver        = obs;
         Container              = new UIStepGenerator();
         Container.StepObserver = this;
         form.panelSteps.Controls.Add(Container);
     });
 }