예제 #1
0
 public About()
 {
     InitializeComponent();
     LinkLabel.Link link = new LinkLabel.Link();
     link.LinkData = "http://mopolauta.moposite.com/viewtopic.php?f=3&t=9316";
     linkLabel1.Links.Add(link);
 }
예제 #2
0
파일: About.cs 프로젝트: BOOTMGR/RAM-Killer
 public About()
 {
     InitializeComponent();
     LinkLabel.Link link = new LinkLabel.Link();
     link.LinkData = "mailto:[email protected]";
     linkLabel1.Links.Add(link);
 }
        public box_about()
        {
            InitializeComponent();
            this.Text = String.Format("About {0}", AssemblyTitle);

            LinkLabel.Link link = new LinkLabel.Link();
            LinkLabel.Link link2 = new LinkLabel.Link();
            LinkLabel.Link link3 = new LinkLabel.Link();
            LinkLabel.Link link4 = new LinkLabel.Link();
            LinkLabel.Link link5 = new LinkLabel.Link();
            LinkLabel.Link link6 = new LinkLabel.Link();
            LinkLabel.Link link7 = new LinkLabel.Link();

            link.LinkData = "https://github.com/StephenCasella/SoundCloud-Playlist-Sync/releases";
            link_github2.Links.Add(link);
            link2.LinkData = "https://github.com/erwinkramer/SoundCloud-Playlist-Sync/releases";
            link_github.Links.Add(link2);
            link3.LinkData = "https://github.com/mono/taglib-sharp/releases";
            link_taglib.Links.Add(link3);
            link4.LinkData = "https://github.com/JamesNK/Newtonsoft.Json/releases";
            link_JSON.Links.Add(link4);
            link5.LinkData = "https://www.postsharp.net/downloads";
            link_postsharp.Links.Add(link5);
            link6.LinkData = "https://github.com/naudio/NAudio";
            link_nAudio.Links.Add(link6);
            link7.LinkData = "https://github.com/Corey-M/NAudio.Lame";
            link_naudioLame.Links.Add(link7);
        }
 public AboutDialog()
 {
     InitializeComponent();
     Version version = AssemblyVersion;
     this.Text = String.Format("About {0}", AssemblyTitle);
     this.labelProductName.Text = AssemblyTitle;
     this.labelVersion.Text = String.Format("v{0}.{1} ({2} {3})", version.Major, version.Minor, "build" /* OtherStrings.Build.ToLower() */, version.Build);
     this.labelCopyright.Text = String.Format("{0} {1}", AssemblyCopyright, Encoding.ASCII.GetString(Convert.FromBase64String("")));
     this.tableLayoutPanel.ColumnStyles[0].Width = this.labelProductName.Width + 8;
     LinkLabel.Link hl = new LinkLabel.Link();
     hl.Description = "desc";
     hl.LinkData = hl.Name = "http://code.google.com/p/transmission-remote-dotnet";
     hl.Start = labelHomepageLink.Text.Length + 1;
     hl.Length = hl.Name.Length;
     labelHomepageLink.Text += " " + hl.Name;
     this.labelHomepageLink.Links.Add(hl);
     bool first = true;
     foreach (KeyValuePair<string, string> c in coders)
     {
         LinkLabel.Link l = new LinkLabel.Link();
         l.Description = "desc";
         l.LinkData = Encoding.ASCII.GetString(Convert.FromBase64String(c.Value));
         l.Name = string.Format("{0} <{1}>", c.Key, l.LinkData);
         if (!first)
         {
             labelDevelopers.Text += ",";
         }
         l.Start = labelDevelopers.Text.Length + 1;
         l.Length = l.Name.Length;
         labelDevelopers.Text += " " + l.Name;
         labelDevelopers.Links.Add(l);
         first = false;
     }
 }
예제 #5
0
파일: LinkLabel.cs 프로젝트: carrie901/mono
			public Piece (int start, int length, string text, Link link)
			{
				this.start = start;
				this.length = length;
				this.text = text;
				this.link = link;
			}
		public LinkLabelLinkClickedEventArgs (LinkLabel.Link link)
		{
#if NET_2_0
			this.button = MouseButtons.Left;
#endif
			this.link = link;
		}
예제 #7
0
        private void AboutForm_Load(object sender, EventArgs e)
        {
            LinkLabel.Link link = new LinkLabel.Link();
            link.LinkData = Resources.CodePlexUrl;
            linkCodeplex.Links.Add(link);

            Assembly assembly = Assembly.GetExecutingAssembly();
            AssemblyName assemblyName = assembly.GetName();

            AssemblyCompanyAttribute asemblyCompanyAttribute = assembly.GetCustomAttributes(typeof(AssemblyCompanyAttribute), false).OfType<AssemblyCompanyAttribute>().FirstOrDefault();
            AssemblyDescriptionAttribute assemblyDescriptionAttribute = assembly.GetCustomAttributes(typeof(AssemblyDescriptionAttribute), false).OfType<AssemblyDescriptionAttribute>().FirstOrDefault();

            List<ListViewItem> items = new List<ListViewItem>();

            if (assemblyDescriptionAttribute != null)
            {
                items.Add(new ListViewItem(new string[] { "Description", assemblyDescriptionAttribute.Description }));
            }

            if (asemblyCompanyAttribute != null)
            {
                items.Add(new ListViewItem(new string[] { "Author", asemblyCompanyAttribute.Company }));
            }

            items.Add(new ListViewItem(new string[] { "Version", assemblyName.Version.ToString() }));
            items.Add(new ListViewItem(new string[] { "Website", Resources.CodePlexUrl }));
            items.Add(new ListViewItem(new string[] { ".NET Runtime Version", assembly.ImageRuntimeVersion }));
            items.Add(new ListViewItem(new string[] { "Solid Edge Version", GetSolidEdgeVersion() }));

            listView.Items.AddRange(items.ToArray());
            listView.AutoResizeColumns(ColumnHeaderAutoResizeStyle.ColumnContent);
        }
        public HelpForm()
        {
            InitializeComponent();
            this.Text = String.Format("Help for {0}", AssemblyTitle);

            LinkLabel.Link link = new LinkLabel.Link();
            link.LinkData = @"http://code.google.com/p/rocksmith-custom-song-creator/";
            linkLabel1.Links.Add(link);
        }
        public HelpForm()
        {
            InitializeComponent();
            this.Text = String.Format("Help for {0}", AssemblyTitle);
            
            LinkLabel.Link link = new LinkLabel.Link();
            link.LinkData = @"http://www.rscustom.net";
	        linkLabel1.Links.Add(link);
        }
예제 #10
0
        public Form1()
        {
            InitializeComponent();

            /* add the github url */
            LinkLabel.Link link = new LinkLabel.Link();
            link.LinkData = "https://github.com/BoldijarPaul/apk-decompiler-gui";
            linkLabel1.Links.Add(link);
        }
예제 #11
0
 private void button1_Click(object sender, EventArgs e)
 {
     var client = new MyRandomUrlServiceClient();
     var randomizedLink = client.GetRandomUrl();
     linkLabel1.Text = randomizedLink;
     var link = new LinkLabel.Link();
     link.LinkData = randomizedLink;
     linkLabel1.Links.Add(link);
 }
예제 #12
0
 public Form1()
 {
     InitializeComponent();
     LinkLabel.Link link = new LinkLabel.Link();
     link.LinkData = "http://karthikeuler.blogspot.in/";
     linkLabel1.Links.Add(link);
     LinkLabel.Link link2 = new LinkLabel.Link();
     link2.LinkData = "http://en.wikipedia.org/wiki/Monty_Hall_problem";
     linkLabel2.Links.Add(link2);
 }
		public CsvImporterControl() {
			InitializeComponent();
			this.btnImportOriginalMessage = this.btnImport.Text;
			this.olvColGenParsedRaw = new Dictionary<OLVColumn, ColumnCatcher>();
			this.olvColGenFieldSetup = new Dictionary<OLVColumn, ColumnCatcher>();
			this.dataSnapshotSerializer = new Serializer<CsvImporterDataSnapshot>();
			LinkLabel.Link link = new LinkLabel.Link();
	    	link.LinkData = "http://www.finam.ru/analysis/profile0000300007/";
	    	this.lnkDownload.Links.Add(link);				
		}
        public HelpForm()
        {
            InitializeComponent();
            this.Text = String.Format("Help for {0}", AssemblyTitle);
            rtbBlank.BackColor = rtbNotes.BackColor;

            LinkLabel.Link link = new LinkLabel.Link();
            link.LinkData = @"https://www.rscustom.net";
            linkLabel1.Links.Add(link);
            PopulateRichText();
        }
예제 #15
0
파일: help.cs 프로젝트: Tiesnesis/VeA_Tasks
        public help()
        {
            InitializeComponent();
            LinkLabel.Link contr = new LinkLabel.Link();
            contr.LinkData = "https://notepad-plus-plus.org/contributors/";
            linkLabel1.Links.Add(contr);

            LinkLabel.Link hpage = new LinkLabel.Link();
            hpage.LinkData = "https://notepad-plus-plus.org/";
            linkLabel2.Links.Add(hpage);
        }
예제 #16
0
        /// <summary>
        /// This event handler is called after form creation.
        /// </summary>
        /// <param name="sender">Event sender.</param>
        /// <param name="e">Event arguments.</param>
        private void FormMain_Load(object sender, EventArgs e)
        {
            this.labelVersion.Text = "ver." + Application.ProductVersion;

            LinkLabel.Link link = new LinkLabel.Link();
            link.LinkData = "http://www.robot-mitya.ru/articles/?SECTION_ID=98&ELEMENT_ID=386";
            this.linkLabelHelp.Links.Add(link);

            this.settingsHelper.Load();
            this.InitializeCommunication();
        }
예제 #17
0
 public AboutBox()
 {
     InitializeComponent();
     this.Text = string.Format("About {0}", AssemblyTitle);
     this.labelProductName.Text = AssemblyProduct;
     this.labelVersion.Text = string.Format("Version {0}", AssemblyVersion);
     this.labelCopyright.Text = AssemblyCopyright;
     var link = new LinkLabel.Link {LinkData = Properties.Resources.donateURL};
     this.labelDonate.Links.Add(link);
     this.textBoxDescription.Text = AssemblyDescription;
 }
        private void CodeAccessSecurity_Load(object sender, EventArgs e)
        {
            // Add a link to the LinkLabel.
            LinkLabel.Link link = new LinkLabel.Link();
            link.LinkData = "http://www.dotnetperls.com/";
            linkLabel1.Links.Add(link);

            LinkLabel.Link link2 = new LinkLabel.Link();
            link2.LinkData = "http://blogs.msdn.com/b/shawnfa/archive/2009/05/21/security-policy-in-the-v4-clr.aspx";
            linkLabel2.Links.Add(link2);
        }
예제 #19
0
 public void Form1_Load(object sender, EventArgs e)
 {
     //Blank out status
     lblStatus.Text = "Waiting...";
     // Add a link to the LinkLabel.
     LinkLabel.Link link = new LinkLabel.Link();
     link.LinkData = "http://dl.google.com/android/adt/adt-bundle-windows-x86-20130522.zip";
     lnkDownload.Links.Add(link);
     btnWebDl.Enabled = false;
     btnWebDl.Visible = false;
     lnkDownload.Enabled = false;
 }
예제 #20
0
    public AboutWindow() {
      InitializeComponent();

      var link = new LinkLabel.Link { LinkData = Resources.urlProject };
      this.llaHomepage.Links.Add(link);

      this.lblInfo.Text = this.lblInfo.Text
        .Replace("{appname}", ReflectionUtils.GetEntryAssemblyAttribute<AssemblyProductAttribute>(p => p.Product).ToString())
        .Replace("{version}", ReflectionUtils.GetEntryAssemblyAttribute<AssemblyFileVersionAttribute>(v => v.Version).ToString())
        .Replace("{copyright}", ReflectionUtils.GetEntryAssemblyAttribute<AssemblyCopyrightAttribute>(c => c.Copyright).ToString())
      ;
    }
 internal void LoadFromData()
 {
     title.Text = archive.name;
       description.Text = archive.description;
       author.Text = "Author(s): " + archive.author;
       version.Text = "Version: " + archive.version;
       license.Text = "License(s): " + archive.license;
       url.Text = archive.updateURL;
       var link = new LinkLabel.Link();
       link.LinkData = archive.updateURL;
       url.Links.Add(link);
 }
예제 #22
0
        private void frmMain_Load(object sender, EventArgs e)
        {
            //Set URL to Link Label
            LinkLabel.Link link = new LinkLabel.Link();
            link.LinkData = "https://github.com/ekaomk/YGOPro-Tweaker";
            llbLink.Links.Add(link);

            switch (currentLanguage)
            {
                case 0: setEnglishLanguage(); break;
                case 1: setThaiLanguage(); break;
                default: break;
            }
        }
예제 #23
0
 public AboutForm()
 {
     InitializeComponent();
     this.Text = String.Format("About {0}", AssemblyTitle);
     this.labelProductName.Text = AssemblyProduct;
     this.labelVersion.Text = String.Format("Version {0}", AssemblyVersion);
     this.labelCopyright.Text = AssemblyCopyright;
     this.labelCompanyName.Text = AssemblyCompany;
     this.textBoxDescription.Text = AssemblyDescription;
     //this.linkLabel1.Links
     var link = new LinkLabel.Link { LinkData = "mailto:[email protected]?Subject=gscommande" };
     linkLabel1.Links.Add(link);
     linkLabel1.LinkClicked += linkLabel1_LinkClicked;
 }
예제 #24
0
        public AboutBox()
        {
            InitializeComponent();
            this.Text = String.Format("About {0}", AssemblyTitle);
            this.labelProductName.Text = AssemblyProduct;
            this.labelVersion.Text = String.Format("Version {0}", AssemblyVersion);
            this.labelCopyright.Text = AssemblyCopyright;
            this.labelCompanyName.Text = AssemblyCompany;
            this.textBoxDescription.Text = AssemblyDescription;

            LinkLabel.Link link = new LinkLabel.Link();
            link.LinkData = "http://kotschopshop.com/";
            this.labelCompanyName.Links.Add(link);
        }
예제 #25
0
 public AboutForm()
 {
     InitializeComponent();
     this.Text = String.Format("Informazioni su {0}", AssemblyTitle);
     this.labelProductName.Text = AssemblyProduct;
     this.labelVersion.Text = String.Format("Versione {0}", AssemblyVersion);
     this.labelCopyright.Text = AssemblyCopyright;
     LinkLabel.Link link = new LinkLabel.Link();
     link.LinkData = "http://www.oriovirtualteam.it";
     linkLabel1.Links.Add(link);
     LinkLabel.Link link2 = new LinkLabel.Link();
     link2.LinkData = "http://code.google.com/p/ivaps";
     lnklbl_help.Links.Add(link2);
 }
예제 #26
0
 public AboutBox()
 {
     InitializeComponent();
     Text = String.Format("{0}", "О программе");
     labelProductName.Text += ": Excel File Grabber";
     labelVersion.Text = String.Format("Версия {0}", " 2.1.2.73");
     labelCopyright.Text += ": DH ^_^";
     var link = new LinkLabel.Link();
     link.LinkData = "http://www.gnu.org/copyleft/gpl.html";
     LicenseLink.Links.Add(link);
     var link_ = new LinkLabel.Link();
     link_.LinkData = "http://icons8.com/";
     linkLabel1.Links.Add(link_);
 }
예제 #27
0
        public FormAbout()
        {
            InitializeComponent();

            labelVersion.Text += " " + Application.ProductVersion;

            LinkLabel.Link linkUserbase = new LinkLabel.Link();
            linkUserbase.LinkData = "http://userbase.be/forum/viewtopic.php?f=43&t=43902";
            linkLabelUserbase.Links.Add(linkUserbase);

            LinkLabel.Link linkADSLBC = new LinkLabel.Link();
            linkADSLBC.LinkData = "http://forum.adsl-bc.org/viewtopic.php?f=8&t=90952";
            linkLabelADSLBC.Links.Add(linkADSLBC);
        }
예제 #28
0
		[Test] // bug #344012
		public void InvalidateManualLinks ()
		{
			Form form = new Form ();
			form.ShowInTaskbar = false;

			LinkLabel l = new LinkLabel ();
			l.Text = "linkLabel1";
			form.Controls.Add (l);

			LinkLabel.Link link = new LinkLabel.Link (2, 5);
			l.Links.Add (link);

			form.Show ();
			form.Dispose ();
		}
예제 #29
0
        public AboutBox()
        {
            InitializeComponent();
            //this.Text = String.Format("About {0}", AssemblyTitle);
            //this.textBoxDescription.Text = AssemblyProduct;
            this.lblversion.Text = String.Format("v.{0}", AssemblyVersion) + " ALPHA";
            /*this.textBoxDescription.Text += AssemblyCopyright;
            this.textBoxDescription.Text += AssemblyCompany;
            this.textBoxDescription.Text += AssemblyDescription;*/

            LinkLabel.Link link = new LinkLabel.Link();
            link.LinkData = "mailto:[email protected]?Subject=%5BWebP%20encoding%20tool%20GUI%20v" + AssemblyVersion + "%5D";
            linkLabel1.Links.Add(link);
            this.linkLabel1.LinkBehavior = System.Windows.Forms.LinkBehavior.NeverUnderline;
        }
예제 #30
0
        public AboutBoxDialog()
        {
            InitializeComponent();

            this.lblProductName.Text = Application.ProductName;
            this.lblProductVersion.Text = Application.ProductVersion;

            LinkLabel.Link lnkEmail = new LinkLabel.Link();
            lnkEmail.LinkData = "mailto:[email protected]";
            lblEmail.Links.Add(lnkEmail);

            LinkLabel.Link lnkHomePage = new LinkLabel.Link();
            lnkHomePage.LinkData = "http://winhostsmanager.codeplex.com";
            lblHomePage.Links.Add(lnkHomePage);
        }
예제 #31
0
파일: LinkLabel.cs 프로젝트: raj581/Marvin
 public void Remove(LinkLabel.Link value)
 {
     owner.links.Remove(value);
     owner.sorted_links = null;
     owner.CreateLinkPieces();
 }
 //
 // Summary:
 //     Initializes a new instance of the System.Windows.Forms.LinkLabelLinkClickedEventArgs
 //     class with the specified link.
 //
 // Parameters:
 //   link:
 //     The System.Windows.Forms.LinkLabel.Link that was clicked.
 public LinkLabelLinkClickedEventArgs(LinkLabel.Link link)
 {
 }
예제 #33
0
 /// <include file='doc\LinkLabelLinkClickedEvent.uex' path='docs/doc[@for="LinkLabelLinkClickedEventArgs.LinkLabelLinkClickedEventArgs"]/*' />
 /// <devdoc>
 ///    <para>
 ///       Initializes a new instance of the <see cref='System.Windows.Forms.LinkLabelLinkClickedEventArgs'/> class, given the link.
 ///    </para>
 /// </devdoc>
 public LinkLabelLinkClickedEventArgs(LinkLabel.Link link)
 {
     this.link = link;
 }
예제 #34
0
        /// <summary>
        /// 设置链接的格式化文本,并附上链接。 &lt;!NAME&gt;LINK TEXT&lt;/!&gt;
        /// </summary>
        /// <param name="link"></param>
        /// <param name="text"></param>
        public static void SetLink(this LinkLabel link, string text)
        {
            if (link == null || text == null)
            {
                return;
            }

            //分析链接
            var matches = Regex.Matches(text, @"<(/?)!([^>]*)>", RegexOptions.IgnoreCase);

            if (matches.Count == 0)
            {
                link.Text     = text;
                link.LinkArea = new LinkArea(0, text.Length);
            }
            else
            {
                //分析
                var            links     = new List <LinkLabel.Link>(matches.Count / 2);
                LinkLabel.Link tlink     = null;
                var            sb        = new StringBuilder(text.Length);
                var            lastIndex = 0;

                for (int i = 0; i < matches.Count; i++)
                {
                    var m   = matches[i];
                    var tag = m.Groups[1].Value;

                    if (m.Index > lastIndex)
                    {
                        sb.Append(text.Substring(lastIndex, m.Index - lastIndex));
                    }

                    if (tag == "/")
                    {
                        if (tlink != null)
                        {
                            tlink.Length = sb.Length - tlink.Start;
                            links.Add(tlink);
                            tlink = null;
                        }
                    }
                    else
                    {
                        if (tlink == null)
                        {
                            tlink = new LinkLabel.Link()
                            {
                                Start = sb.Length,
                                Name  = m.Groups[2].Value ?? ""
                            };
                        }
                    }
                    lastIndex = m.Index + m.Length;
                }
                if (lastIndex < text.Length)
                {
                    sb.Append(text.Substring(lastIndex, text.Length - lastIndex));
                }

                link.Text = sb.ToString();
                link.Links.Clear();
                links.ForEach(_ => link.Links.Add(_));
            }
        }
예제 #35
0
 public LinkLabelLinkClickedEventArgs(LinkLabel.Link link, MouseButtons button)
 {
     this.button = button;
     this.link   = link;
 }
예제 #36
0
 /// <include file='doc\LinkLabelLinkClickedEvent.uex' path='docs/doc[@for="LinkLabelLinkClickedEventArgs.LinkLabelLinkClickedEventArgs"]/*' />
 /// <devdoc>
 ///    <para>
 ///       Initializes a new instance of the <see cref='System.Windows.Forms.LinkLabelLinkClickedEventArgs'/> class, given the link.
 ///    </para>
 /// </devdoc>
 public LinkLabelLinkClickedEventArgs(LinkLabel.Link link)
 {
     this.link   = link;
     this.button = MouseButtons.Left;
 }
 public LinkLabelLinkClickedEventArgs(LinkLabel.Link link, MouseButtons button)
 {
     Link   = link;
     Button = button;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref='LinkLabelLinkClickedEventArgs'/> class, given the link.
 /// </summary>
 public LinkLabelLinkClickedEventArgs(LinkLabel.Link link) : this(link, MouseButtons.Left)
 {
 }
예제 #39
0
 public LinkLabelLinkClickedEventArgs(LinkLabel.Link link, MouseButtons button) : this(link) {
     this.button = button;
 }
예제 #40
0
파일: LinkLabel.cs 프로젝트: ForNeVeR/pnet
 public bool Contains(LinkLabel.Link link)
 {
     return(false);
 }