Beispiel #1
0
 private void ShowDashboard()
 {
     if (_dashboard == null)
     {
         _dashboard = new Dashboard();
         _dashboard.WorkingDirChanged += DashboardWorkingDirChanged;
         toolPanel.Panel2.Controls.Add(_dashboard);
         _dashboard.Dock = DockStyle.Fill;
     }
     else
         _dashboard.Refresh();
     _dashboard.Visible = true;
     _dashboard.BringToFront();
     _dashboard.ShowRecentRepositories();
 }
Beispiel #2
0
        private void ShowDashboard()
        {
            if (dashboard == null)
            {
                dashboard = new Dashboard();
                dashboard.WorkingDirChanged += dashboard_WorkingDirChanged;
                this.splitContainer2.Panel2.Controls.Add(dashboard);
                dashboard.Dock = DockStyle.Fill;
            }

            {
                dashboard.Visible = true;
                dashboard.BringToFront();
                dashboard.ShowRecentRepositories();
            }
        }