mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-01-22 15:22:04 +01:00
context menu entry "Add Channel" had no function. Now using same icon and function as the "Add Channels" button
This commit is contained in:
7
source/ChanSort/MainForm.Designer.cs
generated
7
source/ChanSort/MainForm.Designer.cs
generated
@@ -216,6 +216,7 @@
|
||||
((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pnlEditControls)).BeginInit();
|
||||
this.pnlEditControls.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.globalImageCollection1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.grpInputList)).BeginInit();
|
||||
this.grpInputList.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gridRight)).BeginInit();
|
||||
@@ -453,6 +454,10 @@
|
||||
this.btnToggleLock.Name = "btnToggleLock";
|
||||
this.btnToggleLock.Click += new System.EventHandler(this.btnToggleLock_Click);
|
||||
//
|
||||
// globalImageCollection1
|
||||
//
|
||||
this.globalImageCollection1.ParentControl = this;
|
||||
//
|
||||
// btnToggleFavE
|
||||
//
|
||||
resources.ApplyResources(this.btnToggleFavE, "btnToggleFavE");
|
||||
@@ -1238,6 +1243,7 @@
|
||||
this.miAddChannel.ImageOptions.ImageIndex = ((int)(resources.GetObject("miAddChannel.ImageOptions.ImageIndex")));
|
||||
this.miAddChannel.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Add));
|
||||
this.miAddChannel.Name = "miAddChannel";
|
||||
this.miAddChannel.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.miAddChannel_ItemClick);
|
||||
//
|
||||
// miRemove
|
||||
//
|
||||
@@ -2064,6 +2070,7 @@
|
||||
((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pnlEditControls)).EndInit();
|
||||
this.pnlEditControls.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.globalImageCollection1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.grpInputList)).EndInit();
|
||||
this.grpInputList.ResumeLayout(false);
|
||||
this.grpInputList.PerformLayout();
|
||||
|
||||
@@ -2396,6 +2396,7 @@ namespace ChanSort.Ui
|
||||
try
|
||||
{
|
||||
this.btnAdd.ImageIndex = this.rbInsertSwap.Checked ? 38 : this.rbInsertAfter.Checked ? 39 : 40;
|
||||
this.miAddChannel.ImageIndex = this.btnAdd.ImageIndex;
|
||||
|
||||
if (this.CurrentChannelList == null)
|
||||
return;
|
||||
@@ -2714,6 +2715,11 @@ namespace ChanSort.Ui
|
||||
|
||||
#region Edit menu
|
||||
|
||||
private void miAddChannel_ItemClick(object sender, ItemClickEventArgs e)
|
||||
{
|
||||
this.TryExecute(this.AddChannels);
|
||||
}
|
||||
|
||||
private void miMoveDown_ItemClick(object sender, ItemClickEventArgs e)
|
||||
{
|
||||
this.TryExecute(() => this.MoveChannels(false));
|
||||
@@ -3073,5 +3079,6 @@ namespace ChanSort.Ui
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
@@ -477,7 +477,7 @@
|
||||
<value>&Add channels</value>
|
||||
</data>
|
||||
<data name="miAddChannel.ImageOptions.ImageIndex" type="System.Int32, mscorlib">
|
||||
<value>26</value>
|
||||
<value>40</value>
|
||||
</data>
|
||||
<data name="miRemove.Caption" xml:space="preserve">
|
||||
<value>&Remove channels</value>
|
||||
@@ -1249,7 +1249,7 @@
|
||||
<value>globalImageCollection1</value>
|
||||
</data>
|
||||
<data name=">>globalImageCollection1.Type" xml:space="preserve">
|
||||
<value>ChanSort.Ui.GlobalImageCollection, ChanSort, Version=1.0.6980.23278, Culture=neutral, PublicKeyToken=null</value>
|
||||
<value>ChanSort.Ui.GlobalImageCollection, ChanSort, Version=1.0.6986.20519, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
<data name=">>gviewRight.Name" xml:space="preserve">
|
||||
<value>gviewRight</value>
|
||||
@@ -1965,12 +1965,6 @@
|
||||
<data name=">>$this.Type" xml:space="preserve">
|
||||
<value>DevExpress.XtraEditors.XtraForm, DevExpress.Utils.v18.2, Version=18.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||
</data>
|
||||
<data name="SharedImageCollection.Timestamp" type="System.DateTime, mscorlib">
|
||||
<value>02/10/2019 13:13:51</value>
|
||||
</data>
|
||||
<data name="SharedImageCollection.ImageSize" type="System.Drawing.Size, System.Drawing">
|
||||
<value>16, 16</value>
|
||||
</data>
|
||||
<data name="btnToggleLock.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>257, 5</value>
|
||||
</data>
|
||||
|
||||
Reference in New Issue
Block a user