mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-12-03 16:41:04 +01:00
5c70cbfd3d
- The CustomFieldsDialog was an unnecessary intermediate step deteriorating the user experience. - Fixed layout issues when we have a long list of custom fields. Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
93 lines
3.9 KiB
C#
93 lines
3.9 KiB
C#
using XenAdmin.CustomFields;
|
|
using XenAdmin.XenSearch;
|
|
|
|
namespace XenAdmin.SettingsPanels
|
|
{
|
|
partial class CustomFieldsDisplayPage
|
|
{
|
|
/// <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)
|
|
{
|
|
CustomFieldsManager.CustomFieldsChanged -= CustomFields_CustomFieldsChanged;
|
|
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(CustomFieldsDisplayPage));
|
|
this.tableLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
|
|
this.buttonNewtCustomField = new System.Windows.Forms.Button();
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.tableLayoutPanel1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// tableLayoutPanel
|
|
//
|
|
resources.ApplyResources(this.tableLayoutPanel, "tableLayoutPanel");
|
|
this.tableLayoutPanel.Name = "tableLayoutPanel";
|
|
//
|
|
// buttonNewtCustomField
|
|
//
|
|
resources.ApplyResources(this.buttonNewtCustomField, "buttonNewtCustomField");
|
|
this.buttonNewtCustomField.Image = global::XenAdmin.Properties.Resources.more_16;
|
|
this.buttonNewtCustomField.Name = "buttonNewtCustomField";
|
|
this.buttonNewtCustomField.UseVisualStyleBackColor = true;
|
|
this.buttonNewtCustomField.Click += new System.EventHandler(this.buttonNewCustomField_Click);
|
|
//
|
|
// tableLayoutPanel1
|
|
//
|
|
resources.ApplyResources(this.tableLayoutPanel1, "tableLayoutPanel1");
|
|
this.tableLayoutPanel1.Controls.Add(this.label1, 0, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.buttonNewtCustomField, 0, 1);
|
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|
//
|
|
// label1
|
|
//
|
|
resources.ApplyResources(this.label1, "label1");
|
|
this.label1.Name = "label1";
|
|
//
|
|
// CustomFieldsDisplayPage
|
|
//
|
|
resources.ApplyResources(this, "$this");
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
this.BackColor = System.Drawing.SystemColors.Control;
|
|
this.Controls.Add(this.tableLayoutPanel);
|
|
this.Controls.Add(this.tableLayoutPanel1);
|
|
this.DoubleBuffered = true;
|
|
this.ForeColor = System.Drawing.SystemColors.ControlText;
|
|
this.Name = "CustomFieldsDisplayPage";
|
|
this.tableLayoutPanel1.ResumeLayout(false);
|
|
this.tableLayoutPanel1.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel;
|
|
private System.Windows.Forms.Button buttonNewtCustomField;
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
|
private System.Windows.Forms.Label label1;
|
|
}
|
|
}
|