Exemplo n.º 1
0
 public void ReplaceControls(IAsyncControls form, Control.ControlCollection controls, Control labelControl, TextBox valueControl)
 {
     Form = form;
     ReplaceControl(controls, labelControl, Label);
     ReplaceControl(controls, valueControl, ValueControl);
     if (ValueControl != null && Form != null)
     {
         Form.SetControlText(ValueControl, Value);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Replaces the controls in the form that was generated by the gui designer
 /// </summary>
 /// <param name="form">The form which contains the controls that are to be replaced</param>
 /// <param name="controls">The controls container which contains the controls that are to be replaced</param>
 /// <param name="labelControl">The label control to replace</param>
 /// <param name="valueControl">The value control to replace</param>
 public void ReplaceControls(IAsyncControls form, Control.ControlCollection controls, Control labelControl, Control valueControl)
 {
     Form = form;
     ReplaceControl(controls, labelControl, Label);
     ReplaceControl(controls, valueControl, ValueControl);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Replaces the controls in the form that was generated by the gui designer
 /// </summary>
 /// <param name="form">The form which contains the controls that are to be replaced</param>
 /// <param name="controls">The controls container which contains the controls that are to be replaced</param>
 /// <param name="labelControl">The label control to replace</param>
 /// <param name="valueControl">The value control to replace</param>
 public void ReplaceControls(IAsyncControls form, Control.ControlCollection controls, Control labelControl, Control valueControl)
 {
   Form = form;
   ReplaceControl(controls, labelControl, Label);
   ReplaceControl(controls, valueControl, ValueControl);
 }
Exemplo n.º 4
0
 public void ReplaceControls(IAsyncControls form, Control.ControlCollection controls, CheckBox valueControl)
 {
     Form = form;
     ReplaceControl(controls, valueControl, ValueControl);
 }
Exemplo n.º 5
0
 public void ReplaceControls(IAsyncControls form, Control.ControlCollection controls, CheckedListBox valueControl)
 {
     Form = form;
       ReplaceControl(controls, valueControl, ValueControl);
 }
Exemplo n.º 6
0
 /// <summary>
 /// Replaces the controls in the form that was generated by the gui designer
 /// </summary>
 /// <param name="form">The form which contains the controls that are to be replaced</param>
 /// <param name="controls">The controls container which contains the controls that are to be replaced</param>
 /// <param name="valueControl">The value control to replace</param>
 public void ReplaceControls(AsyncForm form, Control.ControlCollection controls, Control valueControl)
 {
     Form = form;
       ReplaceControl(controls, valueControl, ValueControl);
 }
Exemplo n.º 7
0
 public virtual void ReplaceControls(IAsyncControls form, Control.ControlCollection controls, ComboBox valueControl)
 {
     Form = form;
       ReplaceControl(controls, valueControl, ValueControl);
 }
Exemplo n.º 8
0
 public void ReplaceControls(IAsyncControls form, Control.ControlCollection controls, Control labelControl, TextBox valueControl)
 {
   Form = form;
   ReplaceControl(controls, labelControl, Label);
   ReplaceControl(controls, valueControl, ValueControl);
   if (ValueControl != null && Form != null)
     Form.SetControlText(ValueControl, Value);
 }