public void flatUserSuccessful() { this.Hide(); MainScreen ms = new MainScreen(user, apartment); ms.ShowDialog(); this.Dispose(); }
// will be called by controller when successful public void buildingCreated() { this.Hide(); MainScreen ms = new MainScreen(user, apartment); ms.ShowDialog(); this.Dispose(); }