Beispiel #1
0
        private void EditAppartmentToolStripMenuItem_Click_1(object sender, EventArgs e)
        {
            EditAppartment add = new EditAppartment();

            add.MdiParent = this;
            add.Show();
        }
Beispiel #2
0
        private void Button2_Click(object sender, EventArgs e)
        {
            EditAppartment editAppartment = new EditAppartment(realEstateModel.RealEstateID);

            editAppartment.MdiParent = this.MdiParent;
            editAppartment.Show();
        }