/// <summary> /// The create context menu strip. /// </summary> /// <param name="node"> /// The node. /// </param> /// <returns> /// The <see cref="UviContextMenuStrip" />. /// </returns> private UviContextMenuStrip CreateContextMenuStrip(TreeNode node) { var menuStrip = new UviContextMenuStrip(node); var downloadAllToolStrip = new ToolStripMenuItem { Text = GbdxResources.Download_all_Below_100000, Name = "DownloadAll" }; downloadAllToolStrip.Click += this.DownloadAllToolStripOnClick; menuStrip.Items.Add(downloadAllToolStrip); return(menuStrip); }
/// <summary> /// The create context menu strip. /// </summary> /// <param name="node"> /// The node. /// </param> /// <returns> /// The <see cref="UviContextMenuStrip" />. /// </returns> private UviContextMenuStrip CreateContextMenuStrip(TreeNode node) { var menuStrip = new UviContextMenuStrip(node); var downloadAllToolStrip = new ToolStripMenuItem { Text = GbdxResources.Download_all_Below_100000, Name = "DownloadAll" }; downloadAllToolStrip.Click += this.DownloadAllToolStripOnClick; menuStrip.Items.Add(downloadAllToolStrip); return menuStrip; }