BUG-1653: Accessibility fixes for the tab-order on multiple forms. [ci-skip]

This commit is contained in:
RKrom 2014-07-18 13:15:55 +02:00
parent 3bf94a76e6
commit 5cd6afad74
16 changed files with 369 additions and 380 deletions

View file

@ -45,11 +45,10 @@ namespace ExternalCommand {
/// not be able to load this method if it was changed manually.
/// </summary>
private void InitializeComponent() {
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SettingsForm));
this.buttonCancel = new GreenshotPlugin.Controls.GreenshotButton();
this.buttonOk = new GreenshotPlugin.Controls.GreenshotButton();
this.listView1 = new System.Windows.Forms.ListView();
this.columnHeader1 = new System.Windows.Forms.ColumnHeader();
this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.button_new = new GreenshotPlugin.Controls.GreenshotButton();
this.button_delete = new GreenshotPlugin.Controls.GreenshotButton();
this.button_edit = new GreenshotPlugin.Controls.GreenshotButton();
@ -58,35 +57,35 @@ namespace ExternalCommand {
// buttonCancel
//
this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.buttonCancel.LanguageKey = "CANCEL";
this.buttonCancel.Location = new System.Drawing.Point(275, 144);
this.buttonCancel.Name = "buttonCancel";
this.buttonCancel.Size = new System.Drawing.Size(75, 23);
this.buttonCancel.TabIndex = 7;
this.buttonCancel.LanguageKey = "CANCEL";
this.buttonCancel.TabIndex = 11;
this.buttonCancel.UseVisualStyleBackColor = true;
this.buttonCancel.Click += new System.EventHandler(this.ButtonCancelClick);
//
// buttonOk
//
this.buttonOk.LanguageKey = "OK";
this.buttonOk.Location = new System.Drawing.Point(275, 173);
this.buttonOk.Name = "buttonOk";
this.buttonOk.Size = new System.Drawing.Size(75, 23);
this.buttonOk.TabIndex = 6;
this.buttonOk.LanguageKey = "OK";
this.buttonOk.TabIndex = 10;
this.buttonOk.UseVisualStyleBackColor = true;
this.buttonOk.Click += new System.EventHandler(this.ButtonOkClick);
//
// listView1
//
this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.columnHeader1});
this.columnHeader1});
this.listView1.FullRowSelect = true;
this.listView1.Location = new System.Drawing.Point(13, 13);
this.listView1.MultiSelect = false;
this.listView1.Name = "listView1";
this.listView1.Size = new System.Drawing.Size(255, 183);
this.listView1.Sorting = System.Windows.Forms.SortOrder.Ascending;
this.listView1.TabIndex = 0;
this.listView1.TabIndex = 5;
this.listView1.UseCompatibleStateImageBehavior = false;
this.listView1.View = System.Windows.Forms.View.Details;
this.listView1.SelectedIndexChanged += new System.EventHandler(this.ListView1ItemSelectionChanged);
@ -99,32 +98,32 @@ namespace ExternalCommand {
//
// button_new
//
this.button_new.LanguageKey = "externalcommand.settings_new";
this.button_new.Location = new System.Drawing.Point(275, 13);
this.button_new.Name = "button_new";
this.button_new.Size = new System.Drawing.Size(75, 23);
this.button_new.TabIndex = 4;
this.button_new.LanguageKey = "externalcommand.settings_new";
this.button_new.TabIndex = 1;
this.button_new.UseVisualStyleBackColor = true;
this.button_new.Click += new System.EventHandler(this.ButtonAddClick);
//
// button2
// button_delete
//
this.button_delete.LanguageKey = "externalcommand.settings_delete";
this.button_delete.Location = new System.Drawing.Point(274, 71);
this.button_delete.Name = "button_delete";
this.button_delete.Size = new System.Drawing.Size(75, 23);
this.button_delete.TabIndex = 5;
this.button_delete.LanguageKey = "externalcommand.settings_delete";
this.button_delete.TabIndex = 3;
this.button_delete.UseVisualStyleBackColor = true;
this.button_delete.Click += new System.EventHandler(this.ButtonDeleteClick);
//
// button_edit
//
this.button_edit.Enabled = false;
this.button_edit.LanguageKey = "externalcommand.settings_edit";
this.button_edit.Location = new System.Drawing.Point(275, 42);
this.button_edit.Name = "button_edit";
this.button_edit.Size = new System.Drawing.Size(75, 23);
this.button_edit.TabIndex = 13;
this.button_edit.LanguageKey = "externalcommand.settings_edit";
this.button_edit.TabIndex = 2;
this.button_edit.UseVisualStyleBackColor = true;
this.button_edit.Click += new System.EventHandler(this.ButtonEditClick);
//