Example #1
0
        internal void dashboard_Click(object sender, EventArgs e)
        {
            DropDownButton button        = (DropDownButton)sender;
            int            i             = int.Parse(button.Tag.ToString());
            XDashBoardForm dashboardFrom = new XDashBoardForm(cfgData.dashboards[i - 1]);

            dashboardFrom.Show();
        }
Example #2
0
        private void OnDalshboardItemClick(object sender, EventArgs e)
        {
            DXMenuItem item = (DXMenuItem)sender;
            int        i    = int.Parse(item.Tag.ToString());

            AlertUtil.StartWait();
            XDashBoardForm dashboardFrom = new XDashBoardForm(cfgData.dashboards[i - 1]);

            dashboardFrom.Show();
            AlertUtil.StopWait();
        }