Setting the WrapMode of the DefaultCellStyle of your DataGridViewTextBoxColumn to true.
This commit is contained in:
parent
e903cc6273
commit
5da70f0461
2 changed files with 258 additions and 252 deletions
|
@ -28,248 +28,254 @@ namespace WebsitePanel.LocalizationToolkit
|
|||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ApplicationForm));
|
||||
this.statusBar = new System.Windows.Forms.StatusStrip();
|
||||
this.statusBarLabel = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.backgroundWorker = new System.ComponentModel.BackgroundWorker();
|
||||
this.pnlMain = new System.Windows.Forms.Panel();
|
||||
this.grdResources = new System.Windows.Forms.DataGridView();
|
||||
this.FileColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.KeyColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.DefaultValueColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ValueColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.pnlTop = new System.Windows.Forms.Panel();
|
||||
this.btnFind = new System.Windows.Forms.Button();
|
||||
this.btnImport = new System.Windows.Forms.Button();
|
||||
this.btnAdd = new System.Windows.Forms.Button();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.btnExport = new System.Windows.Forms.Button();
|
||||
this.btnSave = new System.Windows.Forms.Button();
|
||||
this.btnDelete = new System.Windows.Forms.Button();
|
||||
this.cbSupportedLocales = new System.Windows.Forms.ComboBox();
|
||||
this.topLogoControl = new WebsitePanel.LocalizationToolkit.TopLogoControl();
|
||||
this.statusBar.SuspendLayout();
|
||||
this.pnlMain.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.grdResources)).BeginInit();
|
||||
this.pnlTop.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// statusBar
|
||||
//
|
||||
this.statusBar.GripStyle = System.Windows.Forms.ToolStripGripStyle.Visible;
|
||||
this.statusBar.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ApplicationForm));
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.statusBar = new System.Windows.Forms.StatusStrip();
|
||||
this.statusBarLabel = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.backgroundWorker = new System.ComponentModel.BackgroundWorker();
|
||||
this.pnlMain = new System.Windows.Forms.Panel();
|
||||
this.grdResources = new System.Windows.Forms.DataGridView();
|
||||
this.pnlTop = new System.Windows.Forms.Panel();
|
||||
this.btnFind = new System.Windows.Forms.Button();
|
||||
this.btnImport = new System.Windows.Forms.Button();
|
||||
this.btnAdd = new System.Windows.Forms.Button();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.btnExport = new System.Windows.Forms.Button();
|
||||
this.btnSave = new System.Windows.Forms.Button();
|
||||
this.btnDelete = new System.Windows.Forms.Button();
|
||||
this.cbSupportedLocales = new System.Windows.Forms.ComboBox();
|
||||
this.topLogoControl = new WebsitePanel.LocalizationToolkit.TopLogoControl();
|
||||
this.FileColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.KeyColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.DefaultValueColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ValueColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.statusBar.SuspendLayout();
|
||||
this.pnlMain.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.grdResources)).BeginInit();
|
||||
this.pnlTop.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// statusBar
|
||||
//
|
||||
this.statusBar.GripStyle = System.Windows.Forms.ToolStripGripStyle.Visible;
|
||||
this.statusBar.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.statusBarLabel});
|
||||
this.statusBar.Location = new System.Drawing.Point(0, 432);
|
||||
this.statusBar.Name = "statusBar";
|
||||
this.statusBar.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional;
|
||||
this.statusBar.Size = new System.Drawing.Size(737, 22);
|
||||
this.statusBar.TabIndex = 1;
|
||||
//
|
||||
// statusBarLabel
|
||||
//
|
||||
this.statusBarLabel.Name = "statusBarLabel";
|
||||
this.statusBarLabel.Size = new System.Drawing.Size(39, 17);
|
||||
this.statusBarLabel.Text = "Ready";
|
||||
//
|
||||
// pnlMain
|
||||
//
|
||||
this.pnlMain.Controls.Add(this.grdResources);
|
||||
this.pnlMain.Controls.Add(this.pnlTop);
|
||||
this.pnlMain.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.pnlMain.Location = new System.Drawing.Point(0, 63);
|
||||
this.pnlMain.Name = "pnlMain";
|
||||
this.pnlMain.Size = new System.Drawing.Size(737, 369);
|
||||
this.pnlMain.TabIndex = 4;
|
||||
//
|
||||
// grdResources
|
||||
//
|
||||
this.grdResources.AllowUserToAddRows = false;
|
||||
this.grdResources.AllowUserToDeleteRows = false;
|
||||
this.grdResources.BackgroundColor = System.Drawing.SystemColors.Control;
|
||||
this.grdResources.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
||||
this.grdResources.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.grdResources.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.statusBar.Location = new System.Drawing.Point(0, 441);
|
||||
this.statusBar.Name = "statusBar";
|
||||
this.statusBar.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional;
|
||||
this.statusBar.Size = new System.Drawing.Size(742, 22);
|
||||
this.statusBar.TabIndex = 1;
|
||||
//
|
||||
// statusBarLabel
|
||||
//
|
||||
this.statusBarLabel.Name = "statusBarLabel";
|
||||
this.statusBarLabel.Size = new System.Drawing.Size(38, 17);
|
||||
this.statusBarLabel.Text = "Ready";
|
||||
//
|
||||
// pnlMain
|
||||
//
|
||||
this.pnlMain.Controls.Add(this.grdResources);
|
||||
this.pnlMain.Controls.Add(this.pnlTop);
|
||||
this.pnlMain.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.pnlMain.Location = new System.Drawing.Point(0, 63);
|
||||
this.pnlMain.Name = "pnlMain";
|
||||
this.pnlMain.Size = new System.Drawing.Size(742, 378);
|
||||
this.pnlMain.TabIndex = 4;
|
||||
//
|
||||
// grdResources
|
||||
//
|
||||
this.grdResources.AllowUserToAddRows = false;
|
||||
this.grdResources.AllowUserToDeleteRows = false;
|
||||
this.grdResources.BackgroundColor = System.Drawing.SystemColors.Control;
|
||||
this.grdResources.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
||||
this.grdResources.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.grdResources.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.FileColumn,
|
||||
this.KeyColumn,
|
||||
this.DefaultValueColumn,
|
||||
this.ValueColumn});
|
||||
this.grdResources.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.grdResources.Location = new System.Drawing.Point(0, 79);
|
||||
this.grdResources.Name = "grdResources";
|
||||
this.grdResources.Size = new System.Drawing.Size(737, 290);
|
||||
this.grdResources.TabIndex = 1;
|
||||
this.grdResources.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.grdResources_CellFormatting);
|
||||
//
|
||||
// FileColumn
|
||||
//
|
||||
this.FileColumn.DataPropertyName = "File";
|
||||
this.FileColumn.HeaderText = "File";
|
||||
this.FileColumn.Name = "FileColumn";
|
||||
this.FileColumn.ReadOnly = true;
|
||||
//
|
||||
// KeyColumn
|
||||
//
|
||||
this.KeyColumn.DataPropertyName = "Key";
|
||||
this.KeyColumn.HeaderText = "Key";
|
||||
this.KeyColumn.Name = "KeyColumn";
|
||||
this.KeyColumn.ReadOnly = true;
|
||||
this.KeyColumn.Width = 180;
|
||||
//
|
||||
// DefaultValueColumn
|
||||
//
|
||||
this.DefaultValueColumn.DataPropertyName = "DefaultValue";
|
||||
this.DefaultValueColumn.HeaderText = "Default Value";
|
||||
this.DefaultValueColumn.Name = "DefaultValueColumn";
|
||||
this.DefaultValueColumn.ReadOnly = true;
|
||||
this.DefaultValueColumn.Width = 180;
|
||||
//
|
||||
// ValueColumn
|
||||
//
|
||||
this.ValueColumn.DataPropertyName = "Value";
|
||||
this.ValueColumn.HeaderText = "Value";
|
||||
this.ValueColumn.Name = "ValueColumn";
|
||||
this.ValueColumn.Width = 180;
|
||||
//
|
||||
// pnlTop
|
||||
//
|
||||
this.pnlTop.Controls.Add(this.btnFind);
|
||||
this.pnlTop.Controls.Add(this.btnImport);
|
||||
this.pnlTop.Controls.Add(this.btnAdd);
|
||||
this.pnlTop.Controls.Add(this.label1);
|
||||
this.pnlTop.Controls.Add(this.btnExport);
|
||||
this.pnlTop.Controls.Add(this.btnSave);
|
||||
this.pnlTop.Controls.Add(this.btnDelete);
|
||||
this.pnlTop.Controls.Add(this.cbSupportedLocales);
|
||||
this.pnlTop.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.pnlTop.Location = new System.Drawing.Point(0, 0);
|
||||
this.pnlTop.Name = "pnlTop";
|
||||
this.pnlTop.Size = new System.Drawing.Size(737, 79);
|
||||
this.pnlTop.TabIndex = 0;
|
||||
//
|
||||
// btnFind
|
||||
//
|
||||
this.btnFind.Image = ((System.Drawing.Image)(resources.GetObject("btnFind.Image")));
|
||||
this.btnFind.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.btnFind.Location = new System.Drawing.Point(626, 38);
|
||||
this.btnFind.Name = "btnFind";
|
||||
this.btnFind.Size = new System.Drawing.Size(96, 30);
|
||||
this.btnFind.TabIndex = 7;
|
||||
this.btnFind.Text = " Find...";
|
||||
this.btnFind.UseVisualStyleBackColor = true;
|
||||
this.btnFind.Click += new System.EventHandler(this.OnFindClick);
|
||||
//
|
||||
// btnImport
|
||||
//
|
||||
this.btnImport.Image = ((System.Drawing.Image)(resources.GetObject("btnImport.Image")));
|
||||
this.btnImport.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.btnImport.Location = new System.Drawing.Point(524, 38);
|
||||
this.btnImport.Name = "btnImport";
|
||||
this.btnImport.Size = new System.Drawing.Size(96, 30);
|
||||
this.btnImport.TabIndex = 6;
|
||||
this.btnImport.Text = " Import...";
|
||||
this.btnImport.UseVisualStyleBackColor = true;
|
||||
this.btnImport.Click += new System.EventHandler(this.OnImportClick);
|
||||
//
|
||||
// btnAdd
|
||||
//
|
||||
this.btnAdd.Image = ((System.Drawing.Image)(resources.GetObject("btnAdd.Image")));
|
||||
this.btnAdd.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.btnAdd.Location = new System.Drawing.Point(12, 38);
|
||||
this.btnAdd.Name = "btnAdd";
|
||||
this.btnAdd.Size = new System.Drawing.Size(96, 30);
|
||||
this.btnAdd.TabIndex = 2;
|
||||
this.btnAdd.Text = "Add...";
|
||||
this.btnAdd.UseVisualStyleBackColor = true;
|
||||
this.btnAdd.Click += new System.EventHandler(this.OnAddClick);
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(12, 14);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(99, 13);
|
||||
this.label1.TabIndex = 0;
|
||||
this.label1.Text = "Supported Locales:";
|
||||
//
|
||||
// btnExport
|
||||
//
|
||||
this.btnExport.Image = ((System.Drawing.Image)(resources.GetObject("btnExport.Image")));
|
||||
this.btnExport.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.btnExport.Location = new System.Drawing.Point(342, 38);
|
||||
this.btnExport.Name = "btnExport";
|
||||
this.btnExport.Size = new System.Drawing.Size(176, 30);
|
||||
this.btnExport.TabIndex = 5;
|
||||
this.btnExport.Text = " Compile Language Pack";
|
||||
this.btnExport.UseVisualStyleBackColor = true;
|
||||
this.btnExport.Click += new System.EventHandler(this.OnExportClick);
|
||||
//
|
||||
// btnSave
|
||||
//
|
||||
this.btnSave.Image = ((System.Drawing.Image)(resources.GetObject("btnSave.Image")));
|
||||
this.btnSave.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.btnSave.Location = new System.Drawing.Point(114, 38);
|
||||
this.btnSave.Name = "btnSave";
|
||||
this.btnSave.Size = new System.Drawing.Size(96, 30);
|
||||
this.btnSave.TabIndex = 3;
|
||||
this.btnSave.Text = "Save";
|
||||
this.btnSave.UseVisualStyleBackColor = true;
|
||||
this.btnSave.Click += new System.EventHandler(this.OnSaveClick);
|
||||
//
|
||||
// btnDelete
|
||||
//
|
||||
this.btnDelete.Image = ((System.Drawing.Image)(resources.GetObject("btnDelete.Image")));
|
||||
this.btnDelete.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.btnDelete.Location = new System.Drawing.Point(216, 38);
|
||||
this.btnDelete.Name = "btnDelete";
|
||||
this.btnDelete.Size = new System.Drawing.Size(96, 30);
|
||||
this.btnDelete.TabIndex = 4;
|
||||
this.btnDelete.Text = "Delete";
|
||||
this.btnDelete.UseVisualStyleBackColor = true;
|
||||
this.btnDelete.Click += new System.EventHandler(this.OnDeleteClick);
|
||||
//
|
||||
// cbSupportedLocales
|
||||
//
|
||||
this.cbSupportedLocales.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cbSupportedLocales.FormattingEnabled = true;
|
||||
this.cbSupportedLocales.Location = new System.Drawing.Point(129, 11);
|
||||
this.cbSupportedLocales.Name = "cbSupportedLocales";
|
||||
this.cbSupportedLocales.Size = new System.Drawing.Size(318, 21);
|
||||
this.cbSupportedLocales.TabIndex = 1;
|
||||
this.cbSupportedLocales.SelectedIndexChanged += new System.EventHandler(this.OnLocaleChanged);
|
||||
//
|
||||
// topLogoControl
|
||||
//
|
||||
this.topLogoControl.BackColor = System.Drawing.Color.White;
|
||||
this.topLogoControl.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.topLogoControl.Location = new System.Drawing.Point(0, 0);
|
||||
this.topLogoControl.Name = "topLogoControl";
|
||||
this.topLogoControl.Size = new System.Drawing.Size(737, 63);
|
||||
this.topLogoControl.TabIndex = 0;
|
||||
//
|
||||
// ApplicationForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(737, 454);
|
||||
this.Controls.Add(this.pnlMain);
|
||||
this.Controls.Add(this.statusBar);
|
||||
this.Controls.Add(this.topLogoControl);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.KeyPreview = true;
|
||||
this.MinimumSize = new System.Drawing.Size(750, 490);
|
||||
this.Name = "ApplicationForm";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "Localization Toolkit";
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.OnFormClosing);
|
||||
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.OnKeyDown);
|
||||
this.statusBar.ResumeLayout(false);
|
||||
this.statusBar.PerformLayout();
|
||||
this.pnlMain.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.grdResources)).EndInit();
|
||||
this.pnlTop.ResumeLayout(false);
|
||||
this.pnlTop.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
this.grdResources.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.grdResources.Location = new System.Drawing.Point(0, 79);
|
||||
this.grdResources.Name = "grdResources";
|
||||
this.grdResources.Size = new System.Drawing.Size(742, 299);
|
||||
this.grdResources.TabIndex = 1;
|
||||
this.grdResources.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.grdResources_CellFormatting);
|
||||
//
|
||||
// pnlTop
|
||||
//
|
||||
this.pnlTop.Controls.Add(this.btnFind);
|
||||
this.pnlTop.Controls.Add(this.btnImport);
|
||||
this.pnlTop.Controls.Add(this.btnAdd);
|
||||
this.pnlTop.Controls.Add(this.label1);
|
||||
this.pnlTop.Controls.Add(this.btnExport);
|
||||
this.pnlTop.Controls.Add(this.btnSave);
|
||||
this.pnlTop.Controls.Add(this.btnDelete);
|
||||
this.pnlTop.Controls.Add(this.cbSupportedLocales);
|
||||
this.pnlTop.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.pnlTop.Location = new System.Drawing.Point(0, 0);
|
||||
this.pnlTop.Name = "pnlTop";
|
||||
this.pnlTop.Size = new System.Drawing.Size(742, 79);
|
||||
this.pnlTop.TabIndex = 0;
|
||||
//
|
||||
// btnFind
|
||||
//
|
||||
this.btnFind.Image = ((System.Drawing.Image)(resources.GetObject("btnFind.Image")));
|
||||
this.btnFind.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.btnFind.Location = new System.Drawing.Point(626, 38);
|
||||
this.btnFind.Name = "btnFind";
|
||||
this.btnFind.Size = new System.Drawing.Size(96, 30);
|
||||
this.btnFind.TabIndex = 7;
|
||||
this.btnFind.Text = " Find...";
|
||||
this.btnFind.UseVisualStyleBackColor = true;
|
||||
this.btnFind.Click += new System.EventHandler(this.OnFindClick);
|
||||
//
|
||||
// btnImport
|
||||
//
|
||||
this.btnImport.Image = ((System.Drawing.Image)(resources.GetObject("btnImport.Image")));
|
||||
this.btnImport.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.btnImport.Location = new System.Drawing.Point(524, 38);
|
||||
this.btnImport.Name = "btnImport";
|
||||
this.btnImport.Size = new System.Drawing.Size(96, 30);
|
||||
this.btnImport.TabIndex = 6;
|
||||
this.btnImport.Text = " Import...";
|
||||
this.btnImport.UseVisualStyleBackColor = true;
|
||||
this.btnImport.Click += new System.EventHandler(this.OnImportClick);
|
||||
//
|
||||
// btnAdd
|
||||
//
|
||||
this.btnAdd.Image = ((System.Drawing.Image)(resources.GetObject("btnAdd.Image")));
|
||||
this.btnAdd.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.btnAdd.Location = new System.Drawing.Point(12, 38);
|
||||
this.btnAdd.Name = "btnAdd";
|
||||
this.btnAdd.Size = new System.Drawing.Size(96, 30);
|
||||
this.btnAdd.TabIndex = 2;
|
||||
this.btnAdd.Text = "Add...";
|
||||
this.btnAdd.UseVisualStyleBackColor = true;
|
||||
this.btnAdd.Click += new System.EventHandler(this.OnAddClick);
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(12, 14);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(99, 13);
|
||||
this.label1.TabIndex = 0;
|
||||
this.label1.Text = "Supported Locales:";
|
||||
//
|
||||
// btnExport
|
||||
//
|
||||
this.btnExport.Image = ((System.Drawing.Image)(resources.GetObject("btnExport.Image")));
|
||||
this.btnExport.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.btnExport.Location = new System.Drawing.Point(342, 38);
|
||||
this.btnExport.Name = "btnExport";
|
||||
this.btnExport.Size = new System.Drawing.Size(176, 30);
|
||||
this.btnExport.TabIndex = 5;
|
||||
this.btnExport.Text = " Compile Language Pack";
|
||||
this.btnExport.UseVisualStyleBackColor = true;
|
||||
this.btnExport.Click += new System.EventHandler(this.OnExportClick);
|
||||
//
|
||||
// btnSave
|
||||
//
|
||||
this.btnSave.Image = ((System.Drawing.Image)(resources.GetObject("btnSave.Image")));
|
||||
this.btnSave.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.btnSave.Location = new System.Drawing.Point(114, 38);
|
||||
this.btnSave.Name = "btnSave";
|
||||
this.btnSave.Size = new System.Drawing.Size(96, 30);
|
||||
this.btnSave.TabIndex = 3;
|
||||
this.btnSave.Text = "Save";
|
||||
this.btnSave.UseVisualStyleBackColor = true;
|
||||
this.btnSave.Click += new System.EventHandler(this.OnSaveClick);
|
||||
//
|
||||
// btnDelete
|
||||
//
|
||||
this.btnDelete.Image = ((System.Drawing.Image)(resources.GetObject("btnDelete.Image")));
|
||||
this.btnDelete.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.btnDelete.Location = new System.Drawing.Point(216, 38);
|
||||
this.btnDelete.Name = "btnDelete";
|
||||
this.btnDelete.Size = new System.Drawing.Size(96, 30);
|
||||
this.btnDelete.TabIndex = 4;
|
||||
this.btnDelete.Text = "Delete";
|
||||
this.btnDelete.UseVisualStyleBackColor = true;
|
||||
this.btnDelete.Click += new System.EventHandler(this.OnDeleteClick);
|
||||
//
|
||||
// cbSupportedLocales
|
||||
//
|
||||
this.cbSupportedLocales.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cbSupportedLocales.FormattingEnabled = true;
|
||||
this.cbSupportedLocales.Location = new System.Drawing.Point(129, 11);
|
||||
this.cbSupportedLocales.Name = "cbSupportedLocales";
|
||||
this.cbSupportedLocales.Size = new System.Drawing.Size(318, 21);
|
||||
this.cbSupportedLocales.TabIndex = 1;
|
||||
this.cbSupportedLocales.SelectedIndexChanged += new System.EventHandler(this.OnLocaleChanged);
|
||||
//
|
||||
// topLogoControl
|
||||
//
|
||||
this.topLogoControl.BackColor = System.Drawing.Color.White;
|
||||
this.topLogoControl.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.topLogoControl.Location = new System.Drawing.Point(0, 0);
|
||||
this.topLogoControl.Name = "topLogoControl";
|
||||
this.topLogoControl.Size = new System.Drawing.Size(742, 63);
|
||||
this.topLogoControl.TabIndex = 0;
|
||||
//
|
||||
// FileColumn
|
||||
//
|
||||
this.FileColumn.DataPropertyName = "File";
|
||||
this.FileColumn.HeaderText = "File";
|
||||
this.FileColumn.Name = "FileColumn";
|
||||
this.FileColumn.ReadOnly = true;
|
||||
//
|
||||
// KeyColumn
|
||||
//
|
||||
this.KeyColumn.DataPropertyName = "Key";
|
||||
this.KeyColumn.HeaderText = "Key";
|
||||
this.KeyColumn.Name = "KeyColumn";
|
||||
this.KeyColumn.ReadOnly = true;
|
||||
this.KeyColumn.Width = 180;
|
||||
//
|
||||
// DefaultValueColumn
|
||||
//
|
||||
this.DefaultValueColumn.DataPropertyName = "DefaultValue";
|
||||
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.DefaultValueColumn.DefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.DefaultValueColumn.HeaderText = "Default Value";
|
||||
this.DefaultValueColumn.Name = "DefaultValueColumn";
|
||||
this.DefaultValueColumn.ReadOnly = true;
|
||||
this.DefaultValueColumn.Width = 180;
|
||||
//
|
||||
// ValueColumn
|
||||
//
|
||||
this.ValueColumn.DataPropertyName = "Value";
|
||||
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.ValueColumn.DefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.ValueColumn.HeaderText = "Value";
|
||||
this.ValueColumn.Name = "ValueColumn";
|
||||
this.ValueColumn.Width = 180;
|
||||
//
|
||||
// ApplicationForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(742, 463);
|
||||
this.Controls.Add(this.pnlMain);
|
||||
this.Controls.Add(this.statusBar);
|
||||
this.Controls.Add(this.topLogoControl);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.KeyPreview = true;
|
||||
this.MinimumSize = new System.Drawing.Size(750, 490);
|
||||
this.Name = "ApplicationForm";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "Localization Toolkit";
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.OnFormClosing);
|
||||
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.OnKeyDown);
|
||||
this.statusBar.ResumeLayout(false);
|
||||
this.statusBar.PerformLayout();
|
||||
this.pnlMain.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.grdResources)).EndInit();
|
||||
this.pnlTop.ResumeLayout(false);
|
||||
this.pnlTop.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
|
@ -287,12 +293,12 @@ namespace WebsitePanel.LocalizationToolkit
|
|||
private System.Windows.Forms.Button btnExport;
|
||||
private System.Windows.Forms.Button btnSave;
|
||||
private System.Windows.Forms.Button btnDelete;
|
||||
private System.Windows.Forms.ComboBox cbSupportedLocales;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn FileColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn KeyColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn DefaultValueColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn ValueColumn;
|
||||
private System.Windows.Forms.ComboBox cbSupportedLocales;
|
||||
private System.Windows.Forms.Button btnImport;
|
||||
private System.Windows.Forms.Button btnFind;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn FileColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn KeyColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn DefaultValueColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn ValueColumn;
|
||||
}
|
||||
}
|
|
@ -167,8 +167,8 @@
|
|||
<data name="btnImport.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAK7gAA
|
||||
Cu4BrzForAAABlRJREFUSEuFk39M02cexz+kwCkeajdMlIwRkCEG5DhyToOSZcsN45kwzdRsLqgBGbah
|
||||
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAK7QAA
|
||||
Cu0BAohJwQAABlRJREFUSEuFk39M02cexz+kwCkeajdMlIwRkCEG5DhyToOSZcsN45kwzdRsLqgBGbah
|
||||
cApBDOomZOedPzLxkKY/0jYtXYEAXUtD2xQafgxpmERKKKSUIAwwbHfV3e08c3947/t8v3Xe9Li7J3nl
|
||||
eb7f7/N9Xp/P53keAkA95xM+dpzb+NuucjpoVUTl2Ssl22yVUVIek0BXhYSJFrFWxJC1MoKtMvb/QoKg
|
||||
70pO76S9FqO6I0899Wl/6b6QsuSqz/B5Lid1eOo2/NFTF3fJXRv7satGUuioWrPTdnZNMoviOstZXB79
|
||||
|
@ -201,8 +201,8 @@
|
|||
<data name="btnAdd.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAK7gAA
|
||||
Cu4BrzForAAABopJREFUSEuFlQlMm+cZx5+gHEtThbA1tAnqksJQCOIQxIJEKhaH6CKWNWOji9JGgQgc
|
||||
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAK7QAA
|
||||
Cu0BAohJwQAABopJREFUSEuFlQlMm+cZx5+gHEtThbA1tAnqksJQCOIQxIJEKhaH6CKWNWOji9JGgQgc
|
||||
OUGElEOUKYeSIBKJYwHkYwZkw2wiQIAFRGD02chHwYhDPkpwOFTCKIi0g0TtpK3e9t9jk6RjWjZLP316
|
||||
/VnP733+76PXNFQRZTZVnzDri95s68qn2p7CHeX6woALPfl0sjufYpi3uy7Tj/gddVzexmw+O5mu/ADq
|
||||
Ltj+PyFzfdqfnozrsGCuhatDglH1WdjbSzDecx1jbXn/mNCc3hhTJc/b6yLGJu+H9Ntr3tWYK/bfFa7v
|
||||
|
@ -236,8 +236,8 @@
|
|||
<data name="btnExport.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAK7gAA
|
||||
Cu4BrzForAAABYhJREFUSEu1lmtMU2cYx+s0MWZzMXPuw25xbsIyzaZzLrt8MTijEoNxMufmZtRlQFYI
|
||||
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAK7QAA
|
||||
Cu0BAohJwQAABYhJREFUSEu1lmtMU2cYx+s0MWZzMXPuw25xbsIyzaZzLrt8MTijEoNxMufmZtRlQFYI
|
||||
0IiNwICGlrRl0KZQsQxsoARoWghtWppe1st6SQujEEpTRMBoGZdgDGrAhRj/e86JNdTb/LIm//T09O3/
|
||||
91ze5z3lLC8vc55Hn2xYu0nAzdqRlf7VludZn1jzTHPhOd5Op8VcGQiF/vAPDF7xDgzOkq4H+vpDPrfr
|
||||
d41ScZjD4ax5FvCJgLTdu1K7tZ0mayAEja8fMnsAQrMH5UYXyg0uiOha6QyiO9APk8l0Jf/MqeNPgzwG
|
||||
|
@ -267,8 +267,8 @@
|
|||
<data name="btnSave.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAK7gAA
|
||||
Cu4BrzForAAABf1JREFUSEuFlg9I1GcYx9+zSVvltoQlYVvGHGuKBalYMRZWLAYr+sNcRNElptPEklno
|
||||
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAK7QAA
|
||||
Cu0BAohJwQAABf1JREFUSEuFlg9I1GcYx9+zSVvltoQlYVvGHGuKBalYMRZWLAYr+sNcRNElptPEklno
|
||||
RjncoialeB73hztvpzdPd7/b/dnl4d3hJaachp74hzvlTjGdunXFqrU2Juy75/c2Xa2jPfDhXn78eD7v
|
||||
87x/fscAMMfZ1fn2slfOCIVsv/kU224tlrxtKWaracxEhFMSjpkTw8zFMcxSsoxZiv8fJgrcF9M6RuwV
|
||||
8KkPwnl+3a/28rXzbZVv9TvPr7U5y19UOc8u+7LtU0netVKWbS+NTaXk64QiyUpTIckLJc8VcUF71cYf
|
||||
|
@ -300,8 +300,8 @@
|
|||
<data name="btnDelete.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAK7gAA
|
||||
Cu4BrzForAAABl5JREFUSEuFlX1sE+cdx69hW7sipGpMTFUzhtZW2zppLx2TVg1lK0ih01hHh/IyxASb
|
||||
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAK7QAA
|
||||
Cu0BAohJwQAABl5JREFUSEuFlX1sE+cdx69hW7sipGpMTFUzhtZW2zppLx2TVg1lK0ih01hHh/IyxASb
|
||||
EhAOoqEiE4WRREkocRYc4QRCRkz90iSuk9QvPdvYbhLLsWfixnZ9vtpO/TI7rhNj53L27c5HQ8Jvz7G1
|
||||
2h8mtfTRc+fn8fdzz+93eowBACbgcrkwi8WCabWTu8bGRn89olLWjagUzSNKRbdSfuvajcHrw73ibllb
|
||||
64Whcy1n+1rOnrnYevHCX6RX+36nHhv7qcFg2DY1NfUw5/NMYfziRqfT1XV2dn4gFvdQff2DMCQfBYVa
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue