示例#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();
 }
示例#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();
        }