コード例 #1
0
        internal static void LaunchPageant()
        {
            var puttyBinaryPath = GetBinaryPath(PAGEANT_BINARY);

            // todo launch only, if pageant isnt running otherwise it shows a message in case the key file doesnt exist.
            ExternalLinks.OpenPath(puttyBinaryPath);
        }
コード例 #2
0
        private void AuthorizeFlickrButton_Click(object sender, EventArgs e)
        {
            Flickr flickr = CaptureManager.Capture.CreateFlickerInstance();

            this.tempFrob = flickr.AuthGetFrob();
            String flickrUrl = flickr.AuthCalcUrl(this.tempFrob, AuthLevel.Write);

            ExternalLinks.OpenPath(flickrUrl);
            CompleteAuthButton.Enabled = true;
        }
コード例 #3
0
ファイル: Executables.cs プロジェクト: zivalin/Terminals
        private static Process[] EnsurePageantProcessRunning()
        {
            var pageantProcesses = Process.GetProcessesByName(PAGEANT);

            if (pageantProcesses.Any())
            {
                return(pageantProcesses);
            }

            var pagenatBinary = GetBinaryPath(PAGEANT_BINARY);

            ExternalLinks.OpenPath(pagenatBinary);
            return(Process.GetProcessesByName(PAGEANT));
        }
コード例 #4
0
        internal static void LaunchPutty()
        {
            var puttyBinaryPath = GetPuttyBinaryPath();

            ExternalLinks.OpenPath(puttyBinaryPath);
        }
コード例 #5
0
        private void EditSessinsButton_Click(object sender, EventArgs e)
        {
            var puttyBinaryPath = PuttyConnection.GetPuttyBinaryPath();

            ExternalLinks.OpenPath(puttyBinaryPath);
        }
コード例 #6
0
ファイル: Capture.cs プロジェクト: gbachs/Terminals
 public void Show()
 {
     ExternalLinks.OpenPath(this.FilePath);
 }