private void openExistingExecute() { LoadingText = "Loading..."; if (!File.Exists(FilePath)) { MessageBox.Show("Templates file no longer exist at that path."); LoadingText = ""; } else { EditorStarted?.Invoke(FilePath); } }
private void createNewExecute() { LoadingText = "Loading..."; if (!File.Exists(DefaultTemplatesPath) && DefaultTemplatesPath != "") { MessageBox.Show("Templates file no longer exist at that path."); LoadingText = ""; } else { EditorStarted?.Invoke("", DefaultTemplatesPath); } }
private void createNewExecute() { LoadingText = "Loading..."; EditorStarted?.Invoke(""); }