Esempio n. 1
0
 void addNewBlocksItem_Click(object sender, EventArgs e)
 {
     WindowAddPlants view = new WindowAddPlants();
     view.Title = "Додавання енергоблоків з файлу";
     view.Owner = this;
     view.WindowStartupLocation = WindowStartupLocation.CenterOwner;
     PresenterAddPlants presenter = new PresenterAddPlants(view);
     view.ShowDialog();
 }
Esempio n. 2
0
        void addNewBlocksItem_Click(object sender, EventArgs e)
        {
            WindowAddPlants view = new WindowAddPlants();

            view.Title = "Додавання енергоблоків з файлу";
            view.Owner = this;
            view.WindowStartupLocation = WindowStartupLocation.CenterOwner;
            PresenterAddPlants presenter = new PresenterAddPlants(view);

            view.ShowDialog();
        }