Files
duplicati/Duplicati/GUI/HelperControls/CommandLineOptionGrid.Designer.cs
T
kenneth.skovhede@gmail.com 7e43ff655d Update issue #294
Status: Fixed
It turns out that the "autocheck" feature was also broken because of the sorting.
Now the sorting works for all columns, and the text and autocheck follows the item.
I also added a feature where boolean columns get the value "true" inserted if the checkbox is clicked.
The grid is now sorted by the option name. 

I experimented a little with the sorting, and if the "Enabled" column is sorted, things tend to flip around
when checking/unchecking items, so I discarded that idea, and went with sorted by "Name" only.
If desired, the user can sort by clicking the "Enabled" column.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@566 59da171f-624f-0410-aa54-27559c288bec
2010-10-28 18:51:08 +00:00

190 lines
9.7 KiB
C#

namespace Duplicati.GUI.HelperControls
{
partial class CommandLineOptionGrid
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Component Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CommandLineOptionGrid));
this.BaseDataSet = new System.Data.DataSet();
this.OverrideTable = new System.Data.DataTable();
this.EnabledDataColumn = new System.Data.DataColumn();
this.NameDataColumn = new System.Data.DataColumn();
this.ValueDataColumn = new System.Data.DataColumn();
this.argumentDataColumn = new System.Data.DataColumn();
this.validatedDataColumn = new System.Data.DataColumn();
this.OptionsGrid = new System.Windows.Forms.DataGridView();
this.enabledDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.nameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.valueDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.argumentDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.InfoLabel = new System.Windows.Forms.TextBox();
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.BaseDataSet)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.OverrideTable)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.OptionsGrid)).BeginInit();
this.SuspendLayout();
//
// BaseDataSet
//
this.BaseDataSet.DataSetName = "BaseDataSet";
this.BaseDataSet.Tables.AddRange(new System.Data.DataTable[] {
this.OverrideTable});
//
// OverrideTable
//
this.OverrideTable.Columns.AddRange(new System.Data.DataColumn[] {
this.EnabledDataColumn,
this.NameDataColumn,
this.ValueDataColumn,
this.argumentDataColumn,
this.validatedDataColumn});
this.OverrideTable.TableName = "OverrideTable";
//
// EnabledDataColumn
//
this.EnabledDataColumn.Caption = "Enabled";
this.EnabledDataColumn.ColumnName = "Enabled";
this.EnabledDataColumn.DataType = typeof(bool);
//
// NameDataColumn
//
this.NameDataColumn.Caption = "Name";
this.NameDataColumn.ColumnName = "Name";
//
// ValueDataColumn
//
this.ValueDataColumn.Caption = "Value";
this.ValueDataColumn.ColumnName = "Value";
//
// argumentDataColumn
//
this.argumentDataColumn.Caption = "argument";
this.argumentDataColumn.ColumnName = "argument";
this.argumentDataColumn.DataType = typeof(object);
//
// validatedDataColumn
//
this.validatedDataColumn.AllowDBNull = false;
this.validatedDataColumn.ColumnName = "validated";
this.validatedDataColumn.DataType = typeof(bool);
this.validatedDataColumn.DefaultValue = false;
//
// OptionsGrid
//
this.OptionsGrid.AllowUserToAddRows = false;
this.OptionsGrid.AllowUserToDeleteRows = false;
this.OptionsGrid.AutoGenerateColumns = false;
this.OptionsGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.OptionsGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.enabledDataGridViewCheckBoxColumn,
this.nameDataGridViewTextBoxColumn,
this.valueDataGridViewTextBoxColumn,
this.argumentDataGridViewTextBoxColumn});
this.OptionsGrid.DataMember = "OverrideTable";
this.OptionsGrid.DataSource = this.BaseDataSet;
resources.ApplyResources(this.OptionsGrid, "OptionsGrid");
this.OptionsGrid.MultiSelect = false;
this.OptionsGrid.Name = "OptionsGrid";
this.OptionsGrid.RowHeadersVisible = false;
this.OptionsGrid.RowEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.OptionsGrid_RowEnter);
this.OptionsGrid.RowValidating += new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.OptionsGrid_RowValidating);
this.OptionsGrid.CellValidating += new System.Windows.Forms.DataGridViewCellValidatingEventHandler(this.OptionsGrid_CellValidating);
this.OptionsGrid.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.OptionsGrid_CellContentClick);
//
// enabledDataGridViewCheckBoxColumn
//
this.enabledDataGridViewCheckBoxColumn.DataPropertyName = "Enabled";
resources.ApplyResources(this.enabledDataGridViewCheckBoxColumn, "enabledDataGridViewCheckBoxColumn");
this.enabledDataGridViewCheckBoxColumn.Name = "enabledDataGridViewCheckBoxColumn";
this.enabledDataGridViewCheckBoxColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
//
// nameDataGridViewTextBoxColumn
//
this.nameDataGridViewTextBoxColumn.DataPropertyName = "Name";
resources.ApplyResources(this.nameDataGridViewTextBoxColumn, "nameDataGridViewTextBoxColumn");
this.nameDataGridViewTextBoxColumn.Name = "nameDataGridViewTextBoxColumn";
this.nameDataGridViewTextBoxColumn.ReadOnly = true;
//
// valueDataGridViewTextBoxColumn
//
this.valueDataGridViewTextBoxColumn.DataPropertyName = "Value";
resources.ApplyResources(this.valueDataGridViewTextBoxColumn, "valueDataGridViewTextBoxColumn");
this.valueDataGridViewTextBoxColumn.Name = "valueDataGridViewTextBoxColumn";
//
// argumentDataGridViewTextBoxColumn
//
this.argumentDataGridViewTextBoxColumn.DataPropertyName = "argument";
resources.ApplyResources(this.argumentDataGridViewTextBoxColumn, "argumentDataGridViewTextBoxColumn");
this.argumentDataGridViewTextBoxColumn.Name = "argumentDataGridViewTextBoxColumn";
//
// InfoLabel
//
this.InfoLabel.BorderStyle = System.Windows.Forms.BorderStyle.None;
resources.ApplyResources(this.InfoLabel, "InfoLabel");
this.InfoLabel.Name = "InfoLabel";
this.InfoLabel.ReadOnly = true;
//
// dataGridViewTextBoxColumn1
//
this.dataGridViewTextBoxColumn1.DataPropertyName = "argument";
resources.ApplyResources(this.dataGridViewTextBoxColumn1, "dataGridViewTextBoxColumn1");
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
//
// CommandLineOptionGrid
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.OptionsGrid);
this.Controls.Add(this.InfoLabel);
this.Name = "CommandLineOptionGrid";
((System.ComponentModel.ISupportInitialize)(this.BaseDataSet)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.OverrideTable)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.OptionsGrid)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Data.DataSet BaseDataSet;
private System.Data.DataTable OverrideTable;
private System.Data.DataColumn EnabledDataColumn;
private System.Data.DataColumn NameDataColumn;
private System.Data.DataColumn ValueDataColumn;
private System.Data.DataColumn argumentDataColumn;
private System.Windows.Forms.DataGridView OptionsGrid;
private System.Data.DataColumn validatedDataColumn;
private System.Windows.Forms.TextBox InfoLabel;
private System.Windows.Forms.DataGridViewCheckBoxColumn enabledDataGridViewCheckBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn nameDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn valueDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn argumentDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
}
}