public MainWindow() : base(Gtk.WindowType.Toplevel) { Build(); Notebook notebook = new Notebook(); LampManager.ApachePanel apachepanel = new LampManager.ApachePanel(); notebook.AppendPage(apachepanel, new Label("Apache")); LampManager.PHPPanel phppanel = new LampManager.PHPPanel(); notebook.AppendPage(phppanel, new Label("PHP")); LampManager.SettingsPanel settingsPanel = new LampManager.SettingsPanel(); notebook.AppendPage(settingsPanel, new Label("Settings")); hbox1.Add(notebook); notebook.Show(); apachepanel.Show(); phppanel.Show(); settingsPanel.Show(); }
public MainWindow() : base(Gtk.WindowType.Toplevel) { Build (); Notebook notebook = new Notebook(); LampManager.ApachePanel apachepanel = new LampManager.ApachePanel(); notebook.AppendPage(apachepanel, new Label("Apache")); LampManager.PHPPanel phppanel = new LampManager.PHPPanel(); notebook.AppendPage(phppanel, new Label("PHP")); LampManager.SettingsPanel settingsPanel = new LampManager.SettingsPanel(); notebook.AppendPage(settingsPanel, new Label("Settings")); hbox1.Add(notebook); notebook.Show(); apachepanel.Show(); phppanel.Show(); settingsPanel.Show(); }