/// <summary> /// Dashboard button click /// </summary> private void btnDashboard_Click(object sender, EventArgs e) { SetSubMenusVisibility(); SetMarkerPosition(btnDashboard); // Show the Dashboard view pnlViews.Controls.Clear(); lbViewTitle.Text = $"{Phrases.GlobalDashboard}"; UserControl ucDashboard = new DashboardUc { Dock = DockStyle.Fill }; pnlViews.Controls.Add(ucDashboard); }
// Called from the DashboardAdminUc public ManualStockMovementForm(DashboardUc dashboardAdminUc, Location location) : this() { _dashboardAdminUc = dashboardAdminUc; _location = location; }