ExecuteInShell() public static méthode

public static ExecuteInShell ( string command ) : void
command string
Résultat void
 public void PlayInShell()
 {
     if (File.Exists(FileName))
     {
         SupportMethods.ExecuteInShell("\"" + FileName + "\"");
     }
 }
Exemple #2
0
 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);
         }
     }
 }
Exemple #3
0
        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 + "\"");
                }
            }
        }
Exemple #5
0
        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);
                }
            }
        }