コード例 #1
0
			public void OnOptions ()
			{
				TranslationProject project = CurrentNode.DataItem as TranslationProject;
				if (project == null)
					return;
				using (var dlg = new TranslationProjectOptionsDialog (project))
					MessageService.ShowCustomDialog (dlg);
				IdeApp.Workspace.Save ();
			}
コード例 #2
0
			public void OnOptions ()
			{
				TranslationProject project = CurrentNode.DataItem as TranslationProject;
				if (project == null)
					return;
				
				using (var dlg = new TranslationProjectOptionsDialog (project))
					MessageService.ShowCustomDialog (dlg);
				IdeApp.Workspace.SaveAsync ();
			}