private void bitmapButton2_Click(object sender, EventArgs e) { PendingToDoView ptdv = new PendingToDoView(p_PendingTaskQueue); ptdv.PushViewStack = PushViewStack; PushViewStack(ptdv, WeifenLuo.WinFormsUI.Docking.DockState.Document); //ptdv.WindowState = FormWindowState.Maximized; //ptdv.ShowDialog(); //RefreshDashboard(); }