private void MainForm_Load(object sender, EventArgs e) { MenuForm menuForm = new MenuForm(); menuForm.Show(dockPanel1, DockState.DockLeft); WbeService wbe = new WbeService(); wbe.Show(dockPanel1); // FormHome home = new FormHome(); // home.Show(dockPanel1); }
private void label1_Click(object sender, EventArgs e) { WbeService menu1 = new WbeService(); OpenForm(menu1); }
public WbeService() { instance = this; InitializeComponent(); CheckForIllegalCrossThreadCalls = false; }