public QuestionsListForm(frm_AdminDashboard adminForm)
 {
     this.adminForm = adminForm;
     InitializeComponent();
     SearchData();
     txt_SearchFied.Focus();
 }
示例#2
0
 public UserListForm(frm_AdminDashboard adminForm)
 {
     this.adminForm = adminForm;
     InitializeComponent();
     ReadData();
     txt_SearchFied.Focus();
 }
 private void lblDashboard_Click(object sender, EventArgs e)
 {
     ofrm_AdminDashboard           = new frm_AdminDashboard();
     ofrm_AdminDashboard.MdiParent = this;
     ofrm_AdminDashboard.Dock      = DockStyle.Fill;
     pnlfrm_AdminMain.Controls.Add(ofrm_AdminDashboard);
     ofrm_PatientsMain.Hide();
     ofrm_SettingMain.Hide();
     ofrm_AdminDashboard.Show();
 }
示例#4
0
        private void lblDashboard_Click(object sender, EventArgs e)
        {
            pnlfrm_AdminMain.Controls.Clear();
            pnlfrm_AdminMain.Update();

            frm_AdminDashboard ofrm_AdminDashboard = new frm_AdminDashboard();

            ofrm_AdminDashboard.MdiParent = this;
            ofrm_AdminDashboard.Dock      = DockStyle.Fill;
            pnlfrm_AdminMain.Controls.Add(ofrm_AdminDashboard);
            ofrm_AdminDashboard.Show();
        }
        private void frm_AdminDeshboard_Load(object sender, EventArgs e)
        {
            this.MaximumSize = new System.Drawing.Size(Screen.PrimaryScreen.WorkingArea.Width, Screen.PrimaryScreen.WorkingArea.Height);
            this.MinimumSize = new System.Drawing.Size(Screen.PrimaryScreen.WorkingArea.Width, Screen.PrimaryScreen.WorkingArea.Height);
            this.WindowState = FormWindowState.Maximized;
            MinimumSize      = MaximumSize = this.Size;
            this.SetDesktopBounds(0, 0, Width, Height);
            this.CenterToParent();

            ofrm_PatientsMain = new frm_PatientsMain();
            ofrm_SettingMain  = new frm_SettingMain();

            ofrm_AdminDashboard           = new frm_AdminDashboard();
            ofrm_AdminDashboard.MdiParent = this;
            ofrm_AdminDashboard.Dock      = DockStyle.Fill;
            pnlfrm_AdminMain.Controls.Add(ofrm_AdminDashboard);
            ofrm_AdminDashboard.Show();
        }
示例#6
0
 public VideosListForm(frm_AdminDashboard FatherForm)
 {
     InitializeComponent();
     SearchData();
     this.FatherForm = FatherForm;
 }
 public FormDocumentManage(frm_AdminDashboard FatherForm)
 {
     InitializeComponent();
     SearchData();
     this.FatherForm = FatherForm;
 }