//internal Grid outerGrid; //internal Grid innerGrid; //internal System.Windows.Controls.Label labelHosts; //internal CheckedComboControl selectedHosts; //internal System.Windows.Controls.Label labelScans; //internal CheckedComboControl selectedScans; //internal System.Windows.Controls.Button buttonRefresh; //internal TextBlock buttonRefreshText; //internal System.Windows.Controls.CheckBox autoRefresh; //internal System.Windows.Controls.Label labelReport; //internal CheckedComboControl selectedReport; //internal System.Windows.Controls.Button buttonReport; //internal TextBlock buttonReportText; //internal System.Windows.Controls.Button buttonHelp; //internal TextBlock buttonHelpText; //internal WfGridProxyControl gridControl; //internal System.Windows.Controls.Primitives.StatusBar statusBar; //internal TextBlock statusMachine; //internal TextBlock statusUser; //internal TextBlock statusOS; //internal TextBlock statusVstoSuppressDisplayAlerts; //internal TextBlock statusVstoLogAlerts; //internal TextBlock statusAddInsFound; //private bool _contentLoaded; public AddInSpyWindow() { this.InitializeComponent(); this.InitializeUI(); this.InitializeSelectedHosts(); this.InitializeSelectedScans(); this.InitializeSelectedReport(); this.controller = new Controller(this.checkHKCU.IsChecked.Value, this.checkHKLM.IsChecked.Value, this.checkRemote.IsChecked.Value, this.checkManagedIfs.IsChecked.Value, this.checkNativeIfs.IsChecked.Value, this.checkDisabled.IsChecked.Value, this.checkFormRegions.IsChecked.Value); this.gridControl.addInGridControl.AddInGrid.DataSource = (object) this.controller.GridProxy.AddInDataTable; this.gridControl.addInGridControl.AddInGrid.CellContentDoubleClick += new DataGridViewCellEventHandler(this.AddInGrid_CellContentDoubleClick); this.InitializeStatusBar(); }
public Program() { this.controller = new Controller(false); }