Beispiel #1
0
        private void buttonOpen_Click(object sender, EventArgs e)
        {
            var newApartmentEdit          = new NewApartment(true);
            var newApartmentEditPresenter = new NewApartmentEditPresenter(newApartmentEdit, (DtoApartment)gridView1.GetFocusedRow());

            newApartmentEdit.ShowDialog();
        }
Beispiel #2
0
        private void buttonNew_Click(object sender, EventArgs e)
        {
            var newApartment          = new NewApartment();
            var newApartmentPresenter = new NewApartmentPresenter(newApartment);

            newApartment.ShowDialog();
        }