235 lines
12 KiB
C#
235 lines
12 KiB
C#
namespace PatientMan.Forms
|
|
{
|
|
partial class frmGeoLocations
|
|
{
|
|
/// <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();
|
|
DevExpress.XtraGrid.GridLevelNode gridLevelNode1 = new DevExpress.XtraGrid.GridLevelNode();
|
|
DevExpress.XtraGrid.GridLevelNode gridLevelNode2 = new DevExpress.XtraGrid.GridLevelNode();
|
|
this.viewDists = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
this.colDistrictid1 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.colDistrictname = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.colProvinceid1 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.grdGeoLocations = new DevExpress.XtraGrid.GridControl();
|
|
this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
this.btnSave = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.tblProvinceEntityBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
|
this.viewProv = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
this.colProvinceid = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.colProvincename = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.viewCommunes = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
this.colDistrictid = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.colCommuneid = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.colCommunename = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
((System.ComponentModel.ISupportInitialize)(this.viewDists)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.grdGeoLocations)).BeginInit();
|
|
this.contextMenuStrip.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.tblProvinceEntityBindingSource)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.viewProv)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.viewCommunes)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// viewDists
|
|
//
|
|
this.viewDists.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
|
this.colDistrictid1,
|
|
this.colDistrictname,
|
|
this.colProvinceid1});
|
|
this.viewDists.GridControl = this.grdGeoLocations;
|
|
this.viewDists.Name = "viewDists";
|
|
this.viewDists.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.True;
|
|
this.viewDists.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom;
|
|
this.viewDists.OptionsView.ShowGroupPanel = false;
|
|
//
|
|
// colDistrictid1
|
|
//
|
|
this.colDistrictid1.Caption = "Mã huyện";
|
|
this.colDistrictid1.FieldName = "Districtid";
|
|
this.colDistrictid1.Name = "colDistrictid1";
|
|
this.colDistrictid1.Visible = true;
|
|
this.colDistrictid1.VisibleIndex = 1;
|
|
//
|
|
// colDistrictname
|
|
//
|
|
this.colDistrictname.Caption = "Tên huyện";
|
|
this.colDistrictname.FieldName = "Districtname";
|
|
this.colDistrictname.Name = "colDistrictname";
|
|
this.colDistrictname.Visible = true;
|
|
this.colDistrictname.VisibleIndex = 2;
|
|
//
|
|
// colProvinceid1
|
|
//
|
|
this.colProvinceid1.Caption = "Mã tỉnh";
|
|
this.colProvinceid1.FieldName = "Provinceid";
|
|
this.colProvinceid1.Name = "colProvinceid1";
|
|
this.colProvinceid1.Visible = true;
|
|
this.colProvinceid1.VisibleIndex = 0;
|
|
//
|
|
// grdGeoLocations
|
|
//
|
|
this.grdGeoLocations.ContextMenuStrip = this.contextMenuStrip;
|
|
this.grdGeoLocations.Cursor = System.Windows.Forms.Cursors.Default;
|
|
this.grdGeoLocations.DataSource = this.tblProvinceEntityBindingSource;
|
|
this.grdGeoLocations.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
gridLevelNode1.LevelTemplate = this.viewDists;
|
|
gridLevelNode2.LevelTemplate = this.viewCommunes;
|
|
gridLevelNode2.RelationName = "Xã, phường, thị trấn";
|
|
gridLevelNode1.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] {
|
|
gridLevelNode2});
|
|
gridLevelNode1.RelationName = "Huyện, thành phố";
|
|
this.grdGeoLocations.LevelTree.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] {
|
|
gridLevelNode1});
|
|
this.grdGeoLocations.Location = new System.Drawing.Point(0, 0);
|
|
this.grdGeoLocations.MainView = this.viewProv;
|
|
this.grdGeoLocations.Name = "grdGeoLocations";
|
|
this.grdGeoLocations.Size = new System.Drawing.Size(722, 324);
|
|
this.grdGeoLocations.TabIndex = 1;
|
|
this.grdGeoLocations.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
this.viewProv,
|
|
this.viewCommunes,
|
|
this.viewDists});
|
|
this.grdGeoLocations.Click += new System.EventHandler(this.grdGeoLocations_Click);
|
|
//
|
|
// contextMenuStrip
|
|
//
|
|
this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.btnSave});
|
|
this.contextMenuStrip.Name = "contextMenuStrip";
|
|
this.contextMenuStrip.Size = new System.Drawing.Size(99, 26);
|
|
//
|
|
// btnSave
|
|
//
|
|
this.btnSave.Name = "btnSave";
|
|
this.btnSave.Size = new System.Drawing.Size(98, 22);
|
|
this.btnSave.Text = "Save";
|
|
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
|
|
//
|
|
// tblProvinceEntityBindingSource
|
|
//
|
|
this.tblProvinceEntityBindingSource.DataSource = typeof(Datalib.EntityClasses.TblProvinceEntity);
|
|
//
|
|
// viewProv
|
|
//
|
|
this.viewProv.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
|
this.colProvinceid,
|
|
this.colProvincename});
|
|
this.viewProv.GridControl = this.grdGeoLocations;
|
|
this.viewProv.Name = "viewProv";
|
|
this.viewProv.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.True;
|
|
this.viewProv.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom;
|
|
this.viewProv.OptionsView.ShowGroupPanel = false;
|
|
//
|
|
// colProvinceid
|
|
//
|
|
this.colProvinceid.Caption = "Mã tỉnh";
|
|
this.colProvinceid.FieldName = "Provinceid";
|
|
this.colProvinceid.Name = "colProvinceid";
|
|
this.colProvinceid.Visible = true;
|
|
this.colProvinceid.VisibleIndex = 0;
|
|
//
|
|
// colProvincename
|
|
//
|
|
this.colProvincename.Caption = "Tên tỉnh";
|
|
this.colProvincename.FieldName = "Provincename";
|
|
this.colProvincename.Name = "colProvincename";
|
|
this.colProvincename.Visible = true;
|
|
this.colProvincename.VisibleIndex = 1;
|
|
//
|
|
// viewCommunes
|
|
//
|
|
this.viewCommunes.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
|
this.colDistrictid,
|
|
this.colCommuneid,
|
|
this.colCommunename});
|
|
this.viewCommunes.GridControl = this.grdGeoLocations;
|
|
this.viewCommunes.Name = "viewCommunes";
|
|
this.viewCommunes.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.True;
|
|
this.viewCommunes.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom;
|
|
this.viewCommunes.OptionsView.ShowGroupPanel = false;
|
|
//
|
|
// colDistrictid
|
|
//
|
|
this.colDistrictid.Caption = "Mã huyện";
|
|
this.colDistrictid.FieldName = "Districtid";
|
|
this.colDistrictid.Name = "colDistrictid";
|
|
this.colDistrictid.Visible = true;
|
|
this.colDistrictid.VisibleIndex = 0;
|
|
//
|
|
// colCommuneid
|
|
//
|
|
this.colCommuneid.Caption = "Mã xã";
|
|
this.colCommuneid.FieldName = "Communeid";
|
|
this.colCommuneid.Name = "colCommuneid";
|
|
this.colCommuneid.Visible = true;
|
|
this.colCommuneid.VisibleIndex = 1;
|
|
//
|
|
// colCommunename
|
|
//
|
|
this.colCommunename.Caption = "Tên xã";
|
|
this.colCommunename.FieldName = "Communename";
|
|
this.colCommunename.Name = "colCommunename";
|
|
this.colCommunename.Visible = true;
|
|
this.colCommunename.VisibleIndex = 2;
|
|
//
|
|
// frmGeoLocations
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.ClientSize = new System.Drawing.Size(722, 324);
|
|
this.Controls.Add(this.grdGeoLocations);
|
|
this.Name = "frmGeoLocations";
|
|
this.Text = "Danh mục địa danh";
|
|
((System.ComponentModel.ISupportInitialize)(this.viewDists)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.grdGeoLocations)).EndInit();
|
|
this.contextMenuStrip.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.tblProvinceEntityBindingSource)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.viewProv)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.viewCommunes)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private DevExpress.XtraGrid.GridControl grdGeoLocations;
|
|
private DevExpress.XtraGrid.Views.Grid.GridView viewProv;
|
|
private System.Windows.Forms.BindingSource tblProvinceEntityBindingSource;
|
|
private DevExpress.XtraGrid.Views.Grid.GridView viewDists;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colDistrictid1;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colDistrictname;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colProvinceid1;
|
|
private DevExpress.XtraGrid.Views.Grid.GridView viewCommunes;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colCommuneid;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colCommunename;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colDistrictid;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colProvinceid;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colProvincename;
|
|
private System.Windows.Forms.ContextMenuStrip contextMenuStrip;
|
|
private System.Windows.Forms.ToolStripMenuItem btnSave;
|
|
}
|
|
}
|