Пример #1
0
        void AreaMenuAddClick(object sender, EventArgs e)
        {
            AddEditLCDArea d = new AddEditLCDArea(Configuration, -1);

            if (d.ShowDialog(this) == DialogResult.OK)
            {
                ShowLCDAreas();
            }
        }
Пример #2
0
 void AreaMenuEditClick(object sender, EventArgs e)
 {
     if (LCDArea != null)
     {
         AddEditLCDArea d = new AddEditLCDArea(Configuration, Array.IndexOf(Configuration.Areas, LCDArea));
         if (d.ShowDialog(this) == DialogResult.OK)
         {
             ShowLCDAreas();
         }
     }
 }