Example #1
0
        private void dashboardTile_TileClicked(object sender, EventArgs e)
        {
            DashboardTile tile = sender as DashboardTile;

            this.GetType().InvokeMember(tile.RunMethodName,
                                        System.Reflection.BindingFlags.Default | System.Reflection.BindingFlags.InvokeMethod,
                                        null, this, new string[] { "" });

            dashboardTopPanel.BackColor = Color.White;
            dashboardTopPanel.Controls.Clear();
            dashboardTopPanel.Controls.Add(pageTableLayoutPanel);
        }
Example #2
0
        private void dashboardTile_TileRightClicked(object sender, EventArgs e)
        {
            DashboardTile tile = sender as DashboardTile;

            MessageBox.Show(tile.Name + "tile right clicked");
        }