Exemple #1
0
        private void btnEnv30_Click(object sender, EventArgs e)
        {
            jsonURL = "https://meter.m1sensordata.com/sensirionPHP/getenv17.php?n";

            lbltitle.Text = btnEnv30.Text;
            this.PanelFormLoader.Controls.Clear();
            frmDashboard FrmDashboard_Vrb = new frmDashboard()
            {
                Dock = DockStyle.Fill, TopLevel = false, TopMost = true
            };

            FrmDashboard_Vrb.FormBorderStyle = FormBorderStyle.None;
            this.PanelFormLoader.Controls.Add(FrmDashboard_Vrb);
            FrmDashboard_Vrb.Show();
        }
Exemple #2
0
        private void BtnDashboard_Click_1(object sender, EventArgs e)
        {
            PnlNav.Height          = BtnDashboard.Height;
            PnlNav.Top             = BtnDashboard.Top;
            PnlNav.Left            = BtnDashboard.Left;
            BtnDashboard.BackColor = Color.FromArgb(46, 51, 73);

            lblTitle.Text = "Dashboard";
            this.PnlFormLoader.Controls.Clear();
            frmDashboard FrmDashboard_Vrb = new frmDashboard()
            {
                Dock = DockStyle.Fill, TopLevel = false, TopMost = true
            };

            FrmDashboard_Vrb.FormBorderStyle = FormBorderStyle.None;
            this.PnlFormLoader.Controls.Add(FrmDashboard_Vrb);
            FrmDashboard_Vrb.Show();
        }
Exemple #3
0
        private void btnDashbord_Click(object sender, EventArgs e)
        {
            pnlNav.Height         = btnDashbord.Height;
            pnlNav.Top            = btnDashbord.Top;
            pnlNav.Left           = btnDashbord.Left;
            btnDashbord.BackColor = Color.FromArgb(46, 51, 73);

            lbltitle.Text = "Dashbord";
            this.pnlFormLoader.Controls.Clear();
            frmDashboard frmDashboard_vrb = new frmDashboard()
            {
                Dock = DockStyle.Fill, TopLevel = false, TopMost = true
            };

            frmDashboard_vrb.FormBorderStyle = FormBorderStyle.None;
            this.pnlFormLoader.Controls.Add(frmDashboard_vrb);
            frmDashboard_vrb.Show();
        }
Exemple #4
0
        public Form1()
        {
            InitializeComponent();
            Region        = System.Drawing.Region.FromHrgn(CreateRoundRectRgn(0, 0, Width, Height, 25, 25));
            pnlNav.Height = btnDashbord.Height;
            pnlNav.Top    = btnDashbord.Top;
            pnlNav.Left   = btnDashbord.Left;

            lbltitle.Text = "Dashbord";
            frmDashboard frmDashboard_vrb = new frmDashboard()
            {
                Dock = DockStyle.Fill, TopLevel = false, TopMost = true
            };

            frmDashboard_vrb.FormBorderStyle = FormBorderStyle.None;
            this.pnlFormLoader.Controls.Add(frmDashboard_vrb);
            frmDashboard_vrb.Show();
        }
Exemple #5
0
        public Form1()
        {
            InitializeComponent();
            Region                 = System.Drawing.Region.FromHrgn(CreateRoundRectRgn(0, 0, Width, Height, 25, 25));
            PnlNav.Height          = BtnDashboard.Height;
            PnlNav.Top             = BtnDashboard.Top;
            PnlNav.Left            = BtnDashboard.Left;
            BtnDashboard.BackColor = Color.FromArgb(46, 51, 73);

            lblTitle.Text = "Dashboard";
            this.PnlFormLoader.Controls.Clear();
            frmDashboard FrmDashboard_Vrb = new frmDashboard()
            {
                Dock = DockStyle.Fill, TopLevel = false, TopMost = true
            };

            FrmDashboard_Vrb.FormBorderStyle = FormBorderStyle.None;
            this.PnlFormLoader.Controls.Add(FrmDashboard_Vrb);
            FrmDashboard_Vrb.Show();
        }