Exemple #1
0
 public void IntegratedSecurityOnCheckedChanged(object sender, EventArgs e)
 {
     IntegratedSecurity = ((CheckBox)sender).CheckState;
     if (IntegratedSecurity == CheckState.Checked)
     {
         FormModelBinder.Disable(Form.TextBoxUserName);
         FormModelBinder.Disable(Form.TextBoxPassword);
     }
     else if (IntegratedSecurity == CheckState.Unchecked)
     {
         FormModelBinder.Enable(Form.TextBoxUserName);
         FormModelBinder.Enable(Form.TextBoxPassword);
     }
 }
Exemple #2
0
 private void EnableInputs()
 {
     FormModelBinder.Enable <Button>();
     FormModelBinder.Enable <TextBox>();
     FormModelBinder.Enable <CheckBox>();
 }