Esempio n. 1
0
        private void OnChangeAction()
        {
            if (m_View.GetSecurityType() == SecurityType.Integrated)
            {
                m_View.SetFormEnabledState(EnabledState.Integrated);
            }
            else if (m_View.GetSecurityType() == SecurityType.SqlServerAuth)
            {
                m_View.SetFormEnabledState(EnabledState.SqlServerAuth);
            }

            m_OnChangeAction();
        }
Esempio n. 2
0
 public LocalServerPickerPage(LocalServerPickerView view, WizardPage nextPage, TestConnection testConnection, GetLocalInstances getLocalInstances) : base(nextPage)
 {
     m_View           = view;
     m_TestConnection = testConnection;
     m_View.SetFormEnabledState(EnabledState.Integrated);
     UpdateViewWithLocalInstances(getLocalInstances);
     view.OnChange(OnChangeAction);
 }
 public LocalServerPickerPage(LocalServerPickerView view, WizardPage nextPage, TestConnection testConnection, GetLocalInstances getLocalInstances)
     : base(nextPage)
 {
     m_View = view;
     m_TestConnection = testConnection;
     m_View.SetFormEnabledState(EnabledState.Integrated);
     UpdateViewWithLocalInstances(getLocalInstances);
     view.OnChange(OnChangeAction);
 }