|
|
|
|
using DevExpress.XtraEditors;
|
|
|
|
|
using DevExpress.XtraTreeList;
|
|
|
|
|
using DevExpress.XtraTreeList.Columns;
|
|
|
|
|
using KGIS.Plugin.LayerProperty.Utils;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.Drawing;
|
|
|
|
|
using System.Windows.Forms;
|
|
|
|
|
|
|
|
|
|
namespace KGIS.Plugin.LayerProperty.View
|
|
|
|
|
{
|
|
|
|
|
partial class FormGalleryPathSelector
|
|
|
|
|
{
|
|
|
|
|
/// <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 Windows Form 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()
|
|
|
|
|
{
|
|
|
|
|
this.components = new System.ComponentModel.Container();
|
|
|
|
|
this.groupControl1 = new GroupControl();
|
|
|
|
|
this.tlstGalleryTree = new TreeList();
|
|
|
|
|
this.colName = new TreeListColumn();
|
|
|
|
|
this.colCheck = new TreeListColumn();
|
|
|
|
|
this.btnOK = new SimpleButton();
|
|
|
|
|
this.btnCancel = new SimpleButton();
|
|
|
|
|
this.btnAddStyleFile = new SimpleButton();
|
|
|
|
|
this.btnDelete = new SimpleButton();
|
|
|
|
|
((ISupportInitialize)this.groupControl1).BeginInit();
|
|
|
|
|
this.groupControl1.SuspendLayout();
|
|
|
|
|
((ISupportInitialize)this.tlstGalleryTree).BeginInit();
|
|
|
|
|
base.SuspendLayout();
|
|
|
|
|
this.groupControl1.Controls.Add(this.tlstGalleryTree);
|
|
|
|
|
this.groupControl1.Location = new Point(12, 12);
|
|
|
|
|
this.groupControl1.Name = "groupControl1";
|
|
|
|
|
this.groupControl1.Size = new Size(355, 209);
|
|
|
|
|
this.groupControl1.TabIndex = 1;
|
|
|
|
|
this.groupControl1.Text = "符号库来源";
|
|
|
|
|
this.tlstGalleryTree.Columns.AddRange(new TreeListColumn[]
|
|
|
|
|
{
|
|
|
|
|
this.colName,
|
|
|
|
|
this.colCheck
|
|
|
|
|
});
|
|
|
|
|
this.tlstGalleryTree.Dock = DockStyle.Fill;
|
|
|
|
|
this.tlstGalleryTree.Location = new Point(2, 21);
|
|
|
|
|
this.tlstGalleryTree.Name = "tlstGalleryTree";
|
|
|
|
|
this.tlstGalleryTree.OptionsSelection.InvertSelection = true;
|
|
|
|
|
this.tlstGalleryTree.OptionsView.ShowColumns = false;
|
|
|
|
|
this.tlstGalleryTree.OptionsView.ShowIndicator = false;
|
|
|
|
|
this.tlstGalleryTree.Size = new Size(351, 186);
|
|
|
|
|
this.tlstGalleryTree.TabIndex = 0;
|
|
|
|
|
this.tlstGalleryTree.MouseDoubleClick += new MouseEventHandler(this.tlstGalleryTree_MouseDoubleClick);
|
|
|
|
|
this.tlstGalleryTree.FocusedNodeChanged += new FocusedNodeChangedEventHandler(this.tlstGalleryTree_FocusedNodeChanged);
|
|
|
|
|
this.colName.Caption = "Name";
|
|
|
|
|
this.colName.FieldName = "Name";
|
|
|
|
|
this.colName.MinWidth = 27;
|
|
|
|
|
this.colName.Name = "colName";
|
|
|
|
|
this.colName.Visible = true;
|
|
|
|
|
this.colName.VisibleIndex = 0;
|
|
|
|
|
this.colName.Width = 92;
|
|
|
|
|
this.colCheck.Caption = "Check";
|
|
|
|
|
this.colCheck.FieldName = "Check";
|
|
|
|
|
this.colCheck.Name = "colCheck";
|
|
|
|
|
this.btnOK.DataBindings.Add(new Binding("Text", Settings.Default, "btnOK", true, DataSourceUpdateMode.OnPropertyChanged));
|
|
|
|
|
this.btnOK.Location = new Point(373, 23);
|
|
|
|
|
this.btnOK.Name = "btnOK";
|
|
|
|
|
this.btnOK.Size = new Size(75, 23);
|
|
|
|
|
this.btnOK.TabIndex = 2;
|
|
|
|
|
this.btnOK.Text = Settings.Default.btnOK;
|
|
|
|
|
this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
|
|
|
|
|
this.btnCancel.DataBindings.Add(new Binding("Text", Settings.Default, "btnCancel", true, DataSourceUpdateMode.OnPropertyChanged));
|
|
|
|
|
this.btnCancel.Location = new Point(373, 52);
|
|
|
|
|
this.btnCancel.Name = "btnCancel";
|
|
|
|
|
this.btnCancel.Size = new Size(75, 23);
|
|
|
|
|
this.btnCancel.TabIndex = 3;
|
|
|
|
|
this.btnCancel.Text = Settings.Default.btnCancel;
|
|
|
|
|
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
|
|
|
|
this.btnAddStyleFile.Location = new Point(373, 81);
|
|
|
|
|
this.btnAddStyleFile.Name = "btnAddStyleFile";
|
|
|
|
|
this.btnAddStyleFile.Size = new Size(75, 23);
|
|
|
|
|
this.btnAddStyleFile.TabIndex = 4;
|
|
|
|
|
this.btnAddStyleFile.Text = "添加...";
|
|
|
|
|
this.btnAddStyleFile.Click += new System.EventHandler(this.btnAddStyleFile_Click);
|
|
|
|
|
this.btnDelete.Location = new Point(373, 110);
|
|
|
|
|
this.btnDelete.Name = "btnDelete";
|
|
|
|
|
this.btnDelete.Size = new Size(75, 23);
|
|
|
|
|
this.btnDelete.TabIndex = 5;
|
|
|
|
|
this.btnDelete.Text = "删除";
|
|
|
|
|
this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
|
|
|
|
|
base.AutoScaleDimensions = new SizeF(6f, 12f);
|
|
|
|
|
base.AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
base.ClientSize = new Size(460, 235);
|
|
|
|
|
base.Controls.Add(this.btnAddStyleFile);
|
|
|
|
|
base.Controls.Add(this.btnCancel);
|
|
|
|
|
base.Controls.Add(this.btnOK);
|
|
|
|
|
base.Controls.Add(this.btnDelete);
|
|
|
|
|
base.Controls.Add(this.groupControl1);
|
|
|
|
|
base.FormBorderStyle = FormBorderStyle.FixedDialog;
|
|
|
|
|
base.MaximizeBox = false;
|
|
|
|
|
base.MinimizeBox = false;
|
|
|
|
|
base.Name = "FormGalleryPathSelector";
|
|
|
|
|
base.ShowIcon = false;
|
|
|
|
|
base.ShowInTaskbar = false;
|
|
|
|
|
base.StartPosition = FormStartPosition.CenterScreen;
|
|
|
|
|
this.Text = "符号库选择";
|
|
|
|
|
((ISupportInitialize)this.groupControl1).EndInit();
|
|
|
|
|
this.groupControl1.ResumeLayout(false);
|
|
|
|
|
((ISupportInitialize)this.tlstGalleryTree).EndInit();
|
|
|
|
|
base.ResumeLayout(false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
private GroupControl groupControl1;
|
|
|
|
|
private TreeList tlstGalleryTree;
|
|
|
|
|
private TreeListColumn colName;
|
|
|
|
|
private TreeListColumn colCheck;
|
|
|
|
|
private SimpleButton btnOK;
|
|
|
|
|
private SimpleButton btnCancel;
|
|
|
|
|
private SimpleButton btnAddStyleFile;
|
|
|
|
|
private SimpleButton btnDelete;
|
|
|
|
|
}
|
|
|
|
|
}
|