forked from medOblla/bingoDesk
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dashboard.cs
70 lines (59 loc) · 1.88 KB
/
Dashboard.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using LiveCharts;
using LiveCharts.Wpf;
namespace BingoStore
{
public partial class Dashboard : Form
{
public Dashboard()
{
InitializeComponent();
this.FormBorderStyle = FormBorderStyle.FixedSingle;
this.MaximumSize = this.Size;
this.MinimumSize = this.Size;
sidePanel.Top = dshboard.Top;
}
private void dshboard_Click(object sender, EventArgs e)
{
sidePanel.Height = dshboard.Height;
sidePanel.Top = dshboard.Top;
DashBrd d1 = new DashBrd();
MainControlClass.showControl(d1,content);
}
private void manageProduct_Click(object sender, EventArgs e)
{
sidePanel.Height = manageProduct.Height;
sidePanel.Top = manageProduct.Top;
ShowProducts tab = new ShowProducts();
MainControlClass.showControl(tab, content);
}
private void newProduct_Click(object sender, EventArgs e)
{
sidePanel.Height = newProduct.Height;
sidePanel.Top = newProduct.Top;
addProduct tab = new addProduct();
MainControlClass.showControl(tab, content);
}
private void reports_Click(object sender, EventArgs e)
{
sidePanel.Height = newProduct.Height;
sidePanel.Top = reports.Top;
ShowReports tab = new ShowReports();
MainControlClass.showControl(tab, content);
}
private void panel10_Paint(object sender, PaintEventArgs e)
{
}
private void Dashboard_Load(object sender, EventArgs e)
{
}
}
}