Exemple #1
0
        public MainWindow()
        {
            InitializeComponent();

            DesignViewPort = new DesignViewPortWindow();
            Explorer       = new ExplorerWindow();
            Output         = new OutputWindow();
            Inspector      = new InspectorWindow();

            Explorer.EntitySelected += Explorer_EntitySelected;
        }
Exemple #2
0
 private void designViewportToolStripMenuItem_CheckedChanged(object sender, EventArgs e)
 {
     if (DesignViewPort.IsDisposed)
     {
         DesignViewPort = new DesignViewPortWindow();
     }
     if (designViewportToolStripMenuItem.Checked)
     {
         DesignViewPort.MdiParent = this;
         //DesignViewPort.Dock = DockStyle.Fill;
         DesignViewPort.Show();
     }
     else
     {
         DesignViewPort.Hide();
     }
 }