public Controller(IBugGazerControl bugGazerControl) { mBugGazerControl = bugGazerControl; #if DEBUG OpenConsole(); #endif }
public MainForm() { mBugGazerControl = new DBWinListView(mStorage); // working normal + virtual //mBugGazerControl = new DBWinObjectListView(mStorage); // working normal + virtual mController = new Controller(mBugGazerControl); //this.Controls.Add(mBugGazerControl); InitializeComponent(); this.Controls.SetChildIndex(searchBar, 0); // searchbar on top DockContent content = (DockContent)mBugGazerControl; content.Text = "PID: 123"; content.Show(this.dockPanel1); mBugGazerControl2 = new DBWinObjectListView(mStorage); DockContent content2 = (DockContent)mBugGazerControl2; content2.Text = "Feibbox.exe"; content2.Show(this.dockPanel1); Resize += new EventHandler(MainForm_Resize); }