public static ExecuteInShell ( string command ) : void | ||
command | string | |
Résultat | void |
public void PlayInShell() { if (File.Exists(FileName)) { SupportMethods.ExecuteInShell("\"" + FileName + "\""); } }
protected void OnContainerEventBoxButtonPressEvent(object o, ButtonPressEventArgs args) { if (Editable && Info != null && comboContainer.Active > 0) { var container = MediaConvertGUIConfiguration.GetContainerByName(comboContainer.ActiveText); if (!String.IsNullOrEmpty(container.Link)) { SupportMethods.ExecuteInShell(container.Link); } } }
protected void OnCodecEventBoxButtonPressEvent(object o, ButtonPressEventArgs args) { if (Editable && MovieInfo != null && comboCodec.Active > 0) { var codec = MediaConvertGUIConfiguration.GetVideoCodecByName(comboCodec.ActiveText); if (!string.IsNullOrEmpty(codec.Link)) { SupportMethods.ExecuteInShell(codec.Link); } } }
public void ScreenShot() { if (File.Exists(FileName)) { var fName = MediaInfoBase.MakeFFMpegScreenShot(this); if (fName != null) { SupportMethods.ExecuteInShell("\"" + fName + "\""); } } }
protected void OnEventBoxButtonPressEvent(object o, ButtonPressEventArgs args) { var activeTrack = SelectedTrack; if (activeTrack != null) { var codec = SelectedAudioCodec; if (!String.IsNullOrEmpty(codec.Link)) { SupportMethods.ExecuteInShell(codec.Link); } } }