Example #1
0
 private void Source_Click(object sender, EventArgs e) //Открытие источника в виде папки
 {
     if (openFolder.ShowDialog() == DialogResult.OK)
     {
         if (autosave.Checked)
         {
             autosave.Checked = false;
             mainList.Clear();
             autosave.Checked = true;
         }
         mainList.Clear();
         mainPath                         = openFolder.SelectedPath;
         addSeparator.Visible             = true;
         saveSeparator.Visible            = true;
         addButton.Visible                = true;
         floorclassroomTabControl.Visible = true;
         message.Visible                  = false;
         saveButton.Visible               = true;
         removeAllButton.Visible          = true;
         FileWork.ReadFromFile();
     }
 }
Example #2
0
 private void SaveButton_Click(object sender, EventArgs e) //Сохранение списка в файл
 {
     FileWork.SaveFloorInFile();
 }