Exemple #1
0
 public WorkspaceForm()
 {
     instance = this;
     InitializeComponent();
     HideOnClose = true;
 }
Exemple #2
0
        private void MDIForm_Load(object sender, EventArgs e)
        {
            mWorkspaceForm = new WorkspaceForm();
            mWorkspaceForm.Show(DockPanel, WeifenLuo.WinFormsUI.Docking.DockState.DockLeft);

            mTimer.Interval = 1000;
            mTimer.Tick += new EventHandler(mTimer_Tick);
            mTimer.Start();
        }