Example #1
0
 void blockListItem_Click(object sender, EventArgs e)
 {
     WindowPlants pw = new WindowPlants();
     pw.Title = "Список енергоблоків";
     pw.Owner = this;
     pw.WindowStartupLocation = WindowStartupLocation.CenterOwner;
     PresenterPlant pres = new PresenterPlant(pw);
     pw.ShowDialog();
 }
Example #2
0
        void blockListItem_Click(object sender, EventArgs e)
        {
            WindowPlants pw = new WindowPlants();

            pw.Title = "Список енергоблоків";
            pw.Owner = this;
            pw.WindowStartupLocation = WindowStartupLocation.CenterOwner;
            PresenterPlant pres = new PresenterPlant(pw);

            pw.ShowDialog();
        }