Exemplo n.º 1
0
        //on Click function. This function close this form and open the reportlist Form
        private void StopEditing(object sender, EventArgs e)
        {
            AdminReportList ServicesListChild = new AdminReportList(this.Email, this.PassHash, this.ReportedBooking.ID);

            ServicesListChild.MdiParent       = this.ParentForm;
            ServicesListChild.FormBorderStyle = FormBorderStyle.None;
            ServicesListChild.Dock            = DockStyle.Fill;
            ServicesListChild.Show();
        }
Exemplo n.º 2
0
        //on Click function. this show the servicelist relative at the selected booking
        private void VaiAReportToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AdminReportList reportFormChild = new AdminReportList(this.Email, this.PassHash, Convert.ToInt32(this.bookingsListView.SelectedItems[0].Text));

            reportFormChild.MdiParent       = this.ParentForm;
            reportFormChild.FormBorderStyle = FormBorderStyle.None;
            reportFormChild.Dock            = DockStyle.Fill;
            reportFormChild.Show();
        }