/// <summary> /// Импортировать текст из буфера обмена /// </summary> /// <param name="arg"></param> private void ImportClipboardTxt_Executed(object arg) { var model = new ImportTextViewModel(typeof(Clipboard), _storageContextViewModel); DocList.Add(model); model.Start(); }
private void ImportTxt_Executed(object arg) { var model = new ImportTextViewModel(arg, _storageContextViewModel); DocList.Add(model); model.Start(); }