Exemplo n.º 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);
        }
Exemplo n.º 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;
        }
Exemplo n.º 3
0
        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));
        }
Exemplo n.º 4
0
        internal static void LaunchPutty()
        {
            var puttyBinaryPath = GetPuttyBinaryPath();

            ExternalLinks.OpenPath(puttyBinaryPath);
        }
Exemplo n.º 5
0
        private void EditSessinsButton_Click(object sender, EventArgs e)
        {
            var puttyBinaryPath = PuttyConnection.GetPuttyBinaryPath();

            ExternalLinks.OpenPath(puttyBinaryPath);
        }
Exemplo n.º 6
0
 public void Show()
 {
     ExternalLinks.OpenPath(this.FilePath);
 }