Beispiel #1
0
 private void SaveToFile()
 {
     if (PathCxem != "")
     {
         ManageFileSaveLoad.SaveFile(PathCxem, MakeFileData());
     }
 }
Beispiel #2
0
        private void SaveToFileAs()
        {
            var saveFileDialog = new SaveFileDialog();

            saveFileDialog.DefaultExt   = ".lcx";
            saveFileDialog.Filter       = "Logical cxem files (*.lcx)|*.lcx";
            saveFileDialog.AddExtension = true;
            saveFileDialog.ShowDialog();
            if (saveFileDialog.FileName != "")
            {
                PathCxem   = saveFileDialog.FileName;
                IsOpenCxem = true;
                ManageFileSaveLoad.SaveFile(PathCxem, MakeFileData());
            }
        }