Example #1
0
        private void FunctionRefresh()
        {
            mList = context.Members.ToList();
            MemberInformationForm n = new MemberInformationForm();

            n.memGridView.DataSource = mList;
            n.Refresh();
        }
Example #2
0
        private void MainForm_Load_1(object sender, EventArgs e)
        {
            //initalizing all forms to tabs
            var f1 = new FacilityAvailabilityForm();

            f1.TopLevel        = false;
            f1.Location        = new Point(0, 0);
            f1.FormBorderStyle = FormBorderStyle.None;
            f1.Visible         = true;
            this.tabPage1.Controls.Add(f1);

            var f2 = new BookingInformationForm();

            f2.TopLevel        = false;
            f2.Location        = new Point(0, 0);
            f2.FormBorderStyle = FormBorderStyle.None;
            f2.Visible         = true;
            this.tabPage2.Controls.Add(f2);

            var f3 = new MemberInformationForm();

            f3.TopLevel        = false;
            f3.Location        = new Point(0, 0);
            f3.FormBorderStyle = FormBorderStyle.None;
            f3.Visible         = true;
            this.tabPage3.Controls.Add(f3);

            var f4 = new FacilityInformationForm();

            f4.TopLevel        = false;
            f4.Location        = new Point(0, 0);
            f4.FormBorderStyle = FormBorderStyle.None;
            f4.Visible         = true;
            this.tabPage4.Controls.Add(f4);

            var f5 = new MgmtReport();

            f5.TopLevel        = false;
            f5.Location        = new Point(0, 0);
            f5.FormBorderStyle = FormBorderStyle.None;
            f5.Visible         = true;
            this.tabPage5.Controls.Add(f5);
        }
Example #3
0
        private void memberInformationToolStripMenuItem_Click(object sender, EventArgs e)
        {
            MemberInformationForm mif = new MemberInformationForm();

            mif.Show();
        }