Exemple #1
0
 /// <summary>
 /// Load the main form
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void MainForm_Load(object sender, EventArgs e)
 {
     cmbAuth.SelectedIndex = 0;
     //load the configuration
     _cnf = new Converter.Configuration.Configuration();
     _cnf.LoadConfig();
     txtServer.Focus();
 }
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     cmbAuth.SelectedIndex    = 0;
     txtPassword.IsEnabled    = false;
     txtUserName.IsEnabled    = false;
     cmbDestination.IsEnabled = false;
     chkNewDatabase.IsChecked = true;
     //load the configuration
     _cnf = new Converter.Configuration.Configuration();
     _cnf.LoadConfig();
     txtServer.Focus();
     _isLoaded = true;
 }