示例#1
0
 private void Initializations()
 {
     _injectionStrategies            = new List <IInjectionStrategy>();
     _concreteInjectionStrategyTypes = new List <Type>();
     //DatabaseNames = new ObservableCollection<string>();
     //TableNames = new  ObservableCollection<string>();
     //ColumnNames = new ObservableCollection<string>();
     ////ItemsSource="{Binding Path=DatabaseNames}"
     //lbDatabases.ItemsSource = DatabaseNames;
     //lbTables.ItemsSource = TableNames;
     //lbColumns.ItemsSource = ColumnNames;
     _currentIpObtainerStrategy = new Seringa.Engine.Implementations.IPObtainers.SimpleIPObtainerStrategy();
     UIHelpers.ClearTreeView(tvDs);
     cmbProxyType.SelectedValue = ProxyType.None;
     btnAutodetect.IsEnabled    = false;
 }
 private void Initializations()
 {
     _injectionStrategies = new List<IInjectionStrategy>();
     _concreteInjectionStrategyTypes = new List<Type>();
     //DatabaseNames = new ObservableCollection<string>();
     //TableNames = new  ObservableCollection<string>();
     //ColumnNames = new ObservableCollection<string>();
     ////ItemsSource="{Binding Path=DatabaseNames}"
     //lbDatabases.ItemsSource = DatabaseNames;
     //lbTables.ItemsSource = TableNames;
     //lbColumns.ItemsSource = ColumnNames;
     _currentIpObtainerStrategy = new Seringa.Engine.Implementations.IPObtainers.SimpleIPObtainerStrategy();
     UIHelpers.ClearTreeView(tvDs);
     cmbProxyType.SelectedValue = ProxyType.None;
     btnAutodetect.IsEnabled = false;
 }