Exemplo n.º 1
0
        private void EnsureChorusAccount()
        {
            if (_chorusAccounts.Any())
            {
                return;
            }
            DialogResult buttonPress = MultiButtonMsgDlg.Show(
                this,
                TextUtil.LineSeparate(
                    Resources.OpenDataSourceDialog_EnsureChorusAccount_No_Chorus_acounts_have_been_specified,
                    Resources.OpenDataSourceDialog_EnsureChorusAccount_Press_Register_to_register_for_an_account_on_the_Chorus_Project,
                    Resources.OpenDataSourceDialog_EnsureChorusAccount_Press_Add_to_use_specify_an_existing_Chorus_account),
                Resources.OpenDataSourceDialog_EnsureChorusAccount_Register, Resources.OpenDataSourceDialog_EnsureChorusAccount_Add, true);

            if (buttonPress == DialogResult.Cancel)
            {
                return;
            }

            if (buttonPress == DialogResult.Yes)
            {
                // person intends to register
                WebHelpers.OpenLink(this, "https://chorusproject.org/pages/register.html"); // Not L10N
            }
            var newAccount = _chorusAccounts.NewItem(this, _chorusAccounts, null);

            if (null != newAccount)
            {
                _chorusAccounts.Add(newAccount);
            }
        }
Exemplo n.º 2
0
 private void labelLink_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     if (_liveLink)
     {
         WebHelpers.OpenLink(this, LinkUrl);
         OkDialog();
     }
 }
Exemplo n.º 3
0
        private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            // Determine which link was clicked within the LinkLabel.
            linkSpecLibLinks.Links[linkSpecLibLinks.Links.IndexOf(e.Link)].Visited = true;

            // Display the appropriate link based on the value of the
            // LinkData property of the Link object.
            string target = e.Link.LinkData.ToString();

            WebHelpers.OpenLink(this, target);
        }
Exemplo n.º 4
0
        public void GotoLink()
        {
            WebHelpers.OpenLink(_linkUrl);

            ActionUtil.RunAsync(() =>
            {
                Thread.Sleep(1000);
                Invoke(new Action(() =>
                {
                    SetForegroundWindow(Handle);
                    btnContinue.Focus();
                }));
            });
        }
Exemplo n.º 5
0
 private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     WebHelpers.OpenLink(this, "http://proteome.gs.washington.edu/software/Skyline/funding.html"); // Not L10N
 }
Exemplo n.º 6
0
 private void linkProteoWizard_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     WebHelpers.OpenLink(this, "https://github.com/ProteoWizard"); // Not L10N
 }
Exemplo n.º 7
0
 private void linkProteome_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     WebHelpers.OpenLink(this, "http://skyline.ms"); // Not L10N
 }
Exemplo n.º 8
0
 private void linkLabelProvider_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     WebHelpers.OpenLink(this, e.Link.LinkData as string);
 }
Exemplo n.º 9
0
 private void buttonToolStore_Click(object sender, EventArgs e)
 {
     WebHelpers.OpenLink(this, _tools[listBoxTools.SelectedIndex].FilePath);
 }
Exemplo n.º 10
0
 private void linkProteoWizard_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     WebHelpers.OpenLink(this, "http://proteowizard.sourceforge.net/"); // Not L10N
 }
Exemplo n.º 11
0
 private void SpecLibLinkClicked(LinkLabel linkLabel, string link)
 {
     linkLabel.LinkVisited = true;
     WebHelpers.OpenLink(this, link);
 }
Exemplo n.º 12
0
 private void linkLabelMsStats_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     WebHelpers.OpenLink(FormUtil.FindTopLevelOwner(this), @"http://msstats.org");
 }
Exemplo n.º 13
0
 private void prositDescrLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     WebHelpers.OpenLink(@"https://www.proteomicsdb.org/prosit/");
 }
Exemplo n.º 14
0
 private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     WebHelpers.OpenLink(this, "https://skyline.gs.washington.edu/labkey/wiki/home/software/Skyline/page.view?name=LicenseAgreement"); // Not L10N
 }
Exemplo n.º 15
0
 private void linkRegex_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     WebHelpers.OpenLink(this, "http://www.regular-expressions.info/reference.html"); // Not L10N
 }