Пример #1
0
 public MainWindow()
 {
     InitializeComponent();
     Game.Charecters chard = new Game.Charecters();
     this.mainMenu.Renderer = new UI.LightColorTable();
     this.toolsMenu.Renderer = new UI.LightColorTable();
     ServerFiles files = new ServerFiles();
     MySQLDataset dataSet = new MySQLDataset();
     Output dataSet2 = new Output();
     ConfigurationEditor editor = new ConfigurationEditor();
     files.Show(this.dockPanel, DockState.DockLeftAutoHide);
     dataSet.Show(this.dockPanel, DockState.DockRightAutoHide);
     dataSet2.Show(this.dockPanel, DockState.DockBottomAutoHide);
     editor.Show(this.dockPanel, DockState.DockRightAutoHide);
 }
Пример #2
0
        private void mySQLDatabaseToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var mysqlView = new MySQLManager();
            var mysqlDataset = new MySQLDataset();

            mysqlView.Show(this.dockPanel, DockState.Document);
            mysqlDataset.Show(this.dockPanel, DockState.DockLeft);
        }