Browse Source

Renamed "OK" button in solution configuration editor to "Close" (there's no way to cancel the changes).

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3757 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Daniel Grunwald 17 years ago
parent
commit
2fd53108e1
  1. 22
      src/Main/Base/Project/Src/Gui/Dialogs/SolutionConfiguration/EditAvailableConfigurationsDialog.Designer.cs
  2. 28
      src/Main/Base/Project/Src/Gui/Dialogs/SolutionConfiguration/SolutionConfigurationEditor.Designer.cs
  3. 2
      src/Main/Base/Project/Src/Gui/Dialogs/SolutionConfiguration/SolutionConfigurationEditor.cs

22
src/Main/Base/Project/Src/Gui/Dialogs/SolutionConfiguration/EditAvailableConfigurationsDialog.Designer.cs generated

@ -36,7 +36,7 @@ namespace ICSharpCode.SharpDevelop.Gui @@ -36,7 +36,7 @@ namespace ICSharpCode.SharpDevelop.Gui
private void InitializeComponent()
{
this.listBox = new System.Windows.Forms.ListBox();
this.okButton = new System.Windows.Forms.Button();
this.closeButton = new System.Windows.Forms.Button();
this.removeButton = new System.Windows.Forms.Button();
this.renameButton = new System.Windows.Forms.Button();
this.addButton = new System.Windows.Forms.Button();
@ -56,14 +56,14 @@ namespace ICSharpCode.SharpDevelop.Gui @@ -56,14 +56,14 @@ namespace ICSharpCode.SharpDevelop.Gui
//
// okButton
//
this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
this.okButton.Location = new System.Drawing.Point(222, 111);
this.okButton.Name = "okButton";
this.okButton.Size = new System.Drawing.Size(75, 23);
this.okButton.TabIndex = 1;
this.okButton.Text = "${res:Global.OKButtonText}";
this.okButton.UseVisualStyleBackColor = true;
this.closeButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.closeButton.DialogResult = System.Windows.Forms.DialogResult.OK;
this.closeButton.Location = new System.Drawing.Point(222, 111);
this.closeButton.Name = "closeButton";
this.closeButton.Size = new System.Drawing.Size(75, 23);
this.closeButton.TabIndex = 1;
this.closeButton.Text = "${res:Global.CloseButtonText}";
this.closeButton.UseVisualStyleBackColor = true;
//
// removeButton
//
@ -106,7 +106,7 @@ namespace ICSharpCode.SharpDevelop.Gui @@ -106,7 +106,7 @@ namespace ICSharpCode.SharpDevelop.Gui
this.Controls.Add(this.addButton);
this.Controls.Add(this.renameButton);
this.Controls.Add(this.removeButton);
this.Controls.Add(this.okButton);
this.Controls.Add(this.closeButton);
this.Controls.Add(this.listBox);
this.MinimumSize = new System.Drawing.Size(230, 165);
this.Name = "EditAvailableConfigurationsDialog";
@ -119,6 +119,6 @@ namespace ICSharpCode.SharpDevelop.Gui @@ -119,6 +119,6 @@ namespace ICSharpCode.SharpDevelop.Gui
private System.Windows.Forms.Button renameButton;
private System.Windows.Forms.Button removeButton;
private System.Windows.Forms.ListBox listBox;
private System.Windows.Forms.Button okButton;
private System.Windows.Forms.Button closeButton;
}
}

28
src/Main/Base/Project/Src/Gui/Dialogs/SolutionConfiguration/SolutionConfigurationEditor.Designer.cs generated

@ -45,7 +45,7 @@ namespace ICSharpCode.SharpDevelop.Gui @@ -45,7 +45,7 @@ namespace ICSharpCode.SharpDevelop.Gui
this.configurationColumn = new System.Windows.Forms.DataGridViewComboBoxColumn();
this.platformColumn = new System.Windows.Forms.DataGridViewComboBoxColumn();
this.panel2 = new System.Windows.Forms.Panel();
this.okButton = new System.Windows.Forms.Button();
this.closeButton = new System.Windows.Forms.Button();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.grid)).BeginInit();
this.panel2.SuspendLayout();
@ -118,8 +118,8 @@ namespace ICSharpCode.SharpDevelop.Gui @@ -118,8 +118,8 @@ namespace ICSharpCode.SharpDevelop.Gui
this.grid.Size = new System.Drawing.Size(504, 192);
this.grid.TabIndex = 1;
this.grid.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.GridCellValueChanged);
this.grid.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.GridDataError);
this.grid.EditingControlShowing += new System.Windows.Forms.DataGridViewEditingControlShowingEventHandler(this.GridEditingControlShowing);
this.grid.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.GridDataError);
//
// projectNameColumn
//
@ -140,27 +140,27 @@ namespace ICSharpCode.SharpDevelop.Gui @@ -140,27 +140,27 @@ namespace ICSharpCode.SharpDevelop.Gui
//
// panel2
//
this.panel2.Controls.Add(this.okButton);
this.panel2.Controls.Add(this.closeButton);
this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panel2.Location = new System.Drawing.Point(0, 229);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(504, 30);
this.panel2.TabIndex = 2;
//
// okButton
// closeButton
//
this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
this.okButton.Location = new System.Drawing.Point(417, 3);
this.okButton.Name = "okButton";
this.okButton.Size = new System.Drawing.Size(75, 23);
this.okButton.TabIndex = 0;
this.okButton.Text = "${res:Global.OKButtonText}";
this.okButton.UseVisualStyleBackColor = true;
this.closeButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.closeButton.DialogResult = System.Windows.Forms.DialogResult.OK;
this.closeButton.Location = new System.Drawing.Point(417, 3);
this.closeButton.Name = "closeButton";
this.closeButton.Size = new System.Drawing.Size(75, 23);
this.closeButton.TabIndex = 0;
this.closeButton.Text = "${res:Global.CloseButtonText}";
this.closeButton.UseVisualStyleBackColor = true;
//
// SolutionConfigurationEditor
//
this.AcceptButton = this.okButton;
this.AcceptButton = this.closeButton;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(504, 259);
@ -176,10 +176,10 @@ namespace ICSharpCode.SharpDevelop.Gui @@ -176,10 +176,10 @@ namespace ICSharpCode.SharpDevelop.Gui
this.panel2.ResumeLayout(false);
this.ResumeLayout(false);
}
private System.Windows.Forms.Button closeButton;
private System.Windows.Forms.DataGridView grid;
private System.Windows.Forms.ComboBox configurationComboBox;
private System.Windows.Forms.ComboBox platformComboBox;
private System.Windows.Forms.Button okButton;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.DataGridViewComboBoxColumn platformColumn;
private System.Windows.Forms.DataGridViewComboBoxColumn configurationColumn;

2
src/Main/Base/Project/Src/Gui/Dialogs/SolutionConfiguration/SolutionConfigurationEditor.cs

@ -37,7 +37,7 @@ namespace ICSharpCode.SharpDevelop.Gui @@ -37,7 +37,7 @@ namespace ICSharpCode.SharpDevelop.Gui
this.Text = StringParser.Parse(this.Text);
label1.Text = StringParser.Parse(label1.Text);
label2.Text = StringParser.Parse(label2.Text);
okButton.Text = StringParser.Parse(okButton.Text);
closeButton.Text = StringParser.Parse(closeButton.Text);
projectNameColumn.HeaderText = StringParser.Parse(projectNameColumn.HeaderText);
configurationColumn.HeaderText = StringParser.Parse(configurationColumn.HeaderText);
platformColumn.HeaderText = StringParser.Parse(platformColumn.HeaderText);

Loading…
Cancel
Save