Exemplo n.º 1
0
 private void tsbtnRefresh_Click(object sender, EventArgs e)
 {
     if (_mode == "overview")
     {
         overview = new FormOverview();
         LoadControl(overview);
     }
     else
     {
         masterview = new FormView2();
         LoadControl(masterview);
     }
 }
Exemplo n.º 2
0
        private void tsbtnMasterView_Click(object sender, EventArgs e)
        {
            tsbtnMasterView.Font      = new Font("Calibri", this.Font.Size, FontStyle.Bold);
            tsbtnMasterView.ForeColor = Color.Cyan;

            tsbtnOverview.Font      = new Font("Calibri", this.Font.Size, FontStyle.Regular);
            tsbtnOverview.ForeColor = Color.White;

            _mode = "masterview";

            masterview = new FormView2();
            LoadControl(masterview);
        }