preven tabindex conflict for flyouts/dialogs

This commit is contained in:
Pilzinsel64
2024-11-13 07:50:26 +01:00
parent 96b6536a7a
commit 1480485438
3 changed files with 50 additions and 203 deletions

View File

@@ -48,7 +48,7 @@ partial class FlyoutBase
tableLayoutPanel_TitlePanel.RowCount = 1;
tableLayoutPanel_TitlePanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
tableLayoutPanel_TitlePanel.Size = new System.Drawing.Size(300, 29);
tableLayoutPanel_TitlePanel.TabIndex = 0;
tableLayoutPanel_TitlePanel.TabIndex = 2147483647;
//
// label_Title
//
@@ -56,7 +56,7 @@ partial class FlyoutBase
label_Title.Location = new System.Drawing.Point(3, 0);
label_Title.Name = "label_Title";
label_Title.Size = new System.Drawing.Size(294, 29);
label_Title.TabIndex = 0;
label_Title.TabIndex = 2147483646;
label_Title.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// tableLayoutPanel_ActionPanel
@@ -75,7 +75,7 @@ partial class FlyoutBase
tableLayoutPanel_ActionPanel.RowCount = 1;
tableLayoutPanel_ActionPanel.RowStyles.Add(new System.Windows.Forms.RowStyle());
tableLayoutPanel_ActionPanel.Size = new System.Drawing.Size(300, 29);
tableLayoutPanel_ActionPanel.TabIndex = 1;
tableLayoutPanel_ActionPanel.TabIndex = 2147483645;
tableLayoutPanel_ActionPanel.Visible = false;
//
// button_Accept
@@ -83,7 +83,7 @@ partial class FlyoutBase
button_Accept.Location = new System.Drawing.Point(141, 3);
button_Accept.Name = "button_Accept";
button_Accept.Size = new System.Drawing.Size(75, 23);
button_Accept.TabIndex = 2;
button_Accept.TabIndex = 2147483640;
button_Accept.Text = "Accept";
button_Accept.UseVisualStyleBackColor = true;
button_Accept.Click += Button_Accept_Click;
@@ -93,7 +93,7 @@ partial class FlyoutBase
button_Cancel.Location = new System.Drawing.Point(222, 3);
button_Cancel.Name = "button_Cancel";
button_Cancel.Size = new System.Drawing.Size(75, 23);
button_Cancel.TabIndex = 3;
button_Cancel.TabIndex = 2147483641;
button_Cancel.Text = "Cancel";
button_Cancel.UseVisualStyleBackColor = true;
button_Cancel.Click += Button_Cancel_Click;