private void Form1_Load(object sender, EventArgs e)
 {
     f_pengguna.MdiParent = this;
     f_pengguna.Show();
     tabControl1.Hide();
     f_pengguna.Location = new Point(0, 0);
 }
        public void goTo(int id)
        {
            //id Form Page
            //0 Form Pengguna
            //1 Form Login
            //2 Form Master Member
            //3 Form New Member
            //4 Form Rawat Inap
            //5 Form Rawat Jalan

            //RESET FORM PARENT
            f_pengguna.Close();
            f_login.Close();

            //CHANGE PAGE FUNCTION
            if (id == 0)
            {
                f_pengguna           = new FormPengguna();
                f_pengguna.MdiParent = this;
                f_pengguna.Show();
                f_pengguna.Location = new Point(0, 0);
            }
            else if (id == 1)
            {
                f_login           = new FormLogin();
                f_login.MdiParent = this;
                f_login.Show();
                f_login.Location = new Point(0, 0);
            }// MASUKAN KE TAB CONTROL
            else if (id == 2)
            {
                FormMasterMember f_masterMember = new FormMasterMember();
                f_masterMember.TopLevel        = false;
                f_masterMember.Visible         = true;
                f_masterMember.FormBorderStyle = FormBorderStyle.None;
                f_masterMember.Dock            = DockStyle.Fill;
                TabPage newTab = new TabPage("Data Member");
                newTab.Controls.Add(f_masterMember);
                f_masterMember.Parent = newTab;
                tabControl1.TabPages.Add(newTab);
            }
            else if (id == 3)
            {
                FormNewMember f_newMember = new FormNewMember();
                f_newMember.TopLevel        = false;
                f_newMember.Visible         = true;
                f_newMember.FormBorderStyle = FormBorderStyle.None;
                f_newMember.Dock            = DockStyle.Fill;
                TabPage newTab = new TabPage("Member Baru");
                newTab.Controls.Add(f_newMember);
                f_newMember.Parent = newTab;
                tabControl1.TabPages.Add(newTab);
            }
            else if (id == 4)
            {
                FormRawatInap f_rawatInap = new FormRawatInap();
                f_rawatInap.TopLevel        = false;
                f_rawatInap.Visible         = true;
                f_rawatInap.FormBorderStyle = FormBorderStyle.None;
                f_rawatInap.Dock            = DockStyle.Fill;
                TabPage newTab = new TabPage("Rawat Inap");
                newTab.Controls.Add(f_rawatInap);
                f_rawatInap.Parent = newTab;
                tabControl1.TabPages.Add(newTab);
            }
            else if (id == 5)
            {
                FormRawatJalan f_rawatJalan = new FormRawatJalan();
                f_rawatJalan.TopLevel        = false;
                f_rawatJalan.Visible         = true;
                f_rawatJalan.FormBorderStyle = FormBorderStyle.None;
                f_rawatJalan.Dock            = DockStyle.Fill;
                TabPage newTab = new TabPage("Rawat Jalan");
                newTab.Controls.Add(f_rawatJalan);
                f_rawatJalan.Parent = newTab;
                tabControl1.TabPages.Add(newTab);
            }
            else
            {
            }
        }