Exemplo n.º 1
0
        /// <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);
        }
Exemplo n.º 2
0
 // Called from the DashboardAdminUc
 public ManualStockMovementForm(DashboardUc dashboardAdminUc, Location location) : this()
 {
     _dashboardAdminUc = dashboardAdminUc;
     _location         = location;
 }