public void CreateNew(string path) { if (IsOpen) { Close(); } if (File.Exists(path)) { File.Delete(path); } this.path = path; //Functions.Clear(); // clear grid functions.Clear(); // clear grid IsOpen = true; }
public void CreateNew(string path) { if (IsOpen) { Close(); } if (File.Exists(path)) { File.Delete(path); } this.path = path; //Functions.Clear(); // clear grid functions.Clear(); // clear grid IsOpen = true; }