/// <summary>
 /// Constructor.
 /// </summary>
 public PasswordConfirmComponentControl(PasswordConfirmComponent component)
     : base(component)
 {
     _component = component;
     InitializeComponent();
     _confirmDescription.DataBindings.Add("Text", _component, "Description", true,
                                          DataSourceUpdateMode.OnPropertyChanged);
     _passwordField.DataBindings.Add("Value", _component, "Password", true,
                                          DataSourceUpdateMode.OnPropertyChanged);
     AcceptButton = _okButton;
 }
Exemple #2
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public PasswordConfirmComponentControl(PasswordConfirmComponent component)
     : base(component)
 {
     _component = component;
     InitializeComponent();
     _confirmDescription.DataBindings.Add("Text", _component, "Description", true,
                                          DataSourceUpdateMode.OnPropertyChanged);
     _passwordField.DataBindings.Add("Value", _component, "Password", true,
                                     DataSourceUpdateMode.OnPropertyChanged);
     AcceptButton = _okButton;
 }
Exemple #3
0
 /// <summary>
 /// Called by the host to assign this view to a component.
 /// </summary>
 public void SetComponent(IApplicationComponent component)
 {
     _component = (PasswordConfirmComponent)component;
 }
 /// <summary>
 /// Called by the host to assign this view to a component.
 /// </summary>
 public void SetComponent(IApplicationComponent component)
 {
     _component = (PasswordConfirmComponent)component;
 }