コード例 #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.pnlDrawBoard = new ERDesigner.PanelDoubleBuffered();
     this.xtraScrollableControl1 = new DevExpress.XtraEditors.XtraScrollableControl();
     this.xtraScrollableControl1.SuspendLayout();
     this.SuspendLayout();
     //
     // pnlDrawBoard
     //
     this.pnlDrawBoard.AutoScrollMargin = new System.Drawing.Size(100, 100);
     this.pnlDrawBoard.BackColor = System.Drawing.Color.White;
     this.pnlDrawBoard.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pnlDrawBoard.Location = new System.Drawing.Point(0, 0);
     this.pnlDrawBoard.Margin = new System.Windows.Forms.Padding(0);
     this.pnlDrawBoard.Name = "pnlDrawBoard";
     this.pnlDrawBoard.Size = new System.Drawing.Size(2480, 3508);
     this.pnlDrawBoard.TabIndex = 0;
     //
     // xtraScrollableControl1
     //
     this.xtraScrollableControl1.Controls.Add(this.pnlDrawBoard);
     this.xtraScrollableControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.xtraScrollableControl1.Location = new System.Drawing.Point(0, 0);
     this.xtraScrollableControl1.Name = "xtraScrollableControl1";
     this.xtraScrollableControl1.Size = new System.Drawing.Size(792, 566);
     this.xtraScrollableControl1.TabIndex = 1;
     //
     // frmDrawBoard
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(792, 566);
     this.Controls.Add(this.xtraScrollableControl1);
     this.DoubleBuffered = true;
     this.Name = "frmDrawBoard";
     this.Text = "Draw Board";
     this.xtraScrollableControl1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #2
0
        public TransitionGraphics(DevExpress.XtraEditors.XtraScrollableControl pnlContainer, Panel pnlParent, int rulerHeight, int lineHeight)
        {
            ParentPanel                        = pnlParent;
            ParentPanelContainter              = pnlContainer;
            ParentPanelContainter.SizeChanged += new EventHandler(ParentPanelContainer_SizeChanged);
            PanelViewport.X                    = 0;
            PanelViewport.Y                    = 0;
            IsTimeRulerSelected                = false;
            ParentPanelContainer_SizeChanged(null, null);
            TimeRuler = new TransitionTimeRuler(this, rulerHeight);
            int yPos = rulerHeight;

            foreach (TransitionKind tk in Enum.GetValues(typeof(TransitionKind)))
            {
                if (tk == TransitionKind.Unknown)
                {
                    continue;
                }
                Lines[tk] = new TransitionLine(tk, this, yPos, lineHeight);
                yPos     += lineHeight;
            }
            OperationHistory.Instance.NewOperationCommited += new OperationHistory.Delegate_OnOperationChanged(OperationHistory_OnCommitedNewOperation);
        }
コード例 #3
0
 /// <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.Utils.SuperToolTip superToolTip15 = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipTitleItem toolTipTitleItem14 = new DevExpress.Utils.ToolTipTitleItem();
     DevExpress.Utils.SuperToolTip superToolTip16 = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipTitleItem toolTipTitleItem15 = new DevExpress.Utils.ToolTipTitleItem();
     DevExpress.Utils.SuperToolTip superToolTip18 = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipTitleItem toolTipTitleItem17 = new DevExpress.Utils.ToolTipTitleItem();
     DevExpress.Utils.SuperToolTip superToolTip17 = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipTitleItem toolTipTitleItem16 = new DevExpress.Utils.ToolTipTitleItem();
     DevExpress.Utils.SuperToolTip superToolTip19 = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipTitleItem toolTipTitleItem18 = new DevExpress.Utils.ToolTipTitleItem();
     DevExpress.Utils.SuperToolTip superToolTip20 = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipTitleItem toolTipTitleItem19 = new DevExpress.Utils.ToolTipTitleItem();
     DevExpress.Utils.SuperToolTip superToolTip22 = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipTitleItem toolTipTitleItem21 = new DevExpress.Utils.ToolTipTitleItem();
     DevExpress.Utils.SuperToolTip superToolTip27 = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipTitleItem toolTipTitleItem26 = new DevExpress.Utils.ToolTipTitleItem();
     DevExpress.Utils.SuperToolTip superToolTip21 = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipTitleItem toolTipTitleItem20 = new DevExpress.Utils.ToolTipTitleItem();
     DevExpress.Utils.SuperToolTip superToolTip23 = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipTitleItem toolTipTitleItem22 = new DevExpress.Utils.ToolTipTitleItem();
     DevExpress.Utils.SuperToolTip superToolTip24 = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipTitleItem toolTipTitleItem23 = new DevExpress.Utils.ToolTipTitleItem();
     DevExpress.Utils.SuperToolTip superToolTip25 = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipTitleItem toolTipTitleItem24 = new DevExpress.Utils.ToolTipTitleItem();
     DevExpress.Utils.SuperToolTip superToolTip26 = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipTitleItem toolTipTitleItem25 = new DevExpress.Utils.ToolTipTitleItem();
     DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition2 = new DevExpress.XtraGrid.StyleFormatCondition();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle60 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle74 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle75 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle61 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle62 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle63 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle64 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle65 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle66 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle67 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle68 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle69 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle70 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle71 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle72 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle73 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle76 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle77 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle78 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle79 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle80 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle81 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle82 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle83 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle84 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle85 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle86 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle87 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle88 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle89 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle90 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle91 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle92 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle100 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle101 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle93 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle94 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle95 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle96 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle97 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle98 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle99 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle102 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle111 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle112 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle103 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle104 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle105 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle106 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle107 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle108 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle109 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle110 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle57 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle58 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle59 = new System.Windows.Forms.DataGridViewCellStyle();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Frm_orden_produccion));
     this.bar2 = new DevExpress.XtraBars.Bar();
     this.barManager1 = new DevExpress.XtraBars.BarManager(this.components);
     this.bar1 = new DevExpress.XtraBars.Bar();
     this.btn_nuevo = new DevExpress.XtraBars.BarButtonItem();
     this.btn_editar = new DevExpress.XtraBars.BarButtonItem();
     this.btn_cancelar = new DevExpress.XtraBars.BarButtonItem();
     this.btn_grabar = new DevExpress.XtraBars.BarButtonItem();
     this.btn_eliminar = new DevExpress.XtraBars.BarButtonItem();
     this.btn_imprimir = new DevExpress.XtraBars.BarButtonItem();
     this.btn_log = new DevExpress.XtraBars.BarButtonItem();
     this.btn_clave = new DevExpress.XtraBars.BarButtonItem();
     this.btn_salir = new DevExpress.XtraBars.BarButtonItem();
     this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
     this.btnLoad = new DevExpress.XtraBars.BarButtonItem();
     this.btnInicio = new DevExpress.XtraBars.BarButtonItem();
     this.btnAnterior = new DevExpress.XtraBars.BarButtonItem();
     this.btnSiguiente = new DevExpress.XtraBars.BarButtonItem();
     this.btnUltimo = new DevExpress.XtraBars.BarButtonItem();
     this.textBox13 = new System.Windows.Forms.TextBox();
     this.superTooltip1 = new DevComponents.DotNetBar.SuperTooltip();
     this.styleManager1 = new DevComponents.DotNetBar.StyleManager(this.components);
     this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl();
     this.tab_01 = new DevExpress.XtraTab.XtraTabPage();
     this.panelControl4 = new DevExpress.XtraEditors.PanelControl();
     this.Mdi_dgv_ordenproduccion = new DevExpress.XtraGrid.GridControl();
     this.dgv_ordenproduccion = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.marcaname = new DevExpress.XtraGrid.Columns.GridColumn();
     this.ordenprod = new DevExpress.XtraGrid.Columns.GridColumn();
     this.fechemi = new DevExpress.XtraGrid.Columns.GridColumn();
     this.articid = new DevExpress.XtraGrid.Columns.GridColumn();
     this.articname = new DevExpress.XtraGrid.Columns.GridColumn();
     this.lineaname = new DevExpress.XtraGrid.Columns.GridColumn();
     this.generoname = new DevExpress.XtraGrid.Columns.GridColumn();
     this.temporadaname = new DevExpress.XtraGrid.Columns.GridColumn();
     this.coleccionname = new DevExpress.XtraGrid.Columns.GridColumn();
     this.estadoname = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemTextEdit5 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.repositoryItemCheckEdit5 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
     this.repositoryItemTextEdit6 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.repositoryItemCheckEdit6 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
     this.tab_02 = new DevExpress.XtraTab.XtraTabPage();
     this.panelControl2 = new DevExpress.XtraEditors.PanelControl();
     this.txt_taco12 = new DevExpress.XtraEditors.TextEdit();
     this.txt_taco11 = new DevExpress.XtraEditors.TextEdit();
     this.txt_taco10 = new DevExpress.XtraEditors.TextEdit();
     this.txt_taco09 = new DevExpress.XtraEditors.TextEdit();
     this.txt_taco08 = new DevExpress.XtraEditors.TextEdit();
     this.txt_taco07 = new DevExpress.XtraEditors.TextEdit();
     this.txt_taco06 = new DevExpress.XtraEditors.TextEdit();
     this.txt_taco05 = new DevExpress.XtraEditors.TextEdit();
     this.txt_taco04 = new DevExpress.XtraEditors.TextEdit();
     this.txt_taco03 = new DevExpress.XtraEditors.TextEdit();
     this.txt_taco02 = new DevExpress.XtraEditors.TextEdit();
     this.txt_taco01 = new DevExpress.XtraEditors.TextEdit();
     this.panelControl5 = new DevExpress.XtraEditors.PanelControl();
     this.txt_numop = new DevExpress.XtraEditors.LabelControl();
     this.labelControl10 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
     this.cmb_ordprod = new System.Windows.Forms.ComboBox();
     this.labelControl5 = new DevExpress.XtraEditors.LabelControl();
     this.btn_quitar = new DevExpress.XtraEditors.SimpleButton();
     this.dgv_ordenprodcolor = new DevComponents.DotNetBar.Controls.DataGridViewX();
     this.tipop = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.serop = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.numop = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.colorid = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.colorname = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.coltalla = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.can01 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.can02 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.can03 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.can04 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.can05 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.can06 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.can07 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.can08 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.can09 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.can10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.can11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.can12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.cantot = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dgv_grilla = new System.Windows.Forms.DataGridView();
     this.nombre = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ta01 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ta02 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ta03 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ta04 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ta05 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ta06 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ta07 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ta08 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ta09 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ta10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ta11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ta12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.btn_add = new DevExpress.XtraEditors.SimpleButton();
     this.txt_tottot = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.labelControl68 = new DevExpress.XtraEditors.LabelControl();
     this.txt_tottaco12 = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.txt_tottaco11 = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.txt_tottaco10 = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.txt_tottaco09 = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.txt_tottaco08 = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.txt_tottaco07 = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.txt_tottaco06 = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.txt_tottaco05 = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.txt_tottaco04 = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.txt_tottaco03 = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.txt_tottaco02 = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.txt_tottaco01 = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.txt_observacion = new System.Windows.Forms.TextBox();
     this.labelControl58 = new DevExpress.XtraEditors.LabelControl();
     this.txt_temporadaname = new System.Windows.Forms.TextBox();
     this.labelControl57 = new DevExpress.XtraEditors.LabelControl();
     this.txt_tacotot = new System.Windows.Forms.TextBox();
     this.lbltaco12 = new DevExpress.XtraEditors.LabelControl();
     this.lbltaco11 = new DevExpress.XtraEditors.LabelControl();
     this.lbltaco10 = new DevExpress.XtraEditors.LabelControl();
     this.lbltaco09 = new DevExpress.XtraEditors.LabelControl();
     this.lbltaco08 = new DevExpress.XtraEditors.LabelControl();
     this.lbltaco07 = new DevExpress.XtraEditors.LabelControl();
     this.lbltaco06 = new DevExpress.XtraEditors.LabelControl();
     this.lbltaco05 = new DevExpress.XtraEditors.LabelControl();
     this.lbltaco04 = new DevExpress.XtraEditors.LabelControl();
     this.lbltaco03 = new DevExpress.XtraEditors.LabelControl();
     this.lbltaco02 = new DevExpress.XtraEditors.LabelControl();
     this.lbltaco01 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl43 = new DevExpress.XtraEditors.LabelControl();
     this.txt_colorname = new System.Windows.Forms.TextBox();
     this.txt_colorid = new System.Windows.Forms.TextBox();
     this.labelControl44 = new DevExpress.XtraEditors.LabelControl();
     this.txt_cantreal = new System.Windows.Forms.TextBox();
     this.txt_cantprog = new System.Windows.Forms.TextBox();
     this.labelControl36 = new DevExpress.XtraEditors.LabelControl();
     this.txt_numref = new System.Windows.Forms.TextBox();
     this.txt_serref = new System.Windows.Forms.TextBox();
     this.txt_tipref = new System.Windows.Forms.TextBox();
     this.labelControl30 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl29 = new DevExpress.XtraEditors.LabelControl();
     this.txt_ctactename = new System.Windows.Forms.TextBox();
     this.txt_ctacte = new System.Windows.Forms.TextBox();
     this.labelControl28 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl27 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl26 = new DevExpress.XtraEditors.LabelControl();
     this.txt_familiatelaname = new System.Windows.Forms.TextBox();
     this.labelControl25 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl24 = new DevExpress.XtraEditors.LabelControl();
     this.cmb_canalvta = new System.Windows.Forms.ComboBox();
     this.txt_generoname = new System.Windows.Forms.TextBox();
     this.labelControl23 = new DevExpress.XtraEditors.LabelControl();
     this.txt_lineaname = new System.Windows.Forms.TextBox();
     this.labelControl22 = new DevExpress.XtraEditors.LabelControl();
     this.txt_marcaname = new System.Windows.Forms.TextBox();
     this.labelControl21 = new DevExpress.XtraEditors.LabelControl();
     this.txt_variante = new System.Windows.Forms.TextBox();
     this.labelControl20 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl19 = new DevExpress.XtraEditors.LabelControl();
     this.txt_articname = new System.Windows.Forms.TextBox();
     this.txt_articid = new System.Windows.Forms.TextBox();
     this.cmb_ejecutor = new System.Windows.Forms.ComboBox();
     this.labelControl18 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl16 = new DevExpress.XtraEditors.LabelControl();
     this.cmb_estado = new System.Windows.Forms.ComboBox();
     this.labelControl17 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl15 = new DevExpress.XtraEditors.LabelControl();
     this.txt_fechfin = new DevExpress.XtraEditors.DateEdit();
     this.labelControl14 = new DevExpress.XtraEditors.LabelControl();
     this.txt_fechini = new DevExpress.XtraEditors.DateEdit();
     this.labelControl13 = new DevExpress.XtraEditors.LabelControl();
     this.txt_fechemi = new DevExpress.XtraEditors.DateEdit();
     this.cmb_perianio = new System.Windows.Forms.ComboBox();
     this.tab_03 = new DevExpress.XtraTab.XtraTabPage();
     this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
     this.pnl_edit2 = new DevExpress.XtraEditors.PanelControl();
     this.txt_fechentrega03 = new DevExpress.XtraEditors.DateEdit();
     this.txt_ctactename03 = new System.Windows.Forms.TextBox();
     this.labelControl39 = new DevExpress.XtraEditors.LabelControl();
     this.txt_fechini03 = new DevExpress.XtraEditors.DateEdit();
     this.labelControl40 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl42 = new DevExpress.XtraEditors.LabelControl();
     this.txt_ctacte03 = new System.Windows.Forms.TextBox();
     this.labelControl41 = new DevExpress.XtraEditors.LabelControl();
     this.txt_serop03 = new DevExpress.XtraEditors.LabelControl();
     this.txt_tipop03 = new DevExpress.XtraEditors.LabelControl();
     this.txt_numop03 = new DevExpress.XtraEditors.LabelControl();
     this.pnl_edit = new DevExpress.XtraEditors.PanelControl();
     this.cmb_fase = new System.Windows.Forms.ComboBox();
     this.labelControl38 = new DevExpress.XtraEditors.LabelControl();
     this.txt_secuencia = new System.Windows.Forms.NumericUpDown();
     this.labelControl37 = new DevExpress.XtraEditors.LabelControl();
     this.btn_new = new DevExpress.XtraEditors.SimpleButton();
     this.btn_save = new DevExpress.XtraEditors.SimpleButton();
     this.line1 = new DevComponents.DotNetBar.Controls.Line();
     this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
     this.btn_cancel = new DevExpress.XtraEditors.SimpleButton();
     this.btn_delete = new DevExpress.XtraEditors.SimpleButton();
     this.btn_edit = new DevExpress.XtraEditors.SimpleButton();
     this.dgv_ordenprodfase = new DevComponents.DotNetBar.Controls.DataGridViewX();
     this._tipop = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this._serop = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this._numop = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.secuencia = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.faseid = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.fasename = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ctacte = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ctactename = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.fechprog_ini = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.fechprog_fin = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.btn_add2 = new DevExpress.XtraEditors.SimpleButton();
     this.tab_04 = new DevExpress.XtraTab.XtraTabPage();
     this.panelControl6 = new DevExpress.XtraEditors.PanelControl();
     this.btn_del = new DevExpress.XtraEditors.SimpleButton();
     this.txt_ltizado = new DevExpress.XtraEditors.TextEdit();
     this.labelControl51 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl50 = new DevExpress.XtraEditors.LabelControl();
     this.txt_parte = new System.Windows.Forms.TextBox();
     this.txt_productname1 = new System.Windows.Forms.TextBox();
     this.btn_generar = new DevExpress.XtraEditors.SimpleButton();
     this.labelControl35 = new DevExpress.XtraEditors.LabelControl();
     this.txt_tolerancia = new DevExpress.XtraEditors.TextEdit();
     this.labelControl33 = new DevExpress.XtraEditors.LabelControl();
     this.txt_numpanos = new DevExpress.XtraEditors.TextEdit();
     this.labelControl32 = new DevExpress.XtraEditors.LabelControl();
     this.txt_prendpanos = new DevExpress.XtraEditors.TextEdit();
     this.labelControl31 = new DevExpress.XtraEditors.LabelControl();
     this.xtraScrollableControl1 = new DevExpress.XtraEditors.XtraScrollableControl();
     this.labelControl48 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl49 = new DevExpress.XtraEditors.LabelControl();
     this.dgv_consumoreal = new DevComponents.DotNetBar.Controls.DataGridViewX();
     this.partepdaid_det = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.partepdaname_det = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.productid_det = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.productname_det = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.canthabilitada = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.pdaproyectotal = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.cantreal = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.mermacalculada = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.porcenmerma = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.consumreal = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.umed_det = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dgv_calconsumo = new DevComponents.DotNetBar.Controls.DataGridViewX();
     this.partepdaid_cpo = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.partepdaname_cpo = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.productid_cpo = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.productname_cpo = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.largtizado = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.pdasxpano = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.numpanos = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.porcentolerancia = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.consumprompano = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.pdatotal = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.cantrequerida = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.umed_cpo = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.pnl_edit2Ma = new DevExpress.XtraEditors.PanelControl();
     this.txt_gramaje = new System.Windows.Forms.TextBox();
     this.txt_ancho = new System.Windows.Forms.TextBox();
     this.labelControl11 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl12 = new DevExpress.XtraEditors.LabelControl();
     this.txt_serop04 = new DevExpress.XtraEditors.LabelControl();
     this.txt_tipop04 = new DevExpress.XtraEditors.LabelControl();
     this.txt_numop04 = new DevExpress.XtraEditors.LabelControl();
     this.pnl_editMa = new DevExpress.XtraEditors.PanelControl();
     this.btn_actualizar = new DevExpress.XtraEditors.SimpleButton();
     this.productidtela = new System.Windows.Forms.TextBox();
     this.cmb_partepda = new System.Windows.Forms.ComboBox();
     this.labelControl34 = new DevExpress.XtraEditors.LabelControl();
     this.productnametela = new System.Windows.Forms.TextBox();
     this.labelControl9 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl8 = new DevExpress.XtraEditors.LabelControl();
     this.btn_newMa = new DevExpress.XtraEditors.SimpleButton();
     this.btn_saveMa = new DevExpress.XtraEditors.SimpleButton();
     this.line2 = new DevComponents.DotNetBar.Controls.Line();
     this.labelControl45 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl46 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl47 = new DevExpress.XtraEditors.LabelControl();
     this.btn_cancelMa = new DevExpress.XtraEditors.SimpleButton();
     this.btn_deleteMa = new DevExpress.XtraEditors.SimpleButton();
     this.btn_editMa = new DevExpress.XtraEditors.SimpleButton();
     this.dgv_ordenprodtela = new DevComponents.DotNetBar.Controls.DataGridViewX();
     this.partepdaid = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.partepdaname = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.productid = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.productname = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.xcolorname = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ancho = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.gramaje = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.simpleButton6 = new DevExpress.XtraEditors.SimpleButton();
     this.labelControl6 = new DevExpress.XtraEditors.LabelControl();
     this.chk_estado01 = new DevExpress.XtraEditors.CheckEdit();
     this.chk_linea01 = new DevExpress.XtraEditors.CheckEdit();
     this.chk_marca01 = new DevExpress.XtraEditors.CheckEdit();
     this.cmb_linea01 = new System.Windows.Forms.ComboBox();
     this.cmb_marca01 = new System.Windows.Forms.ComboBox();
     this.cmb_estado01 = new System.Windows.Forms.ComboBox();
     this.lblbusqueda = new DevExpress.XtraEditors.LabelControl();
     this.txt_articname01 = new System.Windows.Forms.TextBox();
     this.cmb_anio01 = new System.Windows.Forms.ComboBox();
     this.panelControl3 = new DevExpress.XtraEditors.PanelControl();
     this.txt_numop01 = new System.Windows.Forms.TextBox();
     this.labelControl7 = new DevExpress.XtraEditors.LabelControl();
     this.cmb_serie01 = new System.Windows.Forms.ComboBox();
     this.chk_serie01 = new DevExpress.XtraEditors.CheckEdit();
     this.styleManager2 = new DevComponents.DotNetBar.StyleManager(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
     this.xtraTabControl1.SuspendLayout();
     this.tab_01.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).BeginInit();
     this.panelControl4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.Mdi_dgv_ordenproduccion)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgv_ordenproduccion)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit6)).BeginInit();
     this.tab_02.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit();
     this.panelControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.txt_taco12.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_taco11.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_taco10.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_taco09.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_taco08.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_taco07.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_taco06.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_taco05.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_taco04.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_taco03.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_taco02.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_taco01.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl5)).BeginInit();
     this.panelControl5.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgv_ordenprodcolor)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgv_grilla)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_fechfin.Properties.CalendarTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_fechfin.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_fechini.Properties.CalendarTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_fechini.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_fechemi.Properties.CalendarTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_fechemi.Properties)).BeginInit();
     this.tab_03.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
     this.panelControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pnl_edit2)).BeginInit();
     this.pnl_edit2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.txt_fechentrega03.Properties.CalendarTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_fechentrega03.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_fechini03.Properties.CalendarTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_fechini03.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pnl_edit)).BeginInit();
     this.pnl_edit.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.txt_secuencia)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgv_ordenprodfase)).BeginInit();
     this.tab_04.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl6)).BeginInit();
     this.panelControl6.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.txt_ltizado.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_tolerancia.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_numpanos.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_prendpanos.Properties)).BeginInit();
     this.xtraScrollableControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgv_consumoreal)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgv_calconsumo)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pnl_edit2Ma)).BeginInit();
     this.pnl_edit2Ma.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pnl_editMa)).BeginInit();
     this.pnl_editMa.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgv_ordenprodtela)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chk_estado01.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chk_linea01.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chk_marca01.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit();
     this.panelControl3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.chk_serie01.Properties)).BeginInit();
     this.SuspendLayout();
     //
     // bar2
     //
     this.bar2.BarName = "Main menu";
     this.bar2.DockCol = 0;
     this.bar2.DockRow = 0;
     this.bar2.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
     this.bar2.FloatLocation = new System.Drawing.Point(214, 135);
     this.bar2.OptionsBar.MultiLine = true;
     this.bar2.OptionsBar.UseWholeRow = true;
     this.bar2.Text = "Main menu";
     //
     // barManager1
     //
     this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
     this.bar1});
     this.barManager1.DockControls.Add(this.barDockControlTop);
     this.barManager1.DockControls.Add(this.barDockControlBottom);
     this.barManager1.DockControls.Add(this.barDockControlLeft);
     this.barManager1.DockControls.Add(this.barDockControlRight);
     this.barManager1.Form = this;
     this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
     this.btn_nuevo,
     this.btn_editar,
     this.btn_grabar,
     this.btn_cancelar,
     this.btn_eliminar,
     this.btn_imprimir,
     this.btnLoad,
     this.btn_log,
     this.btnInicio,
     this.btnAnterior,
     this.btnSiguiente,
     this.btnUltimo,
     this.btn_salir,
     this.btn_clave});
     this.barManager1.MainMenu = this.bar1;
     this.barManager1.MaxItemId = 16;
     //
     // bar1
     //
     this.bar1.BarName = "Main menu";
     this.bar1.DockCol = 0;
     this.bar1.DockRow = 0;
     this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
     this.bar1.FloatLocation = new System.Drawing.Point(214, 135);
     this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btn_nuevo, DevExpress.XtraBars.BarItemPaintStyle.Standard),
     new DevExpress.XtraBars.LinkPersistInfo(this.btn_editar),
     new DevExpress.XtraBars.LinkPersistInfo(this.btn_cancelar),
     new DevExpress.XtraBars.LinkPersistInfo(this.btn_grabar),
     new DevExpress.XtraBars.LinkPersistInfo(this.btn_eliminar),
     new DevExpress.XtraBars.LinkPersistInfo(this.btn_imprimir),
     new DevExpress.XtraBars.LinkPersistInfo(this.btn_log),
     new DevExpress.XtraBars.LinkPersistInfo(this.btn_clave),
     new DevExpress.XtraBars.LinkPersistInfo(this.btn_salir)});
     this.bar1.OptionsBar.MultiLine = true;
     this.bar1.OptionsBar.UseWholeRow = true;
     this.bar1.Text = "Main menu";
     //
     // btn_nuevo
     //
     this.btn_nuevo.Caption = "btnNew";
     this.btn_nuevo.Glyph = ((System.Drawing.Image)(resources.GetObject("btn_nuevo.Glyph")));
     this.btn_nuevo.Id = 2;
     this.btn_nuevo.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("btn_nuevo.LargeGlyph")));
     this.btn_nuevo.Name = "btn_nuevo";
     toolTipTitleItem14.Text = "Nuevo";
     superToolTip15.Items.Add(toolTipTitleItem14);
     this.btn_nuevo.SuperTip = superToolTip15;
     this.btn_nuevo.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btn_nuevo_ItemClick);
     //
     // btn_editar
     //
     this.btn_editar.Caption = "btnEdit";
     this.btn_editar.Glyph = ((System.Drawing.Image)(resources.GetObject("btn_editar.Glyph")));
     this.btn_editar.Id = 3;
     this.btn_editar.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("btn_editar.LargeGlyph")));
     this.btn_editar.Name = "btn_editar";
     toolTipTitleItem15.Text = "Editar";
     superToolTip16.Items.Add(toolTipTitleItem15);
     this.btn_editar.SuperTip = superToolTip16;
     this.btn_editar.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btn_editar_ItemClick);
     //
     // btn_cancelar
     //
     this.btn_cancelar.Caption = "btnCancel";
     this.btn_cancelar.Glyph = ((System.Drawing.Image)(resources.GetObject("btn_cancelar.Glyph")));
     this.btn_cancelar.Id = 5;
     this.btn_cancelar.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("btn_cancelar.LargeGlyph")));
     this.btn_cancelar.Name = "btn_cancelar";
     toolTipTitleItem17.Text = "Cancelar";
     superToolTip18.Items.Add(toolTipTitleItem17);
     this.btn_cancelar.SuperTip = superToolTip18;
     this.btn_cancelar.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btn_cancelar_ItemClick);
     //
     // btn_grabar
     //
     this.btn_grabar.Caption = "btnSave";
     this.btn_grabar.Glyph = ((System.Drawing.Image)(resources.GetObject("btn_grabar.Glyph")));
     this.btn_grabar.Id = 4;
     this.btn_grabar.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("btn_grabar.LargeGlyph")));
     this.btn_grabar.Name = "btn_grabar";
     toolTipTitleItem16.Text = "Guardar";
     superToolTip17.Items.Add(toolTipTitleItem16);
     this.btn_grabar.SuperTip = superToolTip17;
     this.btn_grabar.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btn_grabar_ItemClick);
     //
     // btn_eliminar
     //
     this.btn_eliminar.Caption = "btnDelete";
     this.btn_eliminar.Glyph = ((System.Drawing.Image)(resources.GetObject("btn_eliminar.Glyph")));
     this.btn_eliminar.Id = 6;
     this.btn_eliminar.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("btn_eliminar.LargeGlyph")));
     this.btn_eliminar.Name = "btn_eliminar";
     toolTipTitleItem18.Text = "Elimar Registro";
     superToolTip19.Items.Add(toolTipTitleItem18);
     this.btn_eliminar.SuperTip = superToolTip19;
     this.btn_eliminar.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btn_eliminar_ItemClick);
     //
     // btn_imprimir
     //
     this.btn_imprimir.Caption = "btnPrint";
     this.btn_imprimir.Glyph = ((System.Drawing.Image)(resources.GetObject("btn_imprimir.Glyph")));
     this.btn_imprimir.Id = 7;
     this.btn_imprimir.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("btn_imprimir.LargeGlyph")));
     this.btn_imprimir.Name = "btn_imprimir";
     toolTipTitleItem19.Text = "Imprimir";
     superToolTip20.Items.Add(toolTipTitleItem19);
     this.btn_imprimir.SuperTip = superToolTip20;
     this.btn_imprimir.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btn_imprimir_ItemClick);
     //
     // btn_log
     //
     this.btn_log.Caption = "btnLog";
     this.btn_log.Glyph = ((System.Drawing.Image)(resources.GetObject("btn_log.Glyph")));
     this.btn_log.Id = 9;
     this.btn_log.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("btn_log.LargeGlyph")));
     this.btn_log.Name = "btn_log";
     toolTipTitleItem21.Text = "Log";
     superToolTip22.Items.Add(toolTipTitleItem21);
     this.btn_log.SuperTip = superToolTip22;
     this.btn_log.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btn_log_ItemClick);
     //
     // btn_clave
     //
     this.btn_clave.Caption = "btnLock";
     this.btn_clave.Glyph = global::BapFormulariosNet.Properties.Resources.btn_Lock20;
     this.btn_clave.Id = 15;
     this.btn_clave.Name = "btn_clave";
     this.btn_clave.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btn_clave_ItemClick);
     //
     // btn_salir
     //
     this.btn_salir.Caption = "btnExit";
     this.btn_salir.Glyph = ((System.Drawing.Image)(resources.GetObject("btn_salir.Glyph")));
     this.btn_salir.Id = 14;
     this.btn_salir.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("btn_salir.LargeGlyph")));
     this.btn_salir.Name = "btn_salir";
     toolTipTitleItem26.Text = "Salir";
     superToolTip27.Items.Add(toolTipTitleItem26);
     this.btn_salir.SuperTip = superToolTip27;
     this.btn_salir.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btn_salir_ItemClick);
     //
     // barDockControlTop
     //
     this.barDockControlTop.CausesValidation = false;
     this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top;
     this.barDockControlTop.Location = new System.Drawing.Point(0, 0);
     this.barDockControlTop.Size = new System.Drawing.Size(890, 28);
     //
     // barDockControlBottom
     //
     this.barDockControlBottom.CausesValidation = false;
     this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.barDockControlBottom.Location = new System.Drawing.Point(0, 560);
     this.barDockControlBottom.Size = new System.Drawing.Size(890, 0);
     //
     // barDockControlLeft
     //
     this.barDockControlLeft.CausesValidation = false;
     this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
     this.barDockControlLeft.Location = new System.Drawing.Point(0, 28);
     this.barDockControlLeft.Size = new System.Drawing.Size(0, 532);
     //
     // barDockControlRight
     //
     this.barDockControlRight.CausesValidation = false;
     this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
     this.barDockControlRight.Location = new System.Drawing.Point(890, 28);
     this.barDockControlRight.Size = new System.Drawing.Size(0, 532);
     //
     // btnLoad
     //
     this.btnLoad.Caption = "btnLoad";
     this.btnLoad.Glyph = ((System.Drawing.Image)(resources.GetObject("btnLoad.Glyph")));
     this.btnLoad.Id = 8;
     this.btnLoad.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("btnLoad.LargeGlyph")));
     this.btnLoad.Name = "btnLoad";
     toolTipTitleItem20.Text = "Actualizar";
     superToolTip21.Items.Add(toolTipTitleItem20);
     this.btnLoad.SuperTip = superToolTip21;
     //
     // btnInicio
     //
     this.btnInicio.Caption = "btnInicio";
     this.btnInicio.Glyph = ((System.Drawing.Image)(resources.GetObject("btnInicio.Glyph")));
     this.btnInicio.Id = 10;
     this.btnInicio.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("btnInicio.LargeGlyph")));
     this.btnInicio.Name = "btnInicio";
     toolTipTitleItem22.Text = "Primer Registro";
     superToolTip23.Items.Add(toolTipTitleItem22);
     this.btnInicio.SuperTip = superToolTip23;
     //
     // btnAnterior
     //
     this.btnAnterior.Caption = "btnAnterior";
     this.btnAnterior.Glyph = ((System.Drawing.Image)(resources.GetObject("btnAnterior.Glyph")));
     this.btnAnterior.Id = 11;
     this.btnAnterior.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("btnAnterior.LargeGlyph")));
     this.btnAnterior.Name = "btnAnterior";
     toolTipTitleItem23.Text = "Anterior Registro";
     superToolTip24.Items.Add(toolTipTitleItem23);
     this.btnAnterior.SuperTip = superToolTip24;
     //
     // btnSiguiente
     //
     this.btnSiguiente.Caption = "btnSiguiente";
     this.btnSiguiente.Glyph = ((System.Drawing.Image)(resources.GetObject("btnSiguiente.Glyph")));
     this.btnSiguiente.Id = 12;
     this.btnSiguiente.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("btnSiguiente.LargeGlyph")));
     this.btnSiguiente.Name = "btnSiguiente";
     toolTipTitleItem24.Text = "Siguiente Registro";
     superToolTip25.Items.Add(toolTipTitleItem24);
     this.btnSiguiente.SuperTip = superToolTip25;
     //
     // btnUltimo
     //
     this.btnUltimo.Caption = "btnUltimo";
     this.btnUltimo.Glyph = ((System.Drawing.Image)(resources.GetObject("btnUltimo.Glyph")));
     this.btnUltimo.Id = 13;
     this.btnUltimo.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("btnUltimo.LargeGlyph")));
     this.btnUltimo.Name = "btnUltimo";
     toolTipTitleItem25.Text = "Ultimo Registro";
     superToolTip26.Items.Add(toolTipTitleItem25);
     this.btnUltimo.SuperTip = superToolTip26;
     //
     // textBox13
     //
     this.textBox13.Location = new System.Drawing.Point(45, 28);
     this.textBox13.MaxLength = 10;
     this.textBox13.Name = "textBox13";
     this.textBox13.Size = new System.Drawing.Size(110, 20);
     this.textBox13.TabIndex = 228;
     //
     // superTooltip1
     //
     this.superTooltip1.DefaultTooltipSettings = new DevComponents.DotNetBar.SuperTooltipInfo("", "", "", null, null, DevComponents.DotNetBar.eTooltipColor.Gray);
     //
     // styleManager1
     //
     this.styleManager1.ManagerStyle = DevComponents.DotNetBar.eStyle.Office2007VistaGlass;
     this.styleManager1.MetroColorParameters = new DevComponents.DotNetBar.Metro.ColorTables.MetroColorGeneratorParameters(System.Drawing.Color.White, System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(87)))), ((int)(((byte)(154))))));
     //
     // xtraTabControl1
     //
     this.xtraTabControl1.Location = new System.Drawing.Point(0, 29);
     this.xtraTabControl1.Name = "xtraTabControl1";
     this.xtraTabControl1.SelectedTabPage = this.tab_01;
     this.xtraTabControl1.Size = new System.Drawing.Size(894, 534);
     this.xtraTabControl1.TabIndex = 7;
     this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
     this.tab_01,
     this.tab_02,
     this.tab_03,
     this.tab_04});
     this.xtraTabControl1.SelectedPageChanged += new DevExpress.XtraTab.TabPageChangedEventHandler(this.xtraTabControl1_SelectedPageChanged);
     //
     // tab_01
     //
     this.tab_01.Controls.Add(this.panelControl4);
     this.tab_01.Name = "tab_01";
     this.tab_01.Size = new System.Drawing.Size(888, 506);
     this.tab_01.Text = "Busqueda";
     this.tab_01.Tooltip = "Buscar Ordenes";
     this.tab_01.TooltipIconType = DevExpress.Utils.ToolTipIconType.Information;
     //
     // panelControl4
     //
     this.panelControl4.Controls.Add(this.Mdi_dgv_ordenproduccion);
     this.panelControl4.Location = new System.Drawing.Point(3, 3);
     this.panelControl4.Name = "panelControl4";
     this.panelControl4.Size = new System.Drawing.Size(879, 500);
     this.panelControl4.TabIndex = 202;
     //
     // Mdi_dgv_ordenproduccion
     //
     this.Mdi_dgv_ordenproduccion.Location = new System.Drawing.Point(5, 5);
     this.Mdi_dgv_ordenproduccion.MainView = this.dgv_ordenproduccion;
     this.Mdi_dgv_ordenproduccion.Name = "Mdi_dgv_ordenproduccion";
     this.Mdi_dgv_ordenproduccion.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemTextEdit5,
     this.repositoryItemCheckEdit5,
     this.repositoryItemTextEdit6,
     this.repositoryItemCheckEdit6});
     this.Mdi_dgv_ordenproduccion.Size = new System.Drawing.Size(869, 490);
     this.Mdi_dgv_ordenproduccion.TabIndex = 399;
     this.Mdi_dgv_ordenproduccion.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.dgv_ordenproduccion});
     this.Mdi_dgv_ordenproduccion.DoubleClick += new System.EventHandler(this.Mdi_dgv_ordenproduccion_DoubleClick);
     this.Mdi_dgv_ordenproduccion.KeyUp += new System.Windows.Forms.KeyEventHandler(this.Mdi_dgv_ordenproduccion_KeyUp);
     //
     // dgv_ordenproduccion
     //
     this.dgv_ordenproduccion.Appearance.ColumnFilterButton.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(192)))), ((int)(((byte)(184)))));
     this.dgv_ordenproduccion.Appearance.ColumnFilterButton.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(156)))), ((int)(((byte)(212)))), ((int)(((byte)(204)))));
     this.dgv_ordenproduccion.Appearance.ColumnFilterButton.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(192)))), ((int)(((byte)(184)))));
     this.dgv_ordenproduccion.Appearance.ColumnFilterButton.ForeColor = System.Drawing.Color.Gray;
     this.dgv_ordenproduccion.Appearance.ColumnFilterButton.Options.UseBackColor = true;
     this.dgv_ordenproduccion.Appearance.ColumnFilterButton.Options.UseBorderColor = true;
     this.dgv_ordenproduccion.Appearance.ColumnFilterButton.Options.UseForeColor = true;
     this.dgv_ordenproduccion.Appearance.ColumnFilterButtonActive.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(156)))), ((int)(((byte)(212)))), ((int)(((byte)(204)))));
     this.dgv_ordenproduccion.Appearance.ColumnFilterButtonActive.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(181)))), ((int)(((byte)(223)))), ((int)(((byte)(217)))));
     this.dgv_ordenproduccion.Appearance.ColumnFilterButtonActive.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(156)))), ((int)(((byte)(212)))), ((int)(((byte)(204)))));
     this.dgv_ordenproduccion.Appearance.ColumnFilterButtonActive.ForeColor = System.Drawing.Color.Blue;
     this.dgv_ordenproduccion.Appearance.ColumnFilterButtonActive.Options.UseBackColor = true;
     this.dgv_ordenproduccion.Appearance.ColumnFilterButtonActive.Options.UseBorderColor = true;
     this.dgv_ordenproduccion.Appearance.ColumnFilterButtonActive.Options.UseForeColor = true;
     this.dgv_ordenproduccion.Appearance.Empty.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(156)))), ((int)(((byte)(212)))), ((int)(((byte)(204)))));
     this.dgv_ordenproduccion.Appearance.Empty.Options.UseBackColor = true;
     this.dgv_ordenproduccion.Appearance.FilterCloseButton.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.dgv_ordenproduccion.Appearance.FilterCloseButton.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(138)))), ((int)(((byte)(131)))));
     this.dgv_ordenproduccion.Appearance.FilterCloseButton.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.dgv_ordenproduccion.Appearance.FilterCloseButton.ForeColor = System.Drawing.Color.Black;
     this.dgv_ordenproduccion.Appearance.FilterCloseButton.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
     this.dgv_ordenproduccion.Appearance.FilterCloseButton.Options.UseBackColor = true;
     this.dgv_ordenproduccion.Appearance.FilterCloseButton.Options.UseBorderColor = true;
     this.dgv_ordenproduccion.Appearance.FilterCloseButton.Options.UseForeColor = true;
     this.dgv_ordenproduccion.Appearance.FilterPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(14)))), ((int)(((byte)(48)))), ((int)(((byte)(41)))));
     this.dgv_ordenproduccion.Appearance.FilterPanel.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.dgv_ordenproduccion.Appearance.FilterPanel.ForeColor = System.Drawing.Color.White;
     this.dgv_ordenproduccion.Appearance.FilterPanel.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
     this.dgv_ordenproduccion.Appearance.FilterPanel.Options.UseBackColor = true;
     this.dgv_ordenproduccion.Appearance.FilterPanel.Options.UseForeColor = true;
     this.dgv_ordenproduccion.Appearance.FixedLine.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(2)))), ((int)(((byte)(74)))), ((int)(((byte)(66)))));
     this.dgv_ordenproduccion.Appearance.FixedLine.Options.UseBackColor = true;
     this.dgv_ordenproduccion.Appearance.FocusedCell.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(224)))), ((int)(((byte)(216)))));
     this.dgv_ordenproduccion.Appearance.FocusedCell.ForeColor = System.Drawing.Color.Black;
     this.dgv_ordenproduccion.Appearance.FocusedCell.Options.UseBackColor = true;
     this.dgv_ordenproduccion.Appearance.FocusedCell.Options.UseForeColor = true;
     this.dgv_ordenproduccion.Appearance.FocusedRow.BackColor = System.Drawing.Color.Navy;
     this.dgv_ordenproduccion.Appearance.FocusedRow.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(178)))));
     this.dgv_ordenproduccion.Appearance.FocusedRow.ForeColor = System.Drawing.Color.White;
     this.dgv_ordenproduccion.Appearance.FocusedRow.Options.UseBackColor = true;
     this.dgv_ordenproduccion.Appearance.FocusedRow.Options.UseForeColor = true;
     this.dgv_ordenproduccion.Appearance.FooterPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(192)))), ((int)(((byte)(184)))));
     this.dgv_ordenproduccion.Appearance.FooterPanel.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(192)))), ((int)(((byte)(184)))));
     this.dgv_ordenproduccion.Appearance.FooterPanel.ForeColor = System.Drawing.Color.Black;
     this.dgv_ordenproduccion.Appearance.FooterPanel.Options.UseBackColor = true;
     this.dgv_ordenproduccion.Appearance.FooterPanel.Options.UseBorderColor = true;
     this.dgv_ordenproduccion.Appearance.FooterPanel.Options.UseForeColor = true;
     this.dgv_ordenproduccion.Appearance.GroupButton.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(192)))), ((int)(((byte)(184)))));
     this.dgv_ordenproduccion.Appearance.GroupButton.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(192)))), ((int)(((byte)(184)))));
     this.dgv_ordenproduccion.Appearance.GroupButton.ForeColor = System.Drawing.Color.Black;
     this.dgv_ordenproduccion.Appearance.GroupButton.Options.UseBackColor = true;
     this.dgv_ordenproduccion.Appearance.GroupButton.Options.UseBorderColor = true;
     this.dgv_ordenproduccion.Appearance.GroupButton.Options.UseForeColor = true;
     this.dgv_ordenproduccion.Appearance.GroupFooter.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(202)))), ((int)(((byte)(194)))));
     this.dgv_ordenproduccion.Appearance.GroupFooter.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(202)))), ((int)(((byte)(194)))));
     this.dgv_ordenproduccion.Appearance.GroupFooter.ForeColor = System.Drawing.Color.Black;
     this.dgv_ordenproduccion.Appearance.GroupFooter.Options.UseBackColor = true;
     this.dgv_ordenproduccion.Appearance.GroupFooter.Options.UseBorderColor = true;
     this.dgv_ordenproduccion.Appearance.GroupFooter.Options.UseForeColor = true;
     this.dgv_ordenproduccion.Appearance.GroupPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(78)))), ((int)(((byte)(71)))));
     this.dgv_ordenproduccion.Appearance.GroupPanel.BackColor2 = System.Drawing.Color.White;
     this.dgv_ordenproduccion.Appearance.GroupPanel.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.dgv_ordenproduccion.Appearance.GroupPanel.ForeColor = System.Drawing.Color.White;
     this.dgv_ordenproduccion.Appearance.GroupPanel.Options.UseBackColor = true;
     this.dgv_ordenproduccion.Appearance.GroupPanel.Options.UseFont = true;
     this.dgv_ordenproduccion.Appearance.GroupPanel.Options.UseForeColor = true;
     this.dgv_ordenproduccion.Appearance.GroupRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(144)))), ((int)(((byte)(136)))));
     this.dgv_ordenproduccion.Appearance.GroupRow.ForeColor = System.Drawing.Color.Silver;
     this.dgv_ordenproduccion.Appearance.GroupRow.Options.UseBackColor = true;
     this.dgv_ordenproduccion.Appearance.GroupRow.Options.UseForeColor = true;
     this.dgv_ordenproduccion.Appearance.HeaderPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(192)))), ((int)(((byte)(184)))));
     this.dgv_ordenproduccion.Appearance.HeaderPanel.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(192)))), ((int)(((byte)(184)))));
     this.dgv_ordenproduccion.Appearance.HeaderPanel.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.dgv_ordenproduccion.Appearance.HeaderPanel.ForeColor = System.Drawing.Color.Black;
     this.dgv_ordenproduccion.Appearance.HeaderPanel.Options.UseBackColor = true;
     this.dgv_ordenproduccion.Appearance.HeaderPanel.Options.UseBorderColor = true;
     this.dgv_ordenproduccion.Appearance.HeaderPanel.Options.UseFont = true;
     this.dgv_ordenproduccion.Appearance.HeaderPanel.Options.UseForeColor = true;
     this.dgv_ordenproduccion.Appearance.HideSelectionRow.BackColor = System.Drawing.Color.Gray;
     this.dgv_ordenproduccion.Appearance.HideSelectionRow.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.dgv_ordenproduccion.Appearance.HideSelectionRow.Options.UseBackColor = true;
     this.dgv_ordenproduccion.Appearance.HideSelectionRow.Options.UseForeColor = true;
     this.dgv_ordenproduccion.Appearance.HorzLine.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(192)))), ((int)(((byte)(184)))));
     this.dgv_ordenproduccion.Appearance.HorzLine.Options.UseBackColor = true;
     this.dgv_ordenproduccion.Appearance.Preview.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(196)))), ((int)(((byte)(252)))), ((int)(((byte)(244)))));
     this.dgv_ordenproduccion.Appearance.Preview.BackColor2 = System.Drawing.Color.White;
     this.dgv_ordenproduccion.Appearance.Preview.ForeColor = System.Drawing.Color.Navy;
     this.dgv_ordenproduccion.Appearance.Preview.Options.UseBackColor = true;
     this.dgv_ordenproduccion.Appearance.Preview.Options.UseForeColor = true;
     this.dgv_ordenproduccion.Appearance.Row.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(224)))), ((int)(((byte)(216)))));
     this.dgv_ordenproduccion.Appearance.Row.ForeColor = System.Drawing.Color.Black;
     this.dgv_ordenproduccion.Appearance.Row.Options.UseBackColor = true;
     this.dgv_ordenproduccion.Appearance.Row.Options.UseForeColor = true;
     this.dgv_ordenproduccion.Appearance.RowSeparator.BackColor = System.Drawing.Color.White;
     this.dgv_ordenproduccion.Appearance.RowSeparator.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(156)))), ((int)(((byte)(212)))), ((int)(((byte)(204)))));
     this.dgv_ordenproduccion.Appearance.RowSeparator.Options.UseBackColor = true;
     this.dgv_ordenproduccion.Appearance.SelectedRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(10)))), ((int)(((byte)(10)))), ((int)(((byte)(138)))));
     this.dgv_ordenproduccion.Appearance.SelectedRow.ForeColor = System.Drawing.Color.White;
     this.dgv_ordenproduccion.Appearance.SelectedRow.Options.UseBackColor = true;
     this.dgv_ordenproduccion.Appearance.SelectedRow.Options.UseForeColor = true;
     this.dgv_ordenproduccion.Appearance.TopNewRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(215)))), ((int)(((byte)(232)))), ((int)(((byte)(226)))));
     this.dgv_ordenproduccion.Appearance.TopNewRow.Options.UseBackColor = true;
     this.dgv_ordenproduccion.Appearance.VertLine.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(192)))), ((int)(((byte)(184)))));
     this.dgv_ordenproduccion.Appearance.VertLine.Options.UseBackColor = true;
     this.dgv_ordenproduccion.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.marcaname,
     this.ordenprod,
     this.fechemi,
     this.articid,
     this.articname,
     this.lineaname,
     this.generoname,
     this.temporadaname,
     this.coleccionname,
     this.estadoname});
     styleFormatCondition2.Appearance.BackColor = System.Drawing.Color.Teal;
     styleFormatCondition2.Appearance.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     styleFormatCondition2.Appearance.Options.UseBackColor = true;
     styleFormatCondition2.ApplyToRow = true;
     styleFormatCondition2.Condition = DevExpress.XtraGrid.FormatConditionEnum.Expression;
     styleFormatCondition2.Expression = "Len(Trim([conceptoid])) == 2";
     this.dgv_ordenproduccion.FormatConditions.AddRange(new DevExpress.XtraGrid.StyleFormatCondition[] {
     styleFormatCondition2});
     this.dgv_ordenproduccion.GridControl = this.Mdi_dgv_ordenproduccion;
     this.dgv_ordenproduccion.Name = "dgv_ordenproduccion";
     this.dgv_ordenproduccion.OptionsSelection.MultiSelect = true;
     this.dgv_ordenproduccion.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CellSelect;
     this.dgv_ordenproduccion.OptionsView.ShowGroupPanel = false;
     this.dgv_ordenproduccion.PaintStyleName = "Web";
     this.dgv_ordenproduccion.RowCellClick += new DevExpress.XtraGrid.Views.Grid.RowCellClickEventHandler(this.dgv_ordenproduccion_RowCellClick);
     //
     // marcaname
     //
     this.marcaname.Caption = "Marca";
     this.marcaname.FieldName = "marcaname";
     this.marcaname.Name = "marcaname";
     this.marcaname.OptionsColumn.AllowEdit = false;
     this.marcaname.Visible = true;
     this.marcaname.VisibleIndex = 0;
     this.marcaname.Width = 64;
     //
     // ordenprod
     //
     this.ordenprod.Caption = "OrdProd";
     this.ordenprod.FieldName = "ordenprod";
     this.ordenprod.Name = "ordenprod";
     this.ordenprod.OptionsColumn.AllowEdit = false;
     this.ordenprod.Visible = true;
     this.ordenprod.VisibleIndex = 1;
     this.ordenprod.Width = 67;
     //
     // fechemi
     //
     this.fechemi.Caption = "Fecha";
     this.fechemi.FieldName = "fechemi";
     this.fechemi.Name = "fechemi";
     this.fechemi.OptionsColumn.AllowEdit = false;
     this.fechemi.Visible = true;
     this.fechemi.VisibleIndex = 2;
     this.fechemi.Width = 72;
     //
     // articid
     //
     this.articid.Caption = "ArticID";
     this.articid.FieldName = "articidold";
     this.articid.Name = "articid";
     this.articid.OptionsColumn.AllowEdit = false;
     this.articid.Visible = true;
     this.articid.VisibleIndex = 3;
     this.articid.Width = 57;
     //
     // articname
     //
     this.articname.Caption = "Articulo";
     this.articname.FieldName = "articname";
     this.articname.Name = "articname";
     this.articname.OptionsColumn.AllowEdit = false;
     this.articname.Visible = true;
     this.articname.VisibleIndex = 4;
     this.articname.Width = 198;
     //
     // lineaname
     //
     this.lineaname.Caption = "Linea";
     this.lineaname.FieldName = "lineaname";
     this.lineaname.Name = "lineaname";
     this.lineaname.OptionsColumn.AllowEdit = false;
     this.lineaname.Visible = true;
     this.lineaname.VisibleIndex = 5;
     this.lineaname.Width = 87;
     //
     // generoname
     //
     this.generoname.Caption = "Genero";
     this.generoname.FieldName = "generoname";
     this.generoname.Name = "generoname";
     this.generoname.OptionsColumn.AllowEdit = false;
     this.generoname.Visible = true;
     this.generoname.VisibleIndex = 6;
     this.generoname.Width = 80;
     //
     // temporadaname
     //
     this.temporadaname.Caption = "Temporada";
     this.temporadaname.FieldName = "temporadaname";
     this.temporadaname.Name = "temporadaname";
     this.temporadaname.OptionsColumn.AllowEdit = false;
     this.temporadaname.Visible = true;
     this.temporadaname.VisibleIndex = 7;
     this.temporadaname.Width = 85;
     //
     // coleccionname
     //
     this.coleccionname.Caption = "Colección";
     this.coleccionname.FieldName = "coleccionname";
     this.coleccionname.Name = "coleccionname";
     this.coleccionname.OptionsColumn.AllowEdit = false;
     this.coleccionname.Visible = true;
     this.coleccionname.VisibleIndex = 8;
     this.coleccionname.Width = 70;
     //
     // estadoname
     //
     this.estadoname.Caption = "Estatus";
     this.estadoname.FieldName = "estadoname";
     this.estadoname.Name = "estadoname";
     this.estadoname.OptionsColumn.AllowEdit = false;
     this.estadoname.Visible = true;
     this.estadoname.VisibleIndex = 9;
     this.estadoname.Width = 74;
     //
     // repositoryItemTextEdit5
     //
     this.repositoryItemTextEdit5.AutoHeight = false;
     this.repositoryItemTextEdit5.DisplayFormat.FormatString = "###,##0.0000";
     this.repositoryItemTextEdit5.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.repositoryItemTextEdit5.EditFormat.FormatString = "###,##0.0000";
     this.repositoryItemTextEdit5.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.repositoryItemTextEdit5.Mask.EditMask = "###,##0.0000";
     this.repositoryItemTextEdit5.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.repositoryItemTextEdit5.Name = "repositoryItemTextEdit5";
     //
     // repositoryItemCheckEdit5
     //
     this.repositoryItemCheckEdit5.AutoHeight = false;
     this.repositoryItemCheckEdit5.Caption = "Check";
     this.repositoryItemCheckEdit5.Name = "repositoryItemCheckEdit5";
     //
     // repositoryItemTextEdit6
     //
     this.repositoryItemTextEdit6.AutoHeight = false;
     this.repositoryItemTextEdit6.Name = "repositoryItemTextEdit6";
     this.repositoryItemTextEdit6.ReadOnly = true;
     //
     // repositoryItemCheckEdit6
     //
     this.repositoryItemCheckEdit6.AutoHeight = false;
     this.repositoryItemCheckEdit6.Caption = "Check";
     this.repositoryItemCheckEdit6.Name = "repositoryItemCheckEdit6";
     //
     // tab_02
     //
     this.tab_02.Controls.Add(this.panelControl2);
     this.tab_02.Name = "tab_02";
     this.tab_02.Size = new System.Drawing.Size(888, 506);
     this.tab_02.Text = "Datos";
     //
     // panelControl2
     //
     this.panelControl2.Controls.Add(this.txt_taco12);
     this.panelControl2.Controls.Add(this.txt_taco11);
     this.panelControl2.Controls.Add(this.txt_taco10);
     this.panelControl2.Controls.Add(this.txt_taco09);
     this.panelControl2.Controls.Add(this.txt_taco08);
     this.panelControl2.Controls.Add(this.txt_taco07);
     this.panelControl2.Controls.Add(this.txt_taco06);
     this.panelControl2.Controls.Add(this.txt_taco05);
     this.panelControl2.Controls.Add(this.txt_taco04);
     this.panelControl2.Controls.Add(this.txt_taco03);
     this.panelControl2.Controls.Add(this.txt_taco02);
     this.panelControl2.Controls.Add(this.txt_taco01);
     this.panelControl2.Controls.Add(this.panelControl5);
     this.panelControl2.Controls.Add(this.btn_quitar);
     this.panelControl2.Controls.Add(this.dgv_ordenprodcolor);
     this.panelControl2.Controls.Add(this.dgv_grilla);
     this.panelControl2.Controls.Add(this.btn_add);
     this.panelControl2.Controls.Add(this.txt_tottot);
     this.panelControl2.Controls.Add(this.labelControl68);
     this.panelControl2.Controls.Add(this.txt_tottaco12);
     this.panelControl2.Controls.Add(this.txt_tottaco11);
     this.panelControl2.Controls.Add(this.txt_tottaco10);
     this.panelControl2.Controls.Add(this.txt_tottaco09);
     this.panelControl2.Controls.Add(this.txt_tottaco08);
     this.panelControl2.Controls.Add(this.txt_tottaco07);
     this.panelControl2.Controls.Add(this.txt_tottaco06);
     this.panelControl2.Controls.Add(this.txt_tottaco05);
     this.panelControl2.Controls.Add(this.txt_tottaco04);
     this.panelControl2.Controls.Add(this.txt_tottaco03);
     this.panelControl2.Controls.Add(this.txt_tottaco02);
     this.panelControl2.Controls.Add(this.txt_tottaco01);
     this.panelControl2.Controls.Add(this.txt_observacion);
     this.panelControl2.Controls.Add(this.labelControl58);
     this.panelControl2.Controls.Add(this.txt_temporadaname);
     this.panelControl2.Controls.Add(this.labelControl57);
     this.panelControl2.Controls.Add(this.txt_tacotot);
     this.panelControl2.Controls.Add(this.lbltaco12);
     this.panelControl2.Controls.Add(this.lbltaco11);
     this.panelControl2.Controls.Add(this.lbltaco10);
     this.panelControl2.Controls.Add(this.lbltaco09);
     this.panelControl2.Controls.Add(this.lbltaco08);
     this.panelControl2.Controls.Add(this.lbltaco07);
     this.panelControl2.Controls.Add(this.lbltaco06);
     this.panelControl2.Controls.Add(this.lbltaco05);
     this.panelControl2.Controls.Add(this.lbltaco04);
     this.panelControl2.Controls.Add(this.lbltaco03);
     this.panelControl2.Controls.Add(this.lbltaco02);
     this.panelControl2.Controls.Add(this.lbltaco01);
     this.panelControl2.Controls.Add(this.labelControl43);
     this.panelControl2.Controls.Add(this.txt_colorname);
     this.panelControl2.Controls.Add(this.txt_colorid);
     this.panelControl2.Controls.Add(this.labelControl44);
     this.panelControl2.Controls.Add(this.txt_cantreal);
     this.panelControl2.Controls.Add(this.txt_cantprog);
     this.panelControl2.Controls.Add(this.labelControl36);
     this.panelControl2.Controls.Add(this.txt_numref);
     this.panelControl2.Controls.Add(this.txt_serref);
     this.panelControl2.Controls.Add(this.txt_tipref);
     this.panelControl2.Controls.Add(this.labelControl30);
     this.panelControl2.Controls.Add(this.labelControl29);
     this.panelControl2.Controls.Add(this.txt_ctactename);
     this.panelControl2.Controls.Add(this.txt_ctacte);
     this.panelControl2.Controls.Add(this.labelControl28);
     this.panelControl2.Controls.Add(this.labelControl27);
     this.panelControl2.Controls.Add(this.labelControl26);
     this.panelControl2.Controls.Add(this.txt_familiatelaname);
     this.panelControl2.Controls.Add(this.labelControl25);
     this.panelControl2.Controls.Add(this.labelControl24);
     this.panelControl2.Controls.Add(this.cmb_canalvta);
     this.panelControl2.Controls.Add(this.txt_generoname);
     this.panelControl2.Controls.Add(this.labelControl23);
     this.panelControl2.Controls.Add(this.txt_lineaname);
     this.panelControl2.Controls.Add(this.labelControl22);
     this.panelControl2.Controls.Add(this.txt_marcaname);
     this.panelControl2.Controls.Add(this.labelControl21);
     this.panelControl2.Controls.Add(this.txt_variante);
     this.panelControl2.Controls.Add(this.labelControl20);
     this.panelControl2.Controls.Add(this.labelControl19);
     this.panelControl2.Controls.Add(this.txt_articname);
     this.panelControl2.Controls.Add(this.txt_articid);
     this.panelControl2.Controls.Add(this.cmb_ejecutor);
     this.panelControl2.Controls.Add(this.labelControl18);
     this.panelControl2.Controls.Add(this.labelControl16);
     this.panelControl2.Controls.Add(this.cmb_estado);
     this.panelControl2.Controls.Add(this.labelControl17);
     this.panelControl2.Controls.Add(this.labelControl15);
     this.panelControl2.Controls.Add(this.txt_fechfin);
     this.panelControl2.Controls.Add(this.labelControl14);
     this.panelControl2.Controls.Add(this.txt_fechini);
     this.panelControl2.Controls.Add(this.labelControl13);
     this.panelControl2.Controls.Add(this.txt_fechemi);
     this.panelControl2.Controls.Add(this.cmb_perianio);
     this.panelControl2.Location = new System.Drawing.Point(3, 3);
     this.panelControl2.Name = "panelControl2";
     this.panelControl2.Size = new System.Drawing.Size(879, 500);
     this.panelControl2.TabIndex = 1;
     //
     // txt_taco12
     //
     this.txt_taco12.EditValue = "0";
     this.txt_taco12.Location = new System.Drawing.Point(615, 304);
     this.txt_taco12.MenuManager = this.barManager1;
     this.txt_taco12.Name = "txt_taco12";
     this.txt_taco12.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.txt_taco12.Properties.Appearance.Options.UseFont = true;
     this.txt_taco12.Properties.Appearance.Options.UseTextOptions = true;
     this.txt_taco12.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.txt_taco12.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Office2003;
     this.txt_taco12.Properties.Mask.EditMask = "n3";
     this.txt_taco12.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.txt_taco12.Size = new System.Drawing.Size(40, 20);
     this.txt_taco12.TabIndex = 452;
     this.txt_taco12.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_taco12_KeyDown);
     this.txt_taco12.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txt_taco12_KeyUp);
     //
     // txt_taco11
     //
     this.txt_taco11.EditValue = "0";
     this.txt_taco11.Location = new System.Drawing.Point(571, 304);
     this.txt_taco11.MenuManager = this.barManager1;
     this.txt_taco11.Name = "txt_taco11";
     this.txt_taco11.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.txt_taco11.Properties.Appearance.Options.UseFont = true;
     this.txt_taco11.Properties.Appearance.Options.UseTextOptions = true;
     this.txt_taco11.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.txt_taco11.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Office2003;
     this.txt_taco11.Properties.Mask.EditMask = "n3";
     this.txt_taco11.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.txt_taco11.Size = new System.Drawing.Size(38, 20);
     this.txt_taco11.TabIndex = 451;
     this.txt_taco11.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_taco11_KeyDown);
     this.txt_taco11.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txt_taco11_KeyUp);
     //
     // txt_taco10
     //
     this.txt_taco10.EditValue = "0";
     this.txt_taco10.Location = new System.Drawing.Point(530, 304);
     this.txt_taco10.MenuManager = this.barManager1;
     this.txt_taco10.Name = "txt_taco10";
     this.txt_taco10.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.txt_taco10.Properties.Appearance.Options.UseFont = true;
     this.txt_taco10.Properties.Appearance.Options.UseTextOptions = true;
     this.txt_taco10.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.txt_taco10.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Office2003;
     this.txt_taco10.Properties.Mask.EditMask = "n3";
     this.txt_taco10.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.txt_taco10.Size = new System.Drawing.Size(38, 20);
     this.txt_taco10.TabIndex = 450;
     this.txt_taco10.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_taco10_KeyDown);
     this.txt_taco10.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txt_taco10_KeyUp);
     //
     // txt_taco09
     //
     this.txt_taco09.EditValue = "0";
     this.txt_taco09.Location = new System.Drawing.Point(492, 304);
     this.txt_taco09.MenuManager = this.barManager1;
     this.txt_taco09.Name = "txt_taco09";
     this.txt_taco09.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.txt_taco09.Properties.Appearance.Options.UseFont = true;
     this.txt_taco09.Properties.Appearance.Options.UseTextOptions = true;
     this.txt_taco09.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.txt_taco09.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Office2003;
     this.txt_taco09.Properties.Mask.EditMask = "n3";
     this.txt_taco09.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.txt_taco09.Size = new System.Drawing.Size(35, 20);
     this.txt_taco09.TabIndex = 449;
     this.txt_taco09.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_taco09_KeyDown);
     this.txt_taco09.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txt_taco09_KeyUp);
     //
     // txt_taco08
     //
     this.txt_taco08.EditValue = "0";
     this.txt_taco08.Location = new System.Drawing.Point(455, 304);
     this.txt_taco08.MenuManager = this.barManager1;
     this.txt_taco08.Name = "txt_taco08";
     this.txt_taco08.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.txt_taco08.Properties.Appearance.Options.UseFont = true;
     this.txt_taco08.Properties.Appearance.Options.UseTextOptions = true;
     this.txt_taco08.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.txt_taco08.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Office2003;
     this.txt_taco08.Properties.Mask.EditMask = "n3";
     this.txt_taco08.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.txt_taco08.Size = new System.Drawing.Size(34, 20);
     this.txt_taco08.TabIndex = 448;
     this.txt_taco08.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_taco08_KeyDown);
     this.txt_taco08.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txt_taco08_KeyUp);
     //
     // txt_taco07
     //
     this.txt_taco07.EditValue = "0";
     this.txt_taco07.Location = new System.Drawing.Point(416, 304);
     this.txt_taco07.MenuManager = this.barManager1;
     this.txt_taco07.Name = "txt_taco07";
     this.txt_taco07.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.txt_taco07.Properties.Appearance.Options.UseFont = true;
     this.txt_taco07.Properties.Appearance.Options.UseTextOptions = true;
     this.txt_taco07.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.txt_taco07.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Office2003;
     this.txt_taco07.Properties.Mask.EditMask = "n3";
     this.txt_taco07.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.txt_taco07.Size = new System.Drawing.Size(37, 20);
     this.txt_taco07.TabIndex = 447;
     this.txt_taco07.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_taco07_KeyDown);
     this.txt_taco07.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txt_taco07_KeyUp);
     //
     // txt_taco06
     //
     this.txt_taco06.EditValue = "0";
     this.txt_taco06.Location = new System.Drawing.Point(380, 304);
     this.txt_taco06.MenuManager = this.barManager1;
     this.txt_taco06.Name = "txt_taco06";
     this.txt_taco06.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.txt_taco06.Properties.Appearance.Options.UseFont = true;
     this.txt_taco06.Properties.Appearance.Options.UseTextOptions = true;
     this.txt_taco06.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.txt_taco06.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Office2003;
     this.txt_taco06.Properties.Mask.EditMask = "n3";
     this.txt_taco06.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.txt_taco06.Size = new System.Drawing.Size(32, 20);
     this.txt_taco06.TabIndex = 446;
     this.txt_taco06.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_taco06_KeyDown);
     this.txt_taco06.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txt_taco06_KeyUp);
     //
     // txt_taco05
     //
     this.txt_taco05.EditValue = "0";
     this.txt_taco05.Location = new System.Drawing.Point(343, 304);
     this.txt_taco05.MenuManager = this.barManager1;
     this.txt_taco05.Name = "txt_taco05";
     this.txt_taco05.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.txt_taco05.Properties.Appearance.Options.UseFont = true;
     this.txt_taco05.Properties.Appearance.Options.UseTextOptions = true;
     this.txt_taco05.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.txt_taco05.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Office2003;
     this.txt_taco05.Properties.Mask.EditMask = "n3";
     this.txt_taco05.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.txt_taco05.Size = new System.Drawing.Size(33, 20);
     this.txt_taco05.TabIndex = 445;
     this.txt_taco05.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_taco05_KeyDown);
     this.txt_taco05.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txt_taco05_KeyUp);
     //
     // txt_taco04
     //
     this.txt_taco04.EditValue = "0";
     this.txt_taco04.Location = new System.Drawing.Point(306, 304);
     this.txt_taco04.MenuManager = this.barManager1;
     this.txt_taco04.Name = "txt_taco04";
     this.txt_taco04.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.txt_taco04.Properties.Appearance.Options.UseFont = true;
     this.txt_taco04.Properties.Appearance.Options.UseTextOptions = true;
     this.txt_taco04.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.txt_taco04.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Office2003;
     this.txt_taco04.Properties.Mask.EditMask = "n3";
     this.txt_taco04.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.txt_taco04.Size = new System.Drawing.Size(35, 20);
     this.txt_taco04.TabIndex = 444;
     this.txt_taco04.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_taco04_KeyDown);
     this.txt_taco04.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txt_taco04_KeyUp);
     //
     // txt_taco03
     //
     this.txt_taco03.EditValue = "0";
     this.txt_taco03.Location = new System.Drawing.Point(268, 304);
     this.txt_taco03.MenuManager = this.barManager1;
     this.txt_taco03.Name = "txt_taco03";
     this.txt_taco03.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.txt_taco03.Properties.Appearance.Options.UseFont = true;
     this.txt_taco03.Properties.Appearance.Options.UseTextOptions = true;
     this.txt_taco03.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.txt_taco03.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Office2003;
     this.txt_taco03.Properties.Mask.EditMask = "n3";
     this.txt_taco03.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.txt_taco03.Size = new System.Drawing.Size(36, 20);
     this.txt_taco03.TabIndex = 443;
     this.txt_taco03.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_taco03_KeyDown);
     this.txt_taco03.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txt_taco03_KeyUp);
     //
     // txt_taco02
     //
     this.txt_taco02.EditValue = "0";
     this.txt_taco02.Location = new System.Drawing.Point(231, 304);
     this.txt_taco02.MenuManager = this.barManager1;
     this.txt_taco02.Name = "txt_taco02";
     this.txt_taco02.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.txt_taco02.Properties.Appearance.Options.UseFont = true;
     this.txt_taco02.Properties.Appearance.Options.UseTextOptions = true;
     this.txt_taco02.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.txt_taco02.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Office2003;
     this.txt_taco02.Properties.Mask.EditMask = "n3";
     this.txt_taco02.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.txt_taco02.Size = new System.Drawing.Size(35, 20);
     this.txt_taco02.TabIndex = 442;
     this.txt_taco02.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_taco02_KeyDown);
     this.txt_taco02.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txt_taco02_KeyUp);
     //
     // txt_taco01
     //
     this.txt_taco01.EditValue = "0";
     this.txt_taco01.Location = new System.Drawing.Point(196, 304);
     this.txt_taco01.MenuManager = this.barManager1;
     this.txt_taco01.Name = "txt_taco01";
     this.txt_taco01.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.txt_taco01.Properties.Appearance.Options.UseFont = true;
     this.txt_taco01.Properties.Appearance.Options.UseTextOptions = true;
     this.txt_taco01.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.txt_taco01.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Office2003;
     this.txt_taco01.Properties.Mask.EditMask = "n3";
     this.txt_taco01.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.txt_taco01.Size = new System.Drawing.Size(34, 20);
     this.txt_taco01.TabIndex = 441;
     this.txt_taco01.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_taco01_KeyDown);
     this.txt_taco01.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txt_taco01_KeyUp);
     //
     // panelControl5
     //
     this.panelControl5.Controls.Add(this.txt_numop);
     this.panelControl5.Controls.Add(this.labelControl10);
     this.panelControl5.Controls.Add(this.labelControl4);
     this.panelControl5.Controls.Add(this.cmb_ordprod);
     this.panelControl5.Controls.Add(this.labelControl5);
     this.panelControl5.Location = new System.Drawing.Point(13, 9);
     this.panelControl5.Name = "panelControl5";
     this.panelControl5.Size = new System.Drawing.Size(270, 86);
     this.panelControl5.TabIndex = 440;
     //
     // txt_numop
     //
     this.txt_numop.Appearance.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold);
     this.txt_numop.Appearance.ForeColor = System.Drawing.Color.Red;
     this.txt_numop.Location = new System.Drawing.Point(163, 53);
     this.txt_numop.Name = "txt_numop";
     this.txt_numop.Size = new System.Drawing.Size(81, 16);
     this.txt_numop.TabIndex = 439;
     this.txt_numop.Text = "__________";
     //
     // labelControl10
     //
     this.labelControl10.Location = new System.Drawing.Point(25, 54);
     this.labelControl10.Name = "labelControl10";
     this.labelControl10.Size = new System.Drawing.Size(40, 13);
     this.labelControl10.TabIndex = 144;
     this.labelControl10.Text = "OrdProd";
     //
     // labelControl4
     //
     this.labelControl4.Appearance.Font = new System.Drawing.Font("Papyrus", 16F, System.Drawing.FontStyle.Bold);
     this.labelControl4.Appearance.ForeColor = System.Drawing.Color.Teal;
     this.labelControl4.LineColor = System.Drawing.SystemColors.ActiveBorder;
     this.labelControl4.Location = new System.Drawing.Point(26, 9);
     this.labelControl4.Name = "labelControl4";
     this.labelControl4.Size = new System.Drawing.Size(216, 33);
     this.labelControl4.TabIndex = 438;
     this.labelControl4.Text = "Orden de Producción";
     //
     // cmb_ordprod
     //
     this.cmb_ordprod.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmb_ordprod.FormattingEnabled = true;
     this.cmb_ordprod.Location = new System.Drawing.Point(69, 50);
     this.cmb_ordprod.Name = "cmb_ordprod";
     this.cmb_ordprod.Size = new System.Drawing.Size(52, 21);
     this.cmb_ordprod.TabIndex = 197;
     this.cmb_ordprod.SelectedIndexChanged += new System.EventHandler(this.cmb_ordprod_SelectedIndexChanged);
     //
     // labelControl5
     //
     this.labelControl5.Appearance.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold);
     this.labelControl5.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl5.Location = new System.Drawing.Point(140, 53);
     this.labelControl5.Name = "labelControl5";
     this.labelControl5.Size = new System.Drawing.Size(21, 16);
     this.labelControl5.TabIndex = 416;
     this.labelControl5.Text = "N°-";
     //
     // btn_quitar
     //
     this.btn_quitar.Cursor = System.Windows.Forms.Cursors.Hand;
     this.btn_quitar.Enabled = false;
     this.btn_quitar.Image = ((System.Drawing.Image)(resources.GetObject("btn_quitar.Image")));
     this.btn_quitar.Location = new System.Drawing.Point(711, 357);
     this.btn_quitar.Name = "btn_quitar";
     this.btn_quitar.Size = new System.Drawing.Size(68, 23);
     this.btn_quitar.TabIndex = 437;
     this.btn_quitar.Text = "Quitar";
     this.btn_quitar.ToolTip = "Elimina La Fila Seleccionada";
     this.btn_quitar.ToolTipIconType = DevExpress.Utils.ToolTipIconType.Information;
     this.btn_quitar.Click += new System.EventHandler(this.btn_quitar_Click);
     //
     // dgv_ordenprodcolor
     //
     this.dgv_ordenprodcolor.AllowUserToAddRows = false;
     dataGridViewCellStyle60.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle60.BackColor = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle60.Font = new System.Drawing.Font("Tahoma", 8.25F);
     dataGridViewCellStyle60.ForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle60.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle60.SelectionForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle60.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.dgv_ordenprodcolor.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle60;
     this.dgv_ordenprodcolor.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dgv_ordenprodcolor.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.tipop,
     this.serop,
     this.numop,
     this.colorid,
     this.colorname,
     this.coltalla,
     this.can01,
     this.can02,
     this.can03,
     this.can04,
     this.can05,
     this.can06,
     this.can07,
     this.can08,
     this.can09,
     this.can10,
     this.can11,
     this.can12,
     this.cantot});
     dataGridViewCellStyle74.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle74.BackColor = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle74.Font = new System.Drawing.Font("Tahoma", 8.25F);
     dataGridViewCellStyle74.ForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle74.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle74.SelectionForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle74.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
     this.dgv_ordenprodcolor.DefaultCellStyle = dataGridViewCellStyle74;
     this.dgv_ordenprodcolor.EnableHeadersVisualStyles = false;
     this.dgv_ordenprodcolor.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.dgv_ordenprodcolor.Location = new System.Drawing.Point(10, 332);
     this.dgv_ordenprodcolor.Name = "dgv_ordenprodcolor";
     this.dgv_ordenprodcolor.ReadOnly = true;
     dataGridViewCellStyle75.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle75.BackColor = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle75.Font = new System.Drawing.Font("Tahoma", 8.25F);
     dataGridViewCellStyle75.ForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle75.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle75.SelectionForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle75.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.dgv_ordenprodcolor.RowHeadersDefaultCellStyle = dataGridViewCellStyle75;
     this.dgv_ordenprodcolor.RowHeadersVisible = false;
     this.dgv_ordenprodcolor.Size = new System.Drawing.Size(698, 140);
     this.dgv_ordenprodcolor.TabIndex = 431;
     this.dgv_ordenprodcolor.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgv_ordenprodcolor_CellClick);
     //
     // tipop
     //
     this.tipop.DataPropertyName = "tipop";
     this.tipop.HeaderText = "tipop";
     this.tipop.Name = "tipop";
     this.tipop.ReadOnly = true;
     this.tipop.Visible = false;
     //
     // serop
     //
     this.serop.DataPropertyName = "serop";
     this.serop.HeaderText = "serop";
     this.serop.Name = "serop";
     this.serop.ReadOnly = true;
     this.serop.Visible = false;
     //
     // numop
     //
     this.numop.DataPropertyName = "numop";
     this.numop.HeaderText = "numop";
     this.numop.Name = "numop";
     this.numop.ReadOnly = true;
     this.numop.Visible = false;
     //
     // colorid
     //
     this.colorid.DataPropertyName = "colorid";
     this.colorid.HeaderText = "Cod";
     this.colorid.Name = "colorid";
     this.colorid.ReadOnly = true;
     this.colorid.Width = 40;
     //
     // colorname
     //
     this.colorname.DataPropertyName = "colorname";
     this.colorname.HeaderText = "Color";
     this.colorname.Name = "colorname";
     this.colorname.ReadOnly = true;
     this.colorname.Width = 210;
     //
     // coltalla
     //
     this.coltalla.DataPropertyName = "coltalla";
     this.coltalla.HeaderText = "coltalla";
     this.coltalla.Name = "coltalla";
     this.coltalla.ReadOnly = true;
     this.coltalla.Visible = false;
     //
     // can01
     //
     this.can01.DataPropertyName = "can01";
     dataGridViewCellStyle61.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.can01.DefaultCellStyle = dataGridViewCellStyle61;
     this.can01.HeaderText = "ta01";
     this.can01.Name = "can01";
     this.can01.ReadOnly = true;
     this.can01.Width = 30;
     //
     // can02
     //
     this.can02.DataPropertyName = "can02";
     dataGridViewCellStyle62.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.can02.DefaultCellStyle = dataGridViewCellStyle62;
     this.can02.HeaderText = "ta02";
     this.can02.Name = "can02";
     this.can02.ReadOnly = true;
     this.can02.Width = 30;
     //
     // can03
     //
     this.can03.DataPropertyName = "can03";
     dataGridViewCellStyle63.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.can03.DefaultCellStyle = dataGridViewCellStyle63;
     this.can03.HeaderText = "ta03";
     this.can03.Name = "can03";
     this.can03.ReadOnly = true;
     this.can03.Width = 30;
     //
     // can04
     //
     this.can04.DataPropertyName = "can04";
     dataGridViewCellStyle64.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.can04.DefaultCellStyle = dataGridViewCellStyle64;
     this.can04.HeaderText = "ta04";
     this.can04.Name = "can04";
     this.can04.ReadOnly = true;
     this.can04.Width = 30;
     //
     // can05
     //
     this.can05.DataPropertyName = "can05";
     dataGridViewCellStyle65.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.can05.DefaultCellStyle = dataGridViewCellStyle65;
     this.can05.HeaderText = "ta05";
     this.can05.Name = "can05";
     this.can05.ReadOnly = true;
     this.can05.Width = 30;
     //
     // can06
     //
     this.can06.DataPropertyName = "can06";
     dataGridViewCellStyle66.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.can06.DefaultCellStyle = dataGridViewCellStyle66;
     this.can06.HeaderText = "ta06";
     this.can06.Name = "can06";
     this.can06.ReadOnly = true;
     this.can06.Width = 30;
     //
     // can07
     //
     this.can07.DataPropertyName = "can07";
     dataGridViewCellStyle67.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.can07.DefaultCellStyle = dataGridViewCellStyle67;
     this.can07.HeaderText = "ta07";
     this.can07.Name = "can07";
     this.can07.ReadOnly = true;
     this.can07.Width = 30;
     //
     // can08
     //
     this.can08.DataPropertyName = "can08";
     dataGridViewCellStyle68.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.can08.DefaultCellStyle = dataGridViewCellStyle68;
     this.can08.HeaderText = "ta08";
     this.can08.Name = "can08";
     this.can08.ReadOnly = true;
     this.can08.Width = 30;
     //
     // can09
     //
     this.can09.DataPropertyName = "can09";
     dataGridViewCellStyle69.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.can09.DefaultCellStyle = dataGridViewCellStyle69;
     this.can09.HeaderText = "ta09";
     this.can09.Name = "can09";
     this.can09.ReadOnly = true;
     this.can09.Width = 30;
     //
     // can10
     //
     this.can10.DataPropertyName = "can10";
     dataGridViewCellStyle70.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.can10.DefaultCellStyle = dataGridViewCellStyle70;
     this.can10.HeaderText = "ta10";
     this.can10.Name = "can10";
     this.can10.ReadOnly = true;
     this.can10.Width = 30;
     //
     // can11
     //
     this.can11.DataPropertyName = "can11";
     dataGridViewCellStyle71.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.can11.DefaultCellStyle = dataGridViewCellStyle71;
     this.can11.HeaderText = "ta11";
     this.can11.Name = "can11";
     this.can11.ReadOnly = true;
     this.can11.Width = 30;
     //
     // can12
     //
     this.can12.DataPropertyName = "can12";
     dataGridViewCellStyle72.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.can12.DefaultCellStyle = dataGridViewCellStyle72;
     this.can12.HeaderText = "ta12";
     this.can12.Name = "can12";
     this.can12.ReadOnly = true;
     this.can12.Width = 30;
     //
     // cantot
     //
     this.cantot.DataPropertyName = "cantot";
     dataGridViewCellStyle73.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     dataGridViewCellStyle73.Format = "N2";
     dataGridViewCellStyle73.NullValue = null;
     this.cantot.DefaultCellStyle = dataGridViewCellStyle73;
     this.cantot.HeaderText = "Total";
     this.cantot.Name = "cantot";
     this.cantot.ReadOnly = true;
     this.cantot.Width = 85;
     //
     // dgv_grilla
     //
     this.dgv_grilla.AllowUserToAddRows = false;
     dataGridViewCellStyle76.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle76.BackColor = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle76.Font = new System.Drawing.Font("Tahoma", 8.25F);
     dataGridViewCellStyle76.ForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle76.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle76.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle76.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.dgv_grilla.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle76;
     this.dgv_grilla.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dgv_grilla.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.nombre,
     this.ta01,
     this.ta02,
     this.ta03,
     this.ta04,
     this.ta05,
     this.ta06,
     this.ta07,
     this.ta08,
     this.ta09,
     this.ta10,
     this.ta11,
     this.ta12});
     this.dgv_grilla.EnableHeadersVisualStyles = false;
     this.dgv_grilla.Location = new System.Drawing.Point(13, 189);
     this.dgv_grilla.Name = "dgv_grilla";
     this.dgv_grilla.RowHeadersVisible = false;
     this.dgv_grilla.Size = new System.Drawing.Size(665, 86);
     this.dgv_grilla.TabIndex = 430;
     this.dgv_grilla.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgv_grilla_CellValueChanged);
     //
     // nombre
     //
     this.nombre.DataPropertyName = "nombre";
     this.nombre.HeaderText = "";
     this.nombre.Name = "nombre";
     this.nombre.ReadOnly = true;
     //
     // ta01
     //
     this.ta01.DataPropertyName = "ta01";
     dataGridViewCellStyle77.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle77.BackColor = System.Drawing.Color.Teal;
     dataGridViewCellStyle77.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle77.ForeColor = System.Drawing.Color.White;
     dataGridViewCellStyle77.Format = "N0";
     dataGridViewCellStyle77.NullValue = null;
     dataGridViewCellStyle77.SelectionBackColor = System.Drawing.Color.LightSalmon;
     dataGridViewCellStyle77.SelectionForeColor = System.Drawing.Color.Black;
     this.ta01.DefaultCellStyle = dataGridViewCellStyle77;
     this.ta01.HeaderText = "ta01";
     this.ta01.Name = "ta01";
     this.ta01.ToolTipText = "Talla01";
     this.ta01.Width = 50;
     //
     // ta02
     //
     this.ta02.DataPropertyName = "ta02";
     dataGridViewCellStyle78.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle78.BackColor = System.Drawing.Color.Teal;
     dataGridViewCellStyle78.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle78.ForeColor = System.Drawing.Color.White;
     dataGridViewCellStyle78.Format = "N0";
     dataGridViewCellStyle78.SelectionBackColor = System.Drawing.Color.LightSalmon;
     dataGridViewCellStyle78.SelectionForeColor = System.Drawing.Color.Black;
     this.ta02.DefaultCellStyle = dataGridViewCellStyle78;
     this.ta02.FillWeight = 30F;
     this.ta02.HeaderText = "ta02";
     this.ta02.Name = "ta02";
     this.ta02.Width = 50;
     //
     // ta03
     //
     this.ta03.DataPropertyName = "ta03";
     dataGridViewCellStyle79.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle79.BackColor = System.Drawing.Color.Teal;
     dataGridViewCellStyle79.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle79.ForeColor = System.Drawing.Color.White;
     dataGridViewCellStyle79.Format = "N0";
     dataGridViewCellStyle79.SelectionBackColor = System.Drawing.Color.LightSalmon;
     dataGridViewCellStyle79.SelectionForeColor = System.Drawing.Color.Black;
     this.ta03.DefaultCellStyle = dataGridViewCellStyle79;
     this.ta03.FillWeight = 30F;
     this.ta03.HeaderText = "ta03";
     this.ta03.Name = "ta03";
     this.ta03.Width = 50;
     //
     // ta04
     //
     this.ta04.DataPropertyName = "ta04";
     dataGridViewCellStyle80.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle80.BackColor = System.Drawing.Color.Teal;
     dataGridViewCellStyle80.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle80.ForeColor = System.Drawing.Color.White;
     dataGridViewCellStyle80.Format = "N0";
     dataGridViewCellStyle80.SelectionBackColor = System.Drawing.Color.LightSalmon;
     dataGridViewCellStyle80.SelectionForeColor = System.Drawing.Color.Black;
     this.ta04.DefaultCellStyle = dataGridViewCellStyle80;
     this.ta04.FillWeight = 30F;
     this.ta04.HeaderText = "ta04";
     this.ta04.Name = "ta04";
     this.ta04.Width = 50;
     //
     // ta05
     //
     this.ta05.DataPropertyName = "ta05";
     dataGridViewCellStyle81.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle81.BackColor = System.Drawing.Color.Teal;
     dataGridViewCellStyle81.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle81.ForeColor = System.Drawing.Color.White;
     dataGridViewCellStyle81.Format = "N0";
     dataGridViewCellStyle81.SelectionBackColor = System.Drawing.Color.LightSalmon;
     dataGridViewCellStyle81.SelectionForeColor = System.Drawing.Color.Black;
     this.ta05.DefaultCellStyle = dataGridViewCellStyle81;
     this.ta05.FillWeight = 30F;
     this.ta05.HeaderText = "ta05";
     this.ta05.Name = "ta05";
     this.ta05.Width = 50;
     //
     // ta06
     //
     this.ta06.DataPropertyName = "ta06";
     dataGridViewCellStyle82.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle82.BackColor = System.Drawing.Color.Teal;
     dataGridViewCellStyle82.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle82.ForeColor = System.Drawing.Color.White;
     dataGridViewCellStyle82.Format = "N0";
     dataGridViewCellStyle82.NullValue = "Error";
     dataGridViewCellStyle82.SelectionBackColor = System.Drawing.Color.LightSalmon;
     dataGridViewCellStyle82.SelectionForeColor = System.Drawing.Color.Black;
     this.ta06.DefaultCellStyle = dataGridViewCellStyle82;
     this.ta06.FillWeight = 30F;
     this.ta06.HeaderText = "ta06";
     this.ta06.Name = "ta06";
     this.ta06.Width = 50;
     //
     // ta07
     //
     this.ta07.DataPropertyName = "ta07";
     dataGridViewCellStyle83.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle83.BackColor = System.Drawing.Color.Teal;
     dataGridViewCellStyle83.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle83.ForeColor = System.Drawing.Color.White;
     dataGridViewCellStyle83.Format = "N0";
     dataGridViewCellStyle83.SelectionBackColor = System.Drawing.Color.LightSalmon;
     dataGridViewCellStyle83.SelectionForeColor = System.Drawing.Color.Black;
     this.ta07.DefaultCellStyle = dataGridViewCellStyle83;
     this.ta07.FillWeight = 30F;
     this.ta07.HeaderText = "ta07";
     this.ta07.Name = "ta07";
     this.ta07.Width = 50;
     //
     // ta08
     //
     this.ta08.DataPropertyName = "ta08";
     dataGridViewCellStyle84.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle84.BackColor = System.Drawing.Color.Teal;
     dataGridViewCellStyle84.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle84.ForeColor = System.Drawing.Color.White;
     dataGridViewCellStyle84.Format = "N0";
     dataGridViewCellStyle84.SelectionBackColor = System.Drawing.Color.LightSalmon;
     dataGridViewCellStyle84.SelectionForeColor = System.Drawing.Color.Black;
     this.ta08.DefaultCellStyle = dataGridViewCellStyle84;
     this.ta08.FillWeight = 30F;
     this.ta08.HeaderText = "ta08";
     this.ta08.Name = "ta08";
     this.ta08.Width = 50;
     //
     // ta09
     //
     this.ta09.DataPropertyName = "ta09";
     dataGridViewCellStyle85.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle85.BackColor = System.Drawing.Color.Teal;
     dataGridViewCellStyle85.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle85.ForeColor = System.Drawing.Color.White;
     dataGridViewCellStyle85.Format = "N0";
     dataGridViewCellStyle85.SelectionBackColor = System.Drawing.Color.LightSalmon;
     dataGridViewCellStyle85.SelectionForeColor = System.Drawing.Color.Black;
     this.ta09.DefaultCellStyle = dataGridViewCellStyle85;
     this.ta09.HeaderText = "ta09";
     this.ta09.Name = "ta09";
     this.ta09.Width = 50;
     //
     // ta10
     //
     this.ta10.DataPropertyName = "ta10";
     dataGridViewCellStyle86.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle86.BackColor = System.Drawing.Color.Teal;
     dataGridViewCellStyle86.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle86.ForeColor = System.Drawing.Color.White;
     dataGridViewCellStyle86.Format = "N0";
     dataGridViewCellStyle86.SelectionBackColor = System.Drawing.Color.LightSalmon;
     dataGridViewCellStyle86.SelectionForeColor = System.Drawing.Color.Black;
     this.ta10.DefaultCellStyle = dataGridViewCellStyle86;
     this.ta10.HeaderText = "ta10";
     this.ta10.Name = "ta10";
     this.ta10.Width = 50;
     //
     // ta11
     //
     this.ta11.DataPropertyName = "ta11";
     dataGridViewCellStyle87.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle87.BackColor = System.Drawing.Color.Teal;
     dataGridViewCellStyle87.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle87.ForeColor = System.Drawing.Color.White;
     dataGridViewCellStyle87.Format = "N0";
     dataGridViewCellStyle87.SelectionBackColor = System.Drawing.Color.LightSalmon;
     dataGridViewCellStyle87.SelectionForeColor = System.Drawing.Color.Black;
     this.ta11.DefaultCellStyle = dataGridViewCellStyle87;
     this.ta11.HeaderText = "ta11";
     this.ta11.Name = "ta11";
     this.ta11.Width = 30;
     //
     // ta12
     //
     this.ta12.DataPropertyName = "ta12";
     dataGridViewCellStyle88.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle88.BackColor = System.Drawing.Color.Teal;
     dataGridViewCellStyle88.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle88.ForeColor = System.Drawing.Color.White;
     dataGridViewCellStyle88.Format = "N0";
     dataGridViewCellStyle88.SelectionBackColor = System.Drawing.Color.LightSalmon;
     dataGridViewCellStyle88.SelectionForeColor = System.Drawing.Color.Black;
     this.ta12.DefaultCellStyle = dataGridViewCellStyle88;
     this.ta12.HeaderText = "ta12";
     this.ta12.Name = "ta12";
     this.ta12.Width = 30;
     //
     // btn_add
     //
     this.btn_add.Cursor = System.Windows.Forms.Cursors.Hand;
     this.btn_add.Image = ((System.Drawing.Image)(resources.GetObject("btn_add.Image")));
     this.btn_add.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleLeft;
     this.btn_add.Location = new System.Drawing.Point(711, 332);
     this.btn_add.Name = "btn_add";
     this.btn_add.Size = new System.Drawing.Size(68, 23);
     this.btn_add.TabIndex = 429;
     this.btn_add.Text = "Agregar";
     this.btn_add.ToolTip = "Adicionar";
     this.btn_add.ToolTipIconType = DevExpress.Utils.ToolTipIconType.Information;
     this.btn_add.Click += new System.EventHandler(this.btn_add_Click);
     //
     // txt_tottot
     //
     //
     //
     //
     this.txt_tottot.Border.BorderColor = System.Drawing.Color.Teal;
     this.txt_tottot.Border.Class = "TextBoxBorder";
     this.txt_tottot.Border.CornerDiameter = 5;
     this.txt_tottot.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txt_tottot.Border.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Far;
     this.txt_tottot.ButtonCustom.Tooltip = "";
     this.txt_tottot.ButtonCustom2.Tooltip = "";
     this.txt_tottot.DisabledBackColor = System.Drawing.Color.White;
     this.txt_tottot.Enabled = false;
     this.txt_tottot.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.txt_tottot.Location = new System.Drawing.Point(628, 476);
     this.txt_tottot.Name = "txt_tottot";
     this.txt_tottot.PreventEnterBeep = true;
     this.txt_tottot.Size = new System.Drawing.Size(80, 21);
     this.txt_tottot.TabIndex = 415;
     this.txt_tottot.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // labelControl68
     //
     this.labelControl68.Location = new System.Drawing.Point(224, 478);
     this.labelControl68.Name = "labelControl68";
     this.labelControl68.Size = new System.Drawing.Size(31, 13);
     this.labelControl68.TabIndex = 414;
     this.labelControl68.Text = "Total :";
     //
     // txt_tottaco12
     //
     //
     //
     //
     this.txt_tottaco12.Border.BorderColor = System.Drawing.Color.Teal;
     this.txt_tottaco12.Border.Class = "TextBoxBorder";
     this.txt_tottaco12.Border.CornerDiameter = 5;
     this.txt_tottaco12.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txt_tottaco12.Border.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Far;
     this.txt_tottaco12.ButtonCustom.Tooltip = "";
     this.txt_tottaco12.ButtonCustom2.Tooltip = "";
     this.txt_tottaco12.DisabledBackColor = System.Drawing.Color.White;
     this.txt_tottaco12.Enabled = false;
     this.txt_tottaco12.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.txt_tottaco12.Location = new System.Drawing.Point(595, 476);
     this.txt_tottaco12.Name = "txt_tottaco12";
     this.txt_tottaco12.PreventEnterBeep = true;
     this.txt_tottaco12.Size = new System.Drawing.Size(27, 21);
     this.txt_tottaco12.TabIndex = 413;
     this.txt_tottaco12.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // txt_tottaco11
     //
     //
     //
     //
     this.txt_tottaco11.Border.BorderColor = System.Drawing.Color.Teal;
     this.txt_tottaco11.Border.Class = "TextBoxBorder";
     this.txt_tottaco11.Border.CornerDiameter = 5;
     this.txt_tottaco11.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txt_tottaco11.Border.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Far;
     this.txt_tottaco11.ButtonCustom.Tooltip = "";
     this.txt_tottaco11.ButtonCustom2.Tooltip = "";
     this.txt_tottaco11.DisabledBackColor = System.Drawing.Color.White;
     this.txt_tottaco11.Enabled = false;
     this.txt_tottaco11.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.txt_tottaco11.Location = new System.Drawing.Point(565, 476);
     this.txt_tottaco11.Name = "txt_tottaco11";
     this.txt_tottaco11.PreventEnterBeep = true;
     this.txt_tottaco11.Size = new System.Drawing.Size(27, 21);
     this.txt_tottaco11.TabIndex = 412;
     this.txt_tottaco11.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // txt_tottaco10
     //
     //
     //
     //
     this.txt_tottaco10.Border.BorderColor = System.Drawing.Color.Teal;
     this.txt_tottaco10.Border.Class = "TextBoxBorder";
     this.txt_tottaco10.Border.CornerDiameter = 5;
     this.txt_tottaco10.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txt_tottaco10.Border.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Far;
     this.txt_tottaco10.ButtonCustom.Tooltip = "";
     this.txt_tottaco10.ButtonCustom2.Tooltip = "";
     this.txt_tottaco10.DisabledBackColor = System.Drawing.Color.White;
     this.txt_tottaco10.Enabled = false;
     this.txt_tottaco10.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.txt_tottaco10.Location = new System.Drawing.Point(536, 476);
     this.txt_tottaco10.Name = "txt_tottaco10";
     this.txt_tottaco10.PreventEnterBeep = true;
     this.txt_tottaco10.Size = new System.Drawing.Size(27, 21);
     this.txt_tottaco10.TabIndex = 411;
     this.txt_tottaco10.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // txt_tottaco09
     //
     //
     //
     //
     this.txt_tottaco09.Border.BorderColor = System.Drawing.Color.Teal;
     this.txt_tottaco09.Border.Class = "TextBoxBorder";
     this.txt_tottaco09.Border.CornerDiameter = 5;
     this.txt_tottaco09.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txt_tottaco09.Border.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Far;
     this.txt_tottaco09.ButtonCustom.Tooltip = "";
     this.txt_tottaco09.ButtonCustom2.Tooltip = "";
     this.txt_tottaco09.DisabledBackColor = System.Drawing.Color.White;
     this.txt_tottaco09.Enabled = false;
     this.txt_tottaco09.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.txt_tottaco09.Location = new System.Drawing.Point(506, 476);
     this.txt_tottaco09.Name = "txt_tottaco09";
     this.txt_tottaco09.PreventEnterBeep = true;
     this.txt_tottaco09.Size = new System.Drawing.Size(27, 21);
     this.txt_tottaco09.TabIndex = 410;
     this.txt_tottaco09.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // txt_tottaco08
     //
     //
     //
     //
     this.txt_tottaco08.Border.BorderColor = System.Drawing.Color.Teal;
     this.txt_tottaco08.Border.Class = "TextBoxBorder";
     this.txt_tottaco08.Border.CornerDiameter = 5;
     this.txt_tottaco08.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txt_tottaco08.Border.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Far;
     this.txt_tottaco08.ButtonCustom.Tooltip = "";
     this.txt_tottaco08.ButtonCustom2.Tooltip = "";
     this.txt_tottaco08.DisabledBackColor = System.Drawing.Color.White;
     this.txt_tottaco08.Enabled = false;
     this.txt_tottaco08.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.txt_tottaco08.Location = new System.Drawing.Point(476, 476);
     this.txt_tottaco08.Name = "txt_tottaco08";
     this.txt_tottaco08.PreventEnterBeep = true;
     this.txt_tottaco08.Size = new System.Drawing.Size(27, 21);
     this.txt_tottaco08.TabIndex = 409;
     this.txt_tottaco08.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // txt_tottaco07
     //
     //
     //
     //
     this.txt_tottaco07.Border.BorderColor = System.Drawing.Color.Teal;
     this.txt_tottaco07.Border.Class = "TextBoxBorder";
     this.txt_tottaco07.Border.CornerDiameter = 5;
     this.txt_tottaco07.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txt_tottaco07.Border.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Far;
     this.txt_tottaco07.ButtonCustom.Tooltip = "";
     this.txt_tottaco07.ButtonCustom2.Tooltip = "";
     this.txt_tottaco07.DisabledBackColor = System.Drawing.Color.White;
     this.txt_tottaco07.Enabled = false;
     this.txt_tottaco07.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.txt_tottaco07.Location = new System.Drawing.Point(445, 476);
     this.txt_tottaco07.Name = "txt_tottaco07";
     this.txt_tottaco07.PreventEnterBeep = true;
     this.txt_tottaco07.Size = new System.Drawing.Size(27, 21);
     this.txt_tottaco07.TabIndex = 408;
     this.txt_tottaco07.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // txt_tottaco06
     //
     //
     //
     //
     this.txt_tottaco06.Border.BorderColor = System.Drawing.Color.Teal;
     this.txt_tottaco06.Border.Class = "TextBoxBorder";
     this.txt_tottaco06.Border.CornerDiameter = 5;
     this.txt_tottaco06.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txt_tottaco06.Border.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Far;
     this.txt_tottaco06.ButtonCustom.Tooltip = "";
     this.txt_tottaco06.ButtonCustom2.Tooltip = "";
     this.txt_tottaco06.DisabledBackColor = System.Drawing.Color.White;
     this.txt_tottaco06.Enabled = false;
     this.txt_tottaco06.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.txt_tottaco06.Location = new System.Drawing.Point(415, 476);
     this.txt_tottaco06.Name = "txt_tottaco06";
     this.txt_tottaco06.PreventEnterBeep = true;
     this.txt_tottaco06.Size = new System.Drawing.Size(27, 21);
     this.txt_tottaco06.TabIndex = 407;
     this.txt_tottaco06.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // txt_tottaco05
     //
     //
     //
     //
     this.txt_tottaco05.Border.BorderColor = System.Drawing.Color.Teal;
     this.txt_tottaco05.Border.Class = "TextBoxBorder";
     this.txt_tottaco05.Border.CornerDiameter = 5;
     this.txt_tottaco05.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txt_tottaco05.Border.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Far;
     this.txt_tottaco05.ButtonCustom.Tooltip = "";
     this.txt_tottaco05.ButtonCustom2.Tooltip = "";
     this.txt_tottaco05.DisabledBackColor = System.Drawing.Color.White;
     this.txt_tottaco05.Enabled = false;
     this.txt_tottaco05.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.txt_tottaco05.Location = new System.Drawing.Point(385, 476);
     this.txt_tottaco05.Name = "txt_tottaco05";
     this.txt_tottaco05.PreventEnterBeep = true;
     this.txt_tottaco05.Size = new System.Drawing.Size(27, 21);
     this.txt_tottaco05.TabIndex = 406;
     this.txt_tottaco05.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // txt_tottaco04
     //
     //
     //
     //
     this.txt_tottaco04.Border.BorderColor = System.Drawing.Color.Teal;
     this.txt_tottaco04.Border.Class = "TextBoxBorder";
     this.txt_tottaco04.Border.CornerDiameter = 5;
     this.txt_tottaco04.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txt_tottaco04.Border.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Far;
     this.txt_tottaco04.ButtonCustom.Tooltip = "";
     this.txt_tottaco04.ButtonCustom2.Tooltip = "";
     this.txt_tottaco04.DisabledBackColor = System.Drawing.Color.White;
     this.txt_tottaco04.Enabled = false;
     this.txt_tottaco04.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.txt_tottaco04.Location = new System.Drawing.Point(355, 476);
     this.txt_tottaco04.Name = "txt_tottaco04";
     this.txt_tottaco04.PreventEnterBeep = true;
     this.txt_tottaco04.Size = new System.Drawing.Size(27, 21);
     this.txt_tottaco04.TabIndex = 405;
     this.txt_tottaco04.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // txt_tottaco03
     //
     //
     //
     //
     this.txt_tottaco03.Border.BorderColor = System.Drawing.Color.Teal;
     this.txt_tottaco03.Border.Class = "TextBoxBorder";
     this.txt_tottaco03.Border.CornerDiameter = 5;
     this.txt_tottaco03.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txt_tottaco03.Border.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Far;
     this.txt_tottaco03.ButtonCustom.Tooltip = "";
     this.txt_tottaco03.ButtonCustom2.Tooltip = "";
     this.txt_tottaco03.DisabledBackColor = System.Drawing.Color.White;
     this.txt_tottaco03.Enabled = false;
     this.txt_tottaco03.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.txt_tottaco03.Location = new System.Drawing.Point(325, 476);
     this.txt_tottaco03.Name = "txt_tottaco03";
     this.txt_tottaco03.PreventEnterBeep = true;
     this.txt_tottaco03.Size = new System.Drawing.Size(27, 21);
     this.txt_tottaco03.TabIndex = 404;
     this.txt_tottaco03.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // txt_tottaco02
     //
     //
     //
     //
     this.txt_tottaco02.Border.BorderColor = System.Drawing.Color.Teal;
     this.txt_tottaco02.Border.Class = "TextBoxBorder";
     this.txt_tottaco02.Border.CornerDiameter = 5;
     this.txt_tottaco02.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txt_tottaco02.Border.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Far;
     this.txt_tottaco02.ButtonCustom.Tooltip = "";
     this.txt_tottaco02.ButtonCustom2.Tooltip = "";
     this.txt_tottaco02.DisabledBackColor = System.Drawing.Color.White;
     this.txt_tottaco02.Enabled = false;
     this.txt_tottaco02.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.txt_tottaco02.Location = new System.Drawing.Point(294, 476);
     this.txt_tottaco02.Name = "txt_tottaco02";
     this.txt_tottaco02.PreventEnterBeep = true;
     this.txt_tottaco02.Size = new System.Drawing.Size(27, 21);
     this.txt_tottaco02.TabIndex = 403;
     this.txt_tottaco02.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // txt_tottaco01
     //
     //
     //
     //
     this.txt_tottaco01.Border.BorderColor = System.Drawing.Color.Teal;
     this.txt_tottaco01.Border.Class = "TextBoxBorder";
     this.txt_tottaco01.Border.CornerDiameter = 5;
     this.txt_tottaco01.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.txt_tottaco01.Border.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Far;
     this.txt_tottaco01.ButtonCustom.Tooltip = "";
     this.txt_tottaco01.ButtonCustom2.Tooltip = "";
     this.txt_tottaco01.DisabledBackColor = System.Drawing.Color.White;
     this.txt_tottaco01.Enabled = false;
     this.txt_tottaco01.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.txt_tottaco01.Location = new System.Drawing.Point(264, 476);
     this.txt_tottaco01.Name = "txt_tottaco01";
     this.txt_tottaco01.PreventEnterBeep = true;
     this.txt_tottaco01.Size = new System.Drawing.Size(27, 21);
     this.txt_tottaco01.TabIndex = 402;
     this.txt_tottaco01.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // txt_observacion
     //
     this.txt_observacion.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txt_observacion.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.txt_observacion.Location = new System.Drawing.Point(684, 144);
     this.txt_observacion.MaxLength = 999999;
     this.txt_observacion.Multiline = true;
     this.txt_observacion.Name = "txt_observacion";
     this.txt_observacion.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
     this.txt_observacion.Size = new System.Drawing.Size(171, 62);
     this.txt_observacion.TabIndex = 401;
     //
     // labelControl58
     //
     this.labelControl58.Location = new System.Drawing.Point(621, 147);
     this.labelControl58.Name = "labelControl58";
     this.labelControl58.Size = new System.Drawing.Size(60, 13);
     this.labelControl58.TabIndex = 400;
     this.labelControl58.Text = "Observación";
     //
     // txt_temporadaname
     //
     this.txt_temporadaname.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txt_temporadaname.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.txt_temporadaname.Enabled = false;
     this.txt_temporadaname.Location = new System.Drawing.Point(745, 117);
     this.txt_temporadaname.MaxLength = 10;
     this.txt_temporadaname.Name = "txt_temporadaname";
     this.txt_temporadaname.Size = new System.Drawing.Size(110, 21);
     this.txt_temporadaname.TabIndex = 399;
     //
     // labelControl57
     //
     this.labelControl57.Location = new System.Drawing.Point(665, 286);
     this.labelControl57.Name = "labelControl57";
     this.labelControl57.Size = new System.Drawing.Size(66, 13);
     this.labelControl57.TabIndex = 397;
     this.labelControl57.Text = "Total Prendas";
     //
     // txt_tacotot
     //
     this.txt_tacotot.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txt_tacotot.Enabled = false;
     this.txt_tacotot.Location = new System.Drawing.Point(661, 303);
     this.txt_tacotot.MaxLength = 10;
     this.txt_tacotot.Name = "txt_tacotot";
     this.txt_tacotot.Size = new System.Drawing.Size(73, 21);
     this.txt_tacotot.TabIndex = 396;
     //
     // lbltaco12
     //
     this.lbltaco12.Location = new System.Drawing.Point(621, 288);
     this.lbltaco12.Name = "lbltaco12";
     this.lbltaco12.Size = new System.Drawing.Size(12, 13);
     this.lbltaco12.TabIndex = 383;
     this.lbltaco12.Text = "00";
     //
     // lbltaco11
     //
     this.lbltaco11.Location = new System.Drawing.Point(575, 288);
     this.lbltaco11.Name = "lbltaco11";
     this.lbltaco11.Size = new System.Drawing.Size(12, 13);
     this.lbltaco11.TabIndex = 382;
     this.lbltaco11.Text = "00";
     //
     // lbltaco10
     //
     this.lbltaco10.Location = new System.Drawing.Point(534, 288);
     this.lbltaco10.Name = "lbltaco10";
     this.lbltaco10.Size = new System.Drawing.Size(12, 13);
     this.lbltaco10.TabIndex = 381;
     this.lbltaco10.Text = "00";
     //
     // lbltaco09
     //
     this.lbltaco09.Location = new System.Drawing.Point(497, 288);
     this.lbltaco09.Name = "lbltaco09";
     this.lbltaco09.Size = new System.Drawing.Size(12, 13);
     this.lbltaco09.TabIndex = 380;
     this.lbltaco09.Text = "00";
     //
     // lbltaco08
     //
     this.lbltaco08.Location = new System.Drawing.Point(461, 288);
     this.lbltaco08.Name = "lbltaco08";
     this.lbltaco08.Size = new System.Drawing.Size(12, 13);
     this.lbltaco08.TabIndex = 379;
     this.lbltaco08.Text = "00";
     //
     // lbltaco07
     //
     this.lbltaco07.Location = new System.Drawing.Point(423, 288);
     this.lbltaco07.Name = "lbltaco07";
     this.lbltaco07.Size = new System.Drawing.Size(12, 13);
     this.lbltaco07.TabIndex = 378;
     this.lbltaco07.Text = "00";
     //
     // lbltaco06
     //
     this.lbltaco06.Location = new System.Drawing.Point(387, 288);
     this.lbltaco06.Name = "lbltaco06";
     this.lbltaco06.Size = new System.Drawing.Size(12, 13);
     this.lbltaco06.TabIndex = 377;
     this.lbltaco06.Text = "00";
     //
     // lbltaco05
     //
     this.lbltaco05.Location = new System.Drawing.Point(350, 288);
     this.lbltaco05.Name = "lbltaco05";
     this.lbltaco05.Size = new System.Drawing.Size(12, 13);
     this.lbltaco05.TabIndex = 376;
     this.lbltaco05.Text = "00";
     //
     // lbltaco04
     //
     this.lbltaco04.Location = new System.Drawing.Point(312, 288);
     this.lbltaco04.Name = "lbltaco04";
     this.lbltaco04.Size = new System.Drawing.Size(12, 13);
     this.lbltaco04.TabIndex = 375;
     this.lbltaco04.Text = "00";
     //
     // lbltaco03
     //
     this.lbltaco03.Location = new System.Drawing.Point(275, 288);
     this.lbltaco03.Name = "lbltaco03";
     this.lbltaco03.Size = new System.Drawing.Size(12, 13);
     this.lbltaco03.TabIndex = 374;
     this.lbltaco03.Text = "00";
     //
     // lbltaco02
     //
     this.lbltaco02.Location = new System.Drawing.Point(237, 288);
     this.lbltaco02.Name = "lbltaco02";
     this.lbltaco02.Size = new System.Drawing.Size(12, 13);
     this.lbltaco02.TabIndex = 373;
     this.lbltaco02.Text = "00";
     //
     // lbltaco01
     //
     this.lbltaco01.Location = new System.Drawing.Point(202, 288);
     this.lbltaco01.Name = "lbltaco01";
     this.lbltaco01.Size = new System.Drawing.Size(12, 13);
     this.lbltaco01.TabIndex = 372;
     this.lbltaco01.Text = "00";
     //
     // labelControl43
     //
     this.labelControl43.Location = new System.Drawing.Point(54, 288);
     this.labelControl43.Name = "labelControl43";
     this.labelControl43.Size = new System.Drawing.Size(25, 13);
     this.labelControl43.TabIndex = 335;
     this.labelControl43.Text = "Color";
     //
     // txt_colorname
     //
     this.txt_colorname.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txt_colorname.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.txt_colorname.Enabled = false;
     this.txt_colorname.Location = new System.Drawing.Point(54, 305);
     this.txt_colorname.MaxLength = 10;
     this.txt_colorname.Name = "txt_colorname";
     this.txt_colorname.Size = new System.Drawing.Size(136, 21);
     this.txt_colorname.TabIndex = 334;
     //
     // txt_colorid
     //
     this.txt_colorid.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txt_colorid.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.txt_colorid.Location = new System.Drawing.Point(10, 305);
     this.txt_colorid.MaxLength = 10;
     this.txt_colorid.Name = "txt_colorid";
     this.txt_colorid.Size = new System.Drawing.Size(40, 21);
     this.txt_colorid.TabIndex = 333;
     this.txt_colorid.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_colorid_KeyDown);
     this.txt_colorid.MouseDown += new System.Windows.Forms.MouseEventHandler(this.txt_colorid_MouseDown);
     //
     // labelControl44
     //
     this.labelControl44.Location = new System.Drawing.Point(12, 288);
     this.labelControl44.Name = "labelControl44";
     this.labelControl44.Size = new System.Drawing.Size(33, 13);
     this.labelControl44.TabIndex = 332;
     this.labelControl44.Text = "Codigo";
     //
     // txt_cantreal
     //
     this.txt_cantreal.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txt_cantreal.Enabled = false;
     this.txt_cantreal.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
     this.txt_cantreal.Location = new System.Drawing.Point(684, 254);
     this.txt_cantreal.MaxLength = 10;
     this.txt_cantreal.Name = "txt_cantreal";
     this.txt_cantreal.Size = new System.Drawing.Size(78, 22);
     this.txt_cantreal.TabIndex = 282;
     this.txt_cantreal.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // txt_cantprog
     //
     this.txt_cantprog.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txt_cantprog.Enabled = false;
     this.txt_cantprog.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
     this.txt_cantprog.Location = new System.Drawing.Point(684, 231);
     this.txt_cantprog.MaxLength = 10;
     this.txt_cantprog.Name = "txt_cantprog";
     this.txt_cantprog.Size = new System.Drawing.Size(78, 22);
     this.txt_cantprog.TabIndex = 281;
     this.txt_cantprog.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // labelControl36
     //
     this.labelControl36.Location = new System.Drawing.Point(688, 212);
     this.labelControl36.Name = "labelControl36";
     this.labelControl36.Size = new System.Drawing.Size(66, 13);
     this.labelControl36.TabIndex = 280;
     this.labelControl36.Text = "Total Prendas";
     //
     // txt_numref
     //
     this.txt_numref.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txt_numref.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.txt_numref.Location = new System.Drawing.Point(440, 162);
     this.txt_numref.MaxLength = 10;
     this.txt_numref.Name = "txt_numref";
     this.txt_numref.Size = new System.Drawing.Size(83, 21);
     this.txt_numref.TabIndex = 227;
     this.txt_numref.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_numref_KeyDown);
     this.txt_numref.MouseDown += new System.Windows.Forms.MouseEventHandler(this.txt_numref_MouseDown);
     //
     // txt_serref
     //
     this.txt_serref.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txt_serref.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.txt_serref.Location = new System.Drawing.Point(392, 162);
     this.txt_serref.MaxLength = 4;
     this.txt_serref.Name = "txt_serref";
     this.txt_serref.Size = new System.Drawing.Size(47, 21);
     this.txt_serref.TabIndex = 226;
     this.txt_serref.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_serref_KeyDown);
     this.txt_serref.MouseDown += new System.Windows.Forms.MouseEventHandler(this.txt_serref_MouseDown);
     //
     // txt_tipref
     //
     this.txt_tipref.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txt_tipref.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.txt_tipref.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.txt_tipref.Location = new System.Drawing.Point(364, 162);
     this.txt_tipref.MaxLength = 2;
     this.txt_tipref.Name = "txt_tipref";
     this.txt_tipref.Size = new System.Drawing.Size(27, 21);
     this.txt_tipref.TabIndex = 225;
     this.txt_tipref.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_tipref_KeyDown);
     this.txt_tipref.MouseDown += new System.Windows.Forms.MouseEventHandler(this.txt_tipref_MouseDown);
     //
     // labelControl30
     //
     this.labelControl30.Location = new System.Drawing.Point(364, 145);
     this.labelControl30.Name = "labelControl30";
     this.labelControl30.Size = new System.Drawing.Size(32, 13);
     this.labelControl30.TabIndex = 224;
     this.labelControl30.Text = "Pedido";
     //
     // labelControl29
     //
     this.labelControl29.Location = new System.Drawing.Point(79, 145);
     this.labelControl29.Name = "labelControl29";
     this.labelControl29.Size = new System.Drawing.Size(60, 13);
     this.labelControl29.TabIndex = 223;
     this.labelControl29.Text = "Razón Social";
     //
     // txt_ctactename
     //
     this.txt_ctactename.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txt_ctactename.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.txt_ctactename.Enabled = false;
     this.txt_ctactename.Location = new System.Drawing.Point(79, 162);
     this.txt_ctactename.MaxLength = 10;
     this.txt_ctactename.Name = "txt_ctactename";
     this.txt_ctactename.Size = new System.Drawing.Size(280, 21);
     this.txt_ctactename.TabIndex = 222;
     //
     // txt_ctacte
     //
     this.txt_ctacte.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txt_ctacte.Location = new System.Drawing.Point(13, 162);
     this.txt_ctacte.MaxLength = 10;
     this.txt_ctacte.Name = "txt_ctacte";
     this.txt_ctacte.Size = new System.Drawing.Size(64, 21);
     this.txt_ctacte.TabIndex = 221;
     this.txt_ctacte.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_ctacte_KeyDown);
     this.txt_ctacte.MouseDown += new System.Windows.Forms.MouseEventHandler(this.txt_ctacte_MouseDown);
     //
     // labelControl28
     //
     this.labelControl28.Location = new System.Drawing.Point(15, 145);
     this.labelControl28.Name = "labelControl28";
     this.labelControl28.Size = new System.Drawing.Size(32, 13);
     this.labelControl28.TabIndex = 220;
     this.labelControl28.Text = "Ctacte";
     //
     // labelControl27
     //
     this.labelControl27.Location = new System.Drawing.Point(364, 101);
     this.labelControl27.Name = "labelControl27";
     this.labelControl27.Size = new System.Drawing.Size(58, 13);
     this.labelControl27.TabIndex = 218;
     this.labelControl27.Text = "Canal Venta";
     //
     // labelControl26
     //
     this.labelControl26.Location = new System.Drawing.Point(15, 101);
     this.labelControl26.Name = "labelControl26";
     this.labelControl26.Size = new System.Drawing.Size(55, 13);
     this.labelControl26.TabIndex = 217;
     this.labelControl26.Text = "Familia Tela";
     //
     // txt_familiatelaname
     //
     this.txt_familiatelaname.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txt_familiatelaname.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.txt_familiatelaname.Enabled = false;
     this.txt_familiatelaname.Location = new System.Drawing.Point(13, 117);
     this.txt_familiatelaname.MaxLength = 10;
     this.txt_familiatelaname.Name = "txt_familiatelaname";
     this.txt_familiatelaname.Size = new System.Drawing.Size(346, 21);
     this.txt_familiatelaname.TabIndex = 216;
     //
     // labelControl25
     //
     this.labelControl25.Location = new System.Drawing.Point(745, 98);
     this.labelControl25.Name = "labelControl25";
     this.labelControl25.Size = new System.Drawing.Size(54, 13);
     this.labelControl25.TabIndex = 215;
     this.labelControl25.Text = "Temporada";
     //
     // labelControl24
     //
     this.labelControl24.Location = new System.Drawing.Point(635, 98);
     this.labelControl24.Name = "labelControl24";
     this.labelControl24.Size = new System.Drawing.Size(35, 13);
     this.labelControl24.TabIndex = 213;
     this.labelControl24.Text = "Genero";
     //
     // cmb_canalvta
     //
     this.cmb_canalvta.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmb_canalvta.Enabled = false;
     this.cmb_canalvta.FormattingEnabled = true;
     this.cmb_canalvta.Location = new System.Drawing.Point(362, 117);
     this.cmb_canalvta.Name = "cmb_canalvta";
     this.cmb_canalvta.Size = new System.Drawing.Size(154, 21);
     this.cmb_canalvta.TabIndex = 151;
     //
     // txt_generoname
     //
     this.txt_generoname.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txt_generoname.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.txt_generoname.Enabled = false;
     this.txt_generoname.Location = new System.Drawing.Point(633, 117);
     this.txt_generoname.MaxLength = 10;
     this.txt_generoname.Name = "txt_generoname";
     this.txt_generoname.Size = new System.Drawing.Size(110, 21);
     this.txt_generoname.TabIndex = 212;
     //
     // labelControl23
     //
     this.labelControl23.Location = new System.Drawing.Point(523, 98);
     this.labelControl23.Name = "labelControl23";
     this.labelControl23.Size = new System.Drawing.Size(25, 13);
     this.labelControl23.TabIndex = 211;
     this.labelControl23.Text = "Linea";
     //
     // txt_lineaname
     //
     this.txt_lineaname.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txt_lineaname.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.txt_lineaname.Enabled = false;
     this.txt_lineaname.Location = new System.Drawing.Point(521, 117);
     this.txt_lineaname.MaxLength = 10;
     this.txt_lineaname.Name = "txt_lineaname";
     this.txt_lineaname.Size = new System.Drawing.Size(110, 21);
     this.txt_lineaname.TabIndex = 210;
     //
     // labelControl22
     //
     this.labelControl22.Location = new System.Drawing.Point(694, 55);
     this.labelControl22.Name = "labelControl22";
     this.labelControl22.Size = new System.Drawing.Size(29, 13);
     this.labelControl22.TabIndex = 209;
     this.labelControl22.Text = "Marca";
     //
     // txt_marcaname
     //
     this.txt_marcaname.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txt_marcaname.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.txt_marcaname.Enabled = false;
     this.txt_marcaname.Location = new System.Drawing.Point(692, 74);
     this.txt_marcaname.MaxLength = 10;
     this.txt_marcaname.Name = "txt_marcaname";
     this.txt_marcaname.Size = new System.Drawing.Size(110, 21);
     this.txt_marcaname.TabIndex = 208;
     //
     // labelControl21
     //
     this.labelControl21.Location = new System.Drawing.Point(628, 55);
     this.labelControl21.Name = "labelControl21";
     this.labelControl21.Size = new System.Drawing.Size(40, 13);
     this.labelControl21.TabIndex = 207;
     this.labelControl21.Text = "Variante";
     //
     // txt_variante
     //
     this.txt_variante.BackColor = System.Drawing.SystemColors.Window;
     this.txt_variante.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txt_variante.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.txt_variante.Enabled = false;
     this.txt_variante.Location = new System.Drawing.Point(626, 74);
     this.txt_variante.MaxLength = 10;
     this.txt_variante.Name = "txt_variante";
     this.txt_variante.Size = new System.Drawing.Size(64, 21);
     this.txt_variante.TabIndex = 206;
     //
     // labelControl20
     //
     this.labelControl20.Location = new System.Drawing.Point(346, 55);
     this.labelControl20.Name = "labelControl20";
     this.labelControl20.Size = new System.Drawing.Size(36, 13);
     this.labelControl20.TabIndex = 205;
     this.labelControl20.Text = "Artículo";
     //
     // labelControl19
     //
     this.labelControl19.Location = new System.Drawing.Point(293, 55);
     this.labelControl19.Name = "labelControl19";
     this.labelControl19.Size = new System.Drawing.Size(37, 13);
     this.labelControl19.TabIndex = 204;
     this.labelControl19.Text = "Codigo:";
     //
     // txt_articname
     //
     this.txt_articname.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txt_articname.Enabled = false;
     this.txt_articname.Location = new System.Drawing.Point(343, 74);
     this.txt_articname.MaxLength = 10;
     this.txt_articname.Name = "txt_articname";
     this.txt_articname.Size = new System.Drawing.Size(280, 21);
     this.txt_articname.TabIndex = 203;
     //
     // txt_articid
     //
     this.txt_articid.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txt_articid.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.txt_articid.Location = new System.Drawing.Point(291, 74);
     this.txt_articid.MaxLength = 7;
     this.txt_articid.Name = "txt_articid";
     this.txt_articid.Size = new System.Drawing.Size(50, 21);
     this.txt_articid.TabIndex = 202;
     this.txt_articid.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_articid_KeyDown);
     this.txt_articid.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txt_articid_KeyUp);
     this.txt_articid.MouseDown += new System.Windows.Forms.MouseEventHandler(this.txt_articid_MouseDown);
     //
     // cmb_ejecutor
     //
     this.cmb_ejecutor.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmb_ejecutor.FormattingEnabled = true;
     this.cmb_ejecutor.Location = new System.Drawing.Point(702, 25);
     this.cmb_ejecutor.Name = "cmb_ejecutor";
     this.cmb_ejecutor.Size = new System.Drawing.Size(153, 21);
     this.cmb_ejecutor.TabIndex = 200;
     //
     // labelControl18
     //
     this.labelControl18.Location = new System.Drawing.Point(704, 6);
     this.labelControl18.Name = "labelControl18";
     this.labelControl18.Size = new System.Drawing.Size(40, 13);
     this.labelControl18.TabIndex = 199;
     this.labelControl18.Text = "Ejecutor";
     //
     // labelControl16
     //
     this.labelControl16.Location = new System.Drawing.Point(805, 55);
     this.labelControl16.Name = "labelControl16";
     this.labelControl16.Size = new System.Drawing.Size(19, 13);
     this.labelControl16.TabIndex = 198;
     this.labelControl16.Text = "Año";
     //
     // cmb_estado
     //
     this.cmb_estado.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmb_estado.FormattingEnabled = true;
     this.cmb_estado.Location = new System.Drawing.Point(605, 26);
     this.cmb_estado.Name = "cmb_estado";
     this.cmb_estado.Size = new System.Drawing.Size(93, 21);
     this.cmb_estado.TabIndex = 196;
     //
     // labelControl17
     //
     this.labelControl17.Location = new System.Drawing.Point(608, 7);
     this.labelControl17.Name = "labelControl17";
     this.labelControl17.Size = new System.Drawing.Size(33, 13);
     this.labelControl17.TabIndex = 195;
     this.labelControl17.Text = "Estado";
     //
     // labelControl15
     //
     this.labelControl15.Location = new System.Drawing.Point(503, 7);
     this.labelControl15.Name = "labelControl15";
     this.labelControl15.Size = new System.Drawing.Size(70, 13);
     this.labelControl15.TabIndex = 193;
     this.labelControl15.Text = "Fecha Entrega";
     //
     // txt_fechfin
     //
     this.txt_fechfin.EditValue = null;
     this.txt_fechfin.Location = new System.Drawing.Point(502, 26);
     this.txt_fechfin.MenuManager = this.barManager1;
     this.txt_fechfin.Name = "txt_fechfin";
     this.txt_fechfin.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Office2003;
     this.txt_fechfin.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.txt_fechfin.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.txt_fechfin.Properties.CalendarTimeProperties.CloseUpKey = new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.F4);
     this.txt_fechfin.Properties.CalendarTimeProperties.PopupBorderStyle = DevExpress.XtraEditors.Controls.PopupBorderStyles.Default;
     this.txt_fechfin.Size = new System.Drawing.Size(100, 20);
     this.txt_fechfin.TabIndex = 192;
     //
     // labelControl14
     //
     this.labelControl14.Location = new System.Drawing.Point(398, 7);
     this.labelControl14.Name = "labelControl14";
     this.labelControl14.Size = new System.Drawing.Size(57, 13);
     this.labelControl14.TabIndex = 191;
     this.labelControl14.Text = "Fecha Inicio";
     //
     // txt_fechini
     //
     this.txt_fechini.EditValue = null;
     this.txt_fechini.Location = new System.Drawing.Point(396, 26);
     this.txt_fechini.MenuManager = this.barManager1;
     this.txt_fechini.Name = "txt_fechini";
     this.txt_fechini.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Office2003;
     this.txt_fechini.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.txt_fechini.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.txt_fechini.Properties.CalendarTimeProperties.CloseUpKey = new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.F4);
     this.txt_fechini.Properties.CalendarTimeProperties.PopupBorderStyle = DevExpress.XtraEditors.Controls.PopupBorderStyles.Default;
     this.txt_fechini.Size = new System.Drawing.Size(100, 20);
     this.txt_fechini.TabIndex = 190;
     //
     // labelControl13
     //
     this.labelControl13.Location = new System.Drawing.Point(292, 7);
     this.labelControl13.Name = "labelControl13";
     this.labelControl13.Size = new System.Drawing.Size(67, 13);
     this.labelControl13.TabIndex = 189;
     this.labelControl13.Text = "Fecha Emisión";
     //
     // txt_fechemi
     //
     this.txt_fechemi.EditValue = null;
     this.txt_fechemi.Location = new System.Drawing.Point(290, 26);
     this.txt_fechemi.MenuManager = this.barManager1;
     this.txt_fechemi.Name = "txt_fechemi";
     this.txt_fechemi.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Office2003;
     this.txt_fechemi.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.txt_fechemi.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.txt_fechemi.Properties.CalendarTimeProperties.CloseUpKey = new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.F4);
     this.txt_fechemi.Properties.CalendarTimeProperties.PopupBorderStyle = DevExpress.XtraEditors.Controls.PopupBorderStyles.Default;
     this.txt_fechemi.Size = new System.Drawing.Size(100, 20);
     this.txt_fechemi.TabIndex = 188;
     //
     // cmb_perianio
     //
     this.cmb_perianio.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmb_perianio.Enabled = false;
     this.cmb_perianio.FormattingEnabled = true;
     this.cmb_perianio.Location = new System.Drawing.Point(804, 73);
     this.cmb_perianio.Name = "cmb_perianio";
     this.cmb_perianio.Size = new System.Drawing.Size(52, 21);
     this.cmb_perianio.TabIndex = 147;
     //
     // tab_03
     //
     this.tab_03.Controls.Add(this.panelControl1);
     this.tab_03.Name = "tab_03";
     this.tab_03.Size = new System.Drawing.Size(888, 506);
     this.tab_03.Text = "Procesos";
     //
     // panelControl1
     //
     this.panelControl1.Controls.Add(this.pnl_edit2);
     this.panelControl1.Controls.Add(this.txt_serop03);
     this.panelControl1.Controls.Add(this.txt_tipop03);
     this.panelControl1.Controls.Add(this.txt_numop03);
     this.panelControl1.Controls.Add(this.pnl_edit);
     this.panelControl1.Controls.Add(this.btn_new);
     this.panelControl1.Controls.Add(this.btn_save);
     this.panelControl1.Controls.Add(this.line1);
     this.panelControl1.Controls.Add(this.labelControl3);
     this.panelControl1.Controls.Add(this.labelControl2);
     this.panelControl1.Controls.Add(this.labelControl1);
     this.panelControl1.Controls.Add(this.btn_cancel);
     this.panelControl1.Controls.Add(this.btn_delete);
     this.panelControl1.Controls.Add(this.btn_edit);
     this.panelControl1.Controls.Add(this.dgv_ordenprodfase);
     this.panelControl1.Controls.Add(this.btn_add2);
     this.panelControl1.Location = new System.Drawing.Point(3, 3);
     this.panelControl1.Name = "panelControl1";
     this.panelControl1.Size = new System.Drawing.Size(879, 582);
     this.panelControl1.TabIndex = 405;
     //
     // pnl_edit2
     //
     this.pnl_edit2.Controls.Add(this.txt_fechentrega03);
     this.pnl_edit2.Controls.Add(this.txt_ctactename03);
     this.pnl_edit2.Controls.Add(this.labelControl39);
     this.pnl_edit2.Controls.Add(this.txt_fechini03);
     this.pnl_edit2.Controls.Add(this.labelControl40);
     this.pnl_edit2.Controls.Add(this.labelControl42);
     this.pnl_edit2.Controls.Add(this.txt_ctacte03);
     this.pnl_edit2.Controls.Add(this.labelControl41);
     this.pnl_edit2.Enabled = false;
     this.pnl_edit2.Location = new System.Drawing.Point(176, 66);
     this.pnl_edit2.Name = "pnl_edit2";
     this.pnl_edit2.Size = new System.Drawing.Size(659, 49);
     this.pnl_edit2.TabIndex = 452;
     //
     // txt_fechentrega03
     //
     this.txt_fechentrega03.EditValue = null;
     this.txt_fechentrega03.Location = new System.Drawing.Point(463, 24);
     this.txt_fechentrega03.MenuManager = this.barManager1;
     this.txt_fechentrega03.Name = "txt_fechentrega03";
     this.txt_fechentrega03.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.txt_fechentrega03.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.txt_fechentrega03.Properties.CalendarTimeProperties.CloseUpKey = new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.F4);
     this.txt_fechentrega03.Properties.CalendarTimeProperties.PopupBorderStyle = DevExpress.XtraEditors.Controls.PopupBorderStyles.Default;
     this.txt_fechentrega03.Size = new System.Drawing.Size(100, 20);
     this.txt_fechentrega03.TabIndex = 329;
     //
     // txt_ctactename03
     //
     this.txt_ctactename03.Location = new System.Drawing.Point(70, 23);
     this.txt_ctactename03.MaxLength = 10;
     this.txt_ctactename03.Name = "txt_ctactename03";
     this.txt_ctactename03.Size = new System.Drawing.Size(285, 21);
     this.txt_ctactename03.TabIndex = 325;
     //
     // labelControl39
     //
     this.labelControl39.Location = new System.Drawing.Point(73, 6);
     this.labelControl39.Name = "labelControl39";
     this.labelControl39.Size = new System.Drawing.Size(60, 13);
     this.labelControl39.TabIndex = 326;
     this.labelControl39.Text = "Razón Social";
     //
     // txt_fechini03
     //
     this.txt_fechini03.EditValue = null;
     this.txt_fechini03.Location = new System.Drawing.Point(361, 24);
     this.txt_fechini03.MenuManager = this.barManager1;
     this.txt_fechini03.Name = "txt_fechini03";
     this.txt_fechini03.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.txt_fechini03.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.txt_fechini03.Properties.CalendarTimeProperties.CloseUpKey = new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.F4);
     this.txt_fechini03.Properties.CalendarTimeProperties.PopupBorderStyle = DevExpress.XtraEditors.Controls.PopupBorderStyles.Default;
     this.txt_fechini03.Size = new System.Drawing.Size(100, 20);
     this.txt_fechini03.TabIndex = 327;
     //
     // labelControl40
     //
     this.labelControl40.Location = new System.Drawing.Point(6, 6);
     this.labelControl40.Name = "labelControl40";
     this.labelControl40.Size = new System.Drawing.Size(32, 13);
     this.labelControl40.TabIndex = 323;
     this.labelControl40.Text = "Ctacte";
     //
     // labelControl42
     //
     this.labelControl42.Location = new System.Drawing.Point(361, 6);
     this.labelControl42.Name = "labelControl42";
     this.labelControl42.Size = new System.Drawing.Size(57, 13);
     this.labelControl42.TabIndex = 328;
     this.labelControl42.Text = "Fecha Inicio";
     //
     // txt_ctacte03
     //
     this.txt_ctacte03.Location = new System.Drawing.Point(4, 23);
     this.txt_ctacte03.MaxLength = 10;
     this.txt_ctacte03.Name = "txt_ctacte03";
     this.txt_ctacte03.Size = new System.Drawing.Size(64, 21);
     this.txt_ctacte03.TabIndex = 324;
     this.txt_ctacte03.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_ctacte03_KeyDown);
     //
     // labelControl41
     //
     this.labelControl41.Location = new System.Drawing.Point(463, 6);
     this.labelControl41.Name = "labelControl41";
     this.labelControl41.Size = new System.Drawing.Size(70, 13);
     this.labelControl41.TabIndex = 330;
     this.labelControl41.Text = "Fecha Entrega";
     //
     // txt_serop03
     //
     this.txt_serop03.Appearance.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold);
     this.txt_serop03.Appearance.ForeColor = System.Drawing.Color.Red;
     this.txt_serop03.Location = new System.Drawing.Point(45, 22);
     this.txt_serop03.Name = "txt_serop03";
     this.txt_serop03.Size = new System.Drawing.Size(33, 16);
     this.txt_serop03.TabIndex = 451;
     this.txt_serop03.Text = "____";
     //
     // txt_tipop03
     //
     this.txt_tipop03.Appearance.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold);
     this.txt_tipop03.Appearance.ForeColor = System.Drawing.Color.Red;
     this.txt_tipop03.Location = new System.Drawing.Point(18, 22);
     this.txt_tipop03.Name = "txt_tipop03";
     this.txt_tipop03.Size = new System.Drawing.Size(17, 16);
     this.txt_tipop03.TabIndex = 450;
     this.txt_tipop03.Text = "__";
     //
     // txt_numop03
     //
     this.txt_numop03.Appearance.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold);
     this.txt_numop03.Appearance.ForeColor = System.Drawing.Color.Red;
     this.txt_numop03.Location = new System.Drawing.Point(85, 22);
     this.txt_numop03.Name = "txt_numop03";
     this.txt_numop03.Size = new System.Drawing.Size(81, 16);
     this.txt_numop03.TabIndex = 449;
     this.txt_numop03.Text = "__________";
     //
     // pnl_edit
     //
     this.pnl_edit.Controls.Add(this.cmb_fase);
     this.pnl_edit.Controls.Add(this.labelControl38);
     this.pnl_edit.Controls.Add(this.txt_secuencia);
     this.pnl_edit.Controls.Add(this.labelControl37);
     this.pnl_edit.Enabled = false;
     this.pnl_edit.Location = new System.Drawing.Point(8, 66);
     this.pnl_edit.Name = "pnl_edit";
     this.pnl_edit.Size = new System.Drawing.Size(166, 49);
     this.pnl_edit.TabIndex = 448;
     //
     // cmb_fase
     //
     this.cmb_fase.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmb_fase.FormattingEnabled = true;
     this.cmb_fase.Location = new System.Drawing.Point(66, 20);
     this.cmb_fase.Name = "cmb_fase";
     this.cmb_fase.Size = new System.Drawing.Size(93, 21);
     this.cmb_fase.TabIndex = 320;
     //
     // labelControl38
     //
     this.labelControl38.Location = new System.Drawing.Point(66, 3);
     this.labelControl38.Name = "labelControl38";
     this.labelControl38.Size = new System.Drawing.Size(65, 13);
     this.labelControl38.TabIndex = 322;
     this.labelControl38.Text = "Proceso/Fase";
     //
     // txt_secuencia
     //
     this.txt_secuencia.Location = new System.Drawing.Point(6, 20);
     this.txt_secuencia.Name = "txt_secuencia";
     this.txt_secuencia.Size = new System.Drawing.Size(41, 21);
     this.txt_secuencia.TabIndex = 321;
     //
     // labelControl37
     //
     this.labelControl37.Location = new System.Drawing.Point(6, 3);
     this.labelControl37.Name = "labelControl37";
     this.labelControl37.Size = new System.Drawing.Size(48, 13);
     this.labelControl37.TabIndex = 319;
     this.labelControl37.Text = "Secuencia";
     //
     // btn_new
     //
     this.btn_new.Cursor = System.Windows.Forms.Cursors.Hand;
     this.btn_new.Image = ((System.Drawing.Image)(resources.GetObject("btn_new.Image")));
     this.btn_new.Location = new System.Drawing.Point(528, 121);
     this.btn_new.Name = "btn_new";
     this.btn_new.Size = new System.Drawing.Size(59, 23);
     this.btn_new.TabIndex = 447;
     this.btn_new.Text = "Nuevo";
     this.btn_new.ToolTipIconType = DevExpress.Utils.ToolTipIconType.Information;
     this.btn_new.Click += new System.EventHandler(this.btn_new_Click);
     //
     // btn_save
     //
     this.btn_save.Cursor = System.Windows.Forms.Cursors.Hand;
     this.btn_save.Enabled = false;
     this.btn_save.Image = ((System.Drawing.Image)(resources.GetObject("btn_save.Image")));
     this.btn_save.Location = new System.Drawing.Point(650, 121);
     this.btn_save.Name = "btn_save";
     this.btn_save.Size = new System.Drawing.Size(59, 23);
     this.btn_save.TabIndex = 446;
     this.btn_save.Text = "Grabar";
     this.btn_save.ToolTipIconType = DevExpress.Utils.ToolTipIconType.Information;
     this.btn_save.Click += new System.EventHandler(this.btn_save_Click);
     //
     // line1
     //
     this.line1.Location = new System.Drawing.Point(8, 47);
     this.line1.Name = "line1";
     this.line1.Size = new System.Drawing.Size(827, 13);
     this.line1.TabIndex = 444;
     this.line1.Text = "line1";
     //
     // labelControl3
     //
     this.labelControl3.Location = new System.Drawing.Point(45, 7);
     this.labelControl3.Name = "labelControl3";
     this.labelControl3.Size = new System.Drawing.Size(30, 13);
     this.labelControl3.TabIndex = 443;
     this.labelControl3.Text = "SerOp";
     //
     // labelControl2
     //
     this.labelControl2.Location = new System.Drawing.Point(85, 7);
     this.labelControl2.Name = "labelControl2";
     this.labelControl2.Size = new System.Drawing.Size(35, 13);
     this.labelControl2.TabIndex = 441;
     this.labelControl2.Text = "NumOp";
     //
     // labelControl1
     //
     this.labelControl1.Location = new System.Drawing.Point(13, 7);
     this.labelControl1.Name = "labelControl1";
     this.labelControl1.Size = new System.Drawing.Size(28, 13);
     this.labelControl1.TabIndex = 440;
     this.labelControl1.Text = "TipOp";
     //
     // btn_cancel
     //
     this.btn_cancel.Cursor = System.Windows.Forms.Cursors.Hand;
     this.btn_cancel.Enabled = false;
     this.btn_cancel.Image = ((System.Drawing.Image)(resources.GetObject("btn_cancel.Image")));
     this.btn_cancel.Location = new System.Drawing.Point(711, 121);
     this.btn_cancel.Name = "btn_cancel";
     this.btn_cancel.Size = new System.Drawing.Size(59, 23);
     this.btn_cancel.TabIndex = 437;
     this.btn_cancel.Text = "Cancel";
     this.btn_cancel.ToolTipIconType = DevExpress.Utils.ToolTipIconType.Information;
     this.btn_cancel.Click += new System.EventHandler(this.btn_cancel_Click);
     //
     // btn_delete
     //
     this.btn_delete.Cursor = System.Windows.Forms.Cursors.Hand;
     this.btn_delete.Enabled = false;
     this.btn_delete.Image = ((System.Drawing.Image)(resources.GetObject("btn_delete.Image")));
     this.btn_delete.Location = new System.Drawing.Point(776, 121);
     this.btn_delete.Name = "btn_delete";
     this.btn_delete.Size = new System.Drawing.Size(59, 23);
     this.btn_delete.TabIndex = 436;
     this.btn_delete.Text = "Borrar";
     this.btn_delete.ToolTipIconType = DevExpress.Utils.ToolTipIconType.Information;
     this.btn_delete.Click += new System.EventHandler(this.btn_delete_Click);
     //
     // btn_edit
     //
     this.btn_edit.Cursor = System.Windows.Forms.Cursors.Hand;
     this.btn_edit.Enabled = false;
     this.btn_edit.Image = ((System.Drawing.Image)(resources.GetObject("btn_edit.Image")));
     this.btn_edit.Location = new System.Drawing.Point(589, 121);
     this.btn_edit.Name = "btn_edit";
     this.btn_edit.Size = new System.Drawing.Size(59, 23);
     this.btn_edit.TabIndex = 434;
     this.btn_edit.Text = "Editar";
     this.btn_edit.ToolTipIconType = DevExpress.Utils.ToolTipIconType.Information;
     this.btn_edit.Click += new System.EventHandler(this.btn_edit_Click);
     //
     // dgv_ordenprodfase
     //
     this.dgv_ordenprodfase.AllowUserToAddRows = false;
     dataGridViewCellStyle89.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle89.BackColor = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle89.Font = new System.Drawing.Font("Tahoma", 8.25F);
     dataGridViewCellStyle89.ForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle89.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle89.SelectionForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle89.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.dgv_ordenprodfase.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle89;
     this.dgv_ordenprodfase.ColumnHeadersHeight = 20;
     this.dgv_ordenprodfase.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this._tipop,
     this._serop,
     this._numop,
     this.secuencia,
     this.faseid,
     this.fasename,
     this.ctacte,
     this.ctactename,
     this.fechprog_ini,
     this.fechprog_fin});
     dataGridViewCellStyle90.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle90.BackColor = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle90.Font = new System.Drawing.Font("Tahoma", 8.25F);
     dataGridViewCellStyle90.ForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle90.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle90.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     dataGridViewCellStyle90.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
     this.dgv_ordenprodfase.DefaultCellStyle = dataGridViewCellStyle90;
     this.dgv_ordenprodfase.EnableHeadersVisualStyles = false;
     this.dgv_ordenprodfase.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.dgv_ordenprodfase.Location = new System.Drawing.Point(9, 150);
     this.dgv_ordenprodfase.Name = "dgv_ordenprodfase";
     this.dgv_ordenprodfase.ReadOnly = true;
     dataGridViewCellStyle91.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle91.BackColor = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle91.Font = new System.Drawing.Font("Tahoma", 8.25F);
     dataGridViewCellStyle91.ForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle91.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle91.SelectionForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle91.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.dgv_ordenprodfase.RowHeadersDefaultCellStyle = dataGridViewCellStyle91;
     this.dgv_ordenprodfase.RowHeadersVisible = false;
     this.dgv_ordenprodfase.Size = new System.Drawing.Size(826, 224);
     this.dgv_ordenprodfase.TabIndex = 432;
     this.dgv_ordenprodfase.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgv_ordenprodfase_CellClick);
     this.dgv_ordenprodfase.KeyUp += new System.Windows.Forms.KeyEventHandler(this.dgv_ordenprodfase_KeyUp);
     //
     // _tipop
     //
     this._tipop.DataPropertyName = "tipop";
     this._tipop.HeaderText = "tipop";
     this._tipop.Name = "_tipop";
     this._tipop.ReadOnly = true;
     this._tipop.Visible = false;
     //
     // _serop
     //
     this._serop.DataPropertyName = "serop";
     this._serop.HeaderText = "serop";
     this._serop.Name = "_serop";
     this._serop.ReadOnly = true;
     this._serop.Visible = false;
     //
     // _numop
     //
     this._numop.DataPropertyName = "numop";
     this._numop.HeaderText = "numop";
     this._numop.Name = "_numop";
     this._numop.ReadOnly = true;
     this._numop.Visible = false;
     //
     // secuencia
     //
     this.secuencia.DataPropertyName = "secuencia";
     this.secuencia.HeaderText = "Secuencia";
     this.secuencia.Name = "secuencia";
     this.secuencia.ReadOnly = true;
     this.secuencia.Width = 70;
     //
     // faseid
     //
     this.faseid.DataPropertyName = "faseid";
     this.faseid.HeaderText = "Codigo";
     this.faseid.Name = "faseid";
     this.faseid.ReadOnly = true;
     this.faseid.Width = 50;
     //
     // fasename
     //
     this.fasename.DataPropertyName = "fasename";
     this.fasename.HeaderText = "Proceso";
     this.fasename.Name = "fasename";
     this.fasename.ReadOnly = true;
     this.fasename.Width = 120;
     //
     // ctacte
     //
     this.ctacte.DataPropertyName = "ctacte";
     this.ctacte.HeaderText = "CtaCte";
     this.ctacte.Name = "ctacte";
     this.ctacte.ReadOnly = true;
     this.ctacte.Width = 80;
     //
     // ctactename
     //
     this.ctactename.DataPropertyName = "ctactename";
     this.ctactename.HeaderText = "Razón Social";
     this.ctactename.Name = "ctactename";
     this.ctactename.ReadOnly = true;
     this.ctactename.Width = 300;
     //
     // fechprog_ini
     //
     this.fechprog_ini.DataPropertyName = "fechprog_ini";
     this.fechprog_ini.HeaderText = "Fecha Inicio";
     this.fechprog_ini.Name = "fechprog_ini";
     this.fechprog_ini.ReadOnly = true;
     this.fechprog_ini.Width = 80;
     //
     // fechprog_fin
     //
     this.fechprog_fin.DataPropertyName = "fechprog_fin";
     this.fechprog_fin.HeaderText = "Fecha Entrega";
     this.fechprog_fin.Name = "fechprog_fin";
     this.fechprog_fin.ReadOnly = true;
     this.fechprog_fin.Width = 90;
     //
     // btn_add2
     //
     this.btn_add2.Cursor = System.Windows.Forms.Cursors.Hand;
     this.btn_add2.Image = ((System.Drawing.Image)(resources.GetObject("btn_add2.Image")));
     this.btn_add2.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleLeft;
     this.btn_add2.Location = new System.Drawing.Point(773, 183);
     this.btn_add2.Name = "btn_add2";
     this.btn_add2.Size = new System.Drawing.Size(45, 23);
     this.btn_add2.TabIndex = 430;
     this.btn_add2.Text = "Add";
     this.btn_add2.ToolTip = "Adicionar";
     this.btn_add2.ToolTipIconType = DevExpress.Utils.ToolTipIconType.Information;
     this.btn_add2.Visible = false;
     this.btn_add2.Click += new System.EventHandler(this.btn_add2_Click);
     //
     // tab_04
     //
     this.tab_04.Controls.Add(this.panelControl6);
     this.tab_04.Name = "tab_04";
     this.tab_04.Size = new System.Drawing.Size(888, 506);
     this.tab_04.Text = "Materiales Telas";
     //
     // panelControl6
     //
     this.panelControl6.Controls.Add(this.btn_del);
     this.panelControl6.Controls.Add(this.txt_ltizado);
     this.panelControl6.Controls.Add(this.labelControl51);
     this.panelControl6.Controls.Add(this.labelControl50);
     this.panelControl6.Controls.Add(this.txt_parte);
     this.panelControl6.Controls.Add(this.txt_productname1);
     this.panelControl6.Controls.Add(this.btn_generar);
     this.panelControl6.Controls.Add(this.labelControl35);
     this.panelControl6.Controls.Add(this.txt_tolerancia);
     this.panelControl6.Controls.Add(this.labelControl33);
     this.panelControl6.Controls.Add(this.txt_numpanos);
     this.panelControl6.Controls.Add(this.labelControl32);
     this.panelControl6.Controls.Add(this.txt_prendpanos);
     this.panelControl6.Controls.Add(this.labelControl31);
     this.panelControl6.Controls.Add(this.xtraScrollableControl1);
     this.panelControl6.Controls.Add(this.pnl_edit2Ma);
     this.panelControl6.Controls.Add(this.txt_serop04);
     this.panelControl6.Controls.Add(this.txt_tipop04);
     this.panelControl6.Controls.Add(this.txt_numop04);
     this.panelControl6.Controls.Add(this.pnl_editMa);
     this.panelControl6.Controls.Add(this.btn_newMa);
     this.panelControl6.Controls.Add(this.btn_saveMa);
     this.panelControl6.Controls.Add(this.line2);
     this.panelControl6.Controls.Add(this.labelControl45);
     this.panelControl6.Controls.Add(this.labelControl46);
     this.panelControl6.Controls.Add(this.labelControl47);
     this.panelControl6.Controls.Add(this.btn_cancelMa);
     this.panelControl6.Controls.Add(this.btn_deleteMa);
     this.panelControl6.Controls.Add(this.btn_editMa);
     this.panelControl6.Controls.Add(this.dgv_ordenprodtela);
     this.panelControl6.Controls.Add(this.simpleButton6);
     this.panelControl6.Location = new System.Drawing.Point(3, 3);
     this.panelControl6.Name = "panelControl6";
     this.panelControl6.Size = new System.Drawing.Size(879, 582);
     this.panelControl6.TabIndex = 406;
     //
     // btn_del
     //
     this.btn_del.Cursor = System.Windows.Forms.Cursors.Hand;
     this.btn_del.Image = ((System.Drawing.Image)(resources.GetObject("btn_del.Image")));
     this.btn_del.Location = new System.Drawing.Point(794, 258);
     this.btn_del.Name = "btn_del";
     this.btn_del.Size = new System.Drawing.Size(41, 32);
     this.btn_del.TabIndex = 526;
     this.btn_del.ToolTip = "Eliminar Calculo de Consumo";
     this.btn_del.ToolTipIconType = DevExpress.Utils.ToolTipIconType.Information;
     this.btn_del.Click += new System.EventHandler(this.btn_del_Click);
     //
     // txt_ltizado
     //
     this.txt_ltizado.EditValue = "0";
     this.txt_ltizado.Location = new System.Drawing.Point(384, 270);
     this.txt_ltizado.MenuManager = this.barManager1;
     this.txt_ltizado.Name = "txt_ltizado";
     this.txt_ltizado.Properties.Appearance.BackColor = System.Drawing.Color.Yellow;
     this.txt_ltizado.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.txt_ltizado.Properties.Appearance.Options.UseBackColor = true;
     this.txt_ltizado.Properties.Appearance.Options.UseFont = true;
     this.txt_ltizado.Properties.Appearance.Options.UseTextOptions = true;
     this.txt_ltizado.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.txt_ltizado.Properties.Mask.EditMask = "n3";
     this.txt_ltizado.Size = new System.Drawing.Size(65, 20);
     this.txt_ltizado.TabIndex = 525;
     //
     // labelControl51
     //
     this.labelControl51.Location = new System.Drawing.Point(114, 253);
     this.labelControl51.Name = "labelControl51";
     this.labelControl51.Size = new System.Drawing.Size(58, 13);
     this.labelControl51.TabIndex = 524;
     this.labelControl51.Text = "Descripción:";
     //
     // labelControl50
     //
     this.labelControl50.Location = new System.Drawing.Point(11, 253);
     this.labelControl50.Name = "labelControl50";
     this.labelControl50.Size = new System.Drawing.Size(67, 13);
     this.labelControl50.TabIndex = 523;
     this.labelControl50.Text = "Parte Prenda:";
     //
     // txt_parte
     //
     this.txt_parte.BackColor = System.Drawing.SystemColors.Window;
     this.txt_parte.Enabled = false;
     this.txt_parte.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(31)))), ((int)(((byte)(53)))));
     this.txt_parte.Location = new System.Drawing.Point(9, 270);
     this.txt_parte.MaxLength = 10;
     this.txt_parte.Name = "txt_parte";
     this.txt_parte.Size = new System.Drawing.Size(101, 21);
     this.txt_parte.TabIndex = 522;
     this.txt_parte.TextChanged += new System.EventHandler(this.txt_parte_TextChanged);
     //
     // txt_productname1
     //
     this.txt_productname1.BackColor = System.Drawing.SystemColors.Window;
     this.txt_productname1.Enabled = false;
     this.txt_productname1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(31)))), ((int)(((byte)(53)))));
     this.txt_productname1.Location = new System.Drawing.Point(114, 270);
     this.txt_productname1.MaxLength = 10;
     this.txt_productname1.Name = "txt_productname1";
     this.txt_productname1.Size = new System.Drawing.Size(257, 21);
     this.txt_productname1.TabIndex = 521;
     this.txt_productname1.TextChanged += new System.EventHandler(this.txt_productname1_TextChanged);
     //
     // btn_generar
     //
     this.btn_generar.Cursor = System.Windows.Forms.Cursors.Hand;
     this.btn_generar.Enabled = false;
     this.btn_generar.Image = global::BapFormulariosNet.Properties.Resources.go_calc;
     this.btn_generar.Location = new System.Drawing.Point(706, 258);
     this.btn_generar.Name = "btn_generar";
     this.btn_generar.Size = new System.Drawing.Size(87, 32);
     this.btn_generar.TabIndex = 519;
     this.btn_generar.Text = "Calcular";
     this.btn_generar.ToolTip = "Calcular Consumos";
     this.btn_generar.ToolTipIconType = DevExpress.Utils.ToolTipIconType.Information;
     this.btn_generar.Click += new System.EventHandler(this.btn_generar_Click);
     //
     // labelControl35
     //
     this.labelControl35.Location = new System.Drawing.Point(633, 253);
     this.labelControl35.Name = "labelControl35";
     this.labelControl35.Size = new System.Drawing.Size(67, 13);
     this.labelControl35.TabIndex = 518;
     this.labelControl35.Text = "% Tolerancia:";
     //
     // txt_tolerancia
     //
     this.txt_tolerancia.EditValue = "0";
     this.txt_tolerancia.Location = new System.Drawing.Point(631, 270);
     this.txt_tolerancia.MenuManager = this.barManager1;
     this.txt_tolerancia.Name = "txt_tolerancia";
     this.txt_tolerancia.Properties.Appearance.BackColor = System.Drawing.Color.Yellow;
     this.txt_tolerancia.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.txt_tolerancia.Properties.Appearance.Options.UseBackColor = true;
     this.txt_tolerancia.Properties.Appearance.Options.UseFont = true;
     this.txt_tolerancia.Properties.Appearance.Options.UseTextOptions = true;
     this.txt_tolerancia.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.txt_tolerancia.Properties.Mask.EditMask = "n3";
     this.txt_tolerancia.Size = new System.Drawing.Size(69, 20);
     this.txt_tolerancia.TabIndex = 517;
     //
     // labelControl33
     //
     this.labelControl33.Location = new System.Drawing.Point(547, 253);
     this.labelControl33.Name = "labelControl33";
     this.labelControl33.Size = new System.Drawing.Size(73, 13);
     this.labelControl33.TabIndex = 516;
     this.labelControl33.Text = "Numero Paños:";
     //
     // txt_numpanos
     //
     this.txt_numpanos.EditValue = "0";
     this.txt_numpanos.Location = new System.Drawing.Point(545, 270);
     this.txt_numpanos.MenuManager = this.barManager1;
     this.txt_numpanos.Name = "txt_numpanos";
     this.txt_numpanos.Properties.Appearance.BackColor = System.Drawing.Color.Yellow;
     this.txt_numpanos.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.txt_numpanos.Properties.Appearance.Options.UseBackColor = true;
     this.txt_numpanos.Properties.Appearance.Options.UseFont = true;
     this.txt_numpanos.Properties.Appearance.Options.UseTextOptions = true;
     this.txt_numpanos.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.txt_numpanos.Properties.Mask.EditMask = "n3";
     this.txt_numpanos.Size = new System.Drawing.Size(75, 20);
     this.txt_numpanos.TabIndex = 515;
     //
     // labelControl32
     //
     this.labelControl32.Location = new System.Drawing.Point(461, 253);
     this.labelControl32.Name = "labelControl32";
     this.labelControl32.Size = new System.Drawing.Size(74, 13);
     this.labelControl32.TabIndex = 514;
     this.labelControl32.Text = "Prenda x Paño:";
     //
     // txt_prendpanos
     //
     this.txt_prendpanos.EditValue = "0";
     this.txt_prendpanos.Location = new System.Drawing.Point(459, 270);
     this.txt_prendpanos.MenuManager = this.barManager1;
     this.txt_prendpanos.Name = "txt_prendpanos";
     this.txt_prendpanos.Properties.Appearance.BackColor = System.Drawing.Color.Yellow;
     this.txt_prendpanos.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.txt_prendpanos.Properties.Appearance.Options.UseBackColor = true;
     this.txt_prendpanos.Properties.Appearance.Options.UseFont = true;
     this.txt_prendpanos.Properties.Appearance.Options.UseTextOptions = true;
     this.txt_prendpanos.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.txt_prendpanos.Properties.Mask.EditMask = "n3";
     this.txt_prendpanos.Size = new System.Drawing.Size(76, 20);
     this.txt_prendpanos.TabIndex = 513;
     //
     // labelControl31
     //
     this.labelControl31.Location = new System.Drawing.Point(384, 253);
     this.labelControl31.Name = "labelControl31";
     this.labelControl31.Size = new System.Drawing.Size(65, 13);
     this.labelControl31.TabIndex = 512;
     this.labelControl31.Text = "Largo Tizado:";
     //
     // xtraScrollableControl1
     //
     this.xtraScrollableControl1.Controls.Add(this.labelControl48);
     this.xtraScrollableControl1.Controls.Add(this.labelControl49);
     this.xtraScrollableControl1.Controls.Add(this.dgv_consumoreal);
     this.xtraScrollableControl1.Controls.Add(this.dgv_calconsumo);
     this.xtraScrollableControl1.Location = new System.Drawing.Point(8, 298);
     this.xtraScrollableControl1.Name = "xtraScrollableControl1";
     this.xtraScrollableControl1.Size = new System.Drawing.Size(862, 202);
     this.xtraScrollableControl1.TabIndex = 453;
     //
     // labelControl48
     //
     this.labelControl48.Appearance.Font = new System.Drawing.Font("Papyrus", 12F, System.Drawing.FontStyle.Bold);
     this.labelControl48.Appearance.ForeColor = System.Drawing.Color.Teal;
     this.labelControl48.LineColor = System.Drawing.SystemColors.ActiveBorder;
     this.labelControl48.Location = new System.Drawing.Point(3, 18);
     this.labelControl48.Name = "labelControl48";
     this.labelControl48.Size = new System.Drawing.Size(165, 25);
     this.labelControl48.TabIndex = 521;
     this.labelControl48.Text = "Calculo de Consumo";
     //
     // labelControl49
     //
     this.labelControl49.Appearance.Font = new System.Drawing.Font("Papyrus", 12F, System.Drawing.FontStyle.Bold);
     this.labelControl49.Appearance.ForeColor = System.Drawing.Color.Teal;
     this.labelControl49.LineColor = System.Drawing.SystemColors.ActiveBorder;
     this.labelControl49.Location = new System.Drawing.Point(2, 177);
     this.labelControl49.Name = "labelControl49";
     this.labelControl49.Size = new System.Drawing.Size(116, 25);
     this.labelControl49.TabIndex = 508;
     this.labelControl49.Text = "Consumo Real";
     //
     // dgv_consumoreal
     //
     this.dgv_consumoreal.AllowUserToAddRows = false;
     dataGridViewCellStyle92.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle92.BackColor = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle92.Font = new System.Drawing.Font("Tahoma", 8.25F);
     dataGridViewCellStyle92.ForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle92.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle92.SelectionForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle92.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.dgv_consumoreal.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle92;
     this.dgv_consumoreal.ColumnHeadersHeight = 20;
     this.dgv_consumoreal.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.partepdaid_det,
     this.partepdaname_det,
     this.productid_det,
     this.productname_det,
     this.canthabilitada,
     this.pdaproyectotal,
     this.cantreal,
     this.mermacalculada,
     this.porcenmerma,
     this.consumreal,
     this.umed_det});
     dataGridViewCellStyle100.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle100.BackColor = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle100.Font = new System.Drawing.Font("Tahoma", 8.25F);
     dataGridViewCellStyle100.ForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle100.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle100.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     dataGridViewCellStyle100.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
     this.dgv_consumoreal.DefaultCellStyle = dataGridViewCellStyle100;
     this.dgv_consumoreal.EnableHeadersVisualStyles = false;
     this.dgv_consumoreal.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.dgv_consumoreal.Location = new System.Drawing.Point(0, 204);
     this.dgv_consumoreal.Name = "dgv_consumoreal";
     this.dgv_consumoreal.ReadOnly = true;
     dataGridViewCellStyle101.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle101.BackColor = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle101.Font = new System.Drawing.Font("Tahoma", 8.25F);
     dataGridViewCellStyle101.ForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle101.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle101.SelectionForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle101.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.dgv_consumoreal.RowHeadersDefaultCellStyle = dataGridViewCellStyle101;
     this.dgv_consumoreal.RowHeadersVisible = false;
     this.dgv_consumoreal.Size = new System.Drawing.Size(827, 135);
     this.dgv_consumoreal.TabIndex = 434;
     this.dgv_consumoreal.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgv_consumoreal_CellClick);
     //
     // partepdaid_det
     //
     this.partepdaid_det.DataPropertyName = "partepdaid_det";
     this.partepdaid_det.HeaderText = "partepdaid";
     this.partepdaid_det.Name = "partepdaid_det";
     this.partepdaid_det.ReadOnly = true;
     this.partepdaid_det.Visible = false;
     //
     // partepdaname_det
     //
     this.partepdaname_det.DataPropertyName = "partepdaname_det";
     this.partepdaname_det.HeaderText = "Parte Prenda";
     this.partepdaname_det.Name = "partepdaname_det";
     this.partepdaname_det.ReadOnly = true;
     //
     // productid_det
     //
     this.productid_det.DataPropertyName = "productid_det";
     this.productid_det.HeaderText = "Tela";
     this.productid_det.Name = "productid_det";
     this.productid_det.ReadOnly = true;
     //
     // productname_det
     //
     this.productname_det.DataPropertyName = "productname_det";
     this.productname_det.HeaderText = "Descripción";
     this.productname_det.Name = "productname_det";
     this.productname_det.ReadOnly = true;
     //
     // canthabilitada
     //
     this.canthabilitada.DataPropertyName = "canthabilitada";
     dataGridViewCellStyle93.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     this.canthabilitada.DefaultCellStyle = dataGridViewCellStyle93;
     this.canthabilitada.HeaderText = "Cant.Habilitada";
     this.canthabilitada.Name = "canthabilitada";
     this.canthabilitada.ReadOnly = true;
     //
     // pdaproyectotal
     //
     this.pdaproyectotal.DataPropertyName = "pdaproyectotal";
     dataGridViewCellStyle94.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     this.pdaproyectotal.DefaultCellStyle = dataGridViewCellStyle94;
     this.pdaproyectotal.HeaderText = "Pdas.Proyectada";
     this.pdaproyectotal.Name = "pdaproyectotal";
     this.pdaproyectotal.ReadOnly = true;
     //
     // cantreal
     //
     this.cantreal.DataPropertyName = "cantreal";
     dataGridViewCellStyle95.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     this.cantreal.DefaultCellStyle = dataGridViewCellStyle95;
     this.cantreal.HeaderText = "Pdas.Real";
     this.cantreal.Name = "cantreal";
     this.cantreal.ReadOnly = true;
     //
     // mermacalculada
     //
     this.mermacalculada.DataPropertyName = "mermacalculada";
     dataGridViewCellStyle96.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     this.mermacalculada.DefaultCellStyle = dataGridViewCellStyle96;
     this.mermacalculada.HeaderText = "Mts.Merma";
     this.mermacalculada.Name = "mermacalculada";
     this.mermacalculada.ReadOnly = true;
     //
     // porcenmerma
     //
     this.porcenmerma.DataPropertyName = "porcenmerma";
     dataGridViewCellStyle97.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     this.porcenmerma.DefaultCellStyle = dataGridViewCellStyle97;
     this.porcenmerma.HeaderText = "% Merma";
     this.porcenmerma.Name = "porcenmerma";
     this.porcenmerma.ReadOnly = true;
     //
     // consumreal
     //
     this.consumreal.DataPropertyName = "consumreal";
     dataGridViewCellStyle98.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     this.consumreal.DefaultCellStyle = dataGridViewCellStyle98;
     this.consumreal.HeaderText = "Cant. Real";
     this.consumreal.Name = "consumreal";
     this.consumreal.ReadOnly = true;
     //
     // umed_det
     //
     this.umed_det.DataPropertyName = "umed_det";
     dataGridViewCellStyle99.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.umed_det.DefaultCellStyle = dataGridViewCellStyle99;
     this.umed_det.HeaderText = "UnMed";
     this.umed_det.Name = "umed_det";
     this.umed_det.ReadOnly = true;
     //
     // dgv_calconsumo
     //
     this.dgv_calconsumo.AllowUserToAddRows = false;
     dataGridViewCellStyle102.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle102.BackColor = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle102.Font = new System.Drawing.Font("Tahoma", 8.25F);
     dataGridViewCellStyle102.ForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle102.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle102.SelectionForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle102.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.dgv_calconsumo.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle102;
     this.dgv_calconsumo.ColumnHeadersHeight = 20;
     this.dgv_calconsumo.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.partepdaid_cpo,
     this.partepdaname_cpo,
     this.productid_cpo,
     this.productname_cpo,
     this.largtizado,
     this.pdasxpano,
     this.numpanos,
     this.porcentolerancia,
     this.consumprompano,
     this.pdatotal,
     this.cantrequerida,
     this.umed_cpo});
     dataGridViewCellStyle111.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle111.BackColor = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle111.Font = new System.Drawing.Font("Tahoma", 8.25F);
     dataGridViewCellStyle111.ForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle111.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle111.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     dataGridViewCellStyle111.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
     this.dgv_calconsumo.DefaultCellStyle = dataGridViewCellStyle111;
     this.dgv_calconsumo.EnableHeadersVisualStyles = false;
     this.dgv_calconsumo.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.dgv_calconsumo.Location = new System.Drawing.Point(1, 46);
     this.dgv_calconsumo.Name = "dgv_calconsumo";
     this.dgv_calconsumo.ReadOnly = true;
     dataGridViewCellStyle112.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle112.BackColor = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle112.Font = new System.Drawing.Font("Tahoma", 8.25F);
     dataGridViewCellStyle112.ForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle112.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle112.SelectionForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle112.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.dgv_calconsumo.RowHeadersDefaultCellStyle = dataGridViewCellStyle112;
     this.dgv_calconsumo.RowHeadersVisible = false;
     this.dgv_calconsumo.Size = new System.Drawing.Size(827, 123);
     this.dgv_calconsumo.TabIndex = 433;
     this.dgv_calconsumo.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgv_calconsumo_CellClick);
     this.dgv_calconsumo.KeyUp += new System.Windows.Forms.KeyEventHandler(this.dgv_calconsumo_KeyUp);
     //
     // partepdaid_cpo
     //
     this.partepdaid_cpo.DataPropertyName = "partepdaid_cpo";
     this.partepdaid_cpo.HeaderText = "partepdaid";
     this.partepdaid_cpo.Name = "partepdaid_cpo";
     this.partepdaid_cpo.ReadOnly = true;
     this.partepdaid_cpo.Visible = false;
     //
     // partepdaname_cpo
     //
     this.partepdaname_cpo.DataPropertyName = "partepdaname_cpo";
     this.partepdaname_cpo.HeaderText = "Parte Prenda";
     this.partepdaname_cpo.Name = "partepdaname_cpo";
     this.partepdaname_cpo.ReadOnly = true;
     //
     // productid_cpo
     //
     this.productid_cpo.DataPropertyName = "productid_cpo";
     this.productid_cpo.HeaderText = "Tela";
     this.productid_cpo.Name = "productid_cpo";
     this.productid_cpo.ReadOnly = true;
     //
     // productname_cpo
     //
     this.productname_cpo.DataPropertyName = "productname_cpo";
     this.productname_cpo.HeaderText = "Descripción";
     this.productname_cpo.Name = "productname_cpo";
     this.productname_cpo.ReadOnly = true;
     //
     // largtizado
     //
     this.largtizado.DataPropertyName = "largtizado";
     dataGridViewCellStyle103.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     this.largtizado.DefaultCellStyle = dataGridViewCellStyle103;
     this.largtizado.HeaderText = "Larg.Tizado";
     this.largtizado.Name = "largtizado";
     this.largtizado.ReadOnly = true;
     this.largtizado.Width = 80;
     //
     // pdasxpano
     //
     this.pdasxpano.DataPropertyName = "pdasxpano";
     dataGridViewCellStyle104.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     this.pdasxpano.DefaultCellStyle = dataGridViewCellStyle104;
     this.pdasxpano.HeaderText = "Pdas/Paños";
     this.pdasxpano.Name = "pdasxpano";
     this.pdasxpano.ReadOnly = true;
     this.pdasxpano.Width = 80;
     //
     // numpanos
     //
     this.numpanos.DataPropertyName = "numpanos";
     dataGridViewCellStyle105.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     this.numpanos.DefaultCellStyle = dataGridViewCellStyle105;
     this.numpanos.HeaderText = "N°-Paños";
     this.numpanos.Name = "numpanos";
     this.numpanos.ReadOnly = true;
     this.numpanos.Width = 80;
     //
     // porcentolerancia
     //
     this.porcentolerancia.DataPropertyName = "porcentolerancia";
     dataGridViewCellStyle106.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     this.porcentolerancia.DefaultCellStyle = dataGridViewCellStyle106;
     this.porcentolerancia.HeaderText = "Tolerancia";
     this.porcentolerancia.Name = "porcentolerancia";
     this.porcentolerancia.ReadOnly = true;
     this.porcentolerancia.Width = 80;
     //
     // consumprompano
     //
     this.consumprompano.DataPropertyName = "consumprompano";
     dataGridViewCellStyle107.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     this.consumprompano.DefaultCellStyle = dataGridViewCellStyle107;
     this.consumprompano.HeaderText = "Cons.Prom.Und";
     this.consumprompano.Name = "consumprompano";
     this.consumprompano.ReadOnly = true;
     this.consumprompano.Width = 90;
     //
     // pdatotal
     //
     this.pdatotal.DataPropertyName = "pdatotal";
     dataGridViewCellStyle108.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     this.pdatotal.DefaultCellStyle = dataGridViewCellStyle108;
     this.pdatotal.HeaderText = "Total.Pdas";
     this.pdatotal.Name = "pdatotal";
     this.pdatotal.ReadOnly = true;
     this.pdatotal.Width = 80;
     //
     // cantrequerida
     //
     this.cantrequerida.DataPropertyName = "cantrequerida";
     dataGridViewCellStyle109.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     this.cantrequerida.DefaultCellStyle = dataGridViewCellStyle109;
     this.cantrequerida.HeaderText = "Cant.Requer";
     this.cantrequerida.Name = "cantrequerida";
     this.cantrequerida.ReadOnly = true;
     this.cantrequerida.Width = 80;
     //
     // umed_cpo
     //
     this.umed_cpo.DataPropertyName = "umed_cpo";
     dataGridViewCellStyle110.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.umed_cpo.DefaultCellStyle = dataGridViewCellStyle110;
     this.umed_cpo.HeaderText = "UnMed";
     this.umed_cpo.Name = "umed_cpo";
     this.umed_cpo.ReadOnly = true;
     this.umed_cpo.Width = 45;
     //
     // pnl_edit2Ma
     //
     this.pnl_edit2Ma.Controls.Add(this.txt_gramaje);
     this.pnl_edit2Ma.Controls.Add(this.txt_ancho);
     this.pnl_edit2Ma.Controls.Add(this.labelControl11);
     this.pnl_edit2Ma.Controls.Add(this.labelControl12);
     this.pnl_edit2Ma.Enabled = false;
     this.pnl_edit2Ma.Location = new System.Drawing.Point(756, 5);
     this.pnl_edit2Ma.Name = "pnl_edit2Ma";
     this.pnl_edit2Ma.Size = new System.Drawing.Size(120, 49);
     this.pnl_edit2Ma.TabIndex = 452;
     //
     // txt_gramaje
     //
     this.txt_gramaje.Location = new System.Drawing.Point(62, 23);
     this.txt_gramaje.MaxLength = 10;
     this.txt_gramaje.Name = "txt_gramaje";
     this.txt_gramaje.Size = new System.Drawing.Size(52, 21);
     this.txt_gramaje.TabIndex = 332;
     //
     // txt_ancho
     //
     this.txt_ancho.Location = new System.Drawing.Point(5, 23);
     this.txt_ancho.MaxLength = 10;
     this.txt_ancho.Name = "txt_ancho";
     this.txt_ancho.Size = new System.Drawing.Size(53, 21);
     this.txt_ancho.TabIndex = 331;
     //
     // labelControl11
     //
     this.labelControl11.Location = new System.Drawing.Point(7, 6);
     this.labelControl11.Name = "labelControl11";
     this.labelControl11.Size = new System.Drawing.Size(30, 13);
     this.labelControl11.TabIndex = 328;
     this.labelControl11.Text = "Ancho";
     //
     // labelControl12
     //
     this.labelControl12.Location = new System.Drawing.Point(64, 6);
     this.labelControl12.Name = "labelControl12";
     this.labelControl12.Size = new System.Drawing.Size(40, 13);
     this.labelControl12.TabIndex = 330;
     this.labelControl12.Text = "Gramaje";
     //
     // txt_serop04
     //
     this.txt_serop04.Appearance.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold);
     this.txt_serop04.Appearance.ForeColor = System.Drawing.Color.Red;
     this.txt_serop04.Location = new System.Drawing.Point(45, 22);
     this.txt_serop04.Name = "txt_serop04";
     this.txt_serop04.Size = new System.Drawing.Size(33, 16);
     this.txt_serop04.TabIndex = 451;
     this.txt_serop04.Text = "____";
     //
     // txt_tipop04
     //
     this.txt_tipop04.Appearance.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold);
     this.txt_tipop04.Appearance.ForeColor = System.Drawing.Color.Red;
     this.txt_tipop04.Location = new System.Drawing.Point(18, 22);
     this.txt_tipop04.Name = "txt_tipop04";
     this.txt_tipop04.Size = new System.Drawing.Size(17, 16);
     this.txt_tipop04.TabIndex = 450;
     this.txt_tipop04.Text = "__";
     //
     // txt_numop04
     //
     this.txt_numop04.Appearance.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold);
     this.txt_numop04.Appearance.ForeColor = System.Drawing.Color.Red;
     this.txt_numop04.Location = new System.Drawing.Point(85, 22);
     this.txt_numop04.Name = "txt_numop04";
     this.txt_numop04.Size = new System.Drawing.Size(81, 16);
     this.txt_numop04.TabIndex = 449;
     this.txt_numop04.Text = "__________";
     //
     // pnl_editMa
     //
     this.pnl_editMa.Controls.Add(this.btn_actualizar);
     this.pnl_editMa.Controls.Add(this.productidtela);
     this.pnl_editMa.Controls.Add(this.cmb_partepda);
     this.pnl_editMa.Controls.Add(this.labelControl34);
     this.pnl_editMa.Controls.Add(this.productnametela);
     this.pnl_editMa.Controls.Add(this.labelControl9);
     this.pnl_editMa.Controls.Add(this.labelControl8);
     this.pnl_editMa.Enabled = false;
     this.pnl_editMa.Location = new System.Drawing.Point(172, 5);
     this.pnl_editMa.Name = "pnl_editMa";
     this.pnl_editMa.Size = new System.Drawing.Size(582, 49);
     this.pnl_editMa.TabIndex = 448;
     //
     // btn_actualizar
     //
     this.btn_actualizar.Cursor = System.Windows.Forms.Cursors.Hand;
     this.btn_actualizar.Image = ((System.Drawing.Image)(resources.GetObject("btn_actualizar.Image")));
     this.btn_actualizar.Location = new System.Drawing.Point(140, 20);
     this.btn_actualizar.Name = "btn_actualizar";
     this.btn_actualizar.Size = new System.Drawing.Size(24, 23);
     this.btn_actualizar.TabIndex = 454;
     this.btn_actualizar.Text = "Nuevo";
     this.btn_actualizar.ToolTip = "Actualizar Parte Prenda";
     this.btn_actualizar.ToolTipIconType = DevExpress.Utils.ToolTipIconType.Information;
     this.btn_actualizar.Click += new System.EventHandler(this.btn_actualizar_Click);
     //
     // productidtela
     //
     this.productidtela.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.productidtela.Location = new System.Drawing.Point(165, 22);
     this.productidtela.MaxLength = 13;
     this.productidtela.Name = "productidtela";
     this.productidtela.Size = new System.Drawing.Size(105, 20);
     this.productidtela.TabIndex = 333;
     this.productidtela.KeyDown += new System.Windows.Forms.KeyEventHandler(this.productidtela_KeyDown);
     //
     // cmb_partepda
     //
     this.cmb_partepda.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmb_partepda.FormattingEnabled = true;
     this.cmb_partepda.Location = new System.Drawing.Point(10, 20);
     this.cmb_partepda.Name = "cmb_partepda";
     this.cmb_partepda.Size = new System.Drawing.Size(129, 21);
     this.cmb_partepda.TabIndex = 320;
     //
     // labelControl34
     //
     this.labelControl34.Location = new System.Drawing.Point(10, 6);
     this.labelControl34.Name = "labelControl34";
     this.labelControl34.Size = new System.Drawing.Size(63, 13);
     this.labelControl34.TabIndex = 322;
     this.labelControl34.Text = "Parte Prenda";
     //
     // productnametela
     //
     this.productnametela.Enabled = false;
     this.productnametela.Location = new System.Drawing.Point(272, 22);
     this.productnametela.MaxLength = 10;
     this.productnametela.Name = "productnametela";
     this.productnametela.Size = new System.Drawing.Size(305, 21);
     this.productnametela.TabIndex = 325;
     //
     // labelControl9
     //
     this.labelControl9.Location = new System.Drawing.Point(167, 5);
     this.labelControl9.Name = "labelControl9";
     this.labelControl9.Size = new System.Drawing.Size(56, 13);
     this.labelControl9.TabIndex = 323;
     this.labelControl9.Text = "Codigo Tela";
     //
     // labelControl8
     //
     this.labelControl8.Location = new System.Drawing.Point(276, 5);
     this.labelControl8.Name = "labelControl8";
     this.labelControl8.Size = new System.Drawing.Size(60, 13);
     this.labelControl8.TabIndex = 326;
     this.labelControl8.Text = "Nombre Tela";
     //
     // btn_newMa
     //
     this.btn_newMa.Cursor = System.Windows.Forms.Cursors.Hand;
     this.btn_newMa.Image = ((System.Drawing.Image)(resources.GetObject("btn_newMa.Image")));
     this.btn_newMa.Location = new System.Drawing.Point(564, 68);
     this.btn_newMa.Name = "btn_newMa";
     this.btn_newMa.Size = new System.Drawing.Size(59, 23);
     this.btn_newMa.TabIndex = 447;
     this.btn_newMa.Text = "Nuevo";
     this.btn_newMa.ToolTipIconType = DevExpress.Utils.ToolTipIconType.Information;
     this.btn_newMa.Click += new System.EventHandler(this.btn_newMa_Click);
     //
     // btn_saveMa
     //
     this.btn_saveMa.Cursor = System.Windows.Forms.Cursors.Hand;
     this.btn_saveMa.Enabled = false;
     this.btn_saveMa.Image = ((System.Drawing.Image)(resources.GetObject("btn_saveMa.Image")));
     this.btn_saveMa.Location = new System.Drawing.Point(686, 68);
     this.btn_saveMa.Name = "btn_saveMa";
     this.btn_saveMa.Size = new System.Drawing.Size(59, 23);
     this.btn_saveMa.TabIndex = 446;
     this.btn_saveMa.Text = "Grabar";
     this.btn_saveMa.ToolTipIconType = DevExpress.Utils.ToolTipIconType.Information;
     this.btn_saveMa.Click += new System.EventHandler(this.btn_saveMa_Click);
     //
     // line2
     //
     this.line2.Location = new System.Drawing.Point(8, 56);
     this.line2.Name = "line2";
     this.line2.Size = new System.Drawing.Size(862, 15);
     this.line2.TabIndex = 444;
     this.line2.Text = "line2";
     //
     // labelControl45
     //
     this.labelControl45.Location = new System.Drawing.Point(45, 7);
     this.labelControl45.Name = "labelControl45";
     this.labelControl45.Size = new System.Drawing.Size(30, 13);
     this.labelControl45.TabIndex = 443;
     this.labelControl45.Text = "SerOp";
     //
     // labelControl46
     //
     this.labelControl46.Location = new System.Drawing.Point(85, 7);
     this.labelControl46.Name = "labelControl46";
     this.labelControl46.Size = new System.Drawing.Size(35, 13);
     this.labelControl46.TabIndex = 441;
     this.labelControl46.Text = "NumOp";
     //
     // labelControl47
     //
     this.labelControl47.Location = new System.Drawing.Point(13, 7);
     this.labelControl47.Name = "labelControl47";
     this.labelControl47.Size = new System.Drawing.Size(28, 13);
     this.labelControl47.TabIndex = 440;
     this.labelControl47.Text = "TipOp";
     //
     // btn_cancelMa
     //
     this.btn_cancelMa.Cursor = System.Windows.Forms.Cursors.Hand;
     this.btn_cancelMa.Enabled = false;
     this.btn_cancelMa.Image = ((System.Drawing.Image)(resources.GetObject("btn_cancelMa.Image")));
     this.btn_cancelMa.Location = new System.Drawing.Point(747, 68);
     this.btn_cancelMa.Name = "btn_cancelMa";
     this.btn_cancelMa.Size = new System.Drawing.Size(59, 23);
     this.btn_cancelMa.TabIndex = 437;
     this.btn_cancelMa.Text = "Cancel";
     this.btn_cancelMa.ToolTipIconType = DevExpress.Utils.ToolTipIconType.Information;
     this.btn_cancelMa.Click += new System.EventHandler(this.btn_cancelMa_Click);
     //
     // btn_deleteMa
     //
     this.btn_deleteMa.Cursor = System.Windows.Forms.Cursors.Hand;
     this.btn_deleteMa.Enabled = false;
     this.btn_deleteMa.Image = ((System.Drawing.Image)(resources.GetObject("btn_deleteMa.Image")));
     this.btn_deleteMa.Location = new System.Drawing.Point(812, 68);
     this.btn_deleteMa.Name = "btn_deleteMa";
     this.btn_deleteMa.Size = new System.Drawing.Size(59, 23);
     this.btn_deleteMa.TabIndex = 436;
     this.btn_deleteMa.Text = "Borrar";
     this.btn_deleteMa.ToolTipIconType = DevExpress.Utils.ToolTipIconType.Information;
     this.btn_deleteMa.Click += new System.EventHandler(this.btn_deleteMa_Click);
     //
     // btn_editMa
     //
     this.btn_editMa.Cursor = System.Windows.Forms.Cursors.Hand;
     this.btn_editMa.Enabled = false;
     this.btn_editMa.Image = ((System.Drawing.Image)(resources.GetObject("btn_editMa.Image")));
     this.btn_editMa.Location = new System.Drawing.Point(625, 68);
     this.btn_editMa.Name = "btn_editMa";
     this.btn_editMa.Size = new System.Drawing.Size(59, 23);
     this.btn_editMa.TabIndex = 434;
     this.btn_editMa.Text = "Editar";
     this.btn_editMa.ToolTipIconType = DevExpress.Utils.ToolTipIconType.Information;
     this.btn_editMa.Click += new System.EventHandler(this.btn_editMa_Click);
     //
     // dgv_ordenprodtela
     //
     this.dgv_ordenprodtela.AllowUserToAddRows = false;
     dataGridViewCellStyle57.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle57.BackColor = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle57.Font = new System.Drawing.Font("Tahoma", 8.25F);
     dataGridViewCellStyle57.ForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle57.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle57.SelectionForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle57.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.dgv_ordenprodtela.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle57;
     this.dgv_ordenprodtela.ColumnHeadersHeight = 20;
     this.dgv_ordenprodtela.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.partepdaid,
     this.partepdaname,
     this.productid,
     this.productname,
     this.xcolorname,
     this.ancho,
     this.gramaje});
     dataGridViewCellStyle58.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle58.BackColor = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle58.Font = new System.Drawing.Font("Tahoma", 8.25F);
     dataGridViewCellStyle58.ForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle58.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle58.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     dataGridViewCellStyle58.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
     this.dgv_ordenprodtela.DefaultCellStyle = dataGridViewCellStyle58;
     this.dgv_ordenprodtela.EnableHeadersVisualStyles = false;
     this.dgv_ordenprodtela.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.dgv_ordenprodtela.Location = new System.Drawing.Point(9, 97);
     this.dgv_ordenprodtela.Name = "dgv_ordenprodtela";
     this.dgv_ordenprodtela.ReadOnly = true;
     dataGridViewCellStyle59.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle59.BackColor = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle59.Font = new System.Drawing.Font("Tahoma", 8.25F);
     dataGridViewCellStyle59.ForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle59.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle59.SelectionForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle59.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.dgv_ordenprodtela.RowHeadersDefaultCellStyle = dataGridViewCellStyle59;
     this.dgv_ordenprodtela.RowHeadersVisible = false;
     this.dgv_ordenprodtela.Size = new System.Drawing.Size(826, 135);
     this.dgv_ordenprodtela.TabIndex = 432;
     this.dgv_ordenprodtela.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgv_ordenprodtela_CellClick);
     this.dgv_ordenprodtela.KeyUp += new System.Windows.Forms.KeyEventHandler(this.dgv_ordenprodtela_KeyUp);
     //
     // partepdaid
     //
     this.partepdaid.DataPropertyName = "partepdaid";
     this.partepdaid.HeaderText = "partepdaid";
     this.partepdaid.Name = "partepdaid";
     this.partepdaid.ReadOnly = true;
     this.partepdaid.Visible = false;
     //
     // partepdaname
     //
     this.partepdaname.DataPropertyName = "partepdaname";
     this.partepdaname.HeaderText = "Parte Prenda";
     this.partepdaname.Name = "partepdaname";
     this.partepdaname.ReadOnly = true;
     //
     // productid
     //
     this.productid.DataPropertyName = "productid";
     this.productid.HeaderText = "Tela";
     this.productid.Name = "productid";
     this.productid.ReadOnly = true;
     //
     // productname
     //
     this.productname.DataPropertyName = "productname";
     this.productname.HeaderText = "Descripción";
     this.productname.Name = "productname";
     this.productname.ReadOnly = true;
     this.productname.Width = 320;
     //
     // xcolorname
     //
     this.xcolorname.DataPropertyName = "colorname";
     this.xcolorname.HeaderText = "Color";
     this.xcolorname.Name = "xcolorname";
     this.xcolorname.ReadOnly = true;
     //
     // ancho
     //
     this.ancho.DataPropertyName = "ancho";
     this.ancho.HeaderText = "Ancho";
     this.ancho.Name = "ancho";
     this.ancho.ReadOnly = true;
     //
     // gramaje
     //
     this.gramaje.DataPropertyName = "gramaje";
     this.gramaje.HeaderText = "Gramaje";
     this.gramaje.Name = "gramaje";
     this.gramaje.ReadOnly = true;
     //
     // simpleButton6
     //
     this.simpleButton6.Cursor = System.Windows.Forms.Cursors.Hand;
     this.simpleButton6.Image = ((System.Drawing.Image)(resources.GetObject("simpleButton6.Image")));
     this.simpleButton6.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleLeft;
     this.simpleButton6.Location = new System.Drawing.Point(773, 183);
     this.simpleButton6.Name = "simpleButton6";
     this.simpleButton6.Size = new System.Drawing.Size(45, 23);
     this.simpleButton6.TabIndex = 430;
     this.simpleButton6.Text = "Add";
     this.simpleButton6.ToolTip = "Adicionar";
     this.simpleButton6.ToolTipIconType = DevExpress.Utils.ToolTipIconType.Information;
     this.simpleButton6.Visible = false;
     //
     // labelControl6
     //
     this.labelControl6.Location = new System.Drawing.Point(10, 13);
     this.labelControl6.Name = "labelControl6";
     this.labelControl6.Size = new System.Drawing.Size(19, 13);
     this.labelControl6.TabIndex = 408;
     this.labelControl6.Text = "Año";
     //
     // chk_estado01
     //
     this.chk_estado01.Cursor = System.Windows.Forms.Cursors.Hand;
     this.chk_estado01.Location = new System.Drawing.Point(11, 141);
     this.chk_estado01.Name = "chk_estado01";
     this.chk_estado01.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 8.5F);
     this.chk_estado01.Properties.Appearance.Options.UseFont = true;
     this.chk_estado01.Properties.Caption = "Estado";
     this.chk_estado01.Properties.GlyphAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.chk_estado01.Size = new System.Drawing.Size(56, 19);
     this.chk_estado01.TabIndex = 407;
     this.chk_estado01.CheckedChanged += new System.EventHandler(this.chk_estado01_CheckedChanged);
     //
     // chk_linea01
     //
     this.chk_linea01.Cursor = System.Windows.Forms.Cursors.Hand;
     this.chk_linea01.Location = new System.Drawing.Point(10, 95);
     this.chk_linea01.Name = "chk_linea01";
     this.chk_linea01.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 8.5F);
     this.chk_linea01.Properties.Appearance.Options.UseFont = true;
     this.chk_linea01.Properties.Caption = "Linea";
     this.chk_linea01.Properties.GlyphAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.chk_linea01.Size = new System.Drawing.Size(50, 19);
     this.chk_linea01.TabIndex = 406;
     this.chk_linea01.CheckedChanged += new System.EventHandler(this.chk_linea01_CheckedChanged);
     //
     // chk_marca01
     //
     this.chk_marca01.Cursor = System.Windows.Forms.Cursors.Hand;
     this.chk_marca01.Location = new System.Drawing.Point(9, 52);
     this.chk_marca01.Name = "chk_marca01";
     this.chk_marca01.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 8.5F);
     this.chk_marca01.Properties.Appearance.Options.UseFont = true;
     this.chk_marca01.Properties.Caption = "Marca";
     this.chk_marca01.Properties.GlyphAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.chk_marca01.Size = new System.Drawing.Size(55, 19);
     this.chk_marca01.TabIndex = 405;
     this.chk_marca01.CheckedChanged += new System.EventHandler(this.chk_marca01_CheckedChanged);
     //
     // cmb_linea01
     //
     this.cmb_linea01.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmb_linea01.Enabled = false;
     this.cmb_linea01.FormattingEnabled = true;
     this.cmb_linea01.Location = new System.Drawing.Point(7, 117);
     this.cmb_linea01.Name = "cmb_linea01";
     this.cmb_linea01.Size = new System.Drawing.Size(107, 21);
     this.cmb_linea01.TabIndex = 401;
     this.cmb_linea01.SelectedIndexChanged += new System.EventHandler(this.cmb_linea01_SelectedIndexChanged);
     //
     // cmb_marca01
     //
     this.cmb_marca01.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmb_marca01.Enabled = false;
     this.cmb_marca01.FormattingEnabled = true;
     this.cmb_marca01.Location = new System.Drawing.Point(7, 74);
     this.cmb_marca01.Name = "cmb_marca01";
     this.cmb_marca01.Size = new System.Drawing.Size(107, 21);
     this.cmb_marca01.TabIndex = 400;
     this.cmb_marca01.SelectedIndexChanged += new System.EventHandler(this.cmb_marca01_SelectedIndexChanged);
     //
     // cmb_estado01
     //
     this.cmb_estado01.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmb_estado01.Enabled = false;
     this.cmb_estado01.FormattingEnabled = true;
     this.cmb_estado01.Location = new System.Drawing.Point(10, 163);
     this.cmb_estado01.Name = "cmb_estado01";
     this.cmb_estado01.Size = new System.Drawing.Size(93, 21);
     this.cmb_estado01.TabIndex = 217;
     this.cmb_estado01.SelectedIndexChanged += new System.EventHandler(this.cmb_estado01_SelectedIndexChanged);
     //
     // lblbusqueda
     //
     this.lblbusqueda.Appearance.BackColor = System.Drawing.SystemColors.Control;
     this.lblbusqueda.Location = new System.Drawing.Point(622, 9);
     this.lblbusqueda.Name = "lblbusqueda";
     this.lblbusqueda.Size = new System.Drawing.Size(51, 13);
     this.lblbusqueda.TabIndex = 210;
     this.lblbusqueda.Text = "Busqueda:";
     //
     // txt_articname01
     //
     this.txt_articname01.BackColor = System.Drawing.Color.Yellow;
     this.txt_articname01.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txt_articname01.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.txt_articname01.Font = new System.Drawing.Font("Tahoma", 7F, System.Drawing.FontStyle.Bold);
     this.txt_articname01.ForeColor = System.Drawing.Color.Black;
     this.txt_articname01.Location = new System.Drawing.Point(676, 6);
     this.txt_articname01.MaxLength = 10;
     this.txt_articname01.Name = "txt_articname01";
     this.txt_articname01.Size = new System.Drawing.Size(210, 19);
     this.txt_articname01.TabIndex = 208;
     this.txt_articname01.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txt_articname01_KeyUp);
     this.txt_articname01.MouseDown += new System.Windows.Forms.MouseEventHandler(this.txt_articname01_MouseDown);
     //
     // cmb_anio01
     //
     this.cmb_anio01.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmb_anio01.Enabled = false;
     this.cmb_anio01.FormattingEnabled = true;
     this.cmb_anio01.Location = new System.Drawing.Point(7, 31);
     this.cmb_anio01.Name = "cmb_anio01";
     this.cmb_anio01.Size = new System.Drawing.Size(47, 21);
     this.cmb_anio01.TabIndex = 201;
     //
     // panelControl3
     //
     this.panelControl3.Controls.Add(this.txt_numop01);
     this.panelControl3.Controls.Add(this.labelControl7);
     this.panelControl3.Controls.Add(this.cmb_anio01);
     this.panelControl3.Controls.Add(this.cmb_serie01);
     this.panelControl3.Controls.Add(this.cmb_estado01);
     this.panelControl3.Controls.Add(this.chk_estado01);
     this.panelControl3.Controls.Add(this.chk_serie01);
     this.panelControl3.Controls.Add(this.labelControl6);
     this.panelControl3.Controls.Add(this.chk_linea01);
     this.panelControl3.Controls.Add(this.cmb_marca01);
     this.panelControl3.Controls.Add(this.cmb_linea01);
     this.panelControl3.Controls.Add(this.chk_marca01);
     this.panelControl3.Location = new System.Drawing.Point(900, 55);
     this.panelControl3.Name = "panelControl3";
     this.panelControl3.Size = new System.Drawing.Size(214, 189);
     this.panelControl3.TabIndex = 415;
     this.panelControl3.Visible = false;
     //
     // txt_numop01
     //
     this.txt_numop01.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txt_numop01.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
     this.txt_numop01.Location = new System.Drawing.Point(116, 29);
     this.txt_numop01.Name = "txt_numop01";
     this.txt_numop01.Size = new System.Drawing.Size(90, 22);
     this.txt_numop01.TabIndex = 409;
     this.txt_numop01.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_numop01_KeyDown);
     this.txt_numop01.MouseDown += new System.Windows.Forms.MouseEventHandler(this.txt_numop01_MouseDown);
     //
     // labelControl7
     //
     this.labelControl7.Location = new System.Drawing.Point(120, 13);
     this.labelControl7.Name = "labelControl7";
     this.labelControl7.Size = new System.Drawing.Size(37, 13);
     this.labelControl7.TabIndex = 410;
     this.labelControl7.Text = "Número";
     //
     // cmb_serie01
     //
     this.cmb_serie01.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmb_serie01.Enabled = false;
     this.cmb_serie01.FormattingEnabled = true;
     this.cmb_serie01.Location = new System.Drawing.Point(58, 31);
     this.cmb_serie01.Name = "cmb_serie01";
     this.cmb_serie01.Size = new System.Drawing.Size(52, 21);
     this.cmb_serie01.TabIndex = 204;
     this.cmb_serie01.SelectedIndexChanged += new System.EventHandler(this.cmb_serie01_SelectedIndexChanged);
     //
     // chk_serie01
     //
     this.chk_serie01.Cursor = System.Windows.Forms.Cursors.Hand;
     this.chk_serie01.Location = new System.Drawing.Point(64, 7);
     this.chk_serie01.Name = "chk_serie01";
     this.chk_serie01.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 8.5F);
     this.chk_serie01.Properties.Appearance.Options.UseFont = true;
     this.chk_serie01.Properties.Caption = "Serie";
     this.chk_serie01.Properties.GlyphAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.chk_serie01.Size = new System.Drawing.Size(50, 19);
     this.chk_serie01.TabIndex = 403;
     this.chk_serie01.CheckedChanged += new System.EventHandler(this.chk_serie01_CheckedChanged);
     //
     // styleManager2
     //
     this.styleManager2.ManagerStyle = DevComponents.DotNetBar.eStyle.Office2007VistaGlass;
     this.styleManager2.MetroColorParameters = new DevComponents.DotNetBar.Metro.ColorTables.MetroColorGeneratorParameters(System.Drawing.Color.White, System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(87)))), ((int)(((byte)(154))))));
     //
     // Frm_orden_produccion
     //
     this.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(217)))), ((int)(((byte)(218)))), ((int)(((byte)(224)))));
     this.Appearance.Options.UseBackColor = true;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(890, 560);
     this.Controls.Add(this.panelControl3);
     this.Controls.Add(this.lblbusqueda);
     this.Controls.Add(this.xtraTabControl1);
     this.Controls.Add(this.txt_articname01);
     this.Controls.Add(this.barDockControlLeft);
     this.Controls.Add(this.barDockControlRight);
     this.Controls.Add(this.barDockControlBottom);
     this.Controls.Add(this.barDockControlTop);
     this.DoubleBuffered = true;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.KeyPreview = true;
     this.MaximizeBox = false;
     this.Name = "Frm_orden_produccion";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "» Frm_Orden de Producción";
     this.Load += new System.EventHandler(this.Frm_orden_produccion_Load);
     this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Frm_orden_produccion_KeyDown);
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit();
     this.xtraTabControl1.ResumeLayout(false);
     this.tab_01.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).EndInit();
     this.panelControl4.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.Mdi_dgv_ordenproduccion)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgv_ordenproduccion)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit6)).EndInit();
     this.tab_02.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit();
     this.panelControl2.ResumeLayout(false);
     this.panelControl2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.txt_taco12.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_taco11.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_taco10.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_taco09.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_taco08.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_taco07.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_taco06.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_taco05.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_taco04.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_taco03.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_taco02.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_taco01.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl5)).EndInit();
     this.panelControl5.ResumeLayout(false);
     this.panelControl5.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgv_ordenprodcolor)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgv_grilla)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_fechfin.Properties.CalendarTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_fechfin.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_fechini.Properties.CalendarTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_fechini.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_fechemi.Properties.CalendarTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_fechemi.Properties)).EndInit();
     this.tab_03.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
     this.panelControl1.ResumeLayout(false);
     this.panelControl1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pnl_edit2)).EndInit();
     this.pnl_edit2.ResumeLayout(false);
     this.pnl_edit2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.txt_fechentrega03.Properties.CalendarTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_fechentrega03.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_fechini03.Properties.CalendarTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_fechini03.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pnl_edit)).EndInit();
     this.pnl_edit.ResumeLayout(false);
     this.pnl_edit.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.txt_secuencia)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgv_ordenprodfase)).EndInit();
     this.tab_04.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl6)).EndInit();
     this.panelControl6.ResumeLayout(false);
     this.panelControl6.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.txt_ltizado.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_tolerancia.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_numpanos.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txt_prendpanos.Properties)).EndInit();
     this.xtraScrollableControl1.ResumeLayout(false);
     this.xtraScrollableControl1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgv_consumoreal)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgv_calconsumo)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pnl_edit2Ma)).EndInit();
     this.pnl_edit2Ma.ResumeLayout(false);
     this.pnl_edit2Ma.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pnl_editMa)).EndInit();
     this.pnl_editMa.ResumeLayout(false);
     this.pnl_editMa.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgv_ordenprodtela)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chk_estado01.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chk_linea01.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chk_marca01.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit();
     this.panelControl3.ResumeLayout(false);
     this.panelControl3.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.chk_serie01.Properties)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #4
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.groupControlTenantList = new DevExpress.XtraEditors.GroupControl();
     this.gridControlTenant = new DevExpress.XtraGrid.GridControl();
     this.gridViewTenant = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.tenant_id = new DevExpress.XtraGrid.Columns.GridColumn();
     this.tenant_prefix = new DevExpress.XtraGrid.Columns.GridColumn();
     this.tenant_name = new DevExpress.XtraGrid.Columns.GridColumn();
     this.tenant_surname = new DevExpress.XtraGrid.Columns.GridColumn();
     this.tenant_province_id = new DevExpress.XtraGrid.Columns.GridColumn();
     this.tenant_distict_id = new DevExpress.XtraGrid.Columns.GridColumn();
     this.tenant_modified_date = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colTenantStatus = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnTStatus = new DevExpress.XtraGrid.Columns.GridColumn();
     this.tenant_create_date = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumntenant_relate_id = new DevExpress.XtraGrid.Columns.GridColumn();
     this.splitContainerControl2 = new DevExpress.XtraEditors.SplitContainerControl();
     this.panelControl3 = new DevExpress.XtraEditors.PanelControl();
     this.xtraScrollableControl1 = new DevExpress.XtraEditors.XtraScrollableControl();
     this.groupControlRental = new DevExpress.XtraEditors.GroupControl();
     this.textEditCheckOutDate = new DevExpress.XtraEditors.TextEdit();
     this.textEditCheckinDate = new DevExpress.XtraEditors.TextEdit();
     this.labelControlDateOut = new DevExpress.XtraEditors.LabelControl();
     this.labelControlDateIn = new DevExpress.XtraEditors.LabelControl();
     this.textEditRoomType = new DevExpress.XtraEditors.TextEdit();
     this.labelControlRoomType = new DevExpress.XtraEditors.LabelControl();
     this.textEditFloor = new DevExpress.XtraEditors.TextEdit();
     this.labelControlFloor = new DevExpress.XtraEditors.LabelControl();
     this.textEditBuilding = new DevExpress.XtraEditors.TextEdit();
     this.labelControlBuilding = new DevExpress.XtraEditors.LabelControl();
     this.textEditRoomLabel = new DevExpress.XtraEditors.TextEdit();
     this.labelControlRoomName = new DevExpress.XtraEditors.LabelControl();
     this.textEditStatus = new DevExpress.XtraEditors.TextEdit();
     this.labelControlStatus = new DevExpress.XtraEditors.LabelControl();
     this.groupControlTenant = new DevExpress.XtraEditors.GroupControl();
     this.textEditDistrict = new DevExpress.XtraEditors.TextEdit();
     this.textEditProvince = new DevExpress.XtraEditors.TextEdit();
     this.labelControl26 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl23 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl22 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl21 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl20 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl19 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl18 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
     this.dateEditBirthday = new DevExpress.XtraEditors.DateEdit();
     this.labelControlBirthday = new DevExpress.XtraEditors.LabelControl();
     this.labelControlDistinct = new DevExpress.XtraEditors.LabelControl();
     this.labelControlProvince = new DevExpress.XtraEditors.LabelControl();
     this.lookUpEditPrefix = new DevExpress.XtraEditors.LookUpEdit();
     this.labelControlRequired = new DevExpress.XtraEditors.LabelControl();
     this.labelControlPhone = new DevExpress.XtraEditors.LabelControl();
     this.textEditPhone = new DevExpress.XtraEditors.TextEdit();
     this.textEditName = new DevExpress.XtraEditors.TextEdit();
     this.textEditRemark = new DevExpress.XtraEditors.MemoEdit();
     this.textEditAddress = new DevExpress.XtraEditors.MemoEdit();
     this.labelControlCarLicence = new DevExpress.XtraEditors.LabelControl();
     this.labelControlRemark = new DevExpress.XtraEditors.LabelControl();
     this.textEditCarLicence = new DevExpress.XtraEditors.TextEdit();
     this.labelControlAddress = new DevExpress.XtraEditors.LabelControl();
     this.labelControlIDCard = new DevExpress.XtraEditors.LabelControl();
     this.labelControlSurname = new DevExpress.XtraEditors.LabelControl();
     this.textEditIDCard = new DevExpress.XtraEditors.TextEdit();
     this.labelControlName = new DevExpress.XtraEditors.LabelControl();
     this.textEditSurname = new DevExpress.XtraEditors.TextEdit();
     this.labelControlPostcode = new DevExpress.XtraEditors.LabelControl();
     this.labelControlTitle = new DevExpress.XtraEditors.LabelControl();
     this.textEditPostcode = new DevExpress.XtraEditors.TextEdit();
     this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
     this.textEditTenant_relate_id = new DevExpress.XtraEditors.TextEdit();
     this.textEditDateCreate = new DevExpress.XtraEditors.TextEdit();
     this.textEditTenantID = new DevExpress.XtraEditors.TextEdit();
     this.bttDelete = new DevExpress.XtraEditors.SimpleButton();
     this.bttAdd = new DevExpress.XtraEditors.SimpleButton();
     this.bttEdit = new DevExpress.XtraEditors.SimpleButton();
     this.bttCancel = new DevExpress.XtraEditors.SimpleButton();
     this.bttSave = new DevExpress.XtraEditors.SimpleButton();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlTenantList)).BeginInit();
     this.groupControlTenantList.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlTenant)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewTenant)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).BeginInit();
     this.splitContainerControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit();
     this.panelControl3.SuspendLayout();
     this.xtraScrollableControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlRental)).BeginInit();
     this.groupControlRental.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditCheckOutDate.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditCheckinDate.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomType.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditFloor.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditBuilding.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomLabel.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditStatus.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlTenant)).BeginInit();
     this.groupControlTenant.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditDistrict.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditProvince.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditBirthday.Properties.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditBirthday.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditPrefix.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditPhone.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditName.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRemark.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditAddress.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditCarLicence.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditIDCard.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditSurname.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditPostcode.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
     this.panelControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditTenant_relate_id.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditDateCreate.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditTenantID.Properties)).BeginInit();
     this.SuspendLayout();
     //
     // groupControlTenantList
     //
     this.groupControlTenantList.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlTenantList.AppearanceCaption.Options.UseFont = true;
     this.groupControlTenantList.Controls.Add(this.gridControlTenant);
     this.groupControlTenantList.Dock = System.Windows.Forms.DockStyle.Fill;
     this.groupControlTenantList.Location = new System.Drawing.Point(0, 0);
     this.groupControlTenantList.Name = "groupControlTenantList";
     this.groupControlTenantList.Size = new System.Drawing.Size(401, 497);
     this.groupControlTenantList.TabIndex = 0;
     this.groupControlTenantList.Text = "รายการผู้เช่า";
     //
     // gridControlTenant
     //
     this.gridControlTenant.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlTenant.Location = new System.Drawing.Point(2, 22);
     this.gridControlTenant.MainView = this.gridViewTenant;
     this.gridControlTenant.Name = "gridControlTenant";
     this.gridControlTenant.Size = new System.Drawing.Size(397, 473);
     this.gridControlTenant.TabIndex = 1;
     this.gridControlTenant.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewTenant});
     //
     // gridViewTenant
     //
     this.gridViewTenant.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.tenant_id,
     this.tenant_prefix,
     this.tenant_name,
     this.tenant_surname,
     this.tenant_province_id,
     this.tenant_distict_id,
     this.tenant_modified_date,
     this.colTenantStatus,
     this.gridColumnTStatus,
     this.tenant_create_date,
     this.gridColumntenant_relate_id});
     this.gridViewTenant.GridControl = this.gridControlTenant;
     this.gridViewTenant.HorzScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Always;
     this.gridViewTenant.Name = "gridViewTenant";
     this.gridViewTenant.OptionsFind.AlwaysVisible = true;
     this.gridViewTenant.OptionsFind.ShowCloseButton = false;
     this.gridViewTenant.OptionsView.ShowGroupPanel = false;
     //
     // tenant_id
     //
     this.tenant_id.Caption = "tenant_id";
     this.tenant_id.FieldName = "tenant_id";
     this.tenant_id.Name = "tenant_id";
     this.tenant_id.OptionsColumn.AllowEdit = false;
     this.tenant_id.OptionsColumn.AllowFocus = false;
     this.tenant_id.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.tenant_id.OptionsColumn.AllowMove = false;
     //
     // tenant_prefix
     //
     this.tenant_prefix.AppearanceCell.Options.UseTextOptions = true;
     this.tenant_prefix.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.tenant_prefix.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.tenant_prefix.AppearanceHeader.Options.UseFont = true;
     this.tenant_prefix.AppearanceHeader.Options.UseTextOptions = true;
     this.tenant_prefix.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.tenant_prefix.Caption = "คำนำหน้า";
     this.tenant_prefix.Name = "tenant_prefix";
     this.tenant_prefix.OptionsColumn.AllowEdit = false;
     this.tenant_prefix.OptionsColumn.AllowFocus = false;
     this.tenant_prefix.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.tenant_prefix.OptionsColumn.AllowMove = false;
     this.tenant_prefix.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.True;
     this.tenant_prefix.SortMode = DevExpress.XtraGrid.ColumnSortMode.DisplayText;
     this.tenant_prefix.Visible = true;
     this.tenant_prefix.VisibleIndex = 0;
     this.tenant_prefix.Width = 55;
     //
     // tenant_name
     //
     this.tenant_name.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.tenant_name.AppearanceHeader.Options.UseFont = true;
     this.tenant_name.AppearanceHeader.Options.UseTextOptions = true;
     this.tenant_name.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.tenant_name.Caption = "ชื่อ";
     this.tenant_name.FieldName = "tenant_name";
     this.tenant_name.Name = "tenant_name";
     this.tenant_name.OptionsColumn.AllowEdit = false;
     this.tenant_name.OptionsColumn.AllowFocus = false;
     this.tenant_name.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.tenant_name.OptionsColumn.AllowMove = false;
     this.tenant_name.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.True;
     this.tenant_name.SortMode = DevExpress.XtraGrid.ColumnSortMode.DisplayText;
     this.tenant_name.Visible = true;
     this.tenant_name.VisibleIndex = 1;
     //
     // tenant_surname
     //
     this.tenant_surname.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.tenant_surname.AppearanceHeader.Options.UseFont = true;
     this.tenant_surname.AppearanceHeader.Options.UseTextOptions = true;
     this.tenant_surname.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.tenant_surname.Caption = "นามสกุล";
     this.tenant_surname.FieldName = "tenant_surname";
     this.tenant_surname.Name = "tenant_surname";
     this.tenant_surname.OptionsColumn.AllowEdit = false;
     this.tenant_surname.OptionsColumn.AllowFocus = false;
     this.tenant_surname.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.tenant_surname.OptionsColumn.AllowMove = false;
     this.tenant_surname.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.True;
     this.tenant_surname.Visible = true;
     this.tenant_surname.VisibleIndex = 2;
     this.tenant_surname.Width = 84;
     //
     // tenant_province_id
     //
     this.tenant_province_id.Caption = "tenant_province_id";
     this.tenant_province_id.FieldName = "tenant_province_id";
     this.tenant_province_id.Name = "tenant_province_id";
     this.tenant_province_id.OptionsColumn.AllowEdit = false;
     this.tenant_province_id.OptionsColumn.AllowFocus = false;
     this.tenant_province_id.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.tenant_province_id.OptionsColumn.AllowMove = false;
     //
     // tenant_distict_id
     //
     this.tenant_distict_id.Caption = "tenant_distict_id";
     this.tenant_distict_id.FieldName = "tenant_distict_id";
     this.tenant_distict_id.Name = "tenant_distict_id";
     this.tenant_distict_id.OptionsColumn.AllowEdit = false;
     this.tenant_distict_id.OptionsColumn.AllowFocus = false;
     this.tenant_distict_id.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.True;
     this.tenant_distict_id.OptionsColumn.AllowMove = false;
     //
     // tenant_modified_date
     //
     this.tenant_modified_date.Caption = "date_modified";
     this.tenant_modified_date.FieldName = "tenant_modified_date";
     this.tenant_modified_date.Name = "tenant_modified_date";
     this.tenant_modified_date.OptionsColumn.AllowEdit = false;
     this.tenant_modified_date.OptionsColumn.AllowFocus = false;
     this.tenant_modified_date.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.tenant_modified_date.OptionsColumn.AllowMove = false;
     //
     // colTenantStatus
     //
     this.colTenantStatus.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.colTenantStatus.AppearanceHeader.Options.UseFont = true;
     this.colTenantStatus.Caption = "สถานะ";
     this.colTenantStatus.Name = "colTenantStatus";
     this.colTenantStatus.OptionsColumn.AllowEdit = false;
     this.colTenantStatus.OptionsColumn.AllowFocus = false;
     this.colTenantStatus.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.colTenantStatus.OptionsColumn.AllowMove = false;
     this.colTenantStatus.OptionsColumn.ReadOnly = true;
     this.colTenantStatus.Visible = true;
     this.colTenantStatus.VisibleIndex = 3;
     //
     // gridColumnTStatus
     //
     this.gridColumnTStatus.Caption = "TStatus";
     this.gridColumnTStatus.FieldName = "tenant_status";
     this.gridColumnTStatus.Name = "gridColumnTStatus";
     //
     // tenant_create_date
     //
     this.tenant_create_date.Caption = "tenant_create_date";
     this.tenant_create_date.FieldName = "tenant_created_date";
     this.tenant_create_date.Name = "tenant_create_date";
     //
     // gridColumntenant_relate_id
     //
     this.gridColumntenant_relate_id.Caption = "tenant_relate_id";
     this.gridColumntenant_relate_id.FieldName = "tenant_relate_id";
     this.gridColumntenant_relate_id.Name = "gridColumntenant_relate_id";
     //
     // splitContainerControl2
     //
     this.splitContainerControl2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerControl2.Location = new System.Drawing.Point(7, 7);
     this.splitContainerControl2.Name = "splitContainerControl2";
     this.splitContainerControl2.Panel1.Controls.Add(this.groupControlTenantList);
     this.splitContainerControl2.Panel1.Text = "Panel1";
     this.splitContainerControl2.Panel2.Controls.Add(this.panelControl3);
     this.splitContainerControl2.Panel2.Controls.Add(this.panelControl1);
     this.splitContainerControl2.Panel2.Text = "Panel2";
     this.splitContainerControl2.Size = new System.Drawing.Size(1006, 497);
     this.splitContainerControl2.SplitterPosition = 401;
     this.splitContainerControl2.TabIndex = 19;
     this.splitContainerControl2.Text = "splitContainerControl2";
     //
     // panelControl3
     //
     this.panelControl3.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(236)))), ((int)(((byte)(239)))));
     this.panelControl3.Appearance.Options.UseBackColor = true;
     this.panelControl3.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl3.Controls.Add(this.xtraScrollableControl1);
     this.panelControl3.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panelControl3.Location = new System.Drawing.Point(0, 0);
     this.panelControl3.Name = "panelControl3";
     this.panelControl3.Size = new System.Drawing.Size(600, 431);
     this.panelControl3.TabIndex = 12;
     //
     // xtraScrollableControl1
     //
     this.xtraScrollableControl1.Controls.Add(this.groupControlRental);
     this.xtraScrollableControl1.Controls.Add(this.groupControlTenant);
     this.xtraScrollableControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.xtraScrollableControl1.Location = new System.Drawing.Point(0, 0);
     this.xtraScrollableControl1.Name = "xtraScrollableControl1";
     this.xtraScrollableControl1.Size = new System.Drawing.Size(600, 431);
     this.xtraScrollableControl1.TabIndex = 0;
     //
     // groupControlRental
     //
     this.groupControlRental.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlRental.AppearanceCaption.Options.UseFont = true;
     this.groupControlRental.Controls.Add(this.textEditCheckOutDate);
     this.groupControlRental.Controls.Add(this.textEditCheckinDate);
     this.groupControlRental.Controls.Add(this.labelControlDateOut);
     this.groupControlRental.Controls.Add(this.labelControlDateIn);
     this.groupControlRental.Controls.Add(this.textEditRoomType);
     this.groupControlRental.Controls.Add(this.labelControlRoomType);
     this.groupControlRental.Controls.Add(this.textEditFloor);
     this.groupControlRental.Controls.Add(this.labelControlFloor);
     this.groupControlRental.Controls.Add(this.textEditBuilding);
     this.groupControlRental.Controls.Add(this.labelControlBuilding);
     this.groupControlRental.Controls.Add(this.textEditRoomLabel);
     this.groupControlRental.Controls.Add(this.labelControlRoomName);
     this.groupControlRental.Controls.Add(this.textEditStatus);
     this.groupControlRental.Controls.Add(this.labelControlStatus);
     this.groupControlRental.Dock = System.Windows.Forms.DockStyle.Top;
     this.groupControlRental.Location = new System.Drawing.Point(0, 400);
     this.groupControlRental.Name = "groupControlRental";
     this.groupControlRental.Size = new System.Drawing.Size(583, 190);
     this.groupControlRental.TabIndex = 6;
     this.groupControlRental.Text = "การเช่า";
     //
     // textEditCheckOutDate
     //
     this.textEditCheckOutDate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditCheckOutDate.EditValue = "";
     this.textEditCheckOutDate.Enabled = false;
     this.textEditCheckOutDate.Location = new System.Drawing.Point(410, 138);
     this.textEditCheckOutDate.Name = "textEditCheckOutDate";
     this.textEditCheckOutDate.Properties.MaxLength = 50;
     this.textEditCheckOutDate.Size = new System.Drawing.Size(150, 20);
     this.textEditCheckOutDate.TabIndex = 364;
     //
     // textEditCheckinDate
     //
     this.textEditCheckinDate.EditValue = "";
     this.textEditCheckinDate.Enabled = false;
     this.textEditCheckinDate.Location = new System.Drawing.Point(182, 138);
     this.textEditCheckinDate.Name = "textEditCheckinDate";
     this.textEditCheckinDate.Properties.MaxLength = 50;
     this.textEditCheckinDate.Size = new System.Drawing.Size(143, 20);
     this.textEditCheckinDate.TabIndex = 363;
     //
     // labelControlDateOut
     //
     this.labelControlDateOut.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControlDateOut.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlDateOut.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlDateOut.Location = new System.Drawing.Point(296, 145);
     this.labelControlDateOut.Name = "labelControlDateOut";
     this.labelControlDateOut.Size = new System.Drawing.Size(108, 13);
     this.labelControlDateOut.TabIndex = 362;
     this.labelControlDateOut.Text = "วันที่ย้ายออก :";
     //
     // labelControlDateIn
     //
     this.labelControlDateIn.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlDateIn.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlDateIn.Location = new System.Drawing.Point(39, 145);
     this.labelControlDateIn.Name = "labelControlDateIn";
     this.labelControlDateIn.Size = new System.Drawing.Size(133, 13);
     this.labelControlDateIn.TabIndex = 361;
     this.labelControlDateIn.Text = "วันที่เข้าพัก :";
     //
     // textEditRoomType
     //
     this.textEditRoomType.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditRoomType.EditValue = "";
     this.textEditRoomType.Enabled = false;
     this.textEditRoomType.Location = new System.Drawing.Point(182, 112);
     this.textEditRoomType.Name = "textEditRoomType";
     this.textEditRoomType.Properties.MaxLength = 200;
     this.textEditRoomType.Size = new System.Drawing.Size(378, 20);
     this.textEditRoomType.TabIndex = 357;
     //
     // labelControlRoomType
     //
     this.labelControlRoomType.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlRoomType.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlRoomType.Location = new System.Drawing.Point(34, 119);
     this.labelControlRoomType.Name = "labelControlRoomType";
     this.labelControlRoomType.Size = new System.Drawing.Size(138, 13);
     this.labelControlRoomType.TabIndex = 358;
     this.labelControlRoomType.Text = "ประเภทห้อง :";
     //
     // textEditFloor
     //
     this.textEditFloor.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditFloor.EditValue = "";
     this.textEditFloor.Enabled = false;
     this.textEditFloor.Location = new System.Drawing.Point(182, 86);
     this.textEditFloor.Name = "textEditFloor";
     this.textEditFloor.Properties.MaxLength = 50;
     this.textEditFloor.Size = new System.Drawing.Size(378, 20);
     this.textEditFloor.TabIndex = 357;
     //
     // labelControlFloor
     //
     this.labelControlFloor.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlFloor.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlFloor.Location = new System.Drawing.Point(75, 93);
     this.labelControlFloor.Name = "labelControlFloor";
     this.labelControlFloor.Size = new System.Drawing.Size(97, 13);
     this.labelControlFloor.TabIndex = 358;
     this.labelControlFloor.Text = "ชั้น :";
     //
     // textEditBuilding
     //
     this.textEditBuilding.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditBuilding.EditValue = "";
     this.textEditBuilding.Enabled = false;
     this.textEditBuilding.Location = new System.Drawing.Point(182, 60);
     this.textEditBuilding.Name = "textEditBuilding";
     this.textEditBuilding.Properties.MaxLength = 200;
     this.textEditBuilding.Size = new System.Drawing.Size(378, 20);
     this.textEditBuilding.TabIndex = 357;
     //
     // labelControlBuilding
     //
     this.labelControlBuilding.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlBuilding.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlBuilding.Location = new System.Drawing.Point(60, 67);
     this.labelControlBuilding.Name = "labelControlBuilding";
     this.labelControlBuilding.Size = new System.Drawing.Size(112, 13);
     this.labelControlBuilding.TabIndex = 358;
     this.labelControlBuilding.Text = "อาคาร :";
     //
     // textEditRoomLabel
     //
     this.textEditRoomLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditRoomLabel.EditValue = "";
     this.textEditRoomLabel.Enabled = false;
     this.textEditRoomLabel.Location = new System.Drawing.Point(182, 34);
     this.textEditRoomLabel.Name = "textEditRoomLabel";
     this.textEditRoomLabel.Properties.MaxLength = 200;
     this.textEditRoomLabel.Size = new System.Drawing.Size(378, 20);
     this.textEditRoomLabel.TabIndex = 357;
     //
     // labelControlRoomName
     //
     this.labelControlRoomName.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlRoomName.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlRoomName.Location = new System.Drawing.Point(56, 41);
     this.labelControlRoomName.Name = "labelControlRoomName";
     this.labelControlRoomName.Size = new System.Drawing.Size(116, 13);
     this.labelControlRoomName.TabIndex = 358;
     this.labelControlRoomName.Text = "ชื่อห้อง :";
     //
     // textEditStatus
     //
     this.textEditStatus.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditStatus.EditValue = "";
     this.textEditStatus.Enabled = false;
     this.textEditStatus.Location = new System.Drawing.Point(182, 164);
     this.textEditStatus.Name = "textEditStatus";
     this.textEditStatus.Properties.MaxLength = 200;
     this.textEditStatus.Size = new System.Drawing.Size(378, 20);
     this.textEditStatus.TabIndex = 354;
     //
     // labelControlStatus
     //
     this.labelControlStatus.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlStatus.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlStatus.Location = new System.Drawing.Point(59, 171);
     this.labelControlStatus.Name = "labelControlStatus";
     this.labelControlStatus.Size = new System.Drawing.Size(113, 13);
     this.labelControlStatus.TabIndex = 356;
     this.labelControlStatus.Text = "สถานะ :";
     //
     // groupControlTenant
     //
     this.groupControlTenant.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlTenant.AppearanceCaption.Options.UseFont = true;
     this.groupControlTenant.Controls.Add(this.textEditDistrict);
     this.groupControlTenant.Controls.Add(this.textEditProvince);
     this.groupControlTenant.Controls.Add(this.labelControl26);
     this.groupControlTenant.Controls.Add(this.labelControl2);
     this.groupControlTenant.Controls.Add(this.labelControl23);
     this.groupControlTenant.Controls.Add(this.labelControl22);
     this.groupControlTenant.Controls.Add(this.labelControl21);
     this.groupControlTenant.Controls.Add(this.labelControl20);
     this.groupControlTenant.Controls.Add(this.labelControl19);
     this.groupControlTenant.Controls.Add(this.labelControl18);
     this.groupControlTenant.Controls.Add(this.labelControl1);
     this.groupControlTenant.Controls.Add(this.labelControl3);
     this.groupControlTenant.Controls.Add(this.dateEditBirthday);
     this.groupControlTenant.Controls.Add(this.labelControlBirthday);
     this.groupControlTenant.Controls.Add(this.labelControlDistinct);
     this.groupControlTenant.Controls.Add(this.labelControlProvince);
     this.groupControlTenant.Controls.Add(this.lookUpEditPrefix);
     this.groupControlTenant.Controls.Add(this.labelControlRequired);
     this.groupControlTenant.Controls.Add(this.labelControlPhone);
     this.groupControlTenant.Controls.Add(this.textEditPhone);
     this.groupControlTenant.Controls.Add(this.textEditName);
     this.groupControlTenant.Controls.Add(this.textEditRemark);
     this.groupControlTenant.Controls.Add(this.textEditAddress);
     this.groupControlTenant.Controls.Add(this.labelControlCarLicence);
     this.groupControlTenant.Controls.Add(this.labelControlRemark);
     this.groupControlTenant.Controls.Add(this.textEditCarLicence);
     this.groupControlTenant.Controls.Add(this.labelControlAddress);
     this.groupControlTenant.Controls.Add(this.labelControlIDCard);
     this.groupControlTenant.Controls.Add(this.labelControlSurname);
     this.groupControlTenant.Controls.Add(this.textEditIDCard);
     this.groupControlTenant.Controls.Add(this.labelControlName);
     this.groupControlTenant.Controls.Add(this.textEditSurname);
     this.groupControlTenant.Controls.Add(this.labelControlPostcode);
     this.groupControlTenant.Controls.Add(this.labelControlTitle);
     this.groupControlTenant.Controls.Add(this.textEditPostcode);
     this.groupControlTenant.Dock = System.Windows.Forms.DockStyle.Top;
     this.groupControlTenant.Location = new System.Drawing.Point(0, 0);
     this.groupControlTenant.Name = "groupControlTenant";
     this.groupControlTenant.Size = new System.Drawing.Size(583, 400);
     this.groupControlTenant.TabIndex = 3;
     this.groupControlTenant.Text = "จัดการผู้เช่า";
     //
     // textEditDistrict
     //
     this.textEditDistrict.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditDistrict.EditValue = "";
     this.textEditDistrict.Enabled = false;
     this.textEditDistrict.Location = new System.Drawing.Point(183, 217);
     this.textEditDistrict.Name = "textEditDistrict";
     this.textEditDistrict.Properties.Mask.EditMask = "([a-zA-Z0-9|ก-๙|\\\' \']){1,200}";
     this.textEditDistrict.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditDistrict.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditDistrict.Properties.MaxLength = 200;
     this.textEditDistrict.Size = new System.Drawing.Size(378, 20);
     this.textEditDistrict.TabIndex = 447;
     //
     // textEditProvince
     //
     this.textEditProvince.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditProvince.EditValue = "";
     this.textEditProvince.Enabled = false;
     this.textEditProvince.Location = new System.Drawing.Point(183, 243);
     this.textEditProvince.Name = "textEditProvince";
     this.textEditProvince.Properties.Mask.EditMask = "([a-zA-Z0-9|ก-๙|\\\' \']){1,200}";
     this.textEditProvince.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditProvince.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditProvince.Properties.MaxLength = 200;
     this.textEditProvince.Size = new System.Drawing.Size(378, 20);
     this.textEditProvince.TabIndex = 446;
     //
     // labelControl26
     //
     this.labelControl26.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl26.Location = new System.Drawing.Point(65, 250);
     this.labelControl26.Name = "labelControl26";
     this.labelControl26.Size = new System.Drawing.Size(6, 13);
     this.labelControl26.TabIndex = 445;
     this.labelControl26.Text = "*";
     //
     // labelControl2
     //
     this.labelControl2.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl2.Location = new System.Drawing.Point(65, 224);
     this.labelControl2.Name = "labelControl2";
     this.labelControl2.Size = new System.Drawing.Size(6, 13);
     this.labelControl2.TabIndex = 442;
     this.labelControl2.Text = "*";
     //
     // labelControl23
     //
     this.labelControl23.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl23.Location = new System.Drawing.Point(65, 168);
     this.labelControl23.Name = "labelControl23";
     this.labelControl23.Size = new System.Drawing.Size(6, 13);
     this.labelControl23.TabIndex = 443;
     this.labelControl23.Text = "*";
     //
     // labelControl22
     //
     this.labelControl22.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl22.Location = new System.Drawing.Point(5, 122);
     this.labelControl22.Name = "labelControl22";
     this.labelControl22.Size = new System.Drawing.Size(6, 13);
     this.labelControl22.TabIndex = 441;
     this.labelControl22.Text = "*";
     //
     // labelControl21
     //
     this.labelControl21.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.labelControl21.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl21.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControl21.Location = new System.Drawing.Point(65, 98);
     this.labelControl21.Name = "labelControl21";
     this.labelControl21.Size = new System.Drawing.Size(6, 13);
     this.labelControl21.TabIndex = 440;
     this.labelControl21.Text = "*";
     //
     // labelControl20
     //
     this.labelControl20.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl20.Location = new System.Drawing.Point(65, 143);
     this.labelControl20.Name = "labelControl20";
     this.labelControl20.Size = new System.Drawing.Size(6, 13);
     this.labelControl20.TabIndex = 439;
     this.labelControl20.Text = "*";
     //
     // labelControl19
     //
     this.labelControl19.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.labelControl19.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl19.Location = new System.Drawing.Point(65, 68);
     this.labelControl19.Name = "labelControl19";
     this.labelControl19.Size = new System.Drawing.Size(6, 13);
     this.labelControl19.TabIndex = 438;
     this.labelControl19.Text = "*";
     //
     // labelControl18
     //
     this.labelControl18.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.labelControl18.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl18.Location = new System.Drawing.Point(65, 42);
     this.labelControl18.Name = "labelControl18";
     this.labelControl18.Size = new System.Drawing.Size(6, 13);
     this.labelControl18.TabIndex = 437;
     this.labelControl18.Text = "*";
     //
     // labelControl1
     //
     this.labelControl1.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl1.Location = new System.Drawing.Point(65, 302);
     this.labelControl1.Name = "labelControl1";
     this.labelControl1.Size = new System.Drawing.Size(6, 13);
     this.labelControl1.TabIndex = 435;
     this.labelControl1.Text = "*";
     //
     // labelControl3
     //
     this.labelControl3.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl3.Location = new System.Drawing.Point(65, 276);
     this.labelControl3.Name = "labelControl3";
     this.labelControl3.Size = new System.Drawing.Size(6, 13);
     this.labelControl3.TabIndex = 435;
     this.labelControl3.Text = "*";
     //
     // dateEditBirthday
     //
     this.dateEditBirthday.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.dateEditBirthday.EditValue = new System.DateTime(2011, 7, 18, 10, 11, 22, 586);
     this.dateEditBirthday.Enabled = false;
     this.dateEditBirthday.Location = new System.Drawing.Point(182, 139);
     this.dateEditBirthday.Name = "dateEditBirthday";
     this.dateEditBirthday.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.dateEditBirthday.Properties.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.dateEditBirthday.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dateEditBirthday.Properties.EditFormat.FormatString = "dd/MMM/yyyy";
     this.dateEditBirthday.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dateEditBirthday.Properties.Mask.EditMask = "dd/MM/yyyy";
     this.dateEditBirthday.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     this.dateEditBirthday.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.dateEditBirthday.Size = new System.Drawing.Size(378, 20);
     this.dateEditBirthday.TabIndex = 433;
     //
     // labelControlBirthday
     //
     this.labelControlBirthday.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlBirthday.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlBirthday.Location = new System.Drawing.Point(69, 146);
     this.labelControlBirthday.Name = "labelControlBirthday";
     this.labelControlBirthday.Size = new System.Drawing.Size(103, 13);
     this.labelControlBirthday.TabIndex = 434;
     this.labelControlBirthday.Text = "วันเกิด :";
     //
     // labelControlDistinct
     //
     this.labelControlDistinct.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlDistinct.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlDistinct.Location = new System.Drawing.Point(42, 224);
     this.labelControlDistinct.Name = "labelControlDistinct";
     this.labelControlDistinct.Size = new System.Drawing.Size(131, 13);
     this.labelControlDistinct.TabIndex = 431;
     this.labelControlDistinct.Text = "อำเภอ / เขต :";
     //
     // labelControlProvince
     //
     this.labelControlProvince.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlProvince.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlProvince.Location = new System.Drawing.Point(70, 250);
     this.labelControlProvince.Name = "labelControlProvince";
     this.labelControlProvince.Size = new System.Drawing.Size(103, 13);
     this.labelControlProvince.TabIndex = 432;
     this.labelControlProvince.Text = "จังหวัด :";
     //
     // lookUpEditPrefix
     //
     this.lookUpEditPrefix.Enabled = false;
     this.lookUpEditPrefix.Location = new System.Drawing.Point(182, 35);
     this.lookUpEditPrefix.Name = "lookUpEditPrefix";
     this.lookUpEditPrefix.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lookUpEditPrefix.Size = new System.Drawing.Size(379, 20);
     this.lookUpEditPrefix.TabIndex = 417;
     //
     // labelControlRequired
     //
     this.labelControlRequired.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControlRequired.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlRequired.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlRequired.Location = new System.Drawing.Point(65, 380);
     this.labelControlRequired.Name = "labelControlRequired";
     this.labelControlRequired.Size = new System.Drawing.Size(107, 13);
     this.labelControlRequired.TabIndex = 429;
     this.labelControlRequired.Text = "* โปรดระบุ";
     //
     // labelControlPhone
     //
     this.labelControlPhone.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlPhone.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlPhone.Location = new System.Drawing.Point(48, 302);
     this.labelControlPhone.Name = "labelControlPhone";
     this.labelControlPhone.Size = new System.Drawing.Size(124, 13);
     this.labelControlPhone.TabIndex = 430;
     this.labelControlPhone.Text = "เบอร์ติดต่อ :";
     //
     // textEditPhone
     //
     this.textEditPhone.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditPhone.EditValue = "";
     this.textEditPhone.Enabled = false;
     this.textEditPhone.Location = new System.Drawing.Point(182, 295);
     this.textEditPhone.Name = "textEditPhone";
     this.textEditPhone.Properties.MaxLength = 50;
     this.textEditPhone.Size = new System.Drawing.Size(378, 20);
     this.textEditPhone.TabIndex = 420;
     //
     // textEditName
     //
     this.textEditName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditName.EditValue = "";
     this.textEditName.Enabled = false;
     this.textEditName.Location = new System.Drawing.Point(182, 61);
     this.textEditName.Name = "textEditName";
     this.textEditName.Properties.Mask.EditMask = "([a-zA-Z0-9|ก-๙|\\\' \']){1,200}";
     this.textEditName.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditName.Properties.MaxLength = 200;
     this.textEditName.Size = new System.Drawing.Size(378, 20);
     this.textEditName.TabIndex = 412;
     //
     // textEditRemark
     //
     this.textEditRemark.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditRemark.Enabled = false;
     this.textEditRemark.Location = new System.Drawing.Point(182, 347);
     this.textEditRemark.Name = "textEditRemark";
     this.textEditRemark.Properties.MaxLength = 500;
     this.textEditRemark.Size = new System.Drawing.Size(378, 46);
     this.textEditRemark.TabIndex = 415;
     //
     // textEditAddress
     //
     this.textEditAddress.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditAddress.EditValue = "";
     this.textEditAddress.Enabled = false;
     this.textEditAddress.Location = new System.Drawing.Point(182, 165);
     this.textEditAddress.Name = "textEditAddress";
     this.textEditAddress.Properties.MaxLength = 300;
     this.textEditAddress.Size = new System.Drawing.Size(378, 46);
     this.textEditAddress.TabIndex = 416;
     //
     // labelControlCarLicence
     //
     this.labelControlCarLicence.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlCarLicence.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlCarLicence.Location = new System.Drawing.Point(51, 328);
     this.labelControlCarLicence.Name = "labelControlCarLicence";
     this.labelControlCarLicence.Size = new System.Drawing.Size(121, 13);
     this.labelControlCarLicence.TabIndex = 428;
     this.labelControlCarLicence.Text = "ทะเบียนรถ :";
     //
     // labelControlRemark
     //
     this.labelControlRemark.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlRemark.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlRemark.Location = new System.Drawing.Point(56, 350);
     this.labelControlRemark.Name = "labelControlRemark";
     this.labelControlRemark.Size = new System.Drawing.Size(116, 13);
     this.labelControlRemark.TabIndex = 426;
     this.labelControlRemark.Text = "หมายเหตุ :";
     //
     // textEditCarLicence
     //
     this.textEditCarLicence.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditCarLicence.EditValue = "";
     this.textEditCarLicence.Enabled = false;
     this.textEditCarLicence.Location = new System.Drawing.Point(182, 321);
     this.textEditCarLicence.Name = "textEditCarLicence";
     this.textEditCarLicence.Properties.Mask.EditMask = "([a-zA-Z0-9|ก-๙|\\\' \'|\\-]){0,20}";
     this.textEditCarLicence.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditCarLicence.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditCarLicence.Properties.MaxLength = 20;
     this.textEditCarLicence.Size = new System.Drawing.Size(378, 20);
     this.textEditCarLicence.TabIndex = 419;
     //
     // labelControlAddress
     //
     this.labelControlAddress.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlAddress.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlAddress.Location = new System.Drawing.Point(78, 168);
     this.labelControlAddress.Name = "labelControlAddress";
     this.labelControlAddress.Size = new System.Drawing.Size(94, 13);
     this.labelControlAddress.TabIndex = 427;
     this.labelControlAddress.Text = "ที่อยู่ :";
     //
     // labelControlIDCard
     //
     this.labelControlIDCard.AllowHtmlString = true;
     this.labelControlIDCard.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlIDCard.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlIDCard.Location = new System.Drawing.Point(-2, 119);
     this.labelControlIDCard.Name = "labelControlIDCard";
     this.labelControlIDCard.Size = new System.Drawing.Size(174, 14);
     this.labelControlIDCard.TabIndex = 425;
     this.labelControlIDCard.Text = "บัตรประชาชน / หนังสือเดินทาง :";
     //
     // labelControlSurname
     //
     this.labelControlSurname.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlSurname.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlSurname.Location = new System.Drawing.Point(59, 94);
     this.labelControlSurname.Name = "labelControlSurname";
     this.labelControlSurname.Size = new System.Drawing.Size(113, 13);
     this.labelControlSurname.TabIndex = 424;
     this.labelControlSurname.Text = "นามสกุล :";
     //
     // textEditIDCard
     //
     this.textEditIDCard.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditIDCard.EditValue = "";
     this.textEditIDCard.Enabled = false;
     this.textEditIDCard.Location = new System.Drawing.Point(182, 113);
     this.textEditIDCard.Name = "textEditIDCard";
     this.textEditIDCard.Properties.Mask.EditMask = "([0-9]){13}";
     this.textEditIDCard.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditIDCard.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditIDCard.Properties.MaxLength = 13;
     this.textEditIDCard.Size = new System.Drawing.Size(378, 20);
     this.textEditIDCard.TabIndex = 414;
     //
     // labelControlName
     //
     this.labelControlName.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlName.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlName.Location = new System.Drawing.Point(85, 68);
     this.labelControlName.Name = "labelControlName";
     this.labelControlName.Size = new System.Drawing.Size(87, 13);
     this.labelControlName.TabIndex = 423;
     this.labelControlName.Text = "ชื่อ :";
     //
     // textEditSurname
     //
     this.textEditSurname.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditSurname.EditValue = "";
     this.textEditSurname.Enabled = false;
     this.textEditSurname.Location = new System.Drawing.Point(182, 87);
     this.textEditSurname.Name = "textEditSurname";
     this.textEditSurname.Properties.Mask.EditMask = "([a-zA-Z0-9|ก-๙|\\\' \']){1,200}";
     this.textEditSurname.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditSurname.Properties.MaxLength = 200;
     this.textEditSurname.Size = new System.Drawing.Size(378, 20);
     this.textEditSurname.TabIndex = 413;
     //
     // labelControlPostcode
     //
     this.labelControlPostcode.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlPostcode.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlPostcode.Location = new System.Drawing.Point(39, 276);
     this.labelControlPostcode.Name = "labelControlPostcode";
     this.labelControlPostcode.Size = new System.Drawing.Size(133, 13);
     this.labelControlPostcode.TabIndex = 421;
     this.labelControlPostcode.Text = "รหัสไปรษณีย์ :";
     //
     // labelControlTitle
     //
     this.labelControlTitle.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlTitle.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlTitle.Location = new System.Drawing.Point(20, 42);
     this.labelControlTitle.Name = "labelControlTitle";
     this.labelControlTitle.Size = new System.Drawing.Size(152, 13);
     this.labelControlTitle.TabIndex = 422;
     this.labelControlTitle.Text = "คำนำหน้า :";
     //
     // textEditPostcode
     //
     this.textEditPostcode.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditPostcode.EditValue = "";
     this.textEditPostcode.Enabled = false;
     this.textEditPostcode.Location = new System.Drawing.Point(182, 269);
     this.textEditPostcode.Name = "textEditPostcode";
     this.textEditPostcode.Properties.MaxLength = 10;
     this.textEditPostcode.Size = new System.Drawing.Size(378, 20);
     this.textEditPostcode.TabIndex = 410;
     //
     // panelControl1
     //
     this.panelControl1.Controls.Add(this.textEditTenant_relate_id);
     this.panelControl1.Controls.Add(this.textEditDateCreate);
     this.panelControl1.Controls.Add(this.textEditTenantID);
     this.panelControl1.Controls.Add(this.bttDelete);
     this.panelControl1.Controls.Add(this.bttAdd);
     this.panelControl1.Controls.Add(this.bttEdit);
     this.panelControl1.Controls.Add(this.bttCancel);
     this.panelControl1.Controls.Add(this.bttSave);
     this.panelControl1.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.panelControl1.Location = new System.Drawing.Point(0, 431);
     this.panelControl1.Name = "panelControl1";
     this.panelControl1.Size = new System.Drawing.Size(600, 66);
     this.panelControl1.TabIndex = 1;
     //
     // textEditTenant_relate_id
     //
     this.textEditTenant_relate_id.Location = new System.Drawing.Point(78, 12);
     this.textEditTenant_relate_id.Name = "textEditTenant_relate_id";
     this.textEditTenant_relate_id.Size = new System.Drawing.Size(27, 20);
     this.textEditTenant_relate_id.TabIndex = 365;
     this.textEditTenant_relate_id.Visible = false;
     //
     // textEditDateCreate
     //
     this.textEditDateCreate.Location = new System.Drawing.Point(42, 12);
     this.textEditDateCreate.Name = "textEditDateCreate";
     this.textEditDateCreate.Size = new System.Drawing.Size(27, 20);
     this.textEditDateCreate.TabIndex = 364;
     this.textEditDateCreate.Visible = false;
     //
     // textEditTenantID
     //
     this.textEditTenantID.Location = new System.Drawing.Point(5, 12);
     this.textEditTenantID.Name = "textEditTenantID";
     this.textEditTenantID.Size = new System.Drawing.Size(27, 20);
     this.textEditTenantID.TabIndex = 363;
     this.textEditTenantID.Visible = false;
     //
     // bttDelete
     //
     this.bttDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttDelete.Image = global::DXWindowsApplication2.Properties.Resources.delete;
     this.bttDelete.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttDelete.Location = new System.Drawing.Point(373, 5);
     this.bttDelete.Name = "bttDelete";
     this.bttDelete.Size = new System.Drawing.Size(70, 55);
     this.bttDelete.TabIndex = 20;
     this.bttDelete.Text = "ลบข้อมูล";
     //
     // bttAdd
     //
     this.bttAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttAdd.Image = global::DXWindowsApplication2.Properties.Resources.Add;
     this.bttAdd.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttAdd.Location = new System.Drawing.Point(221, 5);
     this.bttAdd.Name = "bttAdd";
     this.bttAdd.Size = new System.Drawing.Size(70, 55);
     this.bttAdd.TabIndex = 18;
     this.bttAdd.Text = "เพิ่มข้อมูล";
     this.bttAdd.Visible = false;
     //
     // bttEdit
     //
     this.bttEdit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttEdit.Image = global::DXWindowsApplication2.Properties.Resources.edit;
     this.bttEdit.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttEdit.Location = new System.Drawing.Point(297, 5);
     this.bttEdit.Name = "bttEdit";
     this.bttEdit.Size = new System.Drawing.Size(70, 55);
     this.bttEdit.TabIndex = 19;
     this.bttEdit.Text = "แก้ไขข้อมูล";
     //
     // bttCancel
     //
     this.bttCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttCancel.Enabled = false;
     this.bttCancel.Image = global::DXWindowsApplication2.Properties.Resources.Close;
     this.bttCancel.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttCancel.Location = new System.Drawing.Point(525, 5);
     this.bttCancel.Name = "bttCancel";
     this.bttCancel.Size = new System.Drawing.Size(70, 55);
     this.bttCancel.TabIndex = 22;
     this.bttCancel.Text = "ยกเลิก";
     //
     // bttSave
     //
     this.bttSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttSave.Enabled = false;
     this.bttSave.Image = global::DXWindowsApplication2.Properties.Resources.save;
     this.bttSave.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttSave.Location = new System.Drawing.Point(449, 5);
     this.bttSave.Name = "bttSave";
     this.bttSave.Size = new System.Drawing.Size(70, 55);
     this.bttSave.TabIndex = 21;
     this.bttSave.Text = "บันทึก";
     //
     // Tenant
     //
     this.Appearance.BackColor = System.Drawing.Color.White;
     this.Appearance.Options.UseBackColor = true;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.splitContainerControl2);
     this.Name = "Tenant";
     this.Padding = new System.Windows.Forms.Padding(7);
     this.Size = new System.Drawing.Size(1020, 511);
     ((System.ComponentModel.ISupportInitialize)(this.groupControlTenantList)).EndInit();
     this.groupControlTenantList.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlTenant)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewTenant)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).EndInit();
     this.splitContainerControl2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit();
     this.panelControl3.ResumeLayout(false);
     this.xtraScrollableControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControlRental)).EndInit();
     this.groupControlRental.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.textEditCheckOutDate.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditCheckinDate.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomType.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditFloor.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditBuilding.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomLabel.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditStatus.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlTenant)).EndInit();
     this.groupControlTenant.ResumeLayout(false);
     this.groupControlTenant.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditDistrict.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditProvince.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditBirthday.Properties.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditBirthday.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditPrefix.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditPhone.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditName.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRemark.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditAddress.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditCarLicence.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditIDCard.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditSurname.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditPostcode.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
     this.panelControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.textEditTenant_relate_id.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditDateCreate.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditTenantID.Properties)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #5
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.groupControlList = new DevExpress.XtraEditors.GroupControl();
     this.gridControlRoom = new DevExpress.XtraGrid.GridControl();
     this.gridViewRoom = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.room_coderef = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_room_label = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_building_label = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_floor_code = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_roomtype_label = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_room_status_label = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_tenant_name = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_tenant_surname = new DevExpress.XtraGrid.Columns.GridColumn();
     this.room_room_id = new DevExpress.XtraGrid.Columns.GridColumn();
     this.room_tenant_id = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnCheckInDate = new DevExpress.XtraGrid.Columns.GridColumn();
     this.splitContainerControl2 = new DevExpress.XtraEditors.SplitContainerControl();
     this.panelControl3 = new DevExpress.XtraEditors.PanelControl();
     this.xtraScrollableControl1 = new DevExpress.XtraEditors.XtraScrollableControl();
     this.groupControlLeaveList = new DevExpress.XtraEditors.GroupControl();
     this.gridControlLeave = new DevExpress.XtraGrid.GridControl();
     this.gridViewLeave = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.grid_leave_coderef = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_leave_room_label = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_leave_tenant_name = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_leave_tenant_surname = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_leave_date_created = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemDateEditLeaveCreate = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.grid_leave_date = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemDateEditCheckOut = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.grid_leave_inform_name = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_leave_status = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnRoomID = new DevExpress.XtraGrid.Columns.GridColumn();
     this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
     this.bttCancelLeave = new DevExpress.XtraEditors.SimpleButton();
     this.panelControl4 = new DevExpress.XtraEditors.PanelControl();
     this.textEditBookingDate = new DevExpress.XtraEditors.TextEdit();
     this.textEditRoomCode = new DevExpress.XtraEditors.TextEdit();
     this.textEditRoomStatus = new DevExpress.XtraEditors.TextEdit();
     this.textEditTenantId = new DevExpress.XtraEditors.TextEdit();
     this.textEditRoomId = new DevExpress.XtraEditors.TextEdit();
     this.bttEdit = new DevExpress.XtraEditors.SimpleButton();
     this.bttCancel = new DevExpress.XtraEditors.SimpleButton();
     this.bttSave = new DevExpress.XtraEditors.SimpleButton();
     this.panelControlOut = new DevExpress.XtraEditors.PanelControl();
     this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl18 = new DevExpress.XtraEditors.LabelControl();
     this.dateEditCreate = new DevExpress.XtraEditors.DateEdit();
     this.labelControlDateCreate = new DevExpress.XtraEditors.LabelControl();
     this.dateEditLeaveDate = new DevExpress.XtraEditors.DateEdit();
     this.labelControlDateLeave = new DevExpress.XtraEditors.LabelControl();
     this.textEditLeaveName = new DevExpress.XtraEditors.TextEdit();
     this.labelControlLeaveName = new DevExpress.XtraEditors.LabelControl();
     this.groupRoomInfo = new DevExpress.XtraEditors.GroupControl();
     this.lookUpEditFloorId = new DevExpress.XtraEditors.LookUpEdit();
     this.labelControlFloor = new DevExpress.XtraEditors.LabelControl();
     this.textEditRoomName = new DevExpress.XtraEditors.TextEdit();
     this.labelControlRoomName = new DevExpress.XtraEditors.LabelControl();
     this.lookUpEditRoomTypeId = new DevExpress.XtraEditors.LookUpEdit();
     this.lookUpEditBuildingId = new DevExpress.XtraEditors.LookUpEdit();
     this.labelControlRoomType = new DevExpress.XtraEditors.LabelControl();
     this.labelControlBuilding = new DevExpress.XtraEditors.LabelControl();
     this.groupControlLeave = new DevExpress.XtraEditors.GroupControl();
     this.textEditTenantName = new DevExpress.XtraEditors.TextEdit();
     this.labelControlSurname = new DevExpress.XtraEditors.LabelControl();
     this.labelControlName = new DevExpress.XtraEditors.LabelControl();
     this.textEditTenantSurname = new DevExpress.XtraEditors.TextEdit();
     this.labelControlTitle = new DevExpress.XtraEditors.LabelControl();
     this.textEditTitle = new DevExpress.XtraEditors.TextEdit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlList)).BeginInit();
     this.groupControlList.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlRoom)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewRoom)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).BeginInit();
     this.splitContainerControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit();
     this.panelControl3.SuspendLayout();
     this.xtraScrollableControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlLeaveList)).BeginInit();
     this.groupControlLeaveList.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlLeave)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewLeave)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditLeaveCreate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditLeaveCreate.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditCheckOut)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditCheckOut.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
     this.panelControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).BeginInit();
     this.panelControl4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditBookingDate.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomCode.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomStatus.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditTenantId.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomId.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControlOut)).BeginInit();
     this.panelControlOut.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditCreate.Properties.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditCreate.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditLeaveDate.Properties.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditLeaveDate.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditLeaveName.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupRoomInfo)).BeginInit();
     this.groupRoomInfo.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditFloorId.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomName.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditRoomTypeId.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditBuildingId.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlLeave)).BeginInit();
     this.groupControlLeave.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditTenantName.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditTenantSurname.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditTitle.Properties)).BeginInit();
     this.SuspendLayout();
     //
     // groupControlList
     //
     this.groupControlList.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlList.AppearanceCaption.Options.UseFont = true;
     this.groupControlList.Controls.Add(this.gridControlRoom);
     this.groupControlList.Dock = System.Windows.Forms.DockStyle.Fill;
     this.groupControlList.Location = new System.Drawing.Point(0, 0);
     this.groupControlList.Name = "groupControlList";
     this.groupControlList.Size = new System.Drawing.Size(630, 466);
     this.groupControlList.TabIndex = 0;
     this.groupControlList.Text = "รายการห้องที่มีผู้เช่า";
     //
     // gridControlRoom
     //
     this.gridControlRoom.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlRoom.Location = new System.Drawing.Point(2, 22);
     this.gridControlRoom.MainView = this.gridViewRoom;
     this.gridControlRoom.Name = "gridControlRoom";
     this.gridControlRoom.Size = new System.Drawing.Size(626, 442);
     this.gridControlRoom.TabIndex = 1;
     this.gridControlRoom.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewRoom});
     //
     // gridViewRoom
     //
     this.gridViewRoom.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.room_coderef,
     this.grid_room_label,
     this.grid_building_label,
     this.grid_floor_code,
     this.grid_roomtype_label,
     this.grid_room_status_label,
     this.grid_tenant_name,
     this.grid_tenant_surname,
     this.room_room_id,
     this.room_tenant_id,
     this.gridColumnCheckInDate});
     this.gridViewRoom.GridControl = this.gridControlRoom;
     this.gridViewRoom.Name = "gridViewRoom";
     this.gridViewRoom.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridViewRoom.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridViewRoom.OptionsFind.AlwaysVisible = true;
     this.gridViewRoom.OptionsFind.ShowCloseButton = false;
     this.gridViewRoom.OptionsView.ShowGroupPanel = false;
     //
     // room_coderef
     //
     this.room_coderef.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.room_coderef.AppearanceHeader.Options.UseFont = true;
     this.room_coderef.Caption = "รหัสห้อง";
     this.room_coderef.FieldName = "coderef";
     this.room_coderef.Name = "room_coderef";
     this.room_coderef.OptionsColumn.AllowEdit = false;
     this.room_coderef.OptionsColumn.AllowFocus = false;
     this.room_coderef.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.room_coderef.OptionsColumn.AllowMove = false;
     //
     // grid_room_label
     //
     this.grid_room_label.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_room_label.AppearanceHeader.Options.UseFont = true;
     this.grid_room_label.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_room_label.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_room_label.Caption = "ชื่อห้อง";
     this.grid_room_label.FieldName = "room_label";
     this.grid_room_label.Name = "grid_room_label";
     this.grid_room_label.OptionsColumn.AllowEdit = false;
     this.grid_room_label.OptionsColumn.AllowFocus = false;
     this.grid_room_label.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_room_label.OptionsColumn.AllowMove = false;
     this.grid_room_label.Visible = true;
     this.grid_room_label.VisibleIndex = 0;
     //
     // grid_building_label
     //
     this.grid_building_label.AppearanceCell.Options.UseTextOptions = true;
     this.grid_building_label.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_building_label.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_building_label.AppearanceHeader.Options.UseFont = true;
     this.grid_building_label.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_building_label.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_building_label.Caption = "ชื่ออาคาร";
     this.grid_building_label.FieldName = "building_label";
     this.grid_building_label.Name = "grid_building_label";
     this.grid_building_label.OptionsColumn.AllowEdit = false;
     this.grid_building_label.OptionsColumn.AllowFocus = false;
     this.grid_building_label.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_building_label.OptionsColumn.AllowMove = false;
     this.grid_building_label.Visible = true;
     this.grid_building_label.VisibleIndex = 1;
     //
     // grid_floor_code
     //
     this.grid_floor_code.AppearanceCell.Options.UseTextOptions = true;
     this.grid_floor_code.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_floor_code.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_floor_code.AppearanceHeader.Options.UseFont = true;
     this.grid_floor_code.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_floor_code.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_floor_code.Caption = "ชั้น";
     this.grid_floor_code.FieldName = "floor_code";
     this.grid_floor_code.Name = "grid_floor_code";
     this.grid_floor_code.OptionsColumn.AllowEdit = false;
     this.grid_floor_code.OptionsColumn.AllowFocus = false;
     this.grid_floor_code.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_floor_code.OptionsColumn.AllowMove = false;
     this.grid_floor_code.Visible = true;
     this.grid_floor_code.VisibleIndex = 2;
     //
     // grid_roomtype_label
     //
     this.grid_roomtype_label.AppearanceCell.Options.UseTextOptions = true;
     this.grid_roomtype_label.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_roomtype_label.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_roomtype_label.AppearanceHeader.Options.UseFont = true;
     this.grid_roomtype_label.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_roomtype_label.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_roomtype_label.Caption = "ประเภทห้อง";
     this.grid_roomtype_label.FieldName = "roomtype_label";
     this.grid_roomtype_label.Name = "grid_roomtype_label";
     this.grid_roomtype_label.OptionsColumn.AllowEdit = false;
     this.grid_roomtype_label.OptionsColumn.AllowFocus = false;
     this.grid_roomtype_label.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_roomtype_label.OptionsColumn.AllowMove = false;
     this.grid_roomtype_label.Visible = true;
     this.grid_roomtype_label.VisibleIndex = 3;
     //
     // grid_room_status_label
     //
     this.grid_room_status_label.AppearanceCell.Options.UseTextOptions = true;
     this.grid_room_status_label.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_room_status_label.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_room_status_label.AppearanceHeader.Options.UseFont = true;
     this.grid_room_status_label.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_room_status_label.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_room_status_label.Caption = "สถานะห้อง";
     this.grid_room_status_label.FieldName = "room_status_label";
     this.grid_room_status_label.Name = "grid_room_status_label";
     this.grid_room_status_label.OptionsColumn.AllowEdit = false;
     this.grid_room_status_label.OptionsColumn.AllowFocus = false;
     this.grid_room_status_label.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_room_status_label.OptionsColumn.AllowMove = false;
     this.grid_room_status_label.Visible = true;
     this.grid_room_status_label.VisibleIndex = 4;
     //
     // grid_tenant_name
     //
     this.grid_tenant_name.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_tenant_name.AppearanceHeader.Options.UseFont = true;
     this.grid_tenant_name.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_tenant_name.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_tenant_name.Caption = "ชื่อ";
     this.grid_tenant_name.FieldName = "tenant_name";
     this.grid_tenant_name.Name = "grid_tenant_name";
     this.grid_tenant_name.OptionsColumn.AllowEdit = false;
     this.grid_tenant_name.OptionsColumn.AllowFocus = false;
     this.grid_tenant_name.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_tenant_name.OptionsColumn.AllowMove = false;
     this.grid_tenant_name.Visible = true;
     this.grid_tenant_name.VisibleIndex = 5;
     //
     // grid_tenant_surname
     //
     this.grid_tenant_surname.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_tenant_surname.AppearanceHeader.Options.UseFont = true;
     this.grid_tenant_surname.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_tenant_surname.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_tenant_surname.Caption = "นามสกุล";
     this.grid_tenant_surname.FieldName = "tenant_surname";
     this.grid_tenant_surname.Name = "grid_tenant_surname";
     this.grid_tenant_surname.OptionsColumn.AllowEdit = false;
     this.grid_tenant_surname.OptionsColumn.AllowFocus = false;
     this.grid_tenant_surname.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_tenant_surname.OptionsColumn.AllowMove = false;
     this.grid_tenant_surname.Visible = true;
     this.grid_tenant_surname.VisibleIndex = 6;
     //
     // room_room_id
     //
     this.room_room_id.Caption = "gridColumn1";
     this.room_room_id.FieldName = "room_id";
     this.room_room_id.Name = "room_room_id";
     this.room_room_id.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.room_room_id.OptionsColumn.AllowMove = false;
     //
     // room_tenant_id
     //
     this.room_tenant_id.Caption = "gridColumn2";
     this.room_tenant_id.FieldName = "current_tenant_id";
     this.room_tenant_id.Name = "room_tenant_id";
     this.room_tenant_id.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.room_tenant_id.OptionsColumn.AllowMove = false;
     //
     // gridColumnCheckInDate
     //
     this.gridColumnCheckInDate.Caption = "gridColumnCheckInDate";
     this.gridColumnCheckInDate.FieldName = "reserve_check_in_date";
     this.gridColumnCheckInDate.Name = "gridColumnCheckInDate";
     //
     // splitContainerControl2
     //
     this.splitContainerControl2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerControl2.Location = new System.Drawing.Point(7, 7);
     this.splitContainerControl2.Name = "splitContainerControl2";
     this.splitContainerControl2.Panel1.Controls.Add(this.groupControlList);
     this.splitContainerControl2.Panel1.Text = "Panel1";
     this.splitContainerControl2.Panel2.Controls.Add(this.panelControl3);
     this.splitContainerControl2.Panel2.Text = "Panel2";
     this.splitContainerControl2.Size = new System.Drawing.Size(1260, 466);
     this.splitContainerControl2.SplitterPosition = 630;
     this.splitContainerControl2.TabIndex = 19;
     this.splitContainerControl2.Text = "splitContainerControl2";
     //
     // panelControl3
     //
     this.panelControl3.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl3.Controls.Add(this.xtraScrollableControl1);
     this.panelControl3.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panelControl3.Location = new System.Drawing.Point(0, 0);
     this.panelControl3.Name = "panelControl3";
     this.panelControl3.Size = new System.Drawing.Size(625, 466);
     this.panelControl3.TabIndex = 12;
     //
     // xtraScrollableControl1
     //
     this.xtraScrollableControl1.Controls.Add(this.groupControlLeaveList);
     this.xtraScrollableControl1.Controls.Add(this.panelControl1);
     this.xtraScrollableControl1.Controls.Add(this.panelControl4);
     this.xtraScrollableControl1.Controls.Add(this.panelControlOut);
     this.xtraScrollableControl1.Controls.Add(this.groupRoomInfo);
     this.xtraScrollableControl1.Controls.Add(this.groupControlLeave);
     this.xtraScrollableControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.xtraScrollableControl1.Location = new System.Drawing.Point(0, 0);
     this.xtraScrollableControl1.Name = "xtraScrollableControl1";
     this.xtraScrollableControl1.Size = new System.Drawing.Size(625, 466);
     this.xtraScrollableControl1.TabIndex = 0;
     //
     // groupControlLeaveList
     //
     this.groupControlLeaveList.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlLeaveList.AppearanceCaption.Options.UseFont = true;
     this.groupControlLeaveList.Controls.Add(this.gridControlLeave);
     this.groupControlLeaveList.Dock = System.Windows.Forms.DockStyle.Top;
     this.groupControlLeaveList.Location = new System.Drawing.Point(0, 403);
     this.groupControlLeaveList.Name = "groupControlLeaveList";
     this.groupControlLeaveList.Size = new System.Drawing.Size(608, 117);
     this.groupControlLeaveList.TabIndex = 355;
     this.groupControlLeaveList.Text = "รายการแจ้งย้ายออก";
     //
     // gridControlLeave
     //
     this.gridControlLeave.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlLeave.Location = new System.Drawing.Point(2, 22);
     this.gridControlLeave.MainView = this.gridViewLeave;
     this.gridControlLeave.Name = "gridControlLeave";
     this.gridControlLeave.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemDateEditLeaveCreate,
     this.repositoryItemDateEditCheckOut});
     this.gridControlLeave.Size = new System.Drawing.Size(604, 93);
     this.gridControlLeave.TabIndex = 3;
     this.gridControlLeave.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewLeave});
     //
     // gridViewLeave
     //
     this.gridViewLeave.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.grid_leave_coderef,
     this.grid_leave_room_label,
     this.grid_leave_tenant_name,
     this.grid_leave_tenant_surname,
     this.grid_leave_date_created,
     this.grid_leave_date,
     this.grid_leave_inform_name,
     this.grid_leave_status,
     this.gridColumnRoomID});
     this.gridViewLeave.GridControl = this.gridControlLeave;
     this.gridViewLeave.Name = "gridViewLeave";
     this.gridViewLeave.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridViewLeave.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridViewLeave.OptionsSelection.EnableAppearanceFocusedCell = false;
     this.gridViewLeave.OptionsSelection.EnableAppearanceFocusedRow = false;
     this.gridViewLeave.OptionsView.ShowGroupPanel = false;
     //
     // grid_leave_coderef
     //
     this.grid_leave_coderef.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_leave_coderef.AppearanceHeader.Options.UseFont = true;
     this.grid_leave_coderef.Caption = "รหัสห้อง";
     this.grid_leave_coderef.FieldName = "coderef";
     this.grid_leave_coderef.Name = "grid_leave_coderef";
     this.grid_leave_coderef.OptionsColumn.AllowEdit = false;
     this.grid_leave_coderef.OptionsColumn.AllowFocus = false;
     this.grid_leave_coderef.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_leave_coderef.OptionsColumn.AllowMove = false;
     //
     // grid_leave_room_label
     //
     this.grid_leave_room_label.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_leave_room_label.AppearanceHeader.Options.UseFont = true;
     this.grid_leave_room_label.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_leave_room_label.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_leave_room_label.Caption = "ชื่อห้อง";
     this.grid_leave_room_label.FieldName = "room_label";
     this.grid_leave_room_label.Name = "grid_leave_room_label";
     this.grid_leave_room_label.OptionsColumn.AllowEdit = false;
     this.grid_leave_room_label.OptionsColumn.AllowFocus = false;
     this.grid_leave_room_label.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_leave_room_label.OptionsColumn.AllowMove = false;
     this.grid_leave_room_label.Visible = true;
     this.grid_leave_room_label.VisibleIndex = 0;
     //
     // grid_leave_tenant_name
     //
     this.grid_leave_tenant_name.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_leave_tenant_name.AppearanceHeader.Options.UseFont = true;
     this.grid_leave_tenant_name.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_leave_tenant_name.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_leave_tenant_name.Caption = "ชื่อผู้เช่า";
     this.grid_leave_tenant_name.FieldName = "tenant_name";
     this.grid_leave_tenant_name.Name = "grid_leave_tenant_name";
     this.grid_leave_tenant_name.OptionsColumn.AllowEdit = false;
     this.grid_leave_tenant_name.OptionsColumn.AllowFocus = false;
     this.grid_leave_tenant_name.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_leave_tenant_name.OptionsColumn.AllowMove = false;
     this.grid_leave_tenant_name.Visible = true;
     this.grid_leave_tenant_name.VisibleIndex = 1;
     //
     // grid_leave_tenant_surname
     //
     this.grid_leave_tenant_surname.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_leave_tenant_surname.AppearanceHeader.Options.UseFont = true;
     this.grid_leave_tenant_surname.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_leave_tenant_surname.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_leave_tenant_surname.Caption = "นามสกุล";
     this.grid_leave_tenant_surname.FieldName = "tenant_surname";
     this.grid_leave_tenant_surname.Name = "grid_leave_tenant_surname";
     this.grid_leave_tenant_surname.OptionsColumn.AllowEdit = false;
     this.grid_leave_tenant_surname.OptionsColumn.AllowFocus = false;
     this.grid_leave_tenant_surname.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_leave_tenant_surname.OptionsColumn.AllowMove = false;
     this.grid_leave_tenant_surname.Visible = true;
     this.grid_leave_tenant_surname.VisibleIndex = 2;
     //
     // grid_leave_date_created
     //
     this.grid_leave_date_created.AppearanceCell.Options.UseTextOptions = true;
     this.grid_leave_date_created.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_leave_date_created.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_leave_date_created.AppearanceHeader.Options.UseFont = true;
     this.grid_leave_date_created.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_leave_date_created.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_leave_date_created.Caption = "วันที่แจ้งย้าย";
     this.grid_leave_date_created.ColumnEdit = this.repositoryItemDateEditLeaveCreate;
     this.grid_leave_date_created.FieldName = "leave_date_created";
     this.grid_leave_date_created.Name = "grid_leave_date_created";
     this.grid_leave_date_created.OptionsColumn.AllowEdit = false;
     this.grid_leave_date_created.OptionsColumn.AllowFocus = false;
     this.grid_leave_date_created.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_leave_date_created.OptionsColumn.AllowMove = false;
     this.grid_leave_date_created.Visible = true;
     this.grid_leave_date_created.VisibleIndex = 3;
     //
     // repositoryItemDateEditLeaveCreate
     //
     this.repositoryItemDateEditLeaveCreate.AutoHeight = false;
     this.repositoryItemDateEditLeaveCreate.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemDateEditLeaveCreate.Mask.EditMask = "dd/MM/yyyy";
     this.repositoryItemDateEditLeaveCreate.Mask.UseMaskAsDisplayFormat = true;
     this.repositoryItemDateEditLeaveCreate.Name = "repositoryItemDateEditLeaveCreate";
     this.repositoryItemDateEditLeaveCreate.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     //
     // grid_leave_date
     //
     this.grid_leave_date.AppearanceCell.Options.UseTextOptions = true;
     this.grid_leave_date.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_leave_date.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_leave_date.AppearanceHeader.Options.UseFont = true;
     this.grid_leave_date.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_leave_date.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_leave_date.Caption = "วันที่ต้องการย้าย";
     this.grid_leave_date.ColumnEdit = this.repositoryItemDateEditCheckOut;
     this.grid_leave_date.FieldName = "leave_date";
     this.grid_leave_date.Name = "grid_leave_date";
     this.grid_leave_date.OptionsColumn.AllowEdit = false;
     this.grid_leave_date.OptionsColumn.AllowFocus = false;
     this.grid_leave_date.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_leave_date.OptionsColumn.AllowMove = false;
     this.grid_leave_date.Visible = true;
     this.grid_leave_date.VisibleIndex = 4;
     //
     // repositoryItemDateEditCheckOut
     //
     this.repositoryItemDateEditCheckOut.AutoHeight = false;
     this.repositoryItemDateEditCheckOut.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemDateEditCheckOut.Mask.EditMask = "dd/MM/yyyy";
     this.repositoryItemDateEditCheckOut.Mask.UseMaskAsDisplayFormat = true;
     this.repositoryItemDateEditCheckOut.Name = "repositoryItemDateEditCheckOut";
     this.repositoryItemDateEditCheckOut.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     //
     // grid_leave_inform_name
     //
     this.grid_leave_inform_name.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_leave_inform_name.AppearanceHeader.Options.UseFont = true;
     this.grid_leave_inform_name.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_leave_inform_name.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_leave_inform_name.Caption = "ชื่อผู้แจ้ง";
     this.grid_leave_inform_name.FieldName = "leave_name";
     this.grid_leave_inform_name.Name = "grid_leave_inform_name";
     this.grid_leave_inform_name.OptionsColumn.AllowEdit = false;
     this.grid_leave_inform_name.OptionsColumn.AllowFocus = false;
     this.grid_leave_inform_name.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_leave_inform_name.OptionsColumn.AllowMove = false;
     this.grid_leave_inform_name.Visible = true;
     this.grid_leave_inform_name.VisibleIndex = 5;
     //
     // grid_leave_status
     //
     this.grid_leave_status.AppearanceCell.Options.UseTextOptions = true;
     this.grid_leave_status.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_leave_status.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_leave_status.AppearanceHeader.Options.UseFont = true;
     this.grid_leave_status.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_leave_status.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_leave_status.Caption = "สถานะ";
     this.grid_leave_status.FieldName = "room_status_label";
     this.grid_leave_status.Name = "grid_leave_status";
     this.grid_leave_status.OptionsColumn.AllowEdit = false;
     this.grid_leave_status.OptionsColumn.AllowFocus = false;
     this.grid_leave_status.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_leave_status.OptionsColumn.AllowMove = false;
     this.grid_leave_status.Visible = true;
     this.grid_leave_status.VisibleIndex = 6;
     //
     // gridColumnRoomID
     //
     this.gridColumnRoomID.Caption = "RoomId";
     this.gridColumnRoomID.FieldName = "room_id";
     this.gridColumnRoomID.Name = "gridColumnRoomID";
     //
     // panelControl1
     //
     this.panelControl1.Controls.Add(this.bttCancelLeave);
     this.panelControl1.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.panelControl1.Location = new System.Drawing.Point(0, 520);
     this.panelControl1.Name = "panelControl1";
     this.panelControl1.Size = new System.Drawing.Size(608, 66);
     this.panelControl1.TabIndex = 356;
     //
     // bttCancelLeave
     //
     this.bttCancelLeave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttCancelLeave.Enabled = false;
     this.bttCancelLeave.Image = global::DXWindowsApplication2.Properties.Resources.Close;
     this.bttCancelLeave.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttCancelLeave.Location = new System.Drawing.Point(497, 4);
     this.bttCancelLeave.Name = "bttCancelLeave";
     this.bttCancelLeave.Size = new System.Drawing.Size(100, 55);
     this.bttCancelLeave.TabIndex = 25;
     this.bttCancelLeave.Text = "ยกเลิกแจ้งย้ายออก";
     //
     // panelControl4
     //
     this.panelControl4.Controls.Add(this.textEditBookingDate);
     this.panelControl4.Controls.Add(this.textEditRoomCode);
     this.panelControl4.Controls.Add(this.textEditRoomStatus);
     this.panelControl4.Controls.Add(this.textEditTenantId);
     this.panelControl4.Controls.Add(this.textEditRoomId);
     this.panelControl4.Controls.Add(this.bttEdit);
     this.panelControl4.Controls.Add(this.bttCancel);
     this.panelControl4.Controls.Add(this.bttSave);
     this.panelControl4.Dock = System.Windows.Forms.DockStyle.Top;
     this.panelControl4.Location = new System.Drawing.Point(0, 337);
     this.panelControl4.Name = "panelControl4";
     this.panelControl4.Size = new System.Drawing.Size(608, 66);
     this.panelControl4.TabIndex = 357;
     //
     // textEditBookingDate
     //
     this.textEditBookingDate.Enabled = false;
     this.textEditBookingDate.Location = new System.Drawing.Point(91, 32);
     this.textEditBookingDate.Name = "textEditBookingDate";
     this.textEditBookingDate.Size = new System.Drawing.Size(75, 20);
     this.textEditBookingDate.TabIndex = 51;
     this.textEditBookingDate.Visible = false;
     //
     // textEditRoomCode
     //
     this.textEditRoomCode.Enabled = false;
     this.textEditRoomCode.Location = new System.Drawing.Point(10, 32);
     this.textEditRoomCode.Name = "textEditRoomCode";
     this.textEditRoomCode.Size = new System.Drawing.Size(75, 20);
     this.textEditRoomCode.TabIndex = 50;
     this.textEditRoomCode.Visible = false;
     //
     // textEditRoomStatus
     //
     this.textEditRoomStatus.Enabled = false;
     this.textEditRoomStatus.Location = new System.Drawing.Point(91, 6);
     this.textEditRoomStatus.Name = "textEditRoomStatus";
     this.textEditRoomStatus.Size = new System.Drawing.Size(75, 20);
     this.textEditRoomStatus.TabIndex = 49;
     this.textEditRoomStatus.Visible = false;
     //
     // textEditTenantId
     //
     this.textEditTenantId.Enabled = false;
     this.textEditTenantId.Location = new System.Drawing.Point(172, 6);
     this.textEditTenantId.Name = "textEditTenantId";
     this.textEditTenantId.Size = new System.Drawing.Size(75, 20);
     this.textEditTenantId.TabIndex = 48;
     this.textEditTenantId.Visible = false;
     //
     // textEditRoomId
     //
     this.textEditRoomId.Enabled = false;
     this.textEditRoomId.Location = new System.Drawing.Point(10, 6);
     this.textEditRoomId.Name = "textEditRoomId";
     this.textEditRoomId.Size = new System.Drawing.Size(75, 20);
     this.textEditRoomId.TabIndex = 47;
     this.textEditRoomId.Visible = false;
     //
     // bttEdit
     //
     this.bttEdit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttEdit.Image = global::DXWindowsApplication2.Properties.Resources.edit;
     this.bttEdit.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttEdit.Location = new System.Drawing.Point(375, 5);
     this.bttEdit.Name = "bttEdit";
     this.bttEdit.Size = new System.Drawing.Size(70, 55);
     this.bttEdit.TabIndex = 19;
     this.bttEdit.Text = "แก้ไขข้อมูล";
     //
     // bttCancel
     //
     this.bttCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttCancel.Enabled = false;
     this.bttCancel.Image = global::DXWindowsApplication2.Properties.Resources.Close;
     this.bttCancel.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttCancel.Location = new System.Drawing.Point(527, 5);
     this.bttCancel.Name = "bttCancel";
     this.bttCancel.Size = new System.Drawing.Size(70, 55);
     this.bttCancel.TabIndex = 22;
     this.bttCancel.Text = "ยกเลิก";
     //
     // bttSave
     //
     this.bttSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttSave.Enabled = false;
     this.bttSave.Image = global::DXWindowsApplication2.Properties.Resources.savedisk;
     this.bttSave.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttSave.Location = new System.Drawing.Point(451, 5);
     this.bttSave.Name = "bttSave";
     this.bttSave.Size = new System.Drawing.Size(70, 55);
     this.bttSave.TabIndex = 21;
     this.bttSave.Text = "บันทึก";
     //
     // panelControlOut
     //
     this.panelControlOut.Controls.Add(this.labelControl4);
     this.panelControlOut.Controls.Add(this.labelControl2);
     this.panelControlOut.Controls.Add(this.labelControl18);
     this.panelControlOut.Controls.Add(this.dateEditCreate);
     this.panelControlOut.Controls.Add(this.labelControlDateCreate);
     this.panelControlOut.Controls.Add(this.dateEditLeaveDate);
     this.panelControlOut.Controls.Add(this.labelControlDateLeave);
     this.panelControlOut.Controls.Add(this.textEditLeaveName);
     this.panelControlOut.Controls.Add(this.labelControlLeaveName);
     this.panelControlOut.Dock = System.Windows.Forms.DockStyle.Top;
     this.panelControlOut.Location = new System.Drawing.Point(0, 246);
     this.panelControlOut.Name = "panelControlOut";
     this.panelControlOut.Size = new System.Drawing.Size(608, 91);
     this.panelControlOut.TabIndex = 367;
     //
     // labelControl4
     //
     this.labelControl4.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl4.Location = new System.Drawing.Point(9, 68);
     this.labelControl4.Name = "labelControl4";
     this.labelControl4.Size = new System.Drawing.Size(6, 13);
     this.labelControl4.TabIndex = 460;
     this.labelControl4.Text = "*";
     //
     // labelControl2
     //
     this.labelControl2.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl2.Location = new System.Drawing.Point(9, 42);
     this.labelControl2.Name = "labelControl2";
     this.labelControl2.Size = new System.Drawing.Size(6, 13);
     this.labelControl2.TabIndex = 460;
     this.labelControl2.Text = "*";
     //
     // labelControl18
     //
     this.labelControl18.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl18.Location = new System.Drawing.Point(9, 12);
     this.labelControl18.Name = "labelControl18";
     this.labelControl18.Size = new System.Drawing.Size(6, 13);
     this.labelControl18.TabIndex = 460;
     this.labelControl18.Text = "*";
     //
     // dateEditCreate
     //
     this.dateEditCreate.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.dateEditCreate.EditValue = new System.DateTime(2011, 6, 6, 15, 20, 26, 710);
     this.dateEditCreate.Enabled = false;
     this.dateEditCreate.Location = new System.Drawing.Point(163, 9);
     this.dateEditCreate.Name = "dateEditCreate";
     this.dateEditCreate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.dateEditCreate.Properties.DisplayFormat.FormatString = "dd MMMM yyyy";
     this.dateEditCreate.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dateEditCreate.Properties.EditFormat.FormatString = "dd MMMM yyyy";
     this.dateEditCreate.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dateEditCreate.Properties.Mask.EditMask = "dd/MM/yyyy";
     this.dateEditCreate.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.dateEditCreate.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     this.dateEditCreate.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.dateEditCreate.Size = new System.Drawing.Size(389, 20);
     this.dateEditCreate.TabIndex = 459;
     //
     // labelControlDateCreate
     //
     this.labelControlDateCreate.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlDateCreate.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlDateCreate.Location = new System.Drawing.Point(21, 12);
     this.labelControlDateCreate.Name = "labelControlDateCreate";
     this.labelControlDateCreate.Size = new System.Drawing.Size(135, 13);
     this.labelControlDateCreate.TabIndex = 458;
     this.labelControlDateCreate.Text = "วันที่แจ้งย้ายออก :";
     //
     // dateEditLeaveDate
     //
     this.dateEditLeaveDate.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.dateEditLeaveDate.EditValue = new System.DateTime(2011, 6, 6, 15, 20, 26, 710);
     this.dateEditLeaveDate.Enabled = false;
     this.dateEditLeaveDate.Location = new System.Drawing.Point(163, 39);
     this.dateEditLeaveDate.Name = "dateEditLeaveDate";
     this.dateEditLeaveDate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.dateEditLeaveDate.Properties.DisplayFormat.FormatString = "dd MMMM yyyy";
     this.dateEditLeaveDate.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dateEditLeaveDate.Properties.EditFormat.FormatString = "dd MMMM yyyy";
     this.dateEditLeaveDate.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dateEditLeaveDate.Properties.Mask.EditMask = "dd/MM/yyyy";
     this.dateEditLeaveDate.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.dateEditLeaveDate.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     this.dateEditLeaveDate.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.dateEditLeaveDate.Size = new System.Drawing.Size(389, 20);
     this.dateEditLeaveDate.TabIndex = 457;
     //
     // labelControlDateLeave
     //
     this.labelControlDateLeave.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlDateLeave.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlDateLeave.Location = new System.Drawing.Point(21, 42);
     this.labelControlDateLeave.Name = "labelControlDateLeave";
     this.labelControlDateLeave.Size = new System.Drawing.Size(136, 13);
     this.labelControlDateLeave.TabIndex = 456;
     this.labelControlDateLeave.Text = "วันที่ต้องการย้ายออก :";
     //
     // textEditLeaveName
     //
     this.textEditLeaveName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditLeaveName.EditValue = "";
     this.textEditLeaveName.Enabled = false;
     this.textEditLeaveName.Location = new System.Drawing.Point(163, 65);
     this.textEditLeaveName.Name = "textEditLeaveName";
     this.textEditLeaveName.Properties.MaxLength = 300;
     this.textEditLeaveName.Size = new System.Drawing.Size(389, 20);
     this.textEditLeaveName.TabIndex = 450;
     //
     // labelControlLeaveName
     //
     this.labelControlLeaveName.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlLeaveName.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlLeaveName.Location = new System.Drawing.Point(21, 68);
     this.labelControlLeaveName.Name = "labelControlLeaveName";
     this.labelControlLeaveName.Size = new System.Drawing.Size(135, 13);
     this.labelControlLeaveName.TabIndex = 452;
     this.labelControlLeaveName.Text = "ชื่อผู้แจ้ง :";
     //
     // groupRoomInfo
     //
     this.groupRoomInfo.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupRoomInfo.AppearanceCaption.Options.UseFont = true;
     this.groupRoomInfo.Controls.Add(this.lookUpEditFloorId);
     this.groupRoomInfo.Controls.Add(this.labelControlFloor);
     this.groupRoomInfo.Controls.Add(this.textEditRoomName);
     this.groupRoomInfo.Controls.Add(this.labelControlRoomName);
     this.groupRoomInfo.Controls.Add(this.lookUpEditRoomTypeId);
     this.groupRoomInfo.Controls.Add(this.lookUpEditBuildingId);
     this.groupRoomInfo.Controls.Add(this.labelControlRoomType);
     this.groupRoomInfo.Controls.Add(this.labelControlBuilding);
     this.groupRoomInfo.Dock = System.Windows.Forms.DockStyle.Top;
     this.groupRoomInfo.Location = new System.Drawing.Point(0, 110);
     this.groupRoomInfo.Name = "groupRoomInfo";
     this.groupRoomInfo.Size = new System.Drawing.Size(608, 136);
     this.groupRoomInfo.TabIndex = 358;
     this.groupRoomInfo.Text = "ห้อง";
     //
     // lookUpEditFloorId
     //
     this.lookUpEditFloorId.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.lookUpEditFloorId.Enabled = false;
     this.lookUpEditFloorId.Location = new System.Drawing.Point(163, 77);
     this.lookUpEditFloorId.Name = "lookUpEditFloorId";
     this.lookUpEditFloorId.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lookUpEditFloorId.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("floor_id", "floor_id", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default),
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("floor_code", "ชั้น")});
     this.lookUpEditFloorId.Size = new System.Drawing.Size(390, 20);
     this.lookUpEditFloorId.TabIndex = 111;
     //
     // labelControlFloor
     //
     this.labelControlFloor.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlFloor.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlFloor.Location = new System.Drawing.Point(32, 84);
     this.labelControlFloor.Name = "labelControlFloor";
     this.labelControlFloor.Size = new System.Drawing.Size(124, 13);
     this.labelControlFloor.TabIndex = 110;
     this.labelControlFloor.Text = "ชั้น :";
     //
     // textEditRoomName
     //
     this.textEditRoomName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditRoomName.Enabled = false;
     this.textEditRoomName.Location = new System.Drawing.Point(163, 25);
     this.textEditRoomName.Name = "textEditRoomName";
     this.textEditRoomName.Size = new System.Drawing.Size(390, 20);
     this.textEditRoomName.TabIndex = 107;
     //
     // labelControlRoomName
     //
     this.labelControlRoomName.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlRoomName.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlRoomName.Location = new System.Drawing.Point(32, 32);
     this.labelControlRoomName.Name = "labelControlRoomName";
     this.labelControlRoomName.Size = new System.Drawing.Size(124, 13);
     this.labelControlRoomName.TabIndex = 106;
     this.labelControlRoomName.Text = "ชื่อ :";
     //
     // lookUpEditRoomTypeId
     //
     this.lookUpEditRoomTypeId.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.lookUpEditRoomTypeId.Enabled = false;
     this.lookUpEditRoomTypeId.Location = new System.Drawing.Point(163, 103);
     this.lookUpEditRoomTypeId.Name = "lookUpEditRoomTypeId";
     this.lookUpEditRoomTypeId.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lookUpEditRoomTypeId.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("roomtype_label", "ประเภทห้อง"),
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("roomtype_id", "roomtype_id", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default)});
     this.lookUpEditRoomTypeId.Size = new System.Drawing.Size(390, 20);
     this.lookUpEditRoomTypeId.TabIndex = 105;
     //
     // lookUpEditBuildingId
     //
     this.lookUpEditBuildingId.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.lookUpEditBuildingId.Enabled = false;
     this.lookUpEditBuildingId.Location = new System.Drawing.Point(163, 51);
     this.lookUpEditBuildingId.Name = "lookUpEditBuildingId";
     this.lookUpEditBuildingId.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lookUpEditBuildingId.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("building_label", "ชื่ออาคาร"),
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("building_id", "building_id", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default)});
     this.lookUpEditBuildingId.Size = new System.Drawing.Size(390, 20);
     this.lookUpEditBuildingId.TabIndex = 104;
     //
     // labelControlRoomType
     //
     this.labelControlRoomType.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlRoomType.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlRoomType.Location = new System.Drawing.Point(32, 110);
     this.labelControlRoomType.Name = "labelControlRoomType";
     this.labelControlRoomType.Size = new System.Drawing.Size(124, 13);
     this.labelControlRoomType.TabIndex = 102;
     this.labelControlRoomType.Text = "ประเภทห้อง :";
     //
     // labelControlBuilding
     //
     this.labelControlBuilding.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlBuilding.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlBuilding.Location = new System.Drawing.Point(32, 58);
     this.labelControlBuilding.Name = "labelControlBuilding";
     this.labelControlBuilding.Size = new System.Drawing.Size(124, 13);
     this.labelControlBuilding.TabIndex = 101;
     this.labelControlBuilding.Text = "อาคาร :";
     //
     // groupControlLeave
     //
     this.groupControlLeave.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlLeave.AppearanceCaption.Options.UseFont = true;
     this.groupControlLeave.Controls.Add(this.textEditTenantName);
     this.groupControlLeave.Controls.Add(this.labelControlSurname);
     this.groupControlLeave.Controls.Add(this.labelControlName);
     this.groupControlLeave.Controls.Add(this.textEditTenantSurname);
     this.groupControlLeave.Controls.Add(this.labelControlTitle);
     this.groupControlLeave.Controls.Add(this.textEditTitle);
     this.groupControlLeave.Dock = System.Windows.Forms.DockStyle.Top;
     this.groupControlLeave.Location = new System.Drawing.Point(0, 0);
     this.groupControlLeave.Name = "groupControlLeave";
     this.groupControlLeave.Size = new System.Drawing.Size(608, 110);
     this.groupControlLeave.TabIndex = 354;
     this.groupControlLeave.Text = "แจ้งย้ายออก";
     //
     // textEditTenantName
     //
     this.textEditTenantName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditTenantName.EditValue = "";
     this.textEditTenantName.Enabled = false;
     this.textEditTenantName.Location = new System.Drawing.Point(163, 51);
     this.textEditTenantName.Name = "textEditTenantName";
     this.textEditTenantName.Properties.MaxLength = 200;
     this.textEditTenantName.Size = new System.Drawing.Size(390, 20);
     this.textEditTenantName.TabIndex = 426;
     //
     // labelControlSurname
     //
     this.labelControlSurname.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlSurname.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlSurname.Location = new System.Drawing.Point(32, 80);
     this.labelControlSurname.Name = "labelControlSurname";
     this.labelControlSurname.Size = new System.Drawing.Size(124, 13);
     this.labelControlSurname.TabIndex = 430;
     this.labelControlSurname.Text = "นามสกุล :";
     //
     // labelControlName
     //
     this.labelControlName.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlName.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlName.Location = new System.Drawing.Point(32, 54);
     this.labelControlName.Name = "labelControlName";
     this.labelControlName.Size = new System.Drawing.Size(124, 13);
     this.labelControlName.TabIndex = 429;
     this.labelControlName.Text = "ชื่อ :";
     //
     // textEditTenantSurname
     //
     this.textEditTenantSurname.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditTenantSurname.EditValue = "";
     this.textEditTenantSurname.Enabled = false;
     this.textEditTenantSurname.Location = new System.Drawing.Point(163, 77);
     this.textEditTenantSurname.Name = "textEditTenantSurname";
     this.textEditTenantSurname.Properties.MaxLength = 200;
     this.textEditTenantSurname.Size = new System.Drawing.Size(390, 20);
     this.textEditTenantSurname.TabIndex = 427;
     //
     // labelControlTitle
     //
     this.labelControlTitle.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlTitle.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlTitle.Location = new System.Drawing.Point(32, 28);
     this.labelControlTitle.Name = "labelControlTitle";
     this.labelControlTitle.Size = new System.Drawing.Size(124, 13);
     this.labelControlTitle.TabIndex = 428;
     this.labelControlTitle.Text = "คำนำหน้า :";
     //
     // textEditTitle
     //
     this.textEditTitle.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditTitle.EditValue = "";
     this.textEditTitle.Enabled = false;
     this.textEditTitle.Location = new System.Drawing.Point(163, 25);
     this.textEditTitle.Name = "textEditTitle";
     this.textEditTitle.Properties.MaxLength = 50;
     this.textEditTitle.Size = new System.Drawing.Size(390, 20);
     this.textEditTitle.TabIndex = 425;
     //
     // RoomInformleave
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.splitContainerControl2);
     this.Name = "RoomInformleave";
     this.Padding = new System.Windows.Forms.Padding(7);
     this.Size = new System.Drawing.Size(1274, 480);
     ((System.ComponentModel.ISupportInitialize)(this.groupControlList)).EndInit();
     this.groupControlList.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlRoom)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewRoom)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).EndInit();
     this.splitContainerControl2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit();
     this.panelControl3.ResumeLayout(false);
     this.xtraScrollableControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControlLeaveList)).EndInit();
     this.groupControlLeaveList.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlLeave)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewLeave)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditLeaveCreate.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditLeaveCreate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditCheckOut.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditCheckOut)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
     this.panelControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).EndInit();
     this.panelControl4.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.textEditBookingDate.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomCode.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomStatus.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditTenantId.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomId.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControlOut)).EndInit();
     this.panelControlOut.ResumeLayout(false);
     this.panelControlOut.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditCreate.Properties.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditCreate.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditLeaveDate.Properties.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditLeaveDate.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditLeaveName.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupRoomInfo)).EndInit();
     this.groupRoomInfo.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditFloorId.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomName.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditRoomTypeId.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditBuildingId.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlLeave)).EndInit();
     this.groupControlLeave.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.textEditTenantName.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditTenantSurname.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditTitle.Properties)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #6
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.panelControl2 = new DevExpress.XtraEditors.PanelControl();
     this.splitContainerControl2 = new DevExpress.XtraEditors.SplitContainerControl();
     this.groupControlList = new DevExpress.XtraEditors.GroupControl();
     this.gridControlItem = new DevExpress.XtraGrid.GridControl();
     this.gridView3 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.item_id = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_name = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_price_monthly = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_price_daily = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_vat_text = new DevExpress.XtraGrid.Columns.GridColumn();
     this.item_type = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_type_text = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_vat = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.panelControl3 = new DevExpress.XtraEditors.PanelControl();
     this.groupControlAddittional = new DevExpress.XtraEditors.GroupControl();
     this.xtraScrollableControl1 = new DevExpress.XtraEditors.XtraScrollableControl();
     this.panelEnable = new DevExpress.XtraEditors.PanelControl();
     this.labelControlRequired = new DevExpress.XtraEditors.LabelControl();
     this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl12 = new DevExpress.XtraEditors.LabelControl();
     this.lookUpEditPayType = new DevExpress.XtraEditors.LookUpEdit();
     this.lookUpEditVatType = new DevExpress.XtraEditors.LookUpEdit();
     this.labelBasicinfoType = new DevExpress.XtraEditors.LabelControl();
     this.labelBasicinfoName = new DevExpress.XtraEditors.LabelControl();
     this.labelBasicinfoPriceMonthly = new DevExpress.XtraEditors.LabelControl();
     this.labelBasicinfoPriceDaily = new DevExpress.XtraEditors.LabelControl();
     this.labelBasicinfoDetail = new DevExpress.XtraEditors.LabelControl();
     this.labelControlBaht2 = new DevExpress.XtraEditors.LabelControl();
     this.labelControlBaht = new DevExpress.XtraEditors.LabelControl();
     this.labelBasicinfoVat = new DevExpress.XtraEditors.LabelControl();
     this.textEditItemPriceMonthly = new DevExpress.XtraEditors.TextEdit();
     this.memoEditItemDetail = new DevExpress.XtraEditors.MemoEdit();
     this.textEditItemName = new DevExpress.XtraEditors.TextEdit();
     this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
     this.texthiddenAction = new DevExpress.XtraEditors.TextEdit();
     this.bttDelete = new DevExpress.XtraEditors.SimpleButton();
     this.labelBasicinfoID = new DevExpress.XtraEditors.LabelControl();
     this.textEditItemID = new DevExpress.XtraEditors.TextEdit();
     this.textEditCheckEvent = new DevExpress.XtraEditors.TextEdit();
     this.bttAdd = new DevExpress.XtraEditors.SimpleButton();
     this.bttEdit = new DevExpress.XtraEditors.SimpleButton();
     this.bttCancel = new DevExpress.XtraEditors.SimpleButton();
     this.bttSave = new DevExpress.XtraEditors.SimpleButton();
     this.textEditItemPriceDaily = new DevExpress.XtraEditors.TextEdit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).BeginInit();
     this.splitContainerControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlList)).BeginInit();
     this.groupControlList.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlItem)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit();
     this.panelControl3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlAddittional)).BeginInit();
     this.groupControlAddittional.SuspendLayout();
     this.xtraScrollableControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.panelEnable)).BeginInit();
     this.panelEnable.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditPayType.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditVatType.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditItemPriceMonthly.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.memoEditItemDetail.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditItemName.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
     this.panelControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.texthiddenAction.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditItemID.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditCheckEvent.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditItemPriceDaily.Properties)).BeginInit();
     this.SuspendLayout();
     //
     // panelControl2
     //
     this.panelControl2.Appearance.BackColor = System.Drawing.Color.WhiteSmoke;
     this.panelControl2.Appearance.Options.UseBackColor = true;
     this.panelControl2.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panelControl2.Location = new System.Drawing.Point(7, 7);
     this.panelControl2.Name = "panelControl2";
     this.panelControl2.Size = new System.Drawing.Size(1079, 614);
     this.panelControl2.TabIndex = 20;
     //
     // splitContainerControl2
     //
     this.splitContainerControl2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerControl2.Location = new System.Drawing.Point(7, 7);
     this.splitContainerControl2.Name = "splitContainerControl2";
     this.splitContainerControl2.Panel1.Controls.Add(this.groupControlList);
     this.splitContainerControl2.Panel1.Text = "Panel1";
     this.splitContainerControl2.Panel2.Controls.Add(this.panelControl3);
     this.splitContainerControl2.Panel2.Controls.Add(this.panelControl1);
     this.splitContainerControl2.Panel2.Text = "Panel2";
     this.splitContainerControl2.Size = new System.Drawing.Size(1079, 614);
     this.splitContainerControl2.SplitterPosition = 500;
     this.splitContainerControl2.TabIndex = 22;
     this.splitContainerControl2.Text = "splitContainerControl2";
     //
     // groupControlList
     //
     this.groupControlList.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlList.AppearanceCaption.Options.UseFont = true;
     this.groupControlList.Controls.Add(this.gridControlItem);
     this.groupControlList.Dock = System.Windows.Forms.DockStyle.Fill;
     this.groupControlList.Location = new System.Drawing.Point(0, 0);
     this.groupControlList.Name = "groupControlList";
     this.groupControlList.Size = new System.Drawing.Size(500, 614);
     this.groupControlList.TabIndex = 0;
     this.groupControlList.Text = "รายการค่าใช้จ่ายเพิ่มเติม";
     //
     // gridControlItem
     //
     this.gridControlItem.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlItem.Location = new System.Drawing.Point(2, 22);
     this.gridControlItem.MainView = this.gridView3;
     this.gridControlItem.Name = "gridControlItem";
     this.gridControlItem.Size = new System.Drawing.Size(496, 590);
     this.gridControlItem.TabIndex = 18;
     this.gridControlItem.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridView3,
     this.gridView2,
     this.gridView1});
     //
     // gridView3
     //
     this.gridView3.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.item_id,
     this.grid_name,
     this.grid_price_monthly,
     this.grid_price_daily,
     this.grid_vat_text,
     this.item_type,
     this.grid_type_text,
     this.grid_vat});
     this.gridView3.GridControl = this.gridControlItem;
     this.gridView3.Name = "gridView3";
     this.gridView3.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridView3.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridView3.OptionsBehavior.Editable = false;
     this.gridView3.OptionsBehavior.ReadOnly = true;
     this.gridView3.OptionsFind.AlwaysVisible = true;
     this.gridView3.OptionsFind.ShowCloseButton = false;
     this.gridView3.OptionsView.ShowGroupPanel = false;
     //
     // item_id
     //
     this.item_id.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.item_id.AppearanceHeader.Options.UseFont = true;
     this.item_id.Caption = "รหัสค่าใช่จ่ายเพิ่มเติม";
     this.item_id.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.item_id.FieldName = "item_id";
     this.item_id.Name = "item_id";
     this.item_id.OptionsColumn.AllowEdit = false;
     this.item_id.OptionsColumn.AllowFocus = false;
     this.item_id.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.item_id.OptionsColumn.AllowMove = false;
     this.item_id.Width = 161;
     //
     // grid_name
     //
     this.grid_name.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_name.AppearanceHeader.Options.UseFont = true;
     this.grid_name.Caption = "ชื่อรายการค่าใช้จ่าย";
     this.grid_name.FieldName = "item_name";
     this.grid_name.Name = "grid_name";
     this.grid_name.OptionsColumn.AllowEdit = false;
     this.grid_name.OptionsColumn.AllowFocus = false;
     this.grid_name.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_name.OptionsColumn.AllowMove = false;
     this.grid_name.Visible = true;
     this.grid_name.VisibleIndex = 0;
     this.grid_name.Width = 114;
     //
     // grid_price_monthly
     //
     this.grid_price_monthly.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_price_monthly.AppearanceHeader.Options.UseFont = true;
     this.grid_price_monthly.Caption = "ราคารายเดือน";
     this.grid_price_monthly.DisplayFormat.FormatString = "{0:n2}";
     this.grid_price_monthly.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.grid_price_monthly.FieldName = "item_price_monthly";
     this.grid_price_monthly.Name = "grid_price_monthly";
     this.grid_price_monthly.OptionsColumn.AllowEdit = false;
     this.grid_price_monthly.OptionsColumn.AllowFocus = false;
     this.grid_price_monthly.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_price_monthly.OptionsColumn.AllowMove = false;
     this.grid_price_monthly.Visible = true;
     this.grid_price_monthly.VisibleIndex = 2;
     this.grid_price_monthly.Width = 107;
     //
     // grid_price_daily
     //
     this.grid_price_daily.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_price_daily.AppearanceHeader.Options.UseFont = true;
     this.grid_price_daily.Caption = "ราคารายวัน";
     this.grid_price_daily.DisplayFormat.FormatString = "{0:n2}";
     this.grid_price_daily.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.grid_price_daily.FieldName = "item_price_daily";
     this.grid_price_daily.Name = "grid_price_daily";
     this.grid_price_daily.OptionsColumn.AllowEdit = false;
     this.grid_price_daily.OptionsColumn.AllowFocus = false;
     this.grid_price_daily.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_price_daily.OptionsColumn.AllowMove = false;
     this.grid_price_daily.Visible = true;
     this.grid_price_daily.VisibleIndex = 3;
     this.grid_price_daily.Width = 97;
     //
     // grid_vat_text
     //
     this.grid_vat_text.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_vat_text.AppearanceHeader.Options.UseFont = true;
     this.grid_vat_text.Caption = "การคิดภาษี";
     this.grid_vat_text.FieldName = "item_vat_text";
     this.grid_vat_text.Name = "grid_vat_text";
     this.grid_vat_text.OptionsColumn.AllowEdit = false;
     this.grid_vat_text.OptionsColumn.AllowFocus = false;
     this.grid_vat_text.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_vat_text.OptionsColumn.AllowMove = false;
     this.grid_vat_text.Visible = true;
     this.grid_vat_text.VisibleIndex = 4;
     this.grid_vat_text.Width = 70;
     //
     // item_type
     //
     this.item_type.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.item_type.AppearanceHeader.Options.UseFont = true;
     this.item_type.Name = "item_type";
     //
     // grid_type_text
     //
     this.grid_type_text.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_type_text.AppearanceHeader.Options.UseFont = true;
     this.grid_type_text.Caption = "รูปแบบค่าใช้จ่าย";
     this.grid_type_text.FieldName = "item_type_text";
     this.grid_type_text.Name = "grid_type_text";
     this.grid_type_text.OptionsColumn.AllowEdit = false;
     this.grid_type_text.OptionsColumn.AllowFocus = false;
     this.grid_type_text.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_type_text.OptionsColumn.AllowMove = false;
     this.grid_type_text.Visible = true;
     this.grid_type_text.VisibleIndex = 1;
     this.grid_type_text.Width = 92;
     //
     // grid_vat
     //
     this.grid_vat.Caption = "gridColumn1";
     this.grid_vat.FieldName = "item_vat";
     this.grid_vat.Name = "grid_vat";
     //
     // gridView2
     //
     this.gridView2.GridControl = this.gridControlItem;
     this.gridView2.Name = "gridView2";
     //
     // gridView1
     //
     this.gridView1.GridControl = this.gridControlItem;
     this.gridView1.Name = "gridView1";
     //
     // panelControl3
     //
     this.panelControl3.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl3.Controls.Add(this.groupControlAddittional);
     this.panelControl3.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panelControl3.Location = new System.Drawing.Point(0, 0);
     this.panelControl3.Name = "panelControl3";
     this.panelControl3.Size = new System.Drawing.Size(574, 548);
     this.panelControl3.TabIndex = 12;
     //
     // groupControlAddittional
     //
     this.groupControlAddittional.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlAddittional.AppearanceCaption.Options.UseFont = true;
     this.groupControlAddittional.Controls.Add(this.xtraScrollableControl1);
     this.groupControlAddittional.Dock = System.Windows.Forms.DockStyle.Fill;
     this.groupControlAddittional.Location = new System.Drawing.Point(0, 0);
     this.groupControlAddittional.Name = "groupControlAddittional";
     this.groupControlAddittional.Size = new System.Drawing.Size(574, 548);
     this.groupControlAddittional.TabIndex = 3;
     this.groupControlAddittional.Text = "ข้อมูลค่าใช้จ่ายเพิ่มเติม";
     //
     // xtraScrollableControl1
     //
     this.xtraScrollableControl1.Controls.Add(this.panelEnable);
     this.xtraScrollableControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.xtraScrollableControl1.Location = new System.Drawing.Point(2, 22);
     this.xtraScrollableControl1.Name = "xtraScrollableControl1";
     this.xtraScrollableControl1.Size = new System.Drawing.Size(570, 524);
     this.xtraScrollableControl1.TabIndex = 0;
     //
     // panelEnable
     //
     this.panelEnable.Appearance.BackColor = System.Drawing.Color.Transparent;
     this.panelEnable.Appearance.Options.UseBackColor = true;
     this.panelEnable.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelEnable.Controls.Add(this.textEditItemPriceDaily);
     this.panelEnable.Controls.Add(this.labelControlRequired);
     this.panelEnable.Controls.Add(this.labelControl4);
     this.panelEnable.Controls.Add(this.labelControl1);
     this.panelEnable.Controls.Add(this.labelControl12);
     this.panelEnable.Controls.Add(this.lookUpEditPayType);
     this.panelEnable.Controls.Add(this.lookUpEditVatType);
     this.panelEnable.Controls.Add(this.labelBasicinfoType);
     this.panelEnable.Controls.Add(this.labelBasicinfoName);
     this.panelEnable.Controls.Add(this.labelBasicinfoPriceMonthly);
     this.panelEnable.Controls.Add(this.labelBasicinfoPriceDaily);
     this.panelEnable.Controls.Add(this.labelBasicinfoDetail);
     this.panelEnable.Controls.Add(this.labelControlBaht2);
     this.panelEnable.Controls.Add(this.labelControlBaht);
     this.panelEnable.Controls.Add(this.labelBasicinfoVat);
     this.panelEnable.Controls.Add(this.textEditItemPriceMonthly);
     this.panelEnable.Controls.Add(this.memoEditItemDetail);
     this.panelEnable.Controls.Add(this.textEditItemName);
     this.panelEnable.Dock = System.Windows.Forms.DockStyle.Top;
     this.panelEnable.Location = new System.Drawing.Point(0, 0);
     this.panelEnable.Name = "panelEnable";
     this.panelEnable.Size = new System.Drawing.Size(570, 243);
     this.panelEnable.TabIndex = 267;
     //
     // labelControlRequired
     //
     this.labelControlRequired.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControlRequired.Location = new System.Drawing.Point(9, 227);
     this.labelControlRequired.Name = "labelControlRequired";
     this.labelControlRequired.Size = new System.Drawing.Size(50, 13);
     this.labelControlRequired.TabIndex = 413;
     this.labelControlRequired.Text = "* โปรดระบุ";
     //
     // labelControl4
     //
     this.labelControl4.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl4.Location = new System.Drawing.Point(9, 121);
     this.labelControl4.Name = "labelControl4";
     this.labelControl4.Size = new System.Drawing.Size(6, 13);
     this.labelControl4.TabIndex = 317;
     this.labelControl4.Text = "*";
     //
     // labelControl1
     //
     this.labelControl1.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl1.Location = new System.Drawing.Point(9, 47);
     this.labelControl1.Name = "labelControl1";
     this.labelControl1.Size = new System.Drawing.Size(6, 13);
     this.labelControl1.TabIndex = 317;
     this.labelControl1.Text = "*";
     //
     // labelControl12
     //
     this.labelControl12.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl12.Location = new System.Drawing.Point(9, 17);
     this.labelControl12.Name = "labelControl12";
     this.labelControl12.Size = new System.Drawing.Size(6, 13);
     this.labelControl12.TabIndex = 317;
     this.labelControl12.Text = "*";
     //
     // lookUpEditPayType
     //
     this.lookUpEditPayType.Location = new System.Drawing.Point(174, 36);
     this.lookUpEditPayType.Name = "lookUpEditPayType";
     this.lookUpEditPayType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lookUpEditPayType.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("paytype_label", " ")});
     this.lookUpEditPayType.Size = new System.Drawing.Size(241, 20);
     this.lookUpEditPayType.TabIndex = 2;
     //
     // lookUpEditVatType
     //
     this.lookUpEditVatType.Location = new System.Drawing.Point(174, 115);
     this.lookUpEditVatType.Name = "lookUpEditVatType";
     this.lookUpEditVatType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lookUpEditVatType.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("vattype_label", " ")});
     this.lookUpEditVatType.Size = new System.Drawing.Size(241, 20);
     this.lookUpEditVatType.TabIndex = 5;
     //
     // labelBasicinfoType
     //
     this.labelBasicinfoType.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelBasicinfoType.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelBasicinfoType.Location = new System.Drawing.Point(32, 41);
     this.labelBasicinfoType.Name = "labelBasicinfoType";
     this.labelBasicinfoType.Size = new System.Drawing.Size(122, 13);
     this.labelBasicinfoType.TabIndex = 262;
     this.labelBasicinfoType.Text = "รูปแบบค่าใช้จ่าย :";
     //
     // labelBasicinfoName
     //
     this.labelBasicinfoName.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelBasicinfoName.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelBasicinfoName.Location = new System.Drawing.Point(32, 13);
     this.labelBasicinfoName.Name = "labelBasicinfoName";
     this.labelBasicinfoName.Size = new System.Drawing.Size(122, 13);
     this.labelBasicinfoName.TabIndex = 72;
     this.labelBasicinfoName.Text = "ชื่อรายการค่าใช้จ่าย :";
     //
     // labelBasicinfoPriceMonthly
     //
     this.labelBasicinfoPriceMonthly.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelBasicinfoPriceMonthly.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelBasicinfoPriceMonthly.Location = new System.Drawing.Point(32, 66);
     this.labelBasicinfoPriceMonthly.Name = "labelBasicinfoPriceMonthly";
     this.labelBasicinfoPriceMonthly.Size = new System.Drawing.Size(122, 13);
     this.labelBasicinfoPriceMonthly.TabIndex = 73;
     this.labelBasicinfoPriceMonthly.Text = "ราคารายเดือน :";
     //
     // labelBasicinfoPriceDaily
     //
     this.labelBasicinfoPriceDaily.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelBasicinfoPriceDaily.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelBasicinfoPriceDaily.Location = new System.Drawing.Point(32, 92);
     this.labelBasicinfoPriceDaily.Name = "labelBasicinfoPriceDaily";
     this.labelBasicinfoPriceDaily.Size = new System.Drawing.Size(122, 13);
     this.labelBasicinfoPriceDaily.TabIndex = 75;
     this.labelBasicinfoPriceDaily.Text = "ราคารายวัน :";
     //
     // labelBasicinfoDetail
     //
     this.labelBasicinfoDetail.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelBasicinfoDetail.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelBasicinfoDetail.Location = new System.Drawing.Point(26, 142);
     this.labelBasicinfoDetail.Name = "labelBasicinfoDetail";
     this.labelBasicinfoDetail.Size = new System.Drawing.Size(128, 13);
     this.labelBasicinfoDetail.TabIndex = 251;
     this.labelBasicinfoDetail.Text = "รายละเอียดเพิ่มเติม :";
     //
     // labelControlBaht2
     //
     this.labelControlBaht2.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlBaht2.Location = new System.Drawing.Point(421, 91);
     this.labelControlBaht2.Name = "labelControlBaht2";
     this.labelControlBaht2.Size = new System.Drawing.Size(81, 13);
     this.labelControlBaht2.TabIndex = 76;
     this.labelControlBaht2.Text = "บาท";
     //
     // labelControlBaht
     //
     this.labelControlBaht.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlBaht.Location = new System.Drawing.Point(421, 65);
     this.labelControlBaht.Name = "labelControlBaht";
     this.labelControlBaht.Size = new System.Drawing.Size(81, 13);
     this.labelControlBaht.TabIndex = 76;
     this.labelControlBaht.Text = "บาท";
     //
     // labelBasicinfoVat
     //
     this.labelBasicinfoVat.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelBasicinfoVat.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelBasicinfoVat.Location = new System.Drawing.Point(32, 118);
     this.labelBasicinfoVat.Name = "labelBasicinfoVat";
     this.labelBasicinfoVat.Size = new System.Drawing.Size(122, 13);
     this.labelBasicinfoVat.TabIndex = 76;
     this.labelBasicinfoVat.Text = "การคิดภาษี :";
     //
     // textEditItemPriceMonthly
     //
     this.textEditItemPriceMonthly.EditValue = "1000000.00";
     this.textEditItemPriceMonthly.Location = new System.Drawing.Point(174, 62);
     this.textEditItemPriceMonthly.Name = "textEditItemPriceMonthly";
     this.textEditItemPriceMonthly.Properties.Appearance.Options.UseTextOptions = true;
     this.textEditItemPriceMonthly.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.textEditItemPriceMonthly.Properties.DisplayFormat.FormatString = "{n2}";
     this.textEditItemPriceMonthly.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditItemPriceMonthly.Properties.EditFormat.FormatString = "{n2}";
     this.textEditItemPriceMonthly.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditItemPriceMonthly.Properties.Mask.BeepOnError = true;
     this.textEditItemPriceMonthly.Properties.Mask.EditMask = "0*([0-9]{1,7}|1000000)|0*([0-9]{1,7}|1000000)\\.([0-9]){2}";
     this.textEditItemPriceMonthly.Properties.Mask.IgnoreMaskBlank = false;
     this.textEditItemPriceMonthly.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditItemPriceMonthly.Properties.Mask.ShowPlaceHolders = false;
     this.textEditItemPriceMonthly.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditItemPriceMonthly.Properties.MaxLength = 7;
     this.textEditItemPriceMonthly.Size = new System.Drawing.Size(241, 20);
     this.textEditItemPriceMonthly.TabIndex = 3;
     //
     // memoEditItemDetail
     //
     this.memoEditItemDetail.Location = new System.Drawing.Point(174, 143);
     this.memoEditItemDetail.Name = "memoEditItemDetail";
     this.memoEditItemDetail.Properties.MaxLength = 500;
     this.memoEditItemDetail.Size = new System.Drawing.Size(241, 72);
     this.memoEditItemDetail.TabIndex = 6;
     //
     // textEditItemName
     //
     this.textEditItemName.Location = new System.Drawing.Point(174, 10);
     this.textEditItemName.Name = "textEditItemName";
     this.textEditItemName.Properties.Mask.BeepOnError = true;
     this.textEditItemName.Properties.Mask.EditMask = "([a-zA-Z0-9|ก-๙|\\\' \']){0,50}";
     this.textEditItemName.Properties.Mask.IgnoreMaskBlank = false;
     this.textEditItemName.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditItemName.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditItemName.Properties.MaxLength = 50;
     this.textEditItemName.Size = new System.Drawing.Size(241, 20);
     this.textEditItemName.TabIndex = 1;
     //
     // panelControl1
     //
     this.panelControl1.Controls.Add(this.texthiddenAction);
     this.panelControl1.Controls.Add(this.bttDelete);
     this.panelControl1.Controls.Add(this.labelBasicinfoID);
     this.panelControl1.Controls.Add(this.textEditItemID);
     this.panelControl1.Controls.Add(this.textEditCheckEvent);
     this.panelControl1.Controls.Add(this.bttAdd);
     this.panelControl1.Controls.Add(this.bttEdit);
     this.panelControl1.Controls.Add(this.bttCancel);
     this.panelControl1.Controls.Add(this.bttSave);
     this.panelControl1.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.panelControl1.Location = new System.Drawing.Point(0, 548);
     this.panelControl1.Name = "panelControl1";
     this.panelControl1.Size = new System.Drawing.Size(574, 66);
     this.panelControl1.TabIndex = 13;
     //
     // texthiddenAction
     //
     this.texthiddenAction.Location = new System.Drawing.Point(11, 35);
     this.texthiddenAction.Name = "texthiddenAction";
     this.texthiddenAction.Size = new System.Drawing.Size(100, 20);
     this.texthiddenAction.TabIndex = 264;
     this.texthiddenAction.Visible = false;
     //
     // bttDelete
     //
     this.bttDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttDelete.Image = global::DXWindowsApplication2.Properties.Resources.delete;
     this.bttDelete.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttDelete.Location = new System.Drawing.Point(347, 5);
     this.bttDelete.Name = "bttDelete";
     this.bttDelete.Size = new System.Drawing.Size(70, 55);
     this.bttDelete.TabIndex = 20;
     this.bttDelete.Text = "ลบข้อมูล";
     this.bttDelete.Click += new System.EventHandler(this.bttDelete_Click);
     //
     // labelBasicinfoID
     //
     this.labelBasicinfoID.Location = new System.Drawing.Point(17, 6);
     this.labelBasicinfoID.Name = "labelBasicinfoID";
     this.labelBasicinfoID.Padding = new System.Windows.Forms.Padding(10);
     this.labelBasicinfoID.Size = new System.Drawing.Size(46, 33);
     this.labelBasicinfoID.TabIndex = 71;
     this.labelBasicinfoID.Text = "รหัส :";
     this.labelBasicinfoID.Visible = false;
     //
     // textEditItemID
     //
     this.textEditItemID.Location = new System.Drawing.Point(69, 13);
     this.textEditItemID.Name = "textEditItemID";
     this.textEditItemID.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.textEditItemID.Properties.Appearance.Options.UseFont = true;
     this.textEditItemID.Properties.ReadOnly = true;
     this.textEditItemID.Size = new System.Drawing.Size(18, 20);
     this.textEditItemID.TabIndex = 248;
     this.textEditItemID.Visible = false;
     //
     // textEditCheckEvent
     //
     this.textEditCheckEvent.EditValue = "";
     this.textEditCheckEvent.Location = new System.Drawing.Point(93, 13);
     this.textEditCheckEvent.Name = "textEditCheckEvent";
     this.textEditCheckEvent.Properties.Mask.BeepOnError = true;
     this.textEditCheckEvent.Properties.Mask.EditMask = "([0-9]*)";
     this.textEditCheckEvent.Properties.Mask.IgnoreMaskBlank = false;
     this.textEditCheckEvent.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditCheckEvent.Properties.MaxLength = 10;
     this.textEditCheckEvent.Size = new System.Drawing.Size(18, 20);
     this.textEditCheckEvent.TabIndex = 258;
     this.textEditCheckEvent.Visible = false;
     //
     // bttAdd
     //
     this.bttAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttAdd.Image = global::DXWindowsApplication2.Properties.Resources.Add;
     this.bttAdd.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttAdd.Location = new System.Drawing.Point(195, 5);
     this.bttAdd.Name = "bttAdd";
     this.bttAdd.Size = new System.Drawing.Size(70, 55);
     this.bttAdd.TabIndex = 18;
     this.bttAdd.Text = "เพิ่มข้อมูล";
     this.bttAdd.Click += new System.EventHandler(this.bttAdd_Click);
     //
     // bttEdit
     //
     this.bttEdit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttEdit.Image = global::DXWindowsApplication2.Properties.Resources.edit;
     this.bttEdit.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttEdit.Location = new System.Drawing.Point(271, 5);
     this.bttEdit.Name = "bttEdit";
     this.bttEdit.Size = new System.Drawing.Size(70, 55);
     this.bttEdit.TabIndex = 19;
     this.bttEdit.Text = "แก้ไขข้อมูล";
     this.bttEdit.Click += new System.EventHandler(this.bttEdit_Click);
     //
     // bttCancel
     //
     this.bttCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttCancel.Enabled = false;
     this.bttCancel.Image = global::DXWindowsApplication2.Properties.Resources.Close;
     this.bttCancel.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttCancel.Location = new System.Drawing.Point(499, 5);
     this.bttCancel.Name = "bttCancel";
     this.bttCancel.Size = new System.Drawing.Size(70, 55);
     this.bttCancel.TabIndex = 22;
     this.bttCancel.Text = "ยกเลิก";
     this.bttCancel.Click += new System.EventHandler(this.bttCancel_Click);
     //
     // bttSave
     //
     this.bttSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttSave.Enabled = false;
     this.bttSave.Image = global::DXWindowsApplication2.Properties.Resources.save;
     this.bttSave.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttSave.Location = new System.Drawing.Point(423, 5);
     this.bttSave.Name = "bttSave";
     this.bttSave.Size = new System.Drawing.Size(70, 55);
     this.bttSave.TabIndex = 21;
     this.bttSave.Text = "บันทึก";
     this.bttSave.Click += new System.EventHandler(this.bttSave_Click);
     //
     // textEditItemPriceDaily
     //
     this.textEditItemPriceDaily.EditValue = "1000000.00";
     this.textEditItemPriceDaily.Location = new System.Drawing.Point(174, 88);
     this.textEditItemPriceDaily.Name = "textEditItemPriceDaily";
     this.textEditItemPriceDaily.Properties.Appearance.Options.UseTextOptions = true;
     this.textEditItemPriceDaily.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.textEditItemPriceDaily.Properties.DisplayFormat.FormatString = "{n2}";
     this.textEditItemPriceDaily.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditItemPriceDaily.Properties.EditFormat.FormatString = "{n2}";
     this.textEditItemPriceDaily.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditItemPriceDaily.Properties.Mask.BeepOnError = true;
     this.textEditItemPriceDaily.Properties.Mask.EditMask = "0*([0-9]{1,7}|1000000)|0*([0-9]{1,7}|1000000)\\.([0-9]){2}";
     this.textEditItemPriceDaily.Properties.Mask.IgnoreMaskBlank = false;
     this.textEditItemPriceDaily.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditItemPriceDaily.Properties.Mask.ShowPlaceHolders = false;
     this.textEditItemPriceDaily.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditItemPriceDaily.Properties.MaxLength = 7;
     this.textEditItemPriceDaily.Size = new System.Drawing.Size(241, 20);
     this.textEditItemPriceDaily.TabIndex = 414;
     //
     // BasicInfoAdditionItem
     //
     this.Appearance.BackColor = System.Drawing.Color.White;
     this.Appearance.Options.UseBackColor = true;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.splitContainerControl2);
     this.Controls.Add(this.panelControl2);
     this.Name = "BasicInfoAdditionItem";
     this.Padding = new System.Windows.Forms.Padding(7);
     this.Size = new System.Drawing.Size(1093, 628);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).EndInit();
     this.splitContainerControl2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControlList)).EndInit();
     this.groupControlList.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlItem)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit();
     this.panelControl3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControlAddittional)).EndInit();
     this.groupControlAddittional.ResumeLayout(false);
     this.xtraScrollableControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.panelEnable)).EndInit();
     this.panelEnable.ResumeLayout(false);
     this.panelEnable.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditPayType.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditVatType.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditItemPriceMonthly.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.memoEditItemDetail.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditItemName.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
     this.panelControl1.ResumeLayout(false);
     this.panelControl1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.texthiddenAction.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditItemID.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditCheckEvent.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditItemPriceDaily.Properties)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #7
0
 /// <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(ProgramPermission));
     this.panelControl3 = new DevExpress.XtraEditors.PanelControl();
     this.groupControlAuthorize = new DevExpress.XtraEditors.GroupControl();
     this.xtraScrollableControl1 = new DevExpress.XtraEditors.XtraScrollableControl();
     this.panelControl25 = new DevExpress.XtraEditors.PanelControl();
     this.gridControlMenuGroup8 = new DevExpress.XtraGrid.GridControl();
     this.gridViewMenu8 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumn22 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnMenuName8 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn24 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemRadioGroup8 = new DevExpress.XtraEditors.Repository.RepositoryItemRadioGroup();
     this.gridColumn25 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.panelControl19 = new DevExpress.XtraEditors.PanelControl();
     this.checkEditHelp = new DevExpress.XtraEditors.CheckEdit();
     this.panelControl26 = new DevExpress.XtraEditors.PanelControl();
     this.gridControlMenuGroup9 = new DevExpress.XtraGrid.GridControl();
     this.gridViewMenu9 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumnBoxCheck = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnMenuName9 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemRadioGroup9 = new DevExpress.XtraEditors.Repository.RepositoryItemRadioGroup();
     this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.panelControl27 = new DevExpress.XtraEditors.PanelControl();
     this.checkEditRegistration = new DevExpress.XtraEditors.CheckEdit();
     this.panelControl24 = new DevExpress.XtraEditors.PanelControl();
     this.gridControlMenuGroup7 = new DevExpress.XtraGrid.GridControl();
     this.gridViewMenu7 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumn18 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnMenuName7 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn20 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemRadioGroup7 = new DevExpress.XtraEditors.Repository.RepositoryItemRadioGroup();
     this.gridColumn21 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.panelControl18 = new DevExpress.XtraEditors.PanelControl();
     this.checkEditDeviceSetting = new DevExpress.XtraEditors.CheckEdit();
     this.panelControl23 = new DevExpress.XtraEditors.PanelControl();
     this.gridControlMenuGroup6 = new DevExpress.XtraGrid.GridControl();
     this.gridViewMenu6 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumn14 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnMenuName6 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn16 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemRadioGroup6 = new DevExpress.XtraEditors.Repository.RepositoryItemRadioGroup();
     this.gridColumn17 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.panelControl17 = new DevExpress.XtraEditors.PanelControl();
     this.checkEditDatabaseSetting = new DevExpress.XtraEditors.CheckEdit();
     this.panelControl22 = new DevExpress.XtraEditors.PanelControl();
     this.gridControlMenuGroup5 = new DevExpress.XtraGrid.GridControl();
     this.gridViewMenu5 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnMenuName5 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemRadioGroup5 = new DevExpress.XtraEditors.Repository.RepositoryItemRadioGroup();
     this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.panelControl15 = new DevExpress.XtraEditors.PanelControl();
     this.checkEditProgramSetting = new DevExpress.XtraEditors.CheckEdit();
     this.panelControl21 = new DevExpress.XtraEditors.PanelControl();
     this.gridControlMenuGroup4 = new DevExpress.XtraGrid.GridControl();
     this.gridViewMenu4 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnMenuName4 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemRadioGroup4 = new DevExpress.XtraEditors.Repository.RepositoryItemRadioGroup();
     this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.panelControl11 = new DevExpress.XtraEditors.PanelControl();
     this.panelControl12 = new DevExpress.XtraEditors.PanelControl();
     this.panelControl13 = new DevExpress.XtraEditors.PanelControl();
     this.panelControl14 = new DevExpress.XtraEditors.PanelControl();
     this.checkEdit8 = new DevExpress.XtraEditors.CheckEdit();
     this.checkEdit7 = new DevExpress.XtraEditors.CheckEdit();
     this.checkEdit6 = new DevExpress.XtraEditors.CheckEdit();
     this.panelControl10 = new DevExpress.XtraEditors.PanelControl();
     this.checkEditBasicSetting = new DevExpress.XtraEditors.CheckEdit();
     this.checkEdit4 = new DevExpress.XtraEditors.CheckEdit();
     this.panelControl7 = new DevExpress.XtraEditors.PanelControl();
     this.gridControlMenuGroup3 = new DevExpress.XtraGrid.GridControl();
     this.gridViewMenu3 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumnCheckBox3 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnMenuName3 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnReadOrWrite3 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemRadioGroup3 = new DevExpress.XtraEditors.Repository.RepositoryItemRadioGroup();
     this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.panelControl9 = new DevExpress.XtraEditors.PanelControl();
     this.checkEditReportManagement = new DevExpress.XtraEditors.CheckEdit();
     this.panelControl5 = new DevExpress.XtraEditors.PanelControl();
     this.gridControlMenuGroup2 = new DevExpress.XtraGrid.GridControl();
     this.gridViewMenu2 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumnCheckBox2 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnMenuName2 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnReadOrWrite2 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemRadioGroup2 = new DevExpress.XtraEditors.Repository.RepositoryItemRadioGroup();
     this.gridColumnParent2 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.panelControl6 = new DevExpress.XtraEditors.PanelControl();
     this.checkEditMeterManagement = new DevExpress.XtraEditors.CheckEdit();
     this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
     this.gridControlMenuGroup1 = new DevExpress.XtraGrid.GridControl();
     this.gridViewMenu = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumnCheckBox = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnMenuName = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnReadOrWrite = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemRadioGroup1 = new DevExpress.XtraEditors.Repository.RepositoryItemRadioGroup();
     this.gridColumnParent = new DevExpress.XtraGrid.Columns.GridColumn();
     this.panelControl4 = new DevExpress.XtraEditors.PanelControl();
     this.checkEditRoomManagement = new DevExpress.XtraEditors.CheckEdit();
     this.panelControl20 = new DevExpress.XtraEditors.PanelControl();
     this.gridControlPermissionBar = new DevExpress.XtraGrid.GridControl();
     this.gridView4 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnMenuNameBar = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnReadWriteBar = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnReadOnlyBar = new DevExpress.XtraGrid.Columns.GridColumn();
     this.panelControl16 = new DevExpress.XtraEditors.PanelControl();
     this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
     this.labelControlRequired = new DevExpress.XtraEditors.LabelControl();
     this.textEditGroupID = new DevExpress.XtraEditors.TextEdit();
     this.textEditGroupName = new DevExpress.XtraEditors.TextEdit();
     this.labelGroupName = new DevExpress.XtraEditors.LabelControl();
     this.panelControl8 = new DevExpress.XtraEditors.PanelControl();
     this.bttDelete = new DevExpress.XtraEditors.SimpleButton();
     this.bttAdd = new DevExpress.XtraEditors.SimpleButton();
     this.bttEdit = new DevExpress.XtraEditors.SimpleButton();
     this.bttCancel = new DevExpress.XtraEditors.SimpleButton();
     this.bttSave = new DevExpress.XtraEditors.SimpleButton();
     this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl();
     this.splitContainerControl2 = new DevExpress.XtraEditors.SplitContainerControl();
     this.groupControlAuthorizeList = new DevExpress.XtraEditors.GroupControl();
     this.gridControlGroupPermission = new DevExpress.XtraGrid.GridControl();
     this.gridViewGroup = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumnGroupId = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnGroupName = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnAmountUser = new DevExpress.XtraGrid.Columns.GridColumn();
     this.panelControl2 = new DevExpress.XtraEditors.PanelControl();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit();
     this.panelControl3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlAuthorize)).BeginInit();
     this.groupControlAuthorize.SuspendLayout();
     this.xtraScrollableControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl25)).BeginInit();
     this.panelControl25.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMenuGroup8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMenu8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemRadioGroup8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl19)).BeginInit();
     this.panelControl19.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditHelp.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl26)).BeginInit();
     this.panelControl26.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMenuGroup9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMenu9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemRadioGroup9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl27)).BeginInit();
     this.panelControl27.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditRegistration.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl24)).BeginInit();
     this.panelControl24.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMenuGroup7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMenu7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemRadioGroup7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl18)).BeginInit();
     this.panelControl18.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditDeviceSetting.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl23)).BeginInit();
     this.panelControl23.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMenuGroup6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMenu6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemRadioGroup6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl17)).BeginInit();
     this.panelControl17.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditDatabaseSetting.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl22)).BeginInit();
     this.panelControl22.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMenuGroup5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMenu5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemRadioGroup5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl15)).BeginInit();
     this.panelControl15.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditProgramSetting.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl21)).BeginInit();
     this.panelControl21.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMenuGroup4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMenu4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemRadioGroup4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl11)).BeginInit();
     this.panelControl11.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl12)).BeginInit();
     this.panelControl12.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl13)).BeginInit();
     this.panelControl13.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl14)).BeginInit();
     this.panelControl14.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkEdit8.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkEdit7.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkEdit6.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl10)).BeginInit();
     this.panelControl10.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditBasicSetting.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkEdit4.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl7)).BeginInit();
     this.panelControl7.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMenuGroup3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMenu3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemRadioGroup3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl9)).BeginInit();
     this.panelControl9.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditReportManagement.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl5)).BeginInit();
     this.panelControl5.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMenuGroup2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMenu2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemRadioGroup2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl6)).BeginInit();
     this.panelControl6.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditMeterManagement.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
     this.panelControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMenuGroup1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMenu)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemRadioGroup1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).BeginInit();
     this.panelControl4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditRoomManagement.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl20)).BeginInit();
     this.panelControl20.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlPermissionBar)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl16)).BeginInit();
     this.panelControl16.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditGroupID.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditGroupName.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl8)).BeginInit();
     this.panelControl8.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
     this.splitContainerControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).BeginInit();
     this.splitContainerControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlAuthorizeList)).BeginInit();
     this.groupControlAuthorizeList.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlGroupPermission)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewGroup)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit();
     this.panelControl2.SuspendLayout();
     this.SuspendLayout();
     //
     // panelControl3
     //
     this.panelControl3.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl3.Controls.Add(this.groupControlAuthorize);
     this.panelControl3.Controls.Add(this.panelControl8);
     this.panelControl3.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panelControl3.Location = new System.Drawing.Point(0, 0);
     this.panelControl3.Name = "panelControl3";
     this.panelControl3.Size = new System.Drawing.Size(559, 609);
     this.panelControl3.TabIndex = 12;
     //
     // groupControlAuthorize
     //
     this.groupControlAuthorize.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlAuthorize.AppearanceCaption.Options.UseFont = true;
     this.groupControlAuthorize.Controls.Add(this.xtraScrollableControl1);
     this.groupControlAuthorize.Dock = System.Windows.Forms.DockStyle.Fill;
     this.groupControlAuthorize.Location = new System.Drawing.Point(0, 0);
     this.groupControlAuthorize.Name = "groupControlAuthorize";
     this.groupControlAuthorize.Size = new System.Drawing.Size(559, 543);
     this.groupControlAuthorize.TabIndex = 3;
     this.groupControlAuthorize.Text = "สิทธิ์การใช้งาน";
     //
     // xtraScrollableControl1
     //
     this.xtraScrollableControl1.Appearance.BackColor = System.Drawing.Color.White;
     this.xtraScrollableControl1.Appearance.Options.UseBackColor = true;
     this.xtraScrollableControl1.Controls.Add(this.panelControl25);
     this.xtraScrollableControl1.Controls.Add(this.panelControl19);
     this.xtraScrollableControl1.Controls.Add(this.panelControl26);
     this.xtraScrollableControl1.Controls.Add(this.panelControl27);
     this.xtraScrollableControl1.Controls.Add(this.panelControl24);
     this.xtraScrollableControl1.Controls.Add(this.panelControl18);
     this.xtraScrollableControl1.Controls.Add(this.panelControl23);
     this.xtraScrollableControl1.Controls.Add(this.panelControl17);
     this.xtraScrollableControl1.Controls.Add(this.panelControl22);
     this.xtraScrollableControl1.Controls.Add(this.panelControl15);
     this.xtraScrollableControl1.Controls.Add(this.panelControl21);
     this.xtraScrollableControl1.Controls.Add(this.panelControl11);
     this.xtraScrollableControl1.Controls.Add(this.panelControl7);
     this.xtraScrollableControl1.Controls.Add(this.panelControl9);
     this.xtraScrollableControl1.Controls.Add(this.panelControl5);
     this.xtraScrollableControl1.Controls.Add(this.panelControl6);
     this.xtraScrollableControl1.Controls.Add(this.panelControl1);
     this.xtraScrollableControl1.Controls.Add(this.panelControl4);
     this.xtraScrollableControl1.Controls.Add(this.panelControl20);
     this.xtraScrollableControl1.Controls.Add(this.panelControl16);
     this.xtraScrollableControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.xtraScrollableControl1.Location = new System.Drawing.Point(2, 22);
     this.xtraScrollableControl1.Name = "xtraScrollableControl1";
     this.xtraScrollableControl1.Size = new System.Drawing.Size(555, 519);
     this.xtraScrollableControl1.TabIndex = 0;
     //
     // panelControl25
     //
     this.panelControl25.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl25.Controls.Add(this.gridControlMenuGroup8);
     this.panelControl25.Dock = System.Windows.Forms.DockStyle.Top;
     this.panelControl25.Location = new System.Drawing.Point(0, 1519);
     this.panelControl25.Name = "panelControl25";
     this.panelControl25.Padding = new System.Windows.Forms.Padding(7);
     this.panelControl25.Size = new System.Drawing.Size(538, 104);
     this.panelControl25.TabIndex = 26;
     //
     // gridControlMenuGroup8
     //
     this.gridControlMenuGroup8.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlMenuGroup8.Location = new System.Drawing.Point(7, 7);
     this.gridControlMenuGroup8.MainView = this.gridViewMenu8;
     this.gridControlMenuGroup8.Name = "gridControlMenuGroup8";
     this.gridControlMenuGroup8.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemRadioGroup8});
     this.gridControlMenuGroup8.Size = new System.Drawing.Size(524, 90);
     this.gridControlMenuGroup8.TabIndex = 7;
     this.gridControlMenuGroup8.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewMenu8});
     //
     // gridViewMenu8
     //
     this.gridViewMenu8.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.gridViewMenu8.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.gridColumn22,
     this.gridColumnMenuName8,
     this.gridColumn24,
     this.gridColumn25});
     this.gridViewMenu8.GridControl = this.gridControlMenuGroup8;
     this.gridViewMenu8.Name = "gridViewMenu8";
     this.gridViewMenu8.OptionsLayout.Columns.AddNewColumns = false;
     this.gridViewMenu8.OptionsLayout.Columns.RemoveOldColumns = false;
     this.gridViewMenu8.OptionsView.ShowColumnHeaders = false;
     this.gridViewMenu8.OptionsView.ShowGroupPanel = false;
     this.gridViewMenu8.OptionsView.ShowVertLines = false;
     this.gridViewMenu8.PaintStyleName = "Skin";
     //
     // gridColumn22
     //
     this.gridColumn22.Caption = " ";
     this.gridColumn22.FieldName = "permission_flag_check";
     this.gridColumn22.Name = "gridColumn22";
     this.gridColumn22.OptionsColumn.AllowSize = false;
     this.gridColumn22.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
     this.gridColumn22.Visible = true;
     this.gridColumn22.VisibleIndex = 0;
     this.gridColumn22.Width = 20;
     //
     // gridColumnMenuName8
     //
     this.gridColumnMenuName8.Caption = " ";
     this.gridColumnMenuName8.Name = "gridColumnMenuName8";
     this.gridColumnMenuName8.OptionsColumn.AllowEdit = false;
     this.gridColumnMenuName8.OptionsColumn.AllowFocus = false;
     this.gridColumnMenuName8.OptionsColumn.AllowMove = false;
     this.gridColumnMenuName8.OptionsColumn.AllowShowHide = false;
     this.gridColumnMenuName8.OptionsColumn.ReadOnly = true;
     this.gridColumnMenuName8.Visible = true;
     this.gridColumnMenuName8.VisibleIndex = 1;
     this.gridColumnMenuName8.Width = 317;
     //
     // gridColumn24
     //
     this.gridColumn24.Caption = " ";
     this.gridColumn24.ColumnEdit = this.repositoryItemRadioGroup8;
     this.gridColumn24.FieldName = "permission_flag_access";
     this.gridColumn24.Name = "gridColumn24";
     this.gridColumn24.Visible = true;
     this.gridColumn24.VisibleIndex = 2;
     this.gridColumn24.Width = 151;
     //
     // repositoryItemRadioGroup8
     //
     this.repositoryItemRadioGroup8.Items.AddRange(new DevExpress.XtraEditors.Controls.RadioGroupItem[] {
     new DevExpress.XtraEditors.Controls.RadioGroupItem(1, ""),
     new DevExpress.XtraEditors.Controls.RadioGroupItem(2, "")});
     this.repositoryItemRadioGroup8.Name = "repositoryItemRadioGroup8";
     //
     // gridColumn25
     //
     this.gridColumn25.Caption = "gridColumn1";
     this.gridColumn25.FieldName = "menu_parent";
     this.gridColumn25.Name = "gridColumn25";
     //
     // panelControl19
     //
     this.panelControl19.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl19.Controls.Add(this.checkEditHelp);
     this.panelControl19.Dock = System.Windows.Forms.DockStyle.Top;
     this.panelControl19.Location = new System.Drawing.Point(0, 1494);
     this.panelControl19.Name = "panelControl19";
     this.panelControl19.Size = new System.Drawing.Size(538, 25);
     this.panelControl19.TabIndex = 19;
     //
     // checkEditHelp
     //
     this.checkEditHelp.Location = new System.Drawing.Point(5, 2);
     this.checkEditHelp.Name = "checkEditHelp";
     this.checkEditHelp.Properties.Caption = "ช่วยเหลือ";
     this.checkEditHelp.Size = new System.Drawing.Size(231, 19);
     this.checkEditHelp.TabIndex = 1;
     this.checkEditHelp.CheckedChanged += new System.EventHandler(this.checkEditHelp_CheckedChanged);
     //
     // panelControl26
     //
     this.panelControl26.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl26.Controls.Add(this.gridControlMenuGroup9);
     this.panelControl26.Dock = System.Windows.Forms.DockStyle.Top;
     this.panelControl26.Location = new System.Drawing.Point(0, 1390);
     this.panelControl26.Name = "panelControl26";
     this.panelControl26.Padding = new System.Windows.Forms.Padding(7);
     this.panelControl26.Size = new System.Drawing.Size(538, 104);
     this.panelControl26.TabIndex = 28;
     //
     // gridControlMenuGroup9
     //
     this.gridControlMenuGroup9.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlMenuGroup9.Location = new System.Drawing.Point(7, 7);
     this.gridControlMenuGroup9.MainView = this.gridViewMenu9;
     this.gridControlMenuGroup9.Name = "gridControlMenuGroup9";
     this.gridControlMenuGroup9.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemRadioGroup9});
     this.gridControlMenuGroup9.Size = new System.Drawing.Size(524, 90);
     this.gridControlMenuGroup9.TabIndex = 7;
     this.gridControlMenuGroup9.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewMenu9});
     //
     // gridViewMenu9
     //
     this.gridViewMenu9.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.gridViewMenu9.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.gridColumnBoxCheck,
     this.gridColumnMenuName9,
     this.gridColumn10,
     this.gridColumn11});
     this.gridViewMenu9.GridControl = this.gridControlMenuGroup9;
     this.gridViewMenu9.Name = "gridViewMenu9";
     this.gridViewMenu9.OptionsLayout.Columns.AddNewColumns = false;
     this.gridViewMenu9.OptionsLayout.Columns.RemoveOldColumns = false;
     this.gridViewMenu9.OptionsView.ShowColumnHeaders = false;
     this.gridViewMenu9.OptionsView.ShowGroupPanel = false;
     this.gridViewMenu9.OptionsView.ShowVertLines = false;
     this.gridViewMenu9.PaintStyleName = "Skin";
     //
     // gridColumnBoxCheck
     //
     this.gridColumnBoxCheck.Caption = " ";
     this.gridColumnBoxCheck.FieldName = "permission_flag_check";
     this.gridColumnBoxCheck.Name = "gridColumnBoxCheck";
     this.gridColumnBoxCheck.OptionsColumn.AllowSize = false;
     this.gridColumnBoxCheck.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
     this.gridColumnBoxCheck.Visible = true;
     this.gridColumnBoxCheck.VisibleIndex = 0;
     this.gridColumnBoxCheck.Width = 20;
     //
     // gridColumnMenuName9
     //
     this.gridColumnMenuName9.Caption = " ";
     this.gridColumnMenuName9.Name = "gridColumnMenuName9";
     this.gridColumnMenuName9.OptionsColumn.AllowEdit = false;
     this.gridColumnMenuName9.OptionsColumn.AllowFocus = false;
     this.gridColumnMenuName9.OptionsColumn.AllowMove = false;
     this.gridColumnMenuName9.OptionsColumn.AllowShowHide = false;
     this.gridColumnMenuName9.OptionsColumn.ReadOnly = true;
     this.gridColumnMenuName9.Visible = true;
     this.gridColumnMenuName9.VisibleIndex = 1;
     this.gridColumnMenuName9.Width = 317;
     //
     // gridColumn10
     //
     this.gridColumn10.Caption = " ";
     this.gridColumn10.ColumnEdit = this.repositoryItemRadioGroup9;
     this.gridColumn10.FieldName = "permission_flag_access";
     this.gridColumn10.Name = "gridColumn10";
     this.gridColumn10.Visible = true;
     this.gridColumn10.VisibleIndex = 2;
     this.gridColumn10.Width = 151;
     //
     // repositoryItemRadioGroup9
     //
     this.repositoryItemRadioGroup9.Items.AddRange(new DevExpress.XtraEditors.Controls.RadioGroupItem[] {
     new DevExpress.XtraEditors.Controls.RadioGroupItem(1, ""),
     new DevExpress.XtraEditors.Controls.RadioGroupItem(2, "")});
     this.repositoryItemRadioGroup9.Name = "repositoryItemRadioGroup9";
     //
     // gridColumn11
     //
     this.gridColumn11.Caption = "gridColumn1";
     this.gridColumn11.FieldName = "menu_parent";
     this.gridColumn11.Name = "gridColumn11";
     //
     // panelControl27
     //
     this.panelControl27.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl27.Controls.Add(this.checkEditRegistration);
     this.panelControl27.Dock = System.Windows.Forms.DockStyle.Top;
     this.panelControl27.Location = new System.Drawing.Point(0, 1365);
     this.panelControl27.Name = "panelControl27";
     this.panelControl27.Size = new System.Drawing.Size(538, 25);
     this.panelControl27.TabIndex = 27;
     //
     // checkEditRegistration
     //
     this.checkEditRegistration.Location = new System.Drawing.Point(5, 2);
     this.checkEditRegistration.Name = "checkEditRegistration";
     this.checkEditRegistration.Properties.Caption = "ลงทะเบียน";
     this.checkEditRegistration.Size = new System.Drawing.Size(231, 19);
     this.checkEditRegistration.TabIndex = 1;
     //
     // panelControl24
     //
     this.panelControl24.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl24.Controls.Add(this.gridControlMenuGroup7);
     this.panelControl24.Dock = System.Windows.Forms.DockStyle.Top;
     this.panelControl24.Location = new System.Drawing.Point(0, 1255);
     this.panelControl24.Name = "panelControl24";
     this.panelControl24.Padding = new System.Windows.Forms.Padding(7);
     this.panelControl24.Size = new System.Drawing.Size(538, 110);
     this.panelControl24.TabIndex = 25;
     //
     // gridControlMenuGroup7
     //
     this.gridControlMenuGroup7.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlMenuGroup7.Location = new System.Drawing.Point(7, 7);
     this.gridControlMenuGroup7.MainView = this.gridViewMenu7;
     this.gridControlMenuGroup7.Name = "gridControlMenuGroup7";
     this.gridControlMenuGroup7.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemRadioGroup7});
     this.gridControlMenuGroup7.Size = new System.Drawing.Size(524, 96);
     this.gridControlMenuGroup7.TabIndex = 7;
     this.gridControlMenuGroup7.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewMenu7});
     //
     // gridViewMenu7
     //
     this.gridViewMenu7.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.gridViewMenu7.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.gridColumn18,
     this.gridColumnMenuName7,
     this.gridColumn20,
     this.gridColumn21});
     this.gridViewMenu7.GridControl = this.gridControlMenuGroup7;
     this.gridViewMenu7.Name = "gridViewMenu7";
     this.gridViewMenu7.OptionsLayout.Columns.AddNewColumns = false;
     this.gridViewMenu7.OptionsLayout.Columns.RemoveOldColumns = false;
     this.gridViewMenu7.OptionsView.ShowColumnHeaders = false;
     this.gridViewMenu7.OptionsView.ShowGroupPanel = false;
     this.gridViewMenu7.OptionsView.ShowVertLines = false;
     this.gridViewMenu7.PaintStyleName = "Skin";
     //
     // gridColumn18
     //
     this.gridColumn18.Caption = " ";
     this.gridColumn18.FieldName = "permission_flag_check";
     this.gridColumn18.Name = "gridColumn18";
     this.gridColumn18.OptionsColumn.AllowSize = false;
     this.gridColumn18.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
     this.gridColumn18.Visible = true;
     this.gridColumn18.VisibleIndex = 0;
     this.gridColumn18.Width = 20;
     //
     // gridColumnMenuName7
     //
     this.gridColumnMenuName7.Caption = " ";
     this.gridColumnMenuName7.Name = "gridColumnMenuName7";
     this.gridColumnMenuName7.OptionsColumn.AllowEdit = false;
     this.gridColumnMenuName7.OptionsColumn.AllowFocus = false;
     this.gridColumnMenuName7.OptionsColumn.AllowMove = false;
     this.gridColumnMenuName7.OptionsColumn.AllowShowHide = false;
     this.gridColumnMenuName7.OptionsColumn.ReadOnly = true;
     this.gridColumnMenuName7.Visible = true;
     this.gridColumnMenuName7.VisibleIndex = 1;
     this.gridColumnMenuName7.Width = 317;
     //
     // gridColumn20
     //
     this.gridColumn20.Caption = " ";
     this.gridColumn20.ColumnEdit = this.repositoryItemRadioGroup7;
     this.gridColumn20.FieldName = "permission_flag_access";
     this.gridColumn20.Name = "gridColumn20";
     this.gridColumn20.Visible = true;
     this.gridColumn20.VisibleIndex = 2;
     this.gridColumn20.Width = 151;
     //
     // repositoryItemRadioGroup7
     //
     this.repositoryItemRadioGroup7.Items.AddRange(new DevExpress.XtraEditors.Controls.RadioGroupItem[] {
     new DevExpress.XtraEditors.Controls.RadioGroupItem(1, ""),
     new DevExpress.XtraEditors.Controls.RadioGroupItem(2, "")});
     this.repositoryItemRadioGroup7.Name = "repositoryItemRadioGroup7";
     //
     // gridColumn21
     //
     this.gridColumn21.Caption = "gridColumn1";
     this.gridColumn21.FieldName = "menu_parent";
     this.gridColumn21.Name = "gridColumn21";
     //
     // panelControl18
     //
     this.panelControl18.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl18.Controls.Add(this.checkEditDeviceSetting);
     this.panelControl18.Dock = System.Windows.Forms.DockStyle.Top;
     this.panelControl18.Location = new System.Drawing.Point(0, 1230);
     this.panelControl18.Name = "panelControl18";
     this.panelControl18.Size = new System.Drawing.Size(538, 25);
     this.panelControl18.TabIndex = 18;
     //
     // checkEditDeviceSetting
     //
     this.checkEditDeviceSetting.Location = new System.Drawing.Point(5, 2);
     this.checkEditDeviceSetting.Name = "checkEditDeviceSetting";
     this.checkEditDeviceSetting.Properties.Caption = "ตั้งค่าอุปกรณ์";
     this.checkEditDeviceSetting.Size = new System.Drawing.Size(231, 19);
     this.checkEditDeviceSetting.TabIndex = 1;
     this.checkEditDeviceSetting.CheckedChanged += new System.EventHandler(this.checkEditDeviceSetting_CheckedChanged);
     //
     // panelControl23
     //
     this.panelControl23.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl23.Controls.Add(this.gridControlMenuGroup6);
     this.panelControl23.Dock = System.Windows.Forms.DockStyle.Top;
     this.panelControl23.Location = new System.Drawing.Point(0, 1150);
     this.panelControl23.Name = "panelControl23";
     this.panelControl23.Padding = new System.Windows.Forms.Padding(7);
     this.panelControl23.Size = new System.Drawing.Size(538, 80);
     this.panelControl23.TabIndex = 24;
     //
     // gridControlMenuGroup6
     //
     this.gridControlMenuGroup6.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlMenuGroup6.Location = new System.Drawing.Point(7, 7);
     this.gridControlMenuGroup6.MainView = this.gridViewMenu6;
     this.gridControlMenuGroup6.Name = "gridControlMenuGroup6";
     this.gridControlMenuGroup6.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemRadioGroup6});
     this.gridControlMenuGroup6.Size = new System.Drawing.Size(524, 66);
     this.gridControlMenuGroup6.TabIndex = 7;
     this.gridControlMenuGroup6.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewMenu6});
     //
     // gridViewMenu6
     //
     this.gridViewMenu6.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.gridViewMenu6.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.gridColumn14,
     this.gridColumnMenuName6,
     this.gridColumn16,
     this.gridColumn17});
     this.gridViewMenu6.GridControl = this.gridControlMenuGroup6;
     this.gridViewMenu6.Name = "gridViewMenu6";
     this.gridViewMenu6.OptionsLayout.Columns.AddNewColumns = false;
     this.gridViewMenu6.OptionsLayout.Columns.RemoveOldColumns = false;
     this.gridViewMenu6.OptionsView.ShowColumnHeaders = false;
     this.gridViewMenu6.OptionsView.ShowGroupPanel = false;
     this.gridViewMenu6.OptionsView.ShowVertLines = false;
     this.gridViewMenu6.PaintStyleName = "Skin";
     //
     // gridColumn14
     //
     this.gridColumn14.Caption = " ";
     this.gridColumn14.FieldName = "permission_flag_check";
     this.gridColumn14.Name = "gridColumn14";
     this.gridColumn14.OptionsColumn.AllowSize = false;
     this.gridColumn14.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
     this.gridColumn14.Visible = true;
     this.gridColumn14.VisibleIndex = 0;
     this.gridColumn14.Width = 20;
     //
     // gridColumnMenuName6
     //
     this.gridColumnMenuName6.Caption = " ";
     this.gridColumnMenuName6.Name = "gridColumnMenuName6";
     this.gridColumnMenuName6.OptionsColumn.AllowEdit = false;
     this.gridColumnMenuName6.OptionsColumn.AllowFocus = false;
     this.gridColumnMenuName6.OptionsColumn.AllowMove = false;
     this.gridColumnMenuName6.OptionsColumn.AllowShowHide = false;
     this.gridColumnMenuName6.OptionsColumn.ReadOnly = true;
     this.gridColumnMenuName6.Visible = true;
     this.gridColumnMenuName6.VisibleIndex = 1;
     this.gridColumnMenuName6.Width = 317;
     //
     // gridColumn16
     //
     this.gridColumn16.Caption = " ";
     this.gridColumn16.ColumnEdit = this.repositoryItemRadioGroup6;
     this.gridColumn16.FieldName = "permission_flag_access";
     this.gridColumn16.Name = "gridColumn16";
     this.gridColumn16.Visible = true;
     this.gridColumn16.VisibleIndex = 2;
     this.gridColumn16.Width = 151;
     //
     // repositoryItemRadioGroup6
     //
     this.repositoryItemRadioGroup6.Items.AddRange(new DevExpress.XtraEditors.Controls.RadioGroupItem[] {
     new DevExpress.XtraEditors.Controls.RadioGroupItem(1, ""),
     new DevExpress.XtraEditors.Controls.RadioGroupItem(2, "")});
     this.repositoryItemRadioGroup6.Name = "repositoryItemRadioGroup6";
     //
     // gridColumn17
     //
     this.gridColumn17.Caption = "gridColumn1";
     this.gridColumn17.FieldName = "menu_parent";
     this.gridColumn17.Name = "gridColumn17";
     //
     // panelControl17
     //
     this.panelControl17.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl17.Controls.Add(this.checkEditDatabaseSetting);
     this.panelControl17.Dock = System.Windows.Forms.DockStyle.Top;
     this.panelControl17.Location = new System.Drawing.Point(0, 1125);
     this.panelControl17.Name = "panelControl17";
     this.panelControl17.Size = new System.Drawing.Size(538, 25);
     this.panelControl17.TabIndex = 16;
     //
     // checkEditDatabaseSetting
     //
     this.checkEditDatabaseSetting.Location = new System.Drawing.Point(5, 3);
     this.checkEditDatabaseSetting.Name = "checkEditDatabaseSetting";
     this.checkEditDatabaseSetting.Properties.Caption = "ตั้งค่าฐานข้อมูล";
     this.checkEditDatabaseSetting.Size = new System.Drawing.Size(231, 19);
     this.checkEditDatabaseSetting.TabIndex = 1;
     this.checkEditDatabaseSetting.CheckedChanged += new System.EventHandler(this.checkEditDatabaseSetting_CheckedChanged);
     //
     // panelControl22
     //
     this.panelControl22.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl22.Controls.Add(this.gridControlMenuGroup5);
     this.panelControl22.Dock = System.Windows.Forms.DockStyle.Top;
     this.panelControl22.Location = new System.Drawing.Point(0, 979);
     this.panelControl22.Name = "panelControl22";
     this.panelControl22.Padding = new System.Windows.Forms.Padding(7);
     this.panelControl22.Size = new System.Drawing.Size(538, 146);
     this.panelControl22.TabIndex = 23;
     //
     // gridControlMenuGroup5
     //
     this.gridControlMenuGroup5.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlMenuGroup5.Location = new System.Drawing.Point(7, 7);
     this.gridControlMenuGroup5.MainView = this.gridViewMenu5;
     this.gridControlMenuGroup5.Name = "gridControlMenuGroup5";
     this.gridControlMenuGroup5.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemRadioGroup5});
     this.gridControlMenuGroup5.Size = new System.Drawing.Size(524, 132);
     this.gridControlMenuGroup5.TabIndex = 7;
     this.gridControlMenuGroup5.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewMenu5});
     //
     // gridViewMenu5
     //
     this.gridViewMenu5.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.gridViewMenu5.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.gridColumn6,
     this.gridColumnMenuName5,
     this.gridColumn8,
     this.gridColumn13});
     this.gridViewMenu5.GridControl = this.gridControlMenuGroup5;
     this.gridViewMenu5.Name = "gridViewMenu5";
     this.gridViewMenu5.OptionsLayout.Columns.AddNewColumns = false;
     this.gridViewMenu5.OptionsLayout.Columns.RemoveOldColumns = false;
     this.gridViewMenu5.OptionsView.ShowColumnHeaders = false;
     this.gridViewMenu5.OptionsView.ShowGroupPanel = false;
     this.gridViewMenu5.OptionsView.ShowVertLines = false;
     this.gridViewMenu5.PaintStyleName = "Skin";
     //
     // gridColumn6
     //
     this.gridColumn6.Caption = " ";
     this.gridColumn6.FieldName = "permission_flag_check";
     this.gridColumn6.Name = "gridColumn6";
     this.gridColumn6.OptionsColumn.AllowSize = false;
     this.gridColumn6.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
     this.gridColumn6.Visible = true;
     this.gridColumn6.VisibleIndex = 0;
     this.gridColumn6.Width = 20;
     //
     // gridColumnMenuName5
     //
     this.gridColumnMenuName5.Caption = " ";
     this.gridColumnMenuName5.Name = "gridColumnMenuName5";
     this.gridColumnMenuName5.OptionsColumn.AllowEdit = false;
     this.gridColumnMenuName5.OptionsColumn.AllowFocus = false;
     this.gridColumnMenuName5.OptionsColumn.AllowMove = false;
     this.gridColumnMenuName5.OptionsColumn.AllowShowHide = false;
     this.gridColumnMenuName5.OptionsColumn.ReadOnly = true;
     this.gridColumnMenuName5.Visible = true;
     this.gridColumnMenuName5.VisibleIndex = 1;
     this.gridColumnMenuName5.Width = 317;
     //
     // gridColumn8
     //
     this.gridColumn8.Caption = " ";
     this.gridColumn8.ColumnEdit = this.repositoryItemRadioGroup5;
     this.gridColumn8.FieldName = "permission_flag_access";
     this.gridColumn8.Name = "gridColumn8";
     this.gridColumn8.Visible = true;
     this.gridColumn8.VisibleIndex = 2;
     this.gridColumn8.Width = 151;
     //
     // repositoryItemRadioGroup5
     //
     this.repositoryItemRadioGroup5.Items.AddRange(new DevExpress.XtraEditors.Controls.RadioGroupItem[] {
     new DevExpress.XtraEditors.Controls.RadioGroupItem(1, ""),
     new DevExpress.XtraEditors.Controls.RadioGroupItem(2, "")});
     this.repositoryItemRadioGroup5.Name = "repositoryItemRadioGroup5";
     //
     // gridColumn13
     //
     this.gridColumn13.Caption = "gridColumn1";
     this.gridColumn13.FieldName = "menu_parent";
     this.gridColumn13.Name = "gridColumn13";
     //
     // panelControl15
     //
     this.panelControl15.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl15.Controls.Add(this.checkEditProgramSetting);
     this.panelControl15.Dock = System.Windows.Forms.DockStyle.Top;
     this.panelControl15.Location = new System.Drawing.Point(0, 954);
     this.panelControl15.Name = "panelControl15";
     this.panelControl15.Size = new System.Drawing.Size(538, 25);
     this.panelControl15.TabIndex = 12;
     //
     // checkEditProgramSetting
     //
     this.checkEditProgramSetting.Location = new System.Drawing.Point(5, 3);
     this.checkEditProgramSetting.Name = "checkEditProgramSetting";
     this.checkEditProgramSetting.Properties.Caption = "ตั้งค่าโปรแกรม";
     this.checkEditProgramSetting.Size = new System.Drawing.Size(231, 19);
     this.checkEditProgramSetting.TabIndex = 1;
     this.checkEditProgramSetting.CheckedChanged += new System.EventHandler(this.checkEditProgramSetting_CheckedChanged);
     //
     // panelControl21
     //
     this.panelControl21.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl21.Controls.Add(this.gridControlMenuGroup4);
     this.panelControl21.Dock = System.Windows.Forms.DockStyle.Top;
     this.panelControl21.Location = new System.Drawing.Point(0, 728);
     this.panelControl21.Name = "panelControl21";
     this.panelControl21.Padding = new System.Windows.Forms.Padding(7);
     this.panelControl21.Size = new System.Drawing.Size(538, 226);
     this.panelControl21.TabIndex = 22;
     //
     // gridControlMenuGroup4
     //
     this.gridControlMenuGroup4.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlMenuGroup4.Location = new System.Drawing.Point(7, 7);
     this.gridControlMenuGroup4.MainView = this.gridViewMenu4;
     this.gridControlMenuGroup4.Name = "gridControlMenuGroup4";
     this.gridControlMenuGroup4.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemRadioGroup4});
     this.gridControlMenuGroup4.Size = new System.Drawing.Size(524, 212);
     this.gridControlMenuGroup4.TabIndex = 7;
     this.gridControlMenuGroup4.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewMenu4});
     //
     // gridViewMenu4
     //
     this.gridViewMenu4.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.gridViewMenu4.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.gridColumn2,
     this.gridColumnMenuName4,
     this.gridColumn4,
     this.gridColumn5});
     this.gridViewMenu4.GridControl = this.gridControlMenuGroup4;
     this.gridViewMenu4.Name = "gridViewMenu4";
     this.gridViewMenu4.OptionsLayout.Columns.AddNewColumns = false;
     this.gridViewMenu4.OptionsLayout.Columns.RemoveOldColumns = false;
     this.gridViewMenu4.OptionsView.ShowColumnHeaders = false;
     this.gridViewMenu4.OptionsView.ShowGroupPanel = false;
     this.gridViewMenu4.OptionsView.ShowVertLines = false;
     this.gridViewMenu4.PaintStyleName = "Skin";
     //
     // gridColumn2
     //
     this.gridColumn2.Caption = " ";
     this.gridColumn2.FieldName = "permission_flag_check";
     this.gridColumn2.Name = "gridColumn2";
     this.gridColumn2.OptionsColumn.AllowSize = false;
     this.gridColumn2.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
     this.gridColumn2.Visible = true;
     this.gridColumn2.VisibleIndex = 0;
     this.gridColumn2.Width = 20;
     //
     // gridColumnMenuName4
     //
     this.gridColumnMenuName4.Caption = " ";
     this.gridColumnMenuName4.Name = "gridColumnMenuName4";
     this.gridColumnMenuName4.OptionsColumn.AllowEdit = false;
     this.gridColumnMenuName4.OptionsColumn.AllowFocus = false;
     this.gridColumnMenuName4.OptionsColumn.AllowMove = false;
     this.gridColumnMenuName4.OptionsColumn.AllowShowHide = false;
     this.gridColumnMenuName4.OptionsColumn.ReadOnly = true;
     this.gridColumnMenuName4.Visible = true;
     this.gridColumnMenuName4.VisibleIndex = 1;
     this.gridColumnMenuName4.Width = 317;
     //
     // gridColumn4
     //
     this.gridColumn4.Caption = " ";
     this.gridColumn4.ColumnEdit = this.repositoryItemRadioGroup4;
     this.gridColumn4.FieldName = "permission_flag_access";
     this.gridColumn4.Name = "gridColumn4";
     this.gridColumn4.Visible = true;
     this.gridColumn4.VisibleIndex = 2;
     this.gridColumn4.Width = 151;
     //
     // repositoryItemRadioGroup4
     //
     this.repositoryItemRadioGroup4.Items.AddRange(new DevExpress.XtraEditors.Controls.RadioGroupItem[] {
     new DevExpress.XtraEditors.Controls.RadioGroupItem(1, ""),
     new DevExpress.XtraEditors.Controls.RadioGroupItem(2, "")});
     this.repositoryItemRadioGroup4.Name = "repositoryItemRadioGroup4";
     //
     // gridColumn5
     //
     this.gridColumn5.Caption = "gridColumn1";
     this.gridColumn5.FieldName = "menu_parent";
     this.gridColumn5.Name = "gridColumn5";
     //
     // panelControl11
     //
     this.panelControl11.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl11.Controls.Add(this.panelControl12);
     this.panelControl11.Controls.Add(this.panelControl10);
     this.panelControl11.Controls.Add(this.checkEdit4);
     this.panelControl11.Dock = System.Windows.Forms.DockStyle.Top;
     this.panelControl11.Location = new System.Drawing.Point(0, 703);
     this.panelControl11.Name = "panelControl11";
     this.panelControl11.Size = new System.Drawing.Size(538, 25);
     this.panelControl11.TabIndex = 10;
     //
     // panelControl12
     //
     this.panelControl12.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl12.Controls.Add(this.panelControl13);
     this.panelControl12.Controls.Add(this.checkEdit6);
     this.panelControl12.Dock = System.Windows.Forms.DockStyle.Top;
     this.panelControl12.Location = new System.Drawing.Point(0, 38);
     this.panelControl12.Name = "panelControl12";
     this.panelControl12.Size = new System.Drawing.Size(538, 38);
     this.panelControl12.TabIndex = 12;
     //
     // panelControl13
     //
     this.panelControl13.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl13.Controls.Add(this.panelControl14);
     this.panelControl13.Controls.Add(this.checkEdit7);
     this.panelControl13.Dock = System.Windows.Forms.DockStyle.Top;
     this.panelControl13.Location = new System.Drawing.Point(0, 0);
     this.panelControl13.Name = "panelControl13";
     this.panelControl13.Size = new System.Drawing.Size(538, 38);
     this.panelControl13.TabIndex = 11;
     //
     // panelControl14
     //
     this.panelControl14.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl14.Controls.Add(this.checkEdit8);
     this.panelControl14.Dock = System.Windows.Forms.DockStyle.Top;
     this.panelControl14.Location = new System.Drawing.Point(0, 0);
     this.panelControl14.Name = "panelControl14";
     this.panelControl14.Size = new System.Drawing.Size(538, 38);
     this.panelControl14.TabIndex = 11;
     //
     // checkEdit8
     //
     this.checkEdit8.Location = new System.Drawing.Point(4, 13);
     this.checkEdit8.Name = "checkEdit8";
     this.checkEdit8.Properties.Caption = "บริการห้องพัก";
     this.checkEdit8.Size = new System.Drawing.Size(100, 19);
     this.checkEdit8.TabIndex = 1;
     //
     // checkEdit7
     //
     this.checkEdit7.Location = new System.Drawing.Point(4, 13);
     this.checkEdit7.Name = "checkEdit7";
     this.checkEdit7.Properties.Caption = "บริการห้องพัก";
     this.checkEdit7.Size = new System.Drawing.Size(100, 19);
     this.checkEdit7.TabIndex = 1;
     //
     // checkEdit6
     //
     this.checkEdit6.Location = new System.Drawing.Point(4, 13);
     this.checkEdit6.Name = "checkEdit6";
     this.checkEdit6.Properties.Caption = "บริการห้องพัก";
     this.checkEdit6.Size = new System.Drawing.Size(100, 19);
     this.checkEdit6.TabIndex = 1;
     //
     // panelControl10
     //
     this.panelControl10.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl10.Controls.Add(this.checkEditBasicSetting);
     this.panelControl10.Dock = System.Windows.Forms.DockStyle.Top;
     this.panelControl10.Location = new System.Drawing.Point(0, 0);
     this.panelControl10.Name = "panelControl10";
     this.panelControl10.Size = new System.Drawing.Size(538, 38);
     this.panelControl10.TabIndex = 11;
     //
     // checkEditBasicSetting
     //
     this.checkEditBasicSetting.Location = new System.Drawing.Point(5, 3);
     this.checkEditBasicSetting.Name = "checkEditBasicSetting";
     this.checkEditBasicSetting.Properties.Caption = "ตั้งค่าพื้นฐาน";
     this.checkEditBasicSetting.Size = new System.Drawing.Size(231, 19);
     this.checkEditBasicSetting.TabIndex = 1;
     this.checkEditBasicSetting.CheckedChanged += new System.EventHandler(this.checkEditBasicSetting_CheckedChanged);
     //
     // checkEdit4
     //
     this.checkEdit4.Location = new System.Drawing.Point(4, 13);
     this.checkEdit4.Name = "checkEdit4";
     this.checkEdit4.Properties.Caption = "บริการห้องพัก";
     this.checkEdit4.Size = new System.Drawing.Size(100, 19);
     this.checkEdit4.TabIndex = 1;
     //
     // panelControl7
     //
     this.panelControl7.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl7.Controls.Add(this.gridControlMenuGroup3);
     this.panelControl7.Dock = System.Windows.Forms.DockStyle.Top;
     this.panelControl7.Location = new System.Drawing.Point(0, 531);
     this.panelControl7.Name = "panelControl7";
     this.panelControl7.Padding = new System.Windows.Forms.Padding(7);
     this.panelControl7.Size = new System.Drawing.Size(538, 172);
     this.panelControl7.TabIndex = 7;
     //
     // gridControlMenuGroup3
     //
     this.gridControlMenuGroup3.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlMenuGroup3.Location = new System.Drawing.Point(7, 7);
     this.gridControlMenuGroup3.MainView = this.gridViewMenu3;
     this.gridControlMenuGroup3.Name = "gridControlMenuGroup3";
     this.gridControlMenuGroup3.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemRadioGroup3});
     this.gridControlMenuGroup3.Size = new System.Drawing.Size(524, 158);
     this.gridControlMenuGroup3.TabIndex = 7;
     this.gridControlMenuGroup3.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewMenu3});
     //
     // gridViewMenu3
     //
     this.gridViewMenu3.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.gridViewMenu3.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.gridColumnCheckBox3,
     this.gridColumnMenuName3,
     this.gridColumnReadOrWrite3,
     this.gridColumn1});
     this.gridViewMenu3.GridControl = this.gridControlMenuGroup3;
     this.gridViewMenu3.Name = "gridViewMenu3";
     this.gridViewMenu3.OptionsLayout.Columns.AddNewColumns = false;
     this.gridViewMenu3.OptionsLayout.Columns.RemoveOldColumns = false;
     this.gridViewMenu3.OptionsView.ShowColumnHeaders = false;
     this.gridViewMenu3.OptionsView.ShowGroupPanel = false;
     this.gridViewMenu3.OptionsView.ShowVertLines = false;
     this.gridViewMenu3.PaintStyleName = "Skin";
     //
     // gridColumnCheckBox3
     //
     this.gridColumnCheckBox3.Caption = " ";
     this.gridColumnCheckBox3.FieldName = "permission_flag_check";
     this.gridColumnCheckBox3.Name = "gridColumnCheckBox3";
     this.gridColumnCheckBox3.OptionsColumn.AllowSize = false;
     this.gridColumnCheckBox3.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
     this.gridColumnCheckBox3.Visible = true;
     this.gridColumnCheckBox3.VisibleIndex = 0;
     this.gridColumnCheckBox3.Width = 20;
     //
     // gridColumnMenuName3
     //
     this.gridColumnMenuName3.Caption = " ";
     this.gridColumnMenuName3.Name = "gridColumnMenuName3";
     this.gridColumnMenuName3.OptionsColumn.AllowEdit = false;
     this.gridColumnMenuName3.OptionsColumn.AllowFocus = false;
     this.gridColumnMenuName3.OptionsColumn.AllowMove = false;
     this.gridColumnMenuName3.OptionsColumn.AllowShowHide = false;
     this.gridColumnMenuName3.OptionsColumn.ReadOnly = true;
     this.gridColumnMenuName3.Visible = true;
     this.gridColumnMenuName3.VisibleIndex = 1;
     this.gridColumnMenuName3.Width = 317;
     //
     // gridColumnReadOrWrite3
     //
     this.gridColumnReadOrWrite3.Caption = " ";
     this.gridColumnReadOrWrite3.ColumnEdit = this.repositoryItemRadioGroup3;
     this.gridColumnReadOrWrite3.FieldName = "permission_flag_access";
     this.gridColumnReadOrWrite3.Name = "gridColumnReadOrWrite3";
     this.gridColumnReadOrWrite3.Visible = true;
     this.gridColumnReadOrWrite3.VisibleIndex = 2;
     this.gridColumnReadOrWrite3.Width = 151;
     //
     // repositoryItemRadioGroup3
     //
     this.repositoryItemRadioGroup3.Items.AddRange(new DevExpress.XtraEditors.Controls.RadioGroupItem[] {
     new DevExpress.XtraEditors.Controls.RadioGroupItem(1, ""),
     new DevExpress.XtraEditors.Controls.RadioGroupItem(2, "")});
     this.repositoryItemRadioGroup3.Name = "repositoryItemRadioGroup3";
     //
     // gridColumn1
     //
     this.gridColumn1.Caption = "gridColumn1";
     this.gridColumn1.FieldName = "menu_parent";
     this.gridColumn1.Name = "gridColumn1";
     //
     // panelControl9
     //
     this.panelControl9.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl9.Controls.Add(this.checkEditReportManagement);
     this.panelControl9.Dock = System.Windows.Forms.DockStyle.Top;
     this.panelControl9.Location = new System.Drawing.Point(0, 506);
     this.panelControl9.Name = "panelControl9";
     this.panelControl9.Size = new System.Drawing.Size(538, 25);
     this.panelControl9.TabIndex = 8;
     //
     // checkEditReportManagement
     //
     this.checkEditReportManagement.Location = new System.Drawing.Point(5, 3);
     this.checkEditReportManagement.Name = "checkEditReportManagement";
     this.checkEditReportManagement.Properties.Caption = "รายงาน";
     this.checkEditReportManagement.Size = new System.Drawing.Size(100, 19);
     this.checkEditReportManagement.TabIndex = 1;
     this.checkEditReportManagement.CheckedChanged += new System.EventHandler(this.checkEditReportManagement_CheckedChanged);
     //
     // panelControl5
     //
     this.panelControl5.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl5.Controls.Add(this.gridControlMenuGroup2);
     this.panelControl5.Dock = System.Windows.Forms.DockStyle.Top;
     this.panelControl5.Location = new System.Drawing.Point(0, 421);
     this.panelControl5.Name = "panelControl5";
     this.panelControl5.Padding = new System.Windows.Forms.Padding(7);
     this.panelControl5.Size = new System.Drawing.Size(538, 85);
     this.panelControl5.TabIndex = 5;
     //
     // gridControlMenuGroup2
     //
     this.gridControlMenuGroup2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlMenuGroup2.Location = new System.Drawing.Point(7, 7);
     this.gridControlMenuGroup2.MainView = this.gridViewMenu2;
     this.gridControlMenuGroup2.Name = "gridControlMenuGroup2";
     this.gridControlMenuGroup2.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemRadioGroup2});
     this.gridControlMenuGroup2.Size = new System.Drawing.Size(524, 71);
     this.gridControlMenuGroup2.TabIndex = 6;
     this.gridControlMenuGroup2.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewMenu2});
     //
     // gridViewMenu2
     //
     this.gridViewMenu2.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.gridViewMenu2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.gridColumnCheckBox2,
     this.gridColumnMenuName2,
     this.gridColumnReadOrWrite2,
     this.gridColumnParent2});
     this.gridViewMenu2.GridControl = this.gridControlMenuGroup2;
     this.gridViewMenu2.Name = "gridViewMenu2";
     this.gridViewMenu2.OptionsLayout.Columns.AddNewColumns = false;
     this.gridViewMenu2.OptionsLayout.Columns.RemoveOldColumns = false;
     this.gridViewMenu2.OptionsView.ShowColumnHeaders = false;
     this.gridViewMenu2.OptionsView.ShowGroupPanel = false;
     this.gridViewMenu2.OptionsView.ShowVertLines = false;
     this.gridViewMenu2.PaintStyleName = "Skin";
     //
     // gridColumnCheckBox2
     //
     this.gridColumnCheckBox2.Caption = " ";
     this.gridColumnCheckBox2.FieldName = "permission_flag_check";
     this.gridColumnCheckBox2.Name = "gridColumnCheckBox2";
     this.gridColumnCheckBox2.OptionsColumn.AllowSize = false;
     this.gridColumnCheckBox2.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
     this.gridColumnCheckBox2.Visible = true;
     this.gridColumnCheckBox2.VisibleIndex = 0;
     this.gridColumnCheckBox2.Width = 20;
     //
     // gridColumnMenuName2
     //
     this.gridColumnMenuName2.Caption = " ";
     this.gridColumnMenuName2.Name = "gridColumnMenuName2";
     this.gridColumnMenuName2.OptionsColumn.AllowEdit = false;
     this.gridColumnMenuName2.OptionsColumn.AllowFocus = false;
     this.gridColumnMenuName2.OptionsColumn.AllowMove = false;
     this.gridColumnMenuName2.OptionsColumn.AllowShowHide = false;
     this.gridColumnMenuName2.OptionsColumn.ReadOnly = true;
     this.gridColumnMenuName2.Visible = true;
     this.gridColumnMenuName2.VisibleIndex = 1;
     this.gridColumnMenuName2.Width = 317;
     //
     // gridColumnReadOrWrite2
     //
     this.gridColumnReadOrWrite2.Caption = " ";
     this.gridColumnReadOrWrite2.ColumnEdit = this.repositoryItemRadioGroup2;
     this.gridColumnReadOrWrite2.FieldName = "permission_flag_access";
     this.gridColumnReadOrWrite2.Name = "gridColumnReadOrWrite2";
     this.gridColumnReadOrWrite2.Visible = true;
     this.gridColumnReadOrWrite2.VisibleIndex = 2;
     this.gridColumnReadOrWrite2.Width = 151;
     //
     // repositoryItemRadioGroup2
     //
     this.repositoryItemRadioGroup2.Items.AddRange(new DevExpress.XtraEditors.Controls.RadioGroupItem[] {
     new DevExpress.XtraEditors.Controls.RadioGroupItem(1, ""),
     new DevExpress.XtraEditors.Controls.RadioGroupItem(2, "")});
     this.repositoryItemRadioGroup2.Name = "repositoryItemRadioGroup2";
     //
     // gridColumnParent2
     //
     this.gridColumnParent2.Caption = "Parent";
     this.gridColumnParent2.FieldName = "menu_parent";
     this.gridColumnParent2.Name = "gridColumnParent2";
     //
     // panelControl6
     //
     this.panelControl6.Appearance.BackColor = System.Drawing.Color.White;
     this.panelControl6.Appearance.Options.UseBackColor = true;
     this.panelControl6.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl6.Controls.Add(this.checkEditMeterManagement);
     this.panelControl6.Dock = System.Windows.Forms.DockStyle.Top;
     this.panelControl6.Location = new System.Drawing.Point(0, 396);
     this.panelControl6.Name = "panelControl6";
     this.panelControl6.Size = new System.Drawing.Size(538, 25);
     this.panelControl6.TabIndex = 6;
     //
     // checkEditMeterManagement
     //
     this.checkEditMeterManagement.Location = new System.Drawing.Point(5, 3);
     this.checkEditMeterManagement.Name = "checkEditMeterManagement";
     this.checkEditMeterManagement.Properties.Caption = "บันทึกค่ามิเตอร์";
     this.checkEditMeterManagement.Size = new System.Drawing.Size(206, 19);
     this.checkEditMeterManagement.TabIndex = 1;
     this.checkEditMeterManagement.CheckedChanged += new System.EventHandler(this.checkEditMeterManagement_CheckedChanged);
     //
     // panelControl1
     //
     this.panelControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl1.Controls.Add(this.gridControlMenuGroup1);
     this.panelControl1.Dock = System.Windows.Forms.DockStyle.Top;
     this.panelControl1.Location = new System.Drawing.Point(0, 147);
     this.panelControl1.Name = "panelControl1";
     this.panelControl1.Padding = new System.Windows.Forms.Padding(7);
     this.panelControl1.Size = new System.Drawing.Size(538, 249);
     this.panelControl1.TabIndex = 3;
     //
     // gridControlMenuGroup1
     //
     this.gridControlMenuGroup1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlMenuGroup1.Location = new System.Drawing.Point(7, 7);
     this.gridControlMenuGroup1.MainView = this.gridViewMenu;
     this.gridControlMenuGroup1.Name = "gridControlMenuGroup1";
     this.gridControlMenuGroup1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemRadioGroup1});
     this.gridControlMenuGroup1.Size = new System.Drawing.Size(524, 235);
     this.gridControlMenuGroup1.TabIndex = 5;
     this.gridControlMenuGroup1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewMenu});
     //
     // gridViewMenu
     //
     this.gridViewMenu.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.gridViewMenu.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.gridColumnCheckBox,
     this.gridColumnMenuName,
     this.gridColumnReadOrWrite,
     this.gridColumnParent});
     this.gridViewMenu.GridControl = this.gridControlMenuGroup1;
     this.gridViewMenu.Name = "gridViewMenu";
     this.gridViewMenu.OptionsLayout.Columns.AddNewColumns = false;
     this.gridViewMenu.OptionsLayout.Columns.RemoveOldColumns = false;
     this.gridViewMenu.OptionsView.ShowColumnHeaders = false;
     this.gridViewMenu.OptionsView.ShowGroupPanel = false;
     this.gridViewMenu.OptionsView.ShowVertLines = false;
     this.gridViewMenu.PaintStyleName = "Skin";
     //
     // gridColumnCheckBox
     //
     this.gridColumnCheckBox.Caption = " ";
     this.gridColumnCheckBox.FieldName = "permission_flag_check";
     this.gridColumnCheckBox.Name = "gridColumnCheckBox";
     this.gridColumnCheckBox.OptionsColumn.AllowSize = false;
     this.gridColumnCheckBox.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
     this.gridColumnCheckBox.Visible = true;
     this.gridColumnCheckBox.VisibleIndex = 0;
     this.gridColumnCheckBox.Width = 20;
     //
     // gridColumnMenuName
     //
     this.gridColumnMenuName.Caption = " ";
     this.gridColumnMenuName.Name = "gridColumnMenuName";
     this.gridColumnMenuName.OptionsColumn.AllowEdit = false;
     this.gridColumnMenuName.OptionsColumn.AllowFocus = false;
     this.gridColumnMenuName.OptionsColumn.AllowMove = false;
     this.gridColumnMenuName.OptionsColumn.AllowShowHide = false;
     this.gridColumnMenuName.OptionsColumn.ReadOnly = true;
     this.gridColumnMenuName.Visible = true;
     this.gridColumnMenuName.VisibleIndex = 1;
     this.gridColumnMenuName.Width = 317;
     //
     // gridColumnReadOrWrite
     //
     this.gridColumnReadOrWrite.Caption = " ";
     this.gridColumnReadOrWrite.ColumnEdit = this.repositoryItemRadioGroup1;
     this.gridColumnReadOrWrite.FieldName = "permission_flag_access";
     this.gridColumnReadOrWrite.Name = "gridColumnReadOrWrite";
     this.gridColumnReadOrWrite.Visible = true;
     this.gridColumnReadOrWrite.VisibleIndex = 2;
     this.gridColumnReadOrWrite.Width = 151;
     //
     // repositoryItemRadioGroup1
     //
     this.repositoryItemRadioGroup1.Items.AddRange(new DevExpress.XtraEditors.Controls.RadioGroupItem[] {
     new DevExpress.XtraEditors.Controls.RadioGroupItem(1, ""),
     new DevExpress.XtraEditors.Controls.RadioGroupItem(2, "")});
     this.repositoryItemRadioGroup1.Name = "repositoryItemRadioGroup1";
     //
     // gridColumnParent
     //
     this.gridColumnParent.Caption = "parent";
     this.gridColumnParent.FieldName = "menu_parent";
     this.gridColumnParent.Name = "gridColumnParent";
     //
     // panelControl4
     //
     this.panelControl4.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl4.Controls.Add(this.checkEditRoomManagement);
     this.panelControl4.Dock = System.Windows.Forms.DockStyle.Top;
     this.panelControl4.Location = new System.Drawing.Point(0, 122);
     this.panelControl4.Name = "panelControl4";
     this.panelControl4.Size = new System.Drawing.Size(538, 25);
     this.panelControl4.TabIndex = 4;
     //
     // checkEditRoomManagement
     //
     this.checkEditRoomManagement.Location = new System.Drawing.Point(5, 3);
     this.checkEditRoomManagement.Name = "checkEditRoomManagement";
     this.checkEditRoomManagement.Properties.Caption = "บริการห้องพัก";
     this.checkEditRoomManagement.Size = new System.Drawing.Size(243, 19);
     this.checkEditRoomManagement.TabIndex = 1;
     this.checkEditRoomManagement.CheckedChanged += new System.EventHandler(this.checkEditRoomManagement_CheckedChanged);
     //
     // panelControl20
     //
     this.panelControl20.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl20.Controls.Add(this.gridControlPermissionBar);
     this.panelControl20.Dock = System.Windows.Forms.DockStyle.Top;
     this.panelControl20.Location = new System.Drawing.Point(0, 59);
     this.panelControl20.Name = "panelControl20";
     this.panelControl20.Padding = new System.Windows.Forms.Padding(7);
     this.panelControl20.Size = new System.Drawing.Size(538, 63);
     this.panelControl20.TabIndex = 21;
     //
     // gridControlPermissionBar
     //
     this.gridControlPermissionBar.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlPermissionBar.Location = new System.Drawing.Point(7, 7);
     this.gridControlPermissionBar.MainView = this.gridView4;
     this.gridControlPermissionBar.Name = "gridControlPermissionBar";
     this.gridControlPermissionBar.Size = new System.Drawing.Size(524, 49);
     this.gridControlPermissionBar.TabIndex = 4;
     this.gridControlPermissionBar.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridView4});
     //
     // gridView4
     //
     this.gridView4.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.gridView4.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.gridColumn9,
     this.gridColumnMenuNameBar,
     this.gridColumnReadWriteBar,
     this.gridColumnReadOnlyBar});
     this.gridView4.GridControl = this.gridControlPermissionBar;
     this.gridView4.Name = "gridView4";
     this.gridView4.OptionsLayout.Columns.AddNewColumns = false;
     this.gridView4.OptionsLayout.Columns.RemoveOldColumns = false;
     this.gridView4.OptionsView.ShowGroupPanel = false;
     this.gridView4.OptionsView.ShowHorzLines = false;
     this.gridView4.OptionsView.ShowVertLines = false;
     this.gridView4.OptionsView.ShowViewCaption = true;
     this.gridView4.PaintStyleName = "Skin";
     this.gridView4.VertScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Never;
     this.gridView4.ViewCaption = "รายการเมนู";
     //
     // gridColumn9
     //
     this.gridColumn9.Caption = " ";
     this.gridColumn9.FieldName = "checkbox";
     this.gridColumn9.Name = "gridColumn9";
     this.gridColumn9.OptionsColumn.AllowSize = false;
     this.gridColumn9.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
     this.gridColumn9.Visible = true;
     this.gridColumn9.VisibleIndex = 0;
     this.gridColumn9.Width = 20;
     //
     // gridColumnMenuNameBar
     //
     this.gridColumnMenuNameBar.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumnMenuNameBar.AppearanceHeader.Options.UseFont = true;
     this.gridColumnMenuNameBar.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumnMenuNameBar.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumnMenuNameBar.Caption = " ชื่อเมนู";
     this.gridColumnMenuNameBar.Name = "gridColumnMenuNameBar";
     this.gridColumnMenuNameBar.OptionsColumn.AllowEdit = false;
     this.gridColumnMenuNameBar.OptionsColumn.AllowFocus = false;
     this.gridColumnMenuNameBar.OptionsColumn.AllowMove = false;
     this.gridColumnMenuNameBar.OptionsColumn.AllowShowHide = false;
     this.gridColumnMenuNameBar.OptionsColumn.ReadOnly = true;
     this.gridColumnMenuNameBar.Visible = true;
     this.gridColumnMenuNameBar.VisibleIndex = 1;
     this.gridColumnMenuNameBar.Width = 318;
     //
     // gridColumnReadWriteBar
     //
     this.gridColumnReadWriteBar.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumnReadWriteBar.AppearanceHeader.Options.UseFont = true;
     this.gridColumnReadWriteBar.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumnReadWriteBar.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumnReadWriteBar.Caption = "อ่านและเขียนได้";
     this.gridColumnReadWriteBar.Name = "gridColumnReadWriteBar";
     this.gridColumnReadWriteBar.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
     this.gridColumnReadWriteBar.Visible = true;
     this.gridColumnReadWriteBar.VisibleIndex = 2;
     this.gridColumnReadWriteBar.Width = 162;
     //
     // gridColumnReadOnlyBar
     //
     this.gridColumnReadOnlyBar.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumnReadOnlyBar.AppearanceHeader.Options.UseFont = true;
     this.gridColumnReadOnlyBar.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumnReadOnlyBar.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumnReadOnlyBar.Caption = "อ่านอย่างเดียว";
     this.gridColumnReadOnlyBar.Name = "gridColumnReadOnlyBar";
     this.gridColumnReadOnlyBar.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
     this.gridColumnReadOnlyBar.Visible = true;
     this.gridColumnReadOnlyBar.VisibleIndex = 3;
     this.gridColumnReadOnlyBar.Width = 200;
     //
     // panelControl16
     //
     this.panelControl16.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl16.Controls.Add(this.labelControl2);
     this.panelControl16.Controls.Add(this.labelControlRequired);
     this.panelControl16.Controls.Add(this.textEditGroupID);
     this.panelControl16.Controls.Add(this.textEditGroupName);
     this.panelControl16.Controls.Add(this.labelGroupName);
     this.panelControl16.Dock = System.Windows.Forms.DockStyle.Top;
     this.panelControl16.Location = new System.Drawing.Point(0, 0);
     this.panelControl16.Name = "panelControl16";
     this.panelControl16.Size = new System.Drawing.Size(538, 59);
     this.panelControl16.TabIndex = 20;
     //
     // labelControl2
     //
     this.labelControl2.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl2.Location = new System.Drawing.Point(15, 15);
     this.labelControl2.Name = "labelControl2";
     this.labelControl2.Size = new System.Drawing.Size(6, 13);
     this.labelControl2.TabIndex = 372;
     this.labelControl2.Text = "*";
     //
     // labelControlRequired
     //
     this.labelControlRequired.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControlRequired.Location = new System.Drawing.Point(103, 40);
     this.labelControlRequired.Name = "labelControlRequired";
     this.labelControlRequired.Size = new System.Drawing.Size(50, 13);
     this.labelControlRequired.TabIndex = 372;
     this.labelControlRequired.Text = "* โปรดระบุ";
     //
     // textEditGroupID
     //
     this.textEditGroupID.Location = new System.Drawing.Point(438, 12);
     this.textEditGroupID.Name = "textEditGroupID";
     this.textEditGroupID.Size = new System.Drawing.Size(70, 20);
     this.textEditGroupID.TabIndex = 1;
     this.textEditGroupID.Visible = false;
     //
     // textEditGroupName
     //
     this.textEditGroupName.Location = new System.Drawing.Point(103, 12);
     this.textEditGroupName.Name = "textEditGroupName";
     this.textEditGroupName.Properties.Mask.EditMask = "([a-zA-Z0-9|ก-๙|\\\' \']){0,300}";
     this.textEditGroupName.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditGroupName.Properties.MaxLength = 300;
     this.textEditGroupName.Size = new System.Drawing.Size(329, 20);
     this.textEditGroupName.TabIndex = 1;
     //
     // labelGroupName
     //
     this.labelGroupName.Location = new System.Drawing.Point(27, 15);
     this.labelGroupName.Name = "labelGroupName";
     this.labelGroupName.Size = new System.Drawing.Size(35, 13);
     this.labelGroupName.TabIndex = 0;
     this.labelGroupName.Text = "ชื่อกลุ่ม";
     //
     // panelControl8
     //
     this.panelControl8.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(236)))), ((int)(((byte)(239)))));
     this.panelControl8.Appearance.Options.UseBackColor = true;
     this.panelControl8.Controls.Add(this.bttDelete);
     this.panelControl8.Controls.Add(this.bttAdd);
     this.panelControl8.Controls.Add(this.bttEdit);
     this.panelControl8.Controls.Add(this.bttCancel);
     this.panelControl8.Controls.Add(this.bttSave);
     this.panelControl8.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.panelControl8.Location = new System.Drawing.Point(0, 543);
     this.panelControl8.Name = "panelControl8";
     this.panelControl8.Size = new System.Drawing.Size(559, 66);
     this.panelControl8.TabIndex = 418;
     //
     // bttDelete
     //
     this.bttDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttDelete.Image = ((System.Drawing.Image)(resources.GetObject("bttDelete.Image")));
     this.bttDelete.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttDelete.Location = new System.Drawing.Point(332, 5);
     this.bttDelete.Name = "bttDelete";
     this.bttDelete.Size = new System.Drawing.Size(70, 55);
     this.bttDelete.TabIndex = 20;
     this.bttDelete.Text = "ลบข้อมูล";
     this.bttDelete.Click += new System.EventHandler(this.bttDelete_Click);
     //
     // bttAdd
     //
     this.bttAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttAdd.Image = ((System.Drawing.Image)(resources.GetObject("bttAdd.Image")));
     this.bttAdd.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttAdd.Location = new System.Drawing.Point(180, 5);
     this.bttAdd.Name = "bttAdd";
     this.bttAdd.Size = new System.Drawing.Size(70, 55);
     this.bttAdd.TabIndex = 18;
     this.bttAdd.Text = "เพิ่มข้อมูล";
     this.bttAdd.Click += new System.EventHandler(this.bttAdd_Click);
     //
     // bttEdit
     //
     this.bttEdit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttEdit.Image = ((System.Drawing.Image)(resources.GetObject("bttEdit.Image")));
     this.bttEdit.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttEdit.Location = new System.Drawing.Point(256, 5);
     this.bttEdit.Name = "bttEdit";
     this.bttEdit.Size = new System.Drawing.Size(70, 55);
     this.bttEdit.TabIndex = 19;
     this.bttEdit.Text = "แก้ไขข้อมูล";
     this.bttEdit.Click += new System.EventHandler(this.bttEdit_Click);
     //
     // bttCancel
     //
     this.bttCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttCancel.Enabled = false;
     this.bttCancel.Image = ((System.Drawing.Image)(resources.GetObject("bttCancel.Image")));
     this.bttCancel.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttCancel.Location = new System.Drawing.Point(484, 5);
     this.bttCancel.Name = "bttCancel";
     this.bttCancel.Size = new System.Drawing.Size(70, 55);
     this.bttCancel.TabIndex = 22;
     this.bttCancel.Text = "ยกเลิก";
     this.bttCancel.Click += new System.EventHandler(this.bttCancel_Click);
     //
     // bttSave
     //
     this.bttSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttSave.Enabled = false;
     this.bttSave.Image = ((System.Drawing.Image)(resources.GetObject("bttSave.Image")));
     this.bttSave.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttSave.Location = new System.Drawing.Point(408, 5);
     this.bttSave.Name = "bttSave";
     this.bttSave.Size = new System.Drawing.Size(70, 55);
     this.bttSave.TabIndex = 21;
     this.bttSave.Text = "บันทึก";
     this.bttSave.Click += new System.EventHandler(this.bttSave_Click);
     //
     // splitContainerControl1
     //
     this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerControl1.Location = new System.Drawing.Point(0, 0);
     this.splitContainerControl1.Name = "splitContainerControl1";
     this.splitContainerControl1.Panel1.Text = "Panel1";
     this.splitContainerControl1.Panel2.Text = "Panel2";
     this.splitContainerControl1.Size = new System.Drawing.Size(1064, 609);
     this.splitContainerControl1.SplitterPosition = 585;
     this.splitContainerControl1.TabIndex = 0;
     this.splitContainerControl1.Text = "splitContainerControl1";
     //
     // splitContainerControl2
     //
     this.splitContainerControl2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerControl2.Location = new System.Drawing.Point(7, 7);
     this.splitContainerControl2.Name = "splitContainerControl2";
     this.splitContainerControl2.Panel1.Controls.Add(this.groupControlAuthorizeList);
     this.splitContainerControl2.Panel1.Text = "Panel1";
     this.splitContainerControl2.Panel2.Controls.Add(this.panelControl3);
     this.splitContainerControl2.Panel2.Text = "Panel2";
     this.splitContainerControl2.Size = new System.Drawing.Size(1064, 609);
     this.splitContainerControl2.SplitterPosition = 500;
     this.splitContainerControl2.TabIndex = 23;
     this.splitContainerControl2.Text = "splitContainerControl2";
     //
     // groupControlAuthorizeList
     //
     this.groupControlAuthorizeList.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlAuthorizeList.AppearanceCaption.Options.UseFont = true;
     this.groupControlAuthorizeList.Controls.Add(this.gridControlGroupPermission);
     this.groupControlAuthorizeList.Dock = System.Windows.Forms.DockStyle.Fill;
     this.groupControlAuthorizeList.Location = new System.Drawing.Point(0, 0);
     this.groupControlAuthorizeList.Name = "groupControlAuthorizeList";
     this.groupControlAuthorizeList.Size = new System.Drawing.Size(500, 609);
     this.groupControlAuthorizeList.TabIndex = 0;
     this.groupControlAuthorizeList.Text = "รายการกลุ่มผู้ใช้งาน";
     //
     // gridControlGroupPermission
     //
     this.gridControlGroupPermission.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlGroupPermission.Location = new System.Drawing.Point(2, 22);
     this.gridControlGroupPermission.MainView = this.gridViewGroup;
     this.gridControlGroupPermission.Name = "gridControlGroupPermission";
     this.gridControlGroupPermission.Size = new System.Drawing.Size(496, 585);
     this.gridControlGroupPermission.TabIndex = 1;
     this.gridControlGroupPermission.UseEmbeddedNavigator = true;
     this.gridControlGroupPermission.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewGroup});
     //
     // gridViewGroup
     //
     this.gridViewGroup.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.gridColumnGroupId,
     this.gridColumnGroupName,
     this.gridColumnAmountUser});
     this.gridViewGroup.GridControl = this.gridControlGroupPermission;
     this.gridViewGroup.Name = "gridViewGroup";
     this.gridViewGroup.OptionsFind.AlwaysVisible = true;
     this.gridViewGroup.OptionsView.EnableAppearanceEvenRow = true;
     this.gridViewGroup.OptionsView.ShowGroupPanel = false;
     //
     // gridColumnGroupId
     //
     this.gridColumnGroupId.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumnGroupId.AppearanceHeader.Options.UseFont = true;
     this.gridColumnGroupId.Caption = "รหัสกลุ่ม";
     this.gridColumnGroupId.FieldName = "group_id";
     this.gridColumnGroupId.Name = "gridColumnGroupId";
     this.gridColumnGroupId.OptionsColumn.AllowEdit = false;
     this.gridColumnGroupId.OptionsColumn.AllowFocus = false;
     this.gridColumnGroupId.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumnGroupId.OptionsColumn.AllowMove = false;
     //
     // gridColumnGroupName
     //
     this.gridColumnGroupName.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumnGroupName.AppearanceHeader.Options.UseFont = true;
     this.gridColumnGroupName.Caption = "ชื่อกลุ่ม";
     this.gridColumnGroupName.FieldName = "group_name";
     this.gridColumnGroupName.Name = "gridColumnGroupName";
     this.gridColumnGroupName.OptionsColumn.AllowEdit = false;
     this.gridColumnGroupName.OptionsColumn.AllowFocus = false;
     this.gridColumnGroupName.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumnGroupName.OptionsColumn.AllowMove = false;
     this.gridColumnGroupName.Visible = true;
     this.gridColumnGroupName.VisibleIndex = 0;
     //
     // gridColumnAmountUser
     //
     this.gridColumnAmountUser.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumnAmountUser.AppearanceHeader.Options.UseFont = true;
     this.gridColumnAmountUser.Caption = "จำนวนผู้ใช้";
     this.gridColumnAmountUser.FieldName = "amount_user";
     this.gridColumnAmountUser.Name = "gridColumnAmountUser";
     this.gridColumnAmountUser.OptionsColumn.AllowEdit = false;
     this.gridColumnAmountUser.OptionsColumn.AllowFocus = false;
     this.gridColumnAmountUser.OptionsColumn.AllowMove = false;
     this.gridColumnAmountUser.OptionsColumn.ReadOnly = true;
     this.gridColumnAmountUser.Visible = true;
     this.gridColumnAmountUser.VisibleIndex = 1;
     //
     // panelControl2
     //
     this.panelControl2.Appearance.BackColor = System.Drawing.Color.WhiteSmoke;
     this.panelControl2.Appearance.Options.UseBackColor = true;
     this.panelControl2.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl2.Controls.Add(this.splitContainerControl1);
     this.panelControl2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panelControl2.Location = new System.Drawing.Point(7, 7);
     this.panelControl2.Name = "panelControl2";
     this.panelControl2.Size = new System.Drawing.Size(1064, 609);
     this.panelControl2.TabIndex = 22;
     //
     // ProgramPermission
     //
     this.AccessibleName = "ProgramPermission";
     this.Appearance.BackColor = System.Drawing.Color.White;
     this.Appearance.Options.UseBackColor = true;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.splitContainerControl2);
     this.Controls.Add(this.panelControl2);
     this.Name = "ProgramPermission";
     this.Padding = new System.Windows.Forms.Padding(7);
     this.Size = new System.Drawing.Size(1078, 623);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit();
     this.panelControl3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControlAuthorize)).EndInit();
     this.groupControlAuthorize.ResumeLayout(false);
     this.xtraScrollableControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl25)).EndInit();
     this.panelControl25.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMenuGroup8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMenu8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemRadioGroup8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl19)).EndInit();
     this.panelControl19.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.checkEditHelp.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl26)).EndInit();
     this.panelControl26.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMenuGroup9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMenu9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemRadioGroup9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl27)).EndInit();
     this.panelControl27.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.checkEditRegistration.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl24)).EndInit();
     this.panelControl24.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMenuGroup7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMenu7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemRadioGroup7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl18)).EndInit();
     this.panelControl18.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.checkEditDeviceSetting.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl23)).EndInit();
     this.panelControl23.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMenuGroup6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMenu6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemRadioGroup6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl17)).EndInit();
     this.panelControl17.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.checkEditDatabaseSetting.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl22)).EndInit();
     this.panelControl22.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMenuGroup5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMenu5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemRadioGroup5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl15)).EndInit();
     this.panelControl15.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.checkEditProgramSetting.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl21)).EndInit();
     this.panelControl21.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMenuGroup4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMenu4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemRadioGroup4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl11)).EndInit();
     this.panelControl11.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl12)).EndInit();
     this.panelControl12.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl13)).EndInit();
     this.panelControl13.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl14)).EndInit();
     this.panelControl14.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.checkEdit8.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkEdit7.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkEdit6.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl10)).EndInit();
     this.panelControl10.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.checkEditBasicSetting.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkEdit4.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl7)).EndInit();
     this.panelControl7.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMenuGroup3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMenu3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemRadioGroup3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl9)).EndInit();
     this.panelControl9.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.checkEditReportManagement.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl5)).EndInit();
     this.panelControl5.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMenuGroup2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMenu2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemRadioGroup2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl6)).EndInit();
     this.panelControl6.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.checkEditMeterManagement.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
     this.panelControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMenuGroup1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMenu)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemRadioGroup1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).EndInit();
     this.panelControl4.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.checkEditRoomManagement.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl20)).EndInit();
     this.panelControl20.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlPermissionBar)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl16)).EndInit();
     this.panelControl16.ResumeLayout(false);
     this.panelControl16.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditGroupID.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditGroupName.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl8)).EndInit();
     this.panelControl8.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit();
     this.splitContainerControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).EndInit();
     this.splitContainerControl2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControlAuthorizeList)).EndInit();
     this.groupControlAuthorizeList.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlGroupPermission)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewGroup)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit();
     this.panelControl2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #8
0
 /// <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.panelControl1 = new DevExpress.XtraEditors.PanelControl();
     this.dxValidationProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components);
     this.txtEditFax = new DevExpress.XtraEditors.TextEdit();
     this.txtEditEmail = new DevExpress.XtraEditors.TextEdit();
     this.groupControl1 = new DevExpress.XtraEditors.GroupControl();
     this.xtraScrollableControl1 = new DevExpress.XtraEditors.XtraScrollableControl();
     this.bttEdit = new DevExpress.XtraEditors.SimpleButton();
     this.labelControl14 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl13 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl12 = new DevExpress.XtraEditors.LabelControl();
     this.textEditLogoPath = new DevExpress.XtraEditors.TextEdit();
     this.pictureEdit1 = new DevExpress.XtraEditors.PictureEdit();
     this.txtEditId = new DevExpress.XtraEditors.TextEdit();
     this.bttCancel = new DevExpress.XtraEditors.SimpleButton();
     this.bttSave = new DevExpress.XtraEditors.SimpleButton();
     this.labelControl11 = new DevExpress.XtraEditors.LabelControl();
     this.lbApartmentPolicy = new DevExpress.XtraEditors.LabelControl();
     this.lbApartmentOwnerName = new DevExpress.XtraEditors.LabelControl();
     this.lbApartmentNitiId = new DevExpress.XtraEditors.LabelControl();
     this.lbApartmentOwnerID = new DevExpress.XtraEditors.LabelControl();
     this.lbApartmentWeb = new DevExpress.XtraEditors.LabelControl();
     this.lbApartmentEmail = new DevExpress.XtraEditors.LabelControl();
     this.lbApartmentFax = new DevExpress.XtraEditors.LabelControl();
     this.lbApartmentTel = new DevExpress.XtraEditors.LabelControl();
     this.lbApartmentAddress = new DevExpress.XtraEditors.LabelControl();
     this.lbApartmentName = new DevExpress.XtraEditors.LabelControl();
     this.panelEnable = new DevExpress.XtraEditors.PanelControl();
     this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton();
     this.txtEditVision = new DevExpress.XtraEditors.TextEdit();
     this.txtEditOwnerName = new DevExpress.XtraEditors.TextEdit();
     this.txtEditCorporate = new DevExpress.XtraEditors.TextEdit();
     this.txtEditIdCard = new DevExpress.XtraEditors.TextEdit();
     this.txtEditWeb = new DevExpress.XtraEditors.TextEdit();
     this.simpleButtonUpload = new DevExpress.XtraEditors.SimpleButton();
     this.txtEditTelephone = new DevExpress.XtraEditors.TextEdit();
     this.mmAddress = new DevExpress.XtraEditors.MemoEdit();
     this.txtEditCompanyName = new DevExpress.XtraEditors.TextEdit();
     this.panelControl2 = new DevExpress.XtraEditors.PanelControl();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtEditFax.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtEditEmail.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit();
     this.groupControl1.SuspendLayout();
     this.xtraScrollableControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditLogoPath.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtEditId.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelEnable)).BeginInit();
     this.panelEnable.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.txtEditVision.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtEditOwnerName.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtEditCorporate.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtEditIdCard.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtEditWeb.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtEditTelephone.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.mmAddress.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtEditCompanyName.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit();
     this.panelControl2.SuspendLayout();
     this.SuspendLayout();
     //
     // panelControl1
     //
     this.panelControl1.Appearance.BackColor = System.Drawing.Color.DarkGray;
     this.panelControl1.Appearance.Options.UseBackColor = true;
     this.panelControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl1.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.panelControl1.Location = new System.Drawing.Point(7, 464);
     this.panelControl1.Name = "panelControl1";
     this.panelControl1.Size = new System.Drawing.Size(811, 26);
     this.panelControl1.TabIndex = 9;
     //
     // dxValidationProvider1
     //
     this.dxValidationProvider1.ValidationMode = DevExpress.XtraEditors.DXErrorProvider.ValidationMode.Auto;
     //
     // txtEditFax
     //
     this.dxValidationProvider1.SetIconAlignment(this.txtEditFax, System.Windows.Forms.ErrorIconAlignment.MiddleRight);
     this.txtEditFax.Location = new System.Drawing.Point(278, 161);
     this.txtEditFax.Name = "txtEditFax";
     this.txtEditFax.Properties.MaxLength = 50;
     this.txtEditFax.Properties.ValidateOnEnterKey = true;
     this.txtEditFax.Size = new System.Drawing.Size(170, 20);
     this.txtEditFax.TabIndex = 267;
     //
     // txtEditEmail
     //
     this.txtEditEmail.Location = new System.Drawing.Point(6, 192);
     this.txtEditEmail.Name = "txtEditEmail";
     this.txtEditEmail.Size = new System.Drawing.Size(146, 20);
     this.txtEditEmail.TabIndex = 270;
     //
     // groupControl1
     //
     this.groupControl1.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControl1.AppearanceCaption.Options.UseFont = true;
     this.groupControl1.Controls.Add(this.xtraScrollableControl1);
     this.groupControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.groupControl1.Location = new System.Drawing.Point(0, 0);
     this.groupControl1.Name = "groupControl1";
     this.groupControl1.Size = new System.Drawing.Size(811, 457);
     this.groupControl1.TabIndex = 11;
     this.groupControl1.Text = "ข้อมูลกิจการ";
     //
     // xtraScrollableControl1
     //
     this.xtraScrollableControl1.Appearance.BackColor = System.Drawing.Color.Transparent;
     this.xtraScrollableControl1.Appearance.Options.UseBackColor = true;
     this.xtraScrollableControl1.Controls.Add(this.bttEdit);
     this.xtraScrollableControl1.Controls.Add(this.labelControl14);
     this.xtraScrollableControl1.Controls.Add(this.labelControl13);
     this.xtraScrollableControl1.Controls.Add(this.labelControl12);
     this.xtraScrollableControl1.Controls.Add(this.textEditLogoPath);
     this.xtraScrollableControl1.Controls.Add(this.pictureEdit1);
     this.xtraScrollableControl1.Controls.Add(this.txtEditId);
     this.xtraScrollableControl1.Controls.Add(this.bttCancel);
     this.xtraScrollableControl1.Controls.Add(this.bttSave);
     this.xtraScrollableControl1.Controls.Add(this.labelControl11);
     this.xtraScrollableControl1.Controls.Add(this.lbApartmentPolicy);
     this.xtraScrollableControl1.Controls.Add(this.lbApartmentOwnerName);
     this.xtraScrollableControl1.Controls.Add(this.lbApartmentNitiId);
     this.xtraScrollableControl1.Controls.Add(this.lbApartmentOwnerID);
     this.xtraScrollableControl1.Controls.Add(this.lbApartmentWeb);
     this.xtraScrollableControl1.Controls.Add(this.lbApartmentEmail);
     this.xtraScrollableControl1.Controls.Add(this.lbApartmentFax);
     this.xtraScrollableControl1.Controls.Add(this.lbApartmentTel);
     this.xtraScrollableControl1.Controls.Add(this.lbApartmentAddress);
     this.xtraScrollableControl1.Controls.Add(this.lbApartmentName);
     this.xtraScrollableControl1.Controls.Add(this.panelEnable);
     this.xtraScrollableControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.xtraScrollableControl1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.xtraScrollableControl1.Location = new System.Drawing.Point(2, 22);
     this.xtraScrollableControl1.Name = "xtraScrollableControl1";
     this.xtraScrollableControl1.Size = new System.Drawing.Size(807, 433);
     this.xtraScrollableControl1.TabIndex = 0;
     //
     // bttEdit
     //
     this.bttEdit.Location = new System.Drawing.Point(380, 407);
     this.bttEdit.Name = "bttEdit";
     this.bttEdit.Size = new System.Drawing.Size(70, 35);
     this.bttEdit.TabIndex = 319;
     this.bttEdit.Text = "แก้ไข";
     this.bttEdit.Click += new System.EventHandler(this.bttEdit_Click);
     //
     // labelControl14
     //
     this.labelControl14.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl14.Location = new System.Drawing.Point(88, 173);
     this.labelControl14.Name = "labelControl14";
     this.labelControl14.Size = new System.Drawing.Size(6, 13);
     this.labelControl14.TabIndex = 318;
     this.labelControl14.Text = "*";
     //
     // labelControl13
     //
     this.labelControl13.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl13.Location = new System.Drawing.Point(107, 65);
     this.labelControl13.Name = "labelControl13";
     this.labelControl13.Size = new System.Drawing.Size(6, 13);
     this.labelControl13.TabIndex = 317;
     this.labelControl13.Text = "*";
     //
     // labelControl12
     //
     this.labelControl12.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl12.Location = new System.Drawing.Point(84, 35);
     this.labelControl12.Name = "labelControl12";
     this.labelControl12.Size = new System.Drawing.Size(6, 13);
     this.labelControl12.TabIndex = 316;
     this.labelControl12.Text = "*";
     //
     // textEditLogoPath
     //
     this.textEditLogoPath.Location = new System.Drawing.Point(481, 319);
     this.textEditLogoPath.Name = "textEditLogoPath";
     this.textEditLogoPath.Properties.ReadOnly = true;
     this.textEditLogoPath.Size = new System.Drawing.Size(121, 20);
     this.textEditLogoPath.TabIndex = 315;
     this.textEditLogoPath.Visible = false;
     //
     // pictureEdit1
     //
     this.pictureEdit1.Location = new System.Drawing.Point(160, 322);
     this.pictureEdit1.Name = "pictureEdit1";
     this.pictureEdit1.Properties.Appearance.BackColor = System.Drawing.Color.White;
     this.pictureEdit1.Properties.Appearance.Options.UseBackColor = true;
     this.pictureEdit1.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.pictureEdit1.Properties.ReadOnly = true;
     this.pictureEdit1.Properties.ShowMenu = false;
     this.pictureEdit1.Properties.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Squeeze;
     this.pictureEdit1.Size = new System.Drawing.Size(146, 120);
     this.pictureEdit1.TabIndex = 314;
     //
     // txtEditId
     //
     this.txtEditId.Location = new System.Drawing.Point(636, 33);
     this.txtEditId.Name = "txtEditId";
     this.txtEditId.Size = new System.Drawing.Size(100, 20);
     this.txtEditId.TabIndex = 312;
     this.txtEditId.Visible = false;
     //
     // bttCancel
     //
     this.bttCancel.Enabled = false;
     this.bttCancel.Location = new System.Drawing.Point(532, 407);
     this.bttCancel.Name = "bttCancel";
     this.bttCancel.Size = new System.Drawing.Size(70, 35);
     this.bttCancel.TabIndex = 311;
     this.bttCancel.Text = "ยกเลิก";
     this.bttCancel.Click += new System.EventHandler(this.bttCancel_Click);
     //
     // bttSave
     //
     this.bttSave.Enabled = false;
     this.bttSave.Location = new System.Drawing.Point(456, 407);
     this.bttSave.Name = "bttSave";
     this.bttSave.Size = new System.Drawing.Size(70, 35);
     this.bttSave.TabIndex = 310;
     this.bttSave.Text = "บันทึก";
     this.bttSave.Click += new System.EventHandler(this.bttSave_Click);
     //
     // labelControl11
     //
     this.labelControl11.Location = new System.Drawing.Point(58, 326);
     this.labelControl11.Name = "labelControl11";
     this.labelControl11.Size = new System.Drawing.Size(89, 13);
     this.labelControl11.TabIndex = 308;
     this.labelControl11.Text = "อพาร์ทเม้นท์โลโก้ :";
     //
     // lbApartmentPolicy
     //
     this.lbApartmentPolicy.Location = new System.Drawing.Point(46, 299);
     this.lbApartmentPolicy.Name = "lbApartmentPolicy";
     this.lbApartmentPolicy.Size = new System.Drawing.Size(101, 13);
     this.lbApartmentPolicy.TabIndex = 307;
     this.lbApartmentPolicy.Text = "นโยบายอพาร์ทเม้นท์ :";
     //
     // lbApartmentOwnerName
     //
     this.lbApartmentOwnerName.Location = new System.Drawing.Point(62, 268);
     this.lbApartmentOwnerName.Name = "lbApartmentOwnerName";
     this.lbApartmentOwnerName.Size = new System.Drawing.Size(85, 13);
     this.lbApartmentOwnerName.TabIndex = 306;
     this.lbApartmentOwnerName.Text = "ชื่อเจ้าของกิจการ :";
     //
     // lbApartmentNitiId
     //
     this.lbApartmentNitiId.Location = new System.Drawing.Point(322, 239);
     this.lbApartmentNitiId.Name = "lbApartmentNitiId";
     this.lbApartmentNitiId.Size = new System.Drawing.Size(104, 13);
     this.lbApartmentNitiId.TabIndex = 305;
     this.lbApartmentNitiId.Text = "เลขทะเบียนนิติบุคคล :";
     //
     // lbApartmentOwnerID
     //
     this.lbApartmentOwnerID.Location = new System.Drawing.Point(38, 237);
     this.lbApartmentOwnerID.Name = "lbApartmentOwnerID";
     this.lbApartmentOwnerID.Size = new System.Drawing.Size(109, 13);
     this.lbApartmentOwnerID.TabIndex = 304;
     this.lbApartmentOwnerID.Text = "เลขประจำตัวผู้เสียภาษี :";
     //
     // lbApartmentWeb
     //
     this.lbApartmentWeb.Location = new System.Drawing.Point(382, 208);
     this.lbApartmentWeb.Name = "lbApartmentWeb";
     this.lbApartmentWeb.Size = new System.Drawing.Size(44, 13);
     this.lbApartmentWeb.TabIndex = 303;
     this.lbApartmentWeb.Text = "เว็บไซต์ :";
     //
     // lbApartmentEmail
     //
     this.lbApartmentEmail.Location = new System.Drawing.Point(115, 206);
     this.lbApartmentEmail.Name = "lbApartmentEmail";
     this.lbApartmentEmail.Size = new System.Drawing.Size(32, 13);
     this.lbApartmentEmail.TabIndex = 302;
     this.lbApartmentEmail.Text = "อีเมล์ :";
     //
     // lbApartmentFax
     //
     this.lbApartmentFax.Location = new System.Drawing.Point(390, 177);
     this.lbApartmentFax.Name = "lbApartmentFax";
     this.lbApartmentFax.Size = new System.Drawing.Size(36, 13);
     this.lbApartmentFax.TabIndex = 301;
     this.lbApartmentFax.Text = "แฟกซ์ :";
     //
     // lbApartmentTel
     //
     this.lbApartmentTel.Location = new System.Drawing.Point(100, 175);
     this.lbApartmentTel.Name = "lbApartmentTel";
     this.lbApartmentTel.Size = new System.Drawing.Size(47, 13);
     this.lbApartmentTel.TabIndex = 300;
     this.lbApartmentTel.Text = "โทรศัพท์ :";
     //
     // lbApartmentAddress
     //
     this.lbApartmentAddress.Location = new System.Drawing.Point(119, 65);
     this.lbApartmentAddress.Name = "lbApartmentAddress";
     this.lbApartmentAddress.Size = new System.Drawing.Size(28, 13);
     this.lbApartmentAddress.TabIndex = 299;
     this.lbApartmentAddress.Text = "ที่อยู่ :";
     //
     // lbApartmentName
     //
     this.lbApartmentName.Location = new System.Drawing.Point(96, 35);
     this.lbApartmentName.Name = "lbApartmentName";
     this.lbApartmentName.Size = new System.Drawing.Size(51, 13);
     this.lbApartmentName.TabIndex = 298;
     this.lbApartmentName.Text = "ชื่อกิจการ :";
     //
     // panelEnable
     //
     this.panelEnable.Appearance.BackColor = System.Drawing.Color.Transparent;
     this.panelEnable.Appearance.Options.UseBackColor = true;
     this.panelEnable.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelEnable.Controls.Add(this.simpleButton1);
     this.panelEnable.Controls.Add(this.txtEditVision);
     this.panelEnable.Controls.Add(this.txtEditOwnerName);
     this.panelEnable.Controls.Add(this.txtEditCorporate);
     this.panelEnable.Controls.Add(this.txtEditIdCard);
     this.panelEnable.Controls.Add(this.txtEditWeb);
     this.panelEnable.Controls.Add(this.txtEditEmail);
     this.panelEnable.Controls.Add(this.simpleButtonUpload);
     this.panelEnable.Controls.Add(this.txtEditTelephone);
     this.panelEnable.Controls.Add(this.txtEditFax);
     this.panelEnable.Controls.Add(this.mmAddress);
     this.panelEnable.Controls.Add(this.txtEditCompanyName);
     this.panelEnable.Enabled = false;
     this.panelEnable.Location = new System.Drawing.Point(154, 13);
     this.panelEnable.Name = "panelEnable";
     this.panelEnable.Size = new System.Drawing.Size(597, 388);
     this.panelEnable.TabIndex = 320;
     //
     // simpleButton1
     //
     this.simpleButton1.Location = new System.Drawing.Point(234, 309);
     this.simpleButton1.Name = "simpleButton1";
     this.simpleButton1.Size = new System.Drawing.Size(70, 35);
     this.simpleButton1.TabIndex = 314;
     this.simpleButton1.Text = "ลบโลโก้";
     this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click);
     //
     // txtEditVision
     //
     this.txtEditVision.Location = new System.Drawing.Point(6, 279);
     this.txtEditVision.Name = "txtEditVision";
     this.txtEditVision.Properties.MaxLength = 500;
     this.txtEditVision.Size = new System.Drawing.Size(442, 20);
     this.txtEditVision.TabIndex = 309;
     //
     // txtEditOwnerName
     //
     this.txtEditOwnerName.Location = new System.Drawing.Point(6, 252);
     this.txtEditOwnerName.Name = "txtEditOwnerName";
     this.txtEditOwnerName.Properties.MaxLength = 100;
     this.txtEditOwnerName.Size = new System.Drawing.Size(442, 20);
     this.txtEditOwnerName.TabIndex = 269;
     //
     // txtEditCorporate
     //
     this.txtEditCorporate.Location = new System.Drawing.Point(278, 223);
     this.txtEditCorporate.Name = "txtEditCorporate";
     this.txtEditCorporate.Size = new System.Drawing.Size(170, 20);
     this.txtEditCorporate.TabIndex = 275;
     //
     // txtEditIdCard
     //
     this.txtEditIdCard.Location = new System.Drawing.Point(6, 221);
     this.txtEditIdCard.Name = "txtEditIdCard";
     this.txtEditIdCard.Size = new System.Drawing.Size(146, 20);
     this.txtEditIdCard.TabIndex = 273;
     //
     // txtEditWeb
     //
     this.txtEditWeb.Location = new System.Drawing.Point(278, 192);
     this.txtEditWeb.Name = "txtEditWeb";
     this.txtEditWeb.Size = new System.Drawing.Size(170, 20);
     this.txtEditWeb.TabIndex = 272;
     //
     // simpleButtonUpload
     //
     this.simpleButtonUpload.Location = new System.Drawing.Point(158, 309);
     this.simpleButtonUpload.Name = "simpleButtonUpload";
     this.simpleButtonUpload.Size = new System.Drawing.Size(70, 35);
     this.simpleButtonUpload.TabIndex = 313;
     this.simpleButtonUpload.Text = "เลือกโลโก้";
     this.simpleButtonUpload.Click += new System.EventHandler(this.simpleButtonUpload_Click);
     //
     // txtEditTelephone
     //
     this.txtEditTelephone.Location = new System.Drawing.Point(6, 159);
     this.txtEditTelephone.Name = "txtEditTelephone";
     this.txtEditTelephone.Properties.MaxLength = 50;
     this.txtEditTelephone.Size = new System.Drawing.Size(146, 20);
     this.txtEditTelephone.TabIndex = 268;
     //
     // mmAddress
     //
     this.mmAddress.Location = new System.Drawing.Point(6, 50);
     this.mmAddress.Name = "mmAddress";
     this.mmAddress.Properties.MaxLength = 500;
     this.mmAddress.Size = new System.Drawing.Size(442, 96);
     this.mmAddress.TabIndex = 265;
     //
     // txtEditCompanyName
     //
     this.txtEditCompanyName.Location = new System.Drawing.Point(6, 19);
     this.txtEditCompanyName.Name = "txtEditCompanyName";
     this.txtEditCompanyName.Properties.MaxLength = 100;
     this.txtEditCompanyName.Size = new System.Drawing.Size(442, 20);
     this.txtEditCompanyName.TabIndex = 264;
     //
     // panelControl2
     //
     this.panelControl2.Appearance.BackColor = System.Drawing.Color.WhiteSmoke;
     this.panelControl2.Appearance.Options.UseBackColor = true;
     this.panelControl2.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl2.Controls.Add(this.groupControl1);
     this.panelControl2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panelControl2.Location = new System.Drawing.Point(7, 7);
     this.panelControl2.Name = "panelControl2";
     this.panelControl2.Size = new System.Drawing.Size(811, 457);
     this.panelControl2.TabIndex = 10;
     //
     // BasicInfoApartment
     //
     this.Appearance.BackColor = System.Drawing.Color.Transparent;
     this.Appearance.Options.UseBackColor = true;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.panelControl2);
     this.Controls.Add(this.panelControl1);
     this.Name = "BasicInfoApartment";
     this.Padding = new System.Windows.Forms.Padding(7);
     this.Size = new System.Drawing.Size(825, 497);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtEditFax.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtEditEmail.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit();
     this.groupControl1.ResumeLayout(false);
     this.xtraScrollableControl1.ResumeLayout(false);
     this.xtraScrollableControl1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditLogoPath.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtEditId.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelEnable)).EndInit();
     this.panelEnable.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.txtEditVision.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtEditOwnerName.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtEditCorporate.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtEditIdCard.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtEditWeb.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtEditTelephone.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.mmAddress.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtEditCompanyName.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit();
     this.panelControl2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #9
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.panelControl3 = new DevExpress.XtraEditors.PanelControl();
     this.groupControl_BusinessInfo = new DevExpress.XtraEditors.GroupControl();
     this.xtraScrollableControl1 = new DevExpress.XtraEditors.XtraScrollableControl();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.labelControlCompanyName = new DevExpress.XtraEditors.LabelControl();
     this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
     this.labelControlPolicy = new DevExpress.XtraEditors.LabelControl();
     this.labelControlRegisterNo = new DevExpress.XtraEditors.LabelControl();
     this.labelControlOwnerName = new DevExpress.XtraEditors.LabelControl();
     this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
     this.labelControlTaxLicenceNo = new DevExpress.XtraEditors.LabelControl();
     this.labelControlWebSite = new DevExpress.XtraEditors.LabelControl();
     this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
     this.labelControlFax = new DevExpress.XtraEditors.LabelControl();
     this.labelControlAddress = new DevExpress.XtraEditors.LabelControl();
     this.labelControlTelephone = new DevExpress.XtraEditors.LabelControl();
     this.labelControlEmail = new DevExpress.XtraEditors.LabelControl();
     this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl5 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl6 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl7 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl8 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl9 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl10 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl11 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl12 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl13 = new DevExpress.XtraEditors.LabelControl();
     this.labelControlRequired = new DevExpress.XtraEditors.LabelControl();
     this.richTextBox_Notice = new System.Windows.Forms.RichTextBox();
     this.textEditSouceLogoPath = new DevExpress.XtraEditors.TextEdit();
     this.textEditOldLogoPath = new DevExpress.XtraEditors.TextEdit();
     this.bttDelete = new DevExpress.XtraEditors.SimpleButton();
     this.bttAdd = new DevExpress.XtraEditors.SimpleButton();
     this.bttEdit = new DevExpress.XtraEditors.SimpleButton();
     this.textEditLogoPath = new DevExpress.XtraEditors.TextEdit();
     this.pictureEditLogo = new DevExpress.XtraEditors.PictureEdit();
     this.textEditId = new DevExpress.XtraEditors.TextEdit();
     this.bttCancel = new DevExpress.XtraEditors.SimpleButton();
     this.bttSave = new DevExpress.XtraEditors.SimpleButton();
     this.labelControlLogo = new DevExpress.XtraEditors.LabelControl();
     this.textEditCompanyName = new DevExpress.XtraEditors.TextEdit();
     this.textEditVision = new DevExpress.XtraEditors.TextEdit();
     this.textEditOwnerName = new DevExpress.XtraEditors.TextEdit();
     this.textEditIdCard = new DevExpress.XtraEditors.TextEdit();
     this.textEditEmail = new DevExpress.XtraEditors.TextEdit();
     this.bttBrowse = new DevExpress.XtraEditors.SimpleButton();
     this.bttRemove = new DevExpress.XtraEditors.SimpleButton();
     this.textEditCorporate = new DevExpress.XtraEditors.TextEdit();
     this.textEditWebSite = new DevExpress.XtraEditors.TextEdit();
     this.textEditTelephone = new DevExpress.XtraEditors.TextEdit();
     this.textEditFax = new DevExpress.XtraEditors.TextEdit();
     this.memoEditAddress = new DevExpress.XtraEditors.MemoEdit();
     this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl();
     this.groupControl_BusinessList = new DevExpress.XtraEditors.GroupControl();
     this.gridControlCompany = new DevExpress.XtraGrid.GridControl();
     this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.company_company_name = new DevExpress.XtraGrid.Columns.GridColumn();
     this.company_company_address = new DevExpress.XtraGrid.Columns.GridColumn();
     this.company_company_telephone = new DevExpress.XtraGrid.Columns.GridColumn();
     this.company_company_fax = new DevExpress.XtraGrid.Columns.GridColumn();
     this.company_company_email = new DevExpress.XtraGrid.Columns.GridColumn();
     this.company_company_website = new DevExpress.XtraGrid.Columns.GridColumn();
     this.company_company_idcard = new DevExpress.XtraGrid.Columns.GridColumn();
     this.company_company_corporate = new DevExpress.XtraGrid.Columns.GridColumn();
     this.company_company_owner_name = new DevExpress.XtraGrid.Columns.GridColumn();
     this.company_company_vision = new DevExpress.XtraGrid.Columns.GridColumn();
     this.company_id = new DevExpress.XtraGrid.Columns.GridColumn();
     this.splitContainerControl2 = new DevExpress.XtraEditors.SplitContainerControl();
     this.panelControl2 = new DevExpress.XtraEditors.PanelControl();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit();
     this.panelControl3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl_BusinessInfo)).BeginInit();
     this.groupControl_BusinessInfo.SuspendLayout();
     this.xtraScrollableControl1.SuspendLayout();
     this.tableLayoutPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditSouceLogoPath.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditOldLogoPath.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditLogoPath.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureEditLogo.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditId.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditCompanyName.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditVision.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditOwnerName.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditIdCard.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditEmail.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditCorporate.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditWebSite.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditTelephone.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditFax.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.memoEditAddress.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
     this.splitContainerControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl_BusinessList)).BeginInit();
     this.groupControl_BusinessList.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlCompany)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).BeginInit();
     this.splitContainerControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit();
     this.panelControl2.SuspendLayout();
     this.SuspendLayout();
     //
     // panelControl3
     //
     this.panelControl3.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl3.Controls.Add(this.groupControl_BusinessInfo);
     this.panelControl3.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panelControl3.Location = new System.Drawing.Point(0, 0);
     this.panelControl3.Name = "panelControl3";
     this.panelControl3.Size = new System.Drawing.Size(770, 488);
     this.panelControl3.TabIndex = 12;
     //
     // groupControl_BusinessInfo
     //
     this.groupControl_BusinessInfo.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControl_BusinessInfo.AppearanceCaption.Options.UseFont = true;
     this.groupControl_BusinessInfo.Controls.Add(this.xtraScrollableControl1);
     this.groupControl_BusinessInfo.Dock = System.Windows.Forms.DockStyle.Fill;
     this.groupControl_BusinessInfo.Location = new System.Drawing.Point(0, 0);
     this.groupControl_BusinessInfo.Name = "groupControl_BusinessInfo";
     this.groupControl_BusinessInfo.Size = new System.Drawing.Size(770, 488);
     this.groupControl_BusinessInfo.TabIndex = 0;
     this.groupControl_BusinessInfo.Text = "ข้อมูลกิจการ";
     //
     // xtraScrollableControl1
     //
     this.xtraScrollableControl1.Appearance.BackColor = System.Drawing.Color.WhiteSmoke;
     this.xtraScrollableControl1.Appearance.Options.UseBackColor = true;
     this.xtraScrollableControl1.Controls.Add(this.tableLayoutPanel1);
     this.xtraScrollableControl1.Controls.Add(this.labelControlRequired);
     this.xtraScrollableControl1.Controls.Add(this.richTextBox_Notice);
     this.xtraScrollableControl1.Controls.Add(this.textEditSouceLogoPath);
     this.xtraScrollableControl1.Controls.Add(this.textEditOldLogoPath);
     this.xtraScrollableControl1.Controls.Add(this.bttDelete);
     this.xtraScrollableControl1.Controls.Add(this.bttAdd);
     this.xtraScrollableControl1.Controls.Add(this.bttEdit);
     this.xtraScrollableControl1.Controls.Add(this.textEditLogoPath);
     this.xtraScrollableControl1.Controls.Add(this.pictureEditLogo);
     this.xtraScrollableControl1.Controls.Add(this.textEditId);
     this.xtraScrollableControl1.Controls.Add(this.bttCancel);
     this.xtraScrollableControl1.Controls.Add(this.bttSave);
     this.xtraScrollableControl1.Controls.Add(this.labelControlLogo);
     this.xtraScrollableControl1.Controls.Add(this.textEditCompanyName);
     this.xtraScrollableControl1.Controls.Add(this.textEditVision);
     this.xtraScrollableControl1.Controls.Add(this.textEditOwnerName);
     this.xtraScrollableControl1.Controls.Add(this.textEditIdCard);
     this.xtraScrollableControl1.Controls.Add(this.textEditEmail);
     this.xtraScrollableControl1.Controls.Add(this.bttBrowse);
     this.xtraScrollableControl1.Controls.Add(this.bttRemove);
     this.xtraScrollableControl1.Controls.Add(this.textEditCorporate);
     this.xtraScrollableControl1.Controls.Add(this.textEditWebSite);
     this.xtraScrollableControl1.Controls.Add(this.textEditTelephone);
     this.xtraScrollableControl1.Controls.Add(this.textEditFax);
     this.xtraScrollableControl1.Controls.Add(this.memoEditAddress);
     this.xtraScrollableControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.xtraScrollableControl1.Location = new System.Drawing.Point(2, 22);
     this.xtraScrollableControl1.Name = "xtraScrollableControl1";
     this.xtraScrollableControl1.Size = new System.Drawing.Size(766, 464);
     this.xtraScrollableControl1.TabIndex = 0;
     //
     // tableLayoutPanel1
     //
     this.tableLayoutPanel1.ColumnCount = 3;
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 10F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 120F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 13F));
     this.tableLayoutPanel1.Controls.Add(this.labelControlCompanyName, 1, 0);
     this.tableLayoutPanel1.Controls.Add(this.labelControl3, 0, 2);
     this.tableLayoutPanel1.Controls.Add(this.labelControlPolicy, 1, 9);
     this.tableLayoutPanel1.Controls.Add(this.labelControlRegisterNo, 1, 6);
     this.tableLayoutPanel1.Controls.Add(this.labelControlOwnerName, 1, 8);
     this.tableLayoutPanel1.Controls.Add(this.labelControl2, 0, 1);
     this.tableLayoutPanel1.Controls.Add(this.labelControlTaxLicenceNo, 1, 7);
     this.tableLayoutPanel1.Controls.Add(this.labelControlWebSite, 1, 5);
     this.tableLayoutPanel1.Controls.Add(this.labelControl1, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this.labelControlFax, 1, 3);
     this.tableLayoutPanel1.Controls.Add(this.labelControlAddress, 1, 1);
     this.tableLayoutPanel1.Controls.Add(this.labelControlTelephone, 1, 2);
     this.tableLayoutPanel1.Controls.Add(this.labelControlEmail, 1, 4);
     this.tableLayoutPanel1.Controls.Add(this.labelControl4, 2, 0);
     this.tableLayoutPanel1.Controls.Add(this.labelControl5, 2, 1);
     this.tableLayoutPanel1.Controls.Add(this.labelControl6, 2, 2);
     this.tableLayoutPanel1.Controls.Add(this.labelControl7, 2, 3);
     this.tableLayoutPanel1.Controls.Add(this.labelControl8, 2, 4);
     this.tableLayoutPanel1.Controls.Add(this.labelControl9, 2, 5);
     this.tableLayoutPanel1.Controls.Add(this.labelControl10, 2, 6);
     this.tableLayoutPanel1.Controls.Add(this.labelControl11, 2, 7);
     this.tableLayoutPanel1.Controls.Add(this.labelControl12, 2, 8);
     this.tableLayoutPanel1.Controls.Add(this.labelControl13, 2, 9);
     this.tableLayoutPanel1.Location = new System.Drawing.Point(3, 3);
     this.tableLayoutPanel1.Name = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount = 11;
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 22.90076F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 77.09924F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 27F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 24F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 23F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 29F));
     this.tableLayoutPanel1.Size = new System.Drawing.Size(143, 363);
     this.tableLayoutPanel1.TabIndex = 372;
     //
     // labelControlCompanyName
     //
     this.labelControlCompanyName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControlCompanyName.Location = new System.Drawing.Point(76, 3);
     this.labelControlCompanyName.Name = "labelControlCompanyName";
     this.labelControlCompanyName.Size = new System.Drawing.Size(51, 13);
     this.labelControlCompanyName.TabIndex = 359;
     this.labelControlCompanyName.Text = "ชื่อกิจการ :";
     //
     // labelControl3
     //
     this.labelControl3.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl3.Location = new System.Drawing.Point(3, 134);
     this.labelControl3.Name = "labelControl3";
     this.labelControl3.Size = new System.Drawing.Size(6, 13);
     this.labelControl3.TabIndex = 368;
     this.labelControl3.Text = "*";
     //
     // labelControlPolicy
     //
     this.labelControlPolicy.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControlPolicy.Location = new System.Drawing.Point(26, 313);
     this.labelControlPolicy.Name = "labelControlPolicy";
     this.labelControlPolicy.Size = new System.Drawing.Size(101, 13);
     this.labelControlPolicy.TabIndex = 364;
     this.labelControlPolicy.Text = "นโยบายอพาร์ทเม้นท์ :";
     //
     // labelControlRegisterNo
     //
     this.labelControlRegisterNo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControlRegisterNo.Location = new System.Drawing.Point(23, 237);
     this.labelControlRegisterNo.Name = "labelControlRegisterNo";
     this.labelControlRegisterNo.Size = new System.Drawing.Size(104, 13);
     this.labelControlRegisterNo.TabIndex = 370;
     this.labelControlRegisterNo.Text = "เลขทะเบียนนิติบุคคล :";
     //
     // labelControlOwnerName
     //
     this.labelControlOwnerName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControlOwnerName.Location = new System.Drawing.Point(42, 288);
     this.labelControlOwnerName.Name = "labelControlOwnerName";
     this.labelControlOwnerName.Size = new System.Drawing.Size(85, 13);
     this.labelControlOwnerName.TabIndex = 363;
     this.labelControlOwnerName.Text = "ชื่อเจ้าของกิจการ :";
     //
     // labelControl2
     //
     this.labelControl2.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl2.Location = new System.Drawing.Point(3, 33);
     this.labelControl2.Name = "labelControl2";
     this.labelControl2.Size = new System.Drawing.Size(6, 13);
     this.labelControl2.TabIndex = 367;
     this.labelControl2.Text = "*";
     //
     // labelControlTaxLicenceNo
     //
     this.labelControlTaxLicenceNo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControlTaxLicenceNo.Location = new System.Drawing.Point(18, 264);
     this.labelControlTaxLicenceNo.Name = "labelControlTaxLicenceNo";
     this.labelControlTaxLicenceNo.Size = new System.Drawing.Size(109, 13);
     this.labelControlTaxLicenceNo.TabIndex = 362;
     this.labelControlTaxLicenceNo.Text = "เลขประจำตัวผู้เสียภาษี :";
     //
     // labelControlWebSite
     //
     this.labelControlWebSite.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControlWebSite.Location = new System.Drawing.Point(83, 211);
     this.labelControlWebSite.Name = "labelControlWebSite";
     this.labelControlWebSite.Size = new System.Drawing.Size(44, 13);
     this.labelControlWebSite.TabIndex = 369;
     this.labelControlWebSite.Text = "เว็บไซต์ :";
     //
     // labelControl1
     //
     this.labelControl1.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl1.Location = new System.Drawing.Point(3, 3);
     this.labelControl1.Name = "labelControl1";
     this.labelControl1.Size = new System.Drawing.Size(6, 13);
     this.labelControl1.TabIndex = 366;
     this.labelControl1.Text = "*";
     //
     // labelControlFax
     //
     this.labelControlFax.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControlFax.Location = new System.Drawing.Point(91, 160);
     this.labelControlFax.Name = "labelControlFax";
     this.labelControlFax.Size = new System.Drawing.Size(36, 13);
     this.labelControlFax.TabIndex = 368;
     this.labelControlFax.Text = "แฟกซ์ :";
     //
     // labelControlAddress
     //
     this.labelControlAddress.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControlAddress.Location = new System.Drawing.Point(99, 33);
     this.labelControlAddress.Name = "labelControlAddress";
     this.labelControlAddress.Size = new System.Drawing.Size(28, 13);
     this.labelControlAddress.TabIndex = 359;
     this.labelControlAddress.Text = "ที่อยู่ :";
     //
     // labelControlTelephone
     //
     this.labelControlTelephone.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControlTelephone.Location = new System.Drawing.Point(80, 134);
     this.labelControlTelephone.Name = "labelControlTelephone";
     this.labelControlTelephone.Size = new System.Drawing.Size(47, 13);
     this.labelControlTelephone.TabIndex = 360;
     this.labelControlTelephone.Text = "โทรศัพท์ :";
     //
     // labelControlEmail
     //
     this.labelControlEmail.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControlEmail.Location = new System.Drawing.Point(95, 185);
     this.labelControlEmail.Name = "labelControlEmail";
     this.labelControlEmail.Size = new System.Drawing.Size(32, 13);
     this.labelControlEmail.TabIndex = 361;
     this.labelControlEmail.Text = "อีเมล์ :";
     //
     // labelControl4
     //
     this.labelControl4.Location = new System.Drawing.Point(133, 3);
     this.labelControl4.Name = "labelControl4";
     this.labelControl4.Size = new System.Drawing.Size(4, 13);
     this.labelControl4.TabIndex = 372;
     this.labelControl4.Text = ":";
     //
     // labelControl5
     //
     this.labelControl5.Location = new System.Drawing.Point(133, 33);
     this.labelControl5.Name = "labelControl5";
     this.labelControl5.Size = new System.Drawing.Size(4, 13);
     this.labelControl5.TabIndex = 372;
     this.labelControl5.Text = ":";
     //
     // labelControl6
     //
     this.labelControl6.Location = new System.Drawing.Point(133, 134);
     this.labelControl6.Name = "labelControl6";
     this.labelControl6.Size = new System.Drawing.Size(4, 13);
     this.labelControl6.TabIndex = 372;
     this.labelControl6.Text = ":";
     //
     // labelControl7
     //
     this.labelControl7.Location = new System.Drawing.Point(133, 160);
     this.labelControl7.Name = "labelControl7";
     this.labelControl7.Size = new System.Drawing.Size(4, 13);
     this.labelControl7.TabIndex = 372;
     this.labelControl7.Text = ":";
     //
     // labelControl8
     //
     this.labelControl8.Location = new System.Drawing.Point(133, 185);
     this.labelControl8.Name = "labelControl8";
     this.labelControl8.Size = new System.Drawing.Size(4, 13);
     this.labelControl8.TabIndex = 372;
     this.labelControl8.Text = ":";
     //
     // labelControl9
     //
     this.labelControl9.Location = new System.Drawing.Point(133, 211);
     this.labelControl9.Name = "labelControl9";
     this.labelControl9.Size = new System.Drawing.Size(4, 13);
     this.labelControl9.TabIndex = 372;
     this.labelControl9.Text = ":";
     //
     // labelControl10
     //
     this.labelControl10.Location = new System.Drawing.Point(133, 237);
     this.labelControl10.Name = "labelControl10";
     this.labelControl10.Size = new System.Drawing.Size(4, 13);
     this.labelControl10.TabIndex = 372;
     this.labelControl10.Text = ":";
     //
     // labelControl11
     //
     this.labelControl11.Location = new System.Drawing.Point(133, 264);
     this.labelControl11.Name = "labelControl11";
     this.labelControl11.Size = new System.Drawing.Size(4, 13);
     this.labelControl11.TabIndex = 372;
     this.labelControl11.Text = ":";
     //
     // labelControl12
     //
     this.labelControl12.Location = new System.Drawing.Point(133, 288);
     this.labelControl12.Name = "labelControl12";
     this.labelControl12.Size = new System.Drawing.Size(4, 13);
     this.labelControl12.TabIndex = 372;
     this.labelControl12.Text = ":";
     //
     // labelControl13
     //
     this.labelControl13.Location = new System.Drawing.Point(133, 313);
     this.labelControl13.Name = "labelControl13";
     this.labelControl13.Size = new System.Drawing.Size(4, 13);
     this.labelControl13.TabIndex = 372;
     this.labelControl13.Text = ":";
     //
     // labelControlRequired
     //
     this.labelControlRequired.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControlRequired.Location = new System.Drawing.Point(6, 392);
     this.labelControlRequired.Name = "labelControlRequired";
     this.labelControlRequired.Size = new System.Drawing.Size(50, 13);
     this.labelControlRequired.TabIndex = 371;
     this.labelControlRequired.Text = "* โปรดระบุ";
     //
     // richTextBox_Notice
     //
     this.richTextBox_Notice.BackColor = System.Drawing.Color.WhiteSmoke;
     this.richTextBox_Notice.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.richTextBox_Notice.Location = new System.Drawing.Point(430, 200);
     this.richTextBox_Notice.Name = "richTextBox_Notice";
     this.richTextBox_Notice.ReadOnly = true;
     this.richTextBox_Notice.Size = new System.Drawing.Size(189, 104);
     this.richTextBox_Notice.TabIndex = 355;
     this.richTextBox_Notice.Text = "ขนาดไฟล์รูปภาพที่เลือกต้องไม่เกิน 50 KB และชนิดไฟล์ .JPG, JPEG, PNG, ICO,BMP,GIF " +
         "เท่านั้น";
     //
     // textEditSouceLogoPath
     //
     this.textEditSouceLogoPath.EditValue = "";
     this.textEditSouceLogoPath.Location = new System.Drawing.Point(632, 85);
     this.textEditSouceLogoPath.Name = "textEditSouceLogoPath";
     this.textEditSouceLogoPath.Properties.ReadOnly = true;
     this.textEditSouceLogoPath.Size = new System.Drawing.Size(34, 20);
     this.textEditSouceLogoPath.TabIndex = 353;
     this.textEditSouceLogoPath.Visible = false;
     //
     // textEditOldLogoPath
     //
     this.textEditOldLogoPath.EditValue = "";
     this.textEditOldLogoPath.Location = new System.Drawing.Point(632, 59);
     this.textEditOldLogoPath.Name = "textEditOldLogoPath";
     this.textEditOldLogoPath.Properties.ReadOnly = true;
     this.textEditOldLogoPath.Size = new System.Drawing.Size(34, 20);
     this.textEditOldLogoPath.TabIndex = 352;
     this.textEditOldLogoPath.Visible = false;
     //
     // bttDelete
     //
     this.bttDelete.Image = global::DXWindowsApplication2.Properties.Resources.delete;
     this.bttDelete.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttDelete.Location = new System.Drawing.Point(283, 392);
     this.bttDelete.Name = "bttDelete";
     this.bttDelete.Size = new System.Drawing.Size(70, 55);
     this.bttDelete.TabIndex = 15;
     this.bttDelete.Text = "ลบข้อมูล";
     this.bttDelete.Click += new System.EventHandler(this.bttDelete_Click);
     //
     // bttAdd
     //
     this.bttAdd.Image = global::DXWindowsApplication2.Properties.Resources.Add;
     this.bttAdd.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttAdd.Location = new System.Drawing.Point(131, 392);
     this.bttAdd.Name = "bttAdd";
     this.bttAdd.Size = new System.Drawing.Size(70, 55);
     this.bttAdd.TabIndex = 13;
     this.bttAdd.Text = "เพิ่มข้อมูล";
     this.bttAdd.Click += new System.EventHandler(this.bttAdd_Click);
     //
     // bttEdit
     //
     this.bttEdit.Image = global::DXWindowsApplication2.Properties.Resources.edit;
     this.bttEdit.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttEdit.Location = new System.Drawing.Point(207, 392);
     this.bttEdit.Name = "bttEdit";
     this.bttEdit.Size = new System.Drawing.Size(70, 55);
     this.bttEdit.TabIndex = 14;
     this.bttEdit.Text = "แก้ไขข้อมูล";
     this.bttEdit.Click += new System.EventHandler(this.bttEdit_Click);
     //
     // textEditLogoPath
     //
     this.textEditLogoPath.EditValue = "";
     this.textEditLogoPath.Location = new System.Drawing.Point(632, 33);
     this.textEditLogoPath.Name = "textEditLogoPath";
     this.textEditLogoPath.Properties.ReadOnly = true;
     this.textEditLogoPath.Size = new System.Drawing.Size(34, 20);
     this.textEditLogoPath.TabIndex = 344;
     this.textEditLogoPath.Visible = false;
     //
     // pictureEditLogo
     //
     this.pictureEditLogo.Location = new System.Drawing.Point(428, 32);
     this.pictureEditLogo.Name = "pictureEditLogo";
     this.pictureEditLogo.Properties.Appearance.BackColor = System.Drawing.Color.White;
     this.pictureEditLogo.Properties.Appearance.Options.UseBackColor = true;
     this.pictureEditLogo.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.pictureEditLogo.Properties.ReadOnly = true;
     this.pictureEditLogo.Properties.ShowMenu = false;
     this.pictureEditLogo.Properties.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Squeeze;
     this.pictureEditLogo.Size = new System.Drawing.Size(189, 107);
     this.pictureEditLogo.TabIndex = 343;
     //
     // textEditId
     //
     this.textEditId.Location = new System.Drawing.Point(632, 111);
     this.textEditId.Name = "textEditId";
     this.textEditId.Size = new System.Drawing.Size(34, 20);
     this.textEditId.TabIndex = 340;
     this.textEditId.Visible = false;
     //
     // bttCancel
     //
     this.bttCancel.Enabled = false;
     this.bttCancel.Image = global::DXWindowsApplication2.Properties.Resources.Close;
     this.bttCancel.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttCancel.Location = new System.Drawing.Point(435, 392);
     this.bttCancel.Name = "bttCancel";
     this.bttCancel.Size = new System.Drawing.Size(70, 55);
     this.bttCancel.TabIndex = 17;
     this.bttCancel.Text = "ยกเลิก";
     this.bttCancel.Click += new System.EventHandler(this.bttCancel_Click);
     //
     // bttSave
     //
     this.bttSave.Enabled = false;
     this.bttSave.Image = global::DXWindowsApplication2.Properties.Resources.savedisk;
     this.bttSave.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttSave.Location = new System.Drawing.Point(359, 392);
     this.bttSave.Name = "bttSave";
     this.bttSave.Size = new System.Drawing.Size(70, 55);
     this.bttSave.TabIndex = 16;
     this.bttSave.Text = "บันทึก";
     this.bttSave.Click += new System.EventHandler(this.bttSave_Click);
     //
     // labelControlLogo
     //
     this.labelControlLogo.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.labelControlLogo.Location = new System.Drawing.Point(428, 13);
     this.labelControlLogo.Name = "labelControlLogo";
     this.labelControlLogo.Size = new System.Drawing.Size(92, 13);
     this.labelControlLogo.TabIndex = 336;
     this.labelControlLogo.Text = "อพาร์ทเม้นท์โลโก้ :";
     //
     // textEditCompanyName
     //
     this.textEditCompanyName.Enabled = false;
     this.textEditCompanyName.Location = new System.Drawing.Point(152, 6);
     this.textEditCompanyName.Name = "textEditCompanyName";
     this.textEditCompanyName.Properties.MaxLength = 200;
     this.textEditCompanyName.Size = new System.Drawing.Size(270, 20);
     this.textEditCompanyName.TabIndex = 1;
     //
     // textEditVision
     //
     this.textEditVision.Enabled = false;
     this.textEditVision.Location = new System.Drawing.Point(152, 316);
     this.textEditVision.Name = "textEditVision";
     this.textEditVision.Properties.MaxLength = 500;
     this.textEditVision.Size = new System.Drawing.Size(270, 20);
     this.textEditVision.TabIndex = 10;
     //
     // textEditOwnerName
     //
     this.textEditOwnerName.Enabled = false;
     this.textEditOwnerName.Location = new System.Drawing.Point(152, 290);
     this.textEditOwnerName.Name = "textEditOwnerName";
     this.textEditOwnerName.Properties.MaxLength = 100;
     this.textEditOwnerName.Size = new System.Drawing.Size(270, 20);
     this.textEditOwnerName.TabIndex = 9;
     //
     // textEditIdCard
     //
     this.textEditIdCard.Enabled = false;
     this.textEditIdCard.Location = new System.Drawing.Point(152, 264);
     this.textEditIdCard.Name = "textEditIdCard";
     this.textEditIdCard.Properties.MaxLength = 50;
     this.textEditIdCard.Size = new System.Drawing.Size(270, 20);
     this.textEditIdCard.TabIndex = 8;
     //
     // textEditEmail
     //
     this.textEditEmail.Enabled = false;
     this.textEditEmail.Location = new System.Drawing.Point(152, 186);
     this.textEditEmail.Name = "textEditEmail";
     this.textEditEmail.Properties.MaxLength = 50;
     this.textEditEmail.Size = new System.Drawing.Size(270, 20);
     this.textEditEmail.TabIndex = 5;
     //
     // bttBrowse
     //
     this.bttBrowse.Enabled = false;
     this.bttBrowse.Location = new System.Drawing.Point(449, 145);
     this.bttBrowse.Name = "bttBrowse";
     this.bttBrowse.Size = new System.Drawing.Size(70, 35);
     this.bttBrowse.TabIndex = 11;
     this.bttBrowse.Text = "เลือก";
     this.bttBrowse.Click += new System.EventHandler(this.bttBrowse_Click);
     //
     // bttRemove
     //
     this.bttRemove.Enabled = false;
     this.bttRemove.Location = new System.Drawing.Point(525, 145);
     this.bttRemove.Name = "bttRemove";
     this.bttRemove.Size = new System.Drawing.Size(70, 35);
     this.bttRemove.TabIndex = 12;
     this.bttRemove.Text = "ลบ";
     this.bttRemove.Click += new System.EventHandler(this.bttRemove_Click);
     //
     // textEditCorporate
     //
     this.textEditCorporate.Enabled = false;
     this.textEditCorporate.Location = new System.Drawing.Point(152, 238);
     this.textEditCorporate.Name = "textEditCorporate";
     this.textEditCorporate.Properties.MaxLength = 50;
     this.textEditCorporate.Size = new System.Drawing.Size(270, 20);
     this.textEditCorporate.TabIndex = 7;
     //
     // textEditWebSite
     //
     this.textEditWebSite.Enabled = false;
     this.textEditWebSite.Location = new System.Drawing.Point(152, 212);
     this.textEditWebSite.Name = "textEditWebSite";
     this.textEditWebSite.Properties.MaxLength = 50;
     this.textEditWebSite.Size = new System.Drawing.Size(270, 20);
     this.textEditWebSite.TabIndex = 6;
     //
     // textEditTelephone
     //
     this.textEditTelephone.Enabled = false;
     this.textEditTelephone.Location = new System.Drawing.Point(152, 134);
     this.textEditTelephone.Name = "textEditTelephone";
     this.textEditTelephone.Properties.MaxLength = 50;
     this.textEditTelephone.Size = new System.Drawing.Size(270, 20);
     this.textEditTelephone.TabIndex = 3;
     //
     // textEditFax
     //
     this.textEditFax.Enabled = false;
     this.textEditFax.Location = new System.Drawing.Point(152, 160);
     this.textEditFax.Name = "textEditFax";
     this.textEditFax.Properties.MaxLength = 50;
     this.textEditFax.Properties.ValidateOnEnterKey = true;
     this.textEditFax.Size = new System.Drawing.Size(270, 20);
     this.textEditFax.TabIndex = 4;
     //
     // memoEditAddress
     //
     this.memoEditAddress.Enabled = false;
     this.memoEditAddress.Location = new System.Drawing.Point(152, 32);
     this.memoEditAddress.Name = "memoEditAddress";
     this.memoEditAddress.Properties.MaxLength = 500;
     this.memoEditAddress.Size = new System.Drawing.Size(270, 96);
     this.memoEditAddress.TabIndex = 2;
     //
     // splitContainerControl1
     //
     this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerControl1.Location = new System.Drawing.Point(0, 0);
     this.splitContainerControl1.Name = "splitContainerControl1";
     this.splitContainerControl1.Panel1.Text = "Panel1";
     this.splitContainerControl1.Panel2.Text = "Panel2";
     this.splitContainerControl1.Size = new System.Drawing.Size(1164, 488);
     this.splitContainerControl1.SplitterPosition = 585;
     this.splitContainerControl1.TabIndex = 0;
     this.splitContainerControl1.Text = "splitContainerControl1";
     //
     // groupControl_BusinessList
     //
     this.groupControl_BusinessList.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControl_BusinessList.AppearanceCaption.Options.UseFont = true;
     this.groupControl_BusinessList.Controls.Add(this.gridControlCompany);
     this.groupControl_BusinessList.Dock = System.Windows.Forms.DockStyle.Fill;
     this.groupControl_BusinessList.Location = new System.Drawing.Point(0, 0);
     this.groupControl_BusinessList.Name = "groupControl_BusinessList";
     this.groupControl_BusinessList.Size = new System.Drawing.Size(389, 488);
     this.groupControl_BusinessList.TabIndex = 0;
     this.groupControl_BusinessList.Text = "รายการกิจการ";
     //
     // gridControlCompany
     //
     this.gridControlCompany.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlCompany.Location = new System.Drawing.Point(2, 22);
     this.gridControlCompany.MainView = this.gridView1;
     this.gridControlCompany.Name = "gridControlCompany";
     this.gridControlCompany.Size = new System.Drawing.Size(385, 464);
     this.gridControlCompany.TabIndex = 1;
     this.gridControlCompany.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridView1});
     //
     // gridView1
     //
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.company_company_name,
     this.company_company_address,
     this.company_company_telephone,
     this.company_company_fax,
     this.company_company_email,
     this.company_company_website,
     this.company_company_idcard,
     this.company_company_corporate,
     this.company_company_owner_name,
     this.company_company_vision,
     this.company_id});
     this.gridView1.GridControl = this.gridControlCompany;
     this.gridView1.Name = "gridView1";
     this.gridView1.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridView1.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridView1.OptionsFind.AlwaysVisible = true;
     this.gridView1.OptionsFind.ShowCloseButton = false;
     this.gridView1.OptionsView.EnableAppearanceEvenRow = true;
     this.gridView1.OptionsView.ShowGroupPanel = false;
     this.gridView1.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.gridView1_FocusedRowChanged);
     //
     // company_company_name
     //
     this.company_company_name.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.company_company_name.AppearanceHeader.Options.UseFont = true;
     this.company_company_name.Caption = "ชื่อกิจการ";
     this.company_company_name.FieldName = "company_name";
     this.company_company_name.Name = "company_company_name";
     this.company_company_name.OptionsColumn.AllowEdit = false;
     this.company_company_name.OptionsColumn.AllowFocus = false;
     this.company_company_name.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.company_company_name.OptionsColumn.AllowMove = false;
     this.company_company_name.Visible = true;
     this.company_company_name.VisibleIndex = 0;
     //
     // company_company_address
     //
     this.company_company_address.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.company_company_address.AppearanceHeader.Options.UseFont = true;
     this.company_company_address.Caption = "ที่อยู่";
     this.company_company_address.FieldName = "company_address";
     this.company_company_address.Name = "company_company_address";
     this.company_company_address.OptionsColumn.AllowEdit = false;
     this.company_company_address.OptionsColumn.AllowFocus = false;
     this.company_company_address.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.company_company_address.OptionsColumn.AllowMove = false;
     this.company_company_address.Visible = true;
     this.company_company_address.VisibleIndex = 1;
     //
     // company_company_telephone
     //
     this.company_company_telephone.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.company_company_telephone.AppearanceHeader.Options.UseFont = true;
     this.company_company_telephone.Caption = "โทรศัพท์";
     this.company_company_telephone.FieldName = "company_telephone";
     this.company_company_telephone.Name = "company_company_telephone";
     this.company_company_telephone.OptionsColumn.AllowEdit = false;
     this.company_company_telephone.OptionsColumn.AllowFocus = false;
     this.company_company_telephone.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.company_company_telephone.OptionsColumn.AllowMove = false;
     this.company_company_telephone.Visible = true;
     this.company_company_telephone.VisibleIndex = 2;
     //
     // company_company_fax
     //
     this.company_company_fax.Caption = "แฟกซ์";
     this.company_company_fax.FieldName = "company_fax";
     this.company_company_fax.Name = "company_company_fax";
     this.company_company_fax.OptionsColumn.AllowEdit = false;
     this.company_company_fax.OptionsColumn.AllowFocus = false;
     this.company_company_fax.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.company_company_fax.OptionsColumn.AllowMove = false;
     //
     // company_company_email
     //
     this.company_company_email.Caption = "อีเมล์";
     this.company_company_email.FieldName = "company_email";
     this.company_company_email.Name = "company_company_email";
     this.company_company_email.OptionsColumn.AllowEdit = false;
     this.company_company_email.OptionsColumn.AllowFocus = false;
     this.company_company_email.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.company_company_email.OptionsColumn.AllowMove = false;
     //
     // company_company_website
     //
     this.company_company_website.Caption = "เว็บไซต์";
     this.company_company_website.FieldName = "company_website";
     this.company_company_website.Name = "company_company_website";
     this.company_company_website.OptionsColumn.AllowEdit = false;
     this.company_company_website.OptionsColumn.AllowFocus = false;
     this.company_company_website.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.company_company_website.OptionsColumn.AllowMove = false;
     //
     // company_company_idcard
     //
     this.company_company_idcard.Caption = "เลขประจำตัวผู้เสียภาษี";
     this.company_company_idcard.FieldName = "company_id_card";
     this.company_company_idcard.Name = "company_company_idcard";
     this.company_company_idcard.OptionsColumn.AllowEdit = false;
     this.company_company_idcard.OptionsColumn.AllowFocus = false;
     this.company_company_idcard.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.company_company_idcard.OptionsColumn.AllowMove = false;
     //
     // company_company_corporate
     //
     this.company_company_corporate.Caption = "เลขทะเบียนนิติบุคคล";
     this.company_company_corporate.FieldName = "company_corporate";
     this.company_company_corporate.Name = "company_company_corporate";
     this.company_company_corporate.OptionsColumn.AllowEdit = false;
     this.company_company_corporate.OptionsColumn.AllowFocus = false;
     this.company_company_corporate.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.company_company_corporate.OptionsColumn.AllowMove = false;
     //
     // company_company_owner_name
     //
     this.company_company_owner_name.Caption = "ชื่อเจ้าของกิจการ";
     this.company_company_owner_name.FieldName = "company_owner_name";
     this.company_company_owner_name.Name = "company_company_owner_name";
     this.company_company_owner_name.OptionsColumn.AllowEdit = false;
     this.company_company_owner_name.OptionsColumn.AllowFocus = false;
     this.company_company_owner_name.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.company_company_owner_name.OptionsColumn.AllowMove = false;
     //
     // company_company_vision
     //
     this.company_company_vision.Caption = "นโยบายอพาร์ทเม้นท์";
     this.company_company_vision.FieldName = "company_vision";
     this.company_company_vision.Name = "company_company_vision";
     this.company_company_vision.OptionsColumn.AllowEdit = false;
     this.company_company_vision.OptionsColumn.AllowFocus = false;
     this.company_company_vision.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.company_company_vision.OptionsColumn.AllowMove = false;
     //
     // company_id
     //
     this.company_id.Caption = "id";
     this.company_id.FieldName = "company_id";
     this.company_id.Name = "company_id";
     //
     // splitContainerControl2
     //
     this.splitContainerControl2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerControl2.Location = new System.Drawing.Point(7, 7);
     this.splitContainerControl2.Name = "splitContainerControl2";
     this.splitContainerControl2.Panel1.Controls.Add(this.groupControl_BusinessList);
     this.splitContainerControl2.Panel1.Text = "Panel1";
     this.splitContainerControl2.Panel2.Controls.Add(this.panelControl3);
     this.splitContainerControl2.Panel2.Text = "Panel2";
     this.splitContainerControl2.Size = new System.Drawing.Size(1164, 488);
     this.splitContainerControl2.SplitterPosition = 389;
     this.splitContainerControl2.TabIndex = 17;
     this.splitContainerControl2.Text = "splitContainerControl2";
     //
     // panelControl2
     //
     this.panelControl2.Appearance.BackColor = System.Drawing.Color.WhiteSmoke;
     this.panelControl2.Appearance.Options.UseBackColor = true;
     this.panelControl2.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl2.Controls.Add(this.splitContainerControl1);
     this.panelControl2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panelControl2.Location = new System.Drawing.Point(7, 7);
     this.panelControl2.Name = "panelControl2";
     this.panelControl2.Size = new System.Drawing.Size(1164, 488);
     this.panelControl2.TabIndex = 16;
     //
     // BasicInfoCompany
     //
     this.Appearance.BackColor = System.Drawing.Color.White;
     this.Appearance.Options.UseBackColor = true;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.splitContainerControl2);
     this.Controls.Add(this.panelControl2);
     this.Name = "BasicInfoCompany";
     this.Padding = new System.Windows.Forms.Padding(7);
     this.Size = new System.Drawing.Size(1178, 502);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit();
     this.panelControl3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl_BusinessInfo)).EndInit();
     this.groupControl_BusinessInfo.ResumeLayout(false);
     this.xtraScrollableControl1.ResumeLayout(false);
     this.xtraScrollableControl1.PerformLayout();
     this.tableLayoutPanel1.ResumeLayout(false);
     this.tableLayoutPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditSouceLogoPath.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditOldLogoPath.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditLogoPath.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureEditLogo.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditId.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditCompanyName.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditVision.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditOwnerName.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditIdCard.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditEmail.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditCorporate.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditWebSite.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditTelephone.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditFax.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.memoEditAddress.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit();
     this.splitContainerControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl_BusinessList)).EndInit();
     this.groupControl_BusinessList.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlCompany)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).EndInit();
     this.splitContainerControl2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit();
     this.panelControl2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #10
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.splitContainerControl2 = new DevExpress.XtraEditors.SplitContainerControl();
     this.groupControlFloorList = new DevExpress.XtraEditors.GroupControl();
     this.gridControlFloor = new DevExpress.XtraGrid.GridControl();
     this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.floor_building_label = new DevExpress.XtraGrid.Columns.GridColumn();
     this.floor_floor_code = new DevExpress.XtraGrid.Columns.GridColumn();
     this.floor_floor_label = new DevExpress.XtraGrid.Columns.GridColumn();
     this.floor_room_count = new DevExpress.XtraGrid.Columns.GridColumn();
     this.floor_building_id = new DevExpress.XtraGrid.Columns.GridColumn();
     this.floor_floor_id = new DevExpress.XtraGrid.Columns.GridColumn();
     this.panelControl3 = new DevExpress.XtraEditors.PanelControl();
     this.groupControlFloorInfo = new DevExpress.XtraEditors.GroupControl();
     this.xtraScrollableControl1 = new DevExpress.XtraEditors.XtraScrollableControl();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.labelControlBuildingLabel = new DevExpress.XtraEditors.LabelControl();
     this.labelControlFloor = new DevExpress.XtraEditors.LabelControl();
     this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl6 = new DevExpress.XtraEditors.LabelControl();
     this.labelControlRoomCount = new DevExpress.XtraEditors.LabelControl();
     this.labelControl8 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl5 = new DevExpress.XtraEditors.LabelControl();
     this.labelControlRequired = new DevExpress.XtraEditors.LabelControl();
     this.labelControlFloorLabel = new DevExpress.XtraEditors.LabelControl();
     this.textEditBuildingCode = new DevExpress.XtraEditors.TextEdit();
     this.textEditBuildingId = new DevExpress.XtraEditors.TextEdit();
     this.textEditFloorCode = new DevExpress.XtraEditors.TextEdit();
     this.textEditBuildingLabel = new DevExpress.XtraEditors.TextEdit();
     this.bttEdit = new DevExpress.XtraEditors.SimpleButton();
     this.bttSave = new DevExpress.XtraEditors.SimpleButton();
     this.bttCancel = new DevExpress.XtraEditors.SimpleButton();
     this.textEditFloorLabel = new DevExpress.XtraEditors.TextEdit();
     this.textEditFloorId = new DevExpress.XtraEditors.TextEdit();
     this.textEditRoomCount = new DevExpress.XtraEditors.TextEdit();
     this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
     this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl();
     this.panelControl2 = new DevExpress.XtraEditors.PanelControl();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).BeginInit();
     this.splitContainerControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlFloorList)).BeginInit();
     this.groupControlFloorList.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlFloor)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit();
     this.panelControl3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlFloorInfo)).BeginInit();
     this.groupControlFloorInfo.SuspendLayout();
     this.xtraScrollableControl1.SuspendLayout();
     this.tableLayoutPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditBuildingCode.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditBuildingId.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditFloorCode.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditBuildingLabel.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditFloorLabel.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditFloorId.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomCount.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
     this.splitContainerControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit();
     this.panelControl2.SuspendLayout();
     this.SuspendLayout();
     //
     // splitContainerControl2
     //
     this.splitContainerControl2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerControl2.Location = new System.Drawing.Point(4, 4);
     this.splitContainerControl2.Name = "splitContainerControl2";
     this.splitContainerControl2.Panel1.Controls.Add(this.groupControlFloorList);
     this.splitContainerControl2.Panel1.Text = "Panel1";
     this.splitContainerControl2.Panel2.Controls.Add(this.panelControl3);
     this.splitContainerControl2.Panel2.Controls.Add(this.panelControl1);
     this.splitContainerControl2.Panel2.Text = "Panel2";
     this.splitContainerControl2.Size = new System.Drawing.Size(803, 532);
     this.splitContainerControl2.SplitterPosition = 399;
     this.splitContainerControl2.TabIndex = 15;
     this.splitContainerControl2.Text = "splitContainerControl2";
     //
     // groupControlFloorList
     //
     this.groupControlFloorList.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlFloorList.AppearanceCaption.Options.UseFont = true;
     this.groupControlFloorList.Controls.Add(this.gridControlFloor);
     this.groupControlFloorList.Dock = System.Windows.Forms.DockStyle.Fill;
     this.groupControlFloorList.Location = new System.Drawing.Point(0, 0);
     this.groupControlFloorList.Name = "groupControlFloorList";
     this.groupControlFloorList.Size = new System.Drawing.Size(399, 532);
     this.groupControlFloorList.TabIndex = 0;
     this.groupControlFloorList.Text = "รายการชั้น";
     //
     // gridControlFloor
     //
     this.gridControlFloor.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlFloor.Location = new System.Drawing.Point(2, 22);
     this.gridControlFloor.MainView = this.gridView1;
     this.gridControlFloor.Name = "gridControlFloor";
     this.gridControlFloor.Size = new System.Drawing.Size(395, 508);
     this.gridControlFloor.TabIndex = 0;
     this.gridControlFloor.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridView1});
     //
     // gridView1
     //
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.floor_building_label,
     this.floor_floor_code,
     this.floor_floor_label,
     this.floor_room_count,
     this.floor_building_id,
     this.floor_floor_id});
     this.gridView1.GridControl = this.gridControlFloor;
     this.gridView1.Name = "gridView1";
     this.gridView1.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridView1.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridView1.OptionsFind.AlwaysVisible = true;
     this.gridView1.OptionsFind.ShowCloseButton = false;
     this.gridView1.OptionsView.EnableAppearanceEvenRow = true;
     this.gridView1.OptionsView.ShowGroupPanel = false;
     this.gridView1.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.gridView1_FocusedRowChanged);
     //
     // floor_building_label
     //
     this.floor_building_label.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.floor_building_label.AppearanceHeader.Options.UseFont = true;
     this.floor_building_label.Caption = "ชื่ออาคาร";
     this.floor_building_label.FieldName = "building_label";
     this.floor_building_label.Name = "floor_building_label";
     this.floor_building_label.OptionsColumn.AllowEdit = false;
     this.floor_building_label.OptionsColumn.AllowFocus = false;
     this.floor_building_label.Visible = true;
     this.floor_building_label.VisibleIndex = 0;
     //
     // floor_floor_code
     //
     this.floor_floor_code.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.floor_floor_code.AppearanceHeader.Options.UseFont = true;
     this.floor_floor_code.Caption = "ชั้น";
     this.floor_floor_code.FieldName = "floor_code";
     this.floor_floor_code.Name = "floor_floor_code";
     this.floor_floor_code.OptionsColumn.AllowEdit = false;
     this.floor_floor_code.OptionsColumn.AllowFocus = false;
     this.floor_floor_code.Visible = true;
     this.floor_floor_code.VisibleIndex = 1;
     //
     // floor_floor_label
     //
     this.floor_floor_label.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.floor_floor_label.AppearanceHeader.Options.UseFont = true;
     this.floor_floor_label.Caption = "ชื่อชั้น";
     this.floor_floor_label.FieldName = "floor_label";
     this.floor_floor_label.Name = "floor_floor_label";
     this.floor_floor_label.OptionsColumn.AllowEdit = false;
     this.floor_floor_label.OptionsColumn.AllowFocus = false;
     //
     // floor_room_count
     //
     this.floor_room_count.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.floor_room_count.AppearanceHeader.Options.UseFont = true;
     this.floor_room_count.Caption = "จำนวนห้องต่อชั้น";
     this.floor_room_count.FieldName = "room_count";
     this.floor_room_count.Name = "floor_room_count";
     this.floor_room_count.OptionsColumn.AllowEdit = false;
     this.floor_room_count.OptionsColumn.AllowFocus = false;
     this.floor_room_count.Visible = true;
     this.floor_room_count.VisibleIndex = 2;
     //
     // floor_building_id
     //
     this.floor_building_id.Caption = "building_id";
     this.floor_building_id.FieldName = "building_id";
     this.floor_building_id.Name = "floor_building_id";
     //
     // floor_floor_id
     //
     this.floor_floor_id.Caption = "floor_id";
     this.floor_floor_id.FieldName = "floor_id";
     this.floor_floor_id.Name = "floor_floor_id";
     //
     // panelControl3
     //
     this.panelControl3.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl3.Controls.Add(this.groupControlFloorInfo);
     this.panelControl3.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panelControl3.Location = new System.Drawing.Point(0, 0);
     this.panelControl3.Name = "panelControl3";
     this.panelControl3.Size = new System.Drawing.Size(399, 506);
     this.panelControl3.TabIndex = 12;
     //
     // groupControlFloorInfo
     //
     this.groupControlFloorInfo.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlFloorInfo.AppearanceCaption.Options.UseFont = true;
     this.groupControlFloorInfo.Controls.Add(this.xtraScrollableControl1);
     this.groupControlFloorInfo.Dock = System.Windows.Forms.DockStyle.Fill;
     this.groupControlFloorInfo.Location = new System.Drawing.Point(0, 0);
     this.groupControlFloorInfo.Name = "groupControlFloorInfo";
     this.groupControlFloorInfo.Size = new System.Drawing.Size(399, 506);
     this.groupControlFloorInfo.TabIndex = 0;
     this.groupControlFloorInfo.Text = "ข้อมูลชั้น";
     //
     // xtraScrollableControl1
     //
     this.xtraScrollableControl1.Controls.Add(this.tableLayoutPanel1);
     this.xtraScrollableControl1.Controls.Add(this.labelControlRequired);
     this.xtraScrollableControl1.Controls.Add(this.labelControlFloorLabel);
     this.xtraScrollableControl1.Controls.Add(this.textEditBuildingCode);
     this.xtraScrollableControl1.Controls.Add(this.textEditBuildingId);
     this.xtraScrollableControl1.Controls.Add(this.textEditFloorCode);
     this.xtraScrollableControl1.Controls.Add(this.textEditBuildingLabel);
     this.xtraScrollableControl1.Controls.Add(this.bttEdit);
     this.xtraScrollableControl1.Controls.Add(this.bttSave);
     this.xtraScrollableControl1.Controls.Add(this.bttCancel);
     this.xtraScrollableControl1.Controls.Add(this.textEditFloorLabel);
     this.xtraScrollableControl1.Controls.Add(this.textEditFloorId);
     this.xtraScrollableControl1.Controls.Add(this.textEditRoomCount);
     this.xtraScrollableControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.xtraScrollableControl1.Location = new System.Drawing.Point(2, 22);
     this.xtraScrollableControl1.Name = "xtraScrollableControl1";
     this.xtraScrollableControl1.Size = new System.Drawing.Size(395, 482);
     this.xtraScrollableControl1.TabIndex = 0;
     //
     // tableLayoutPanel1
     //
     this.tableLayoutPanel1.ColumnCount = 3;
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 10F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 112F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 13F));
     this.tableLayoutPanel1.Controls.Add(this.labelControlBuildingLabel, 1, 0);
     this.tableLayoutPanel1.Controls.Add(this.labelControlFloor, 1, 1);
     this.tableLayoutPanel1.Controls.Add(this.labelControl2, 2, 0);
     this.tableLayoutPanel1.Controls.Add(this.labelControl6, 2, 1);
     this.tableLayoutPanel1.Controls.Add(this.labelControlRoomCount, 1, 2);
     this.tableLayoutPanel1.Controls.Add(this.labelControl8, 2, 2);
     this.tableLayoutPanel1.Controls.Add(this.labelControl5, 0, 2);
     this.tableLayoutPanel1.Location = new System.Drawing.Point(3, 8);
     this.tableLayoutPanel1.Name = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount = 5;
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 32F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 21F));
     this.tableLayoutPanel1.Size = new System.Drawing.Size(135, 132);
     this.tableLayoutPanel1.TabIndex = 360;
     //
     // labelControlBuildingLabel
     //
     this.labelControlBuildingLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControlBuildingLabel.Location = new System.Drawing.Point(69, 3);
     this.labelControlBuildingLabel.Name = "labelControlBuildingLabel";
     this.labelControlBuildingLabel.Size = new System.Drawing.Size(50, 13);
     this.labelControlBuildingLabel.TabIndex = 20;
     this.labelControlBuildingLabel.Text = "ชื่ออาคาร :";
     //
     // labelControlFloor
     //
     this.labelControlFloor.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControlFloor.Location = new System.Drawing.Point(98, 29);
     this.labelControlFloor.Name = "labelControlFloor";
     this.labelControlFloor.Size = new System.Drawing.Size(21, 13);
     this.labelControlFloor.TabIndex = 28;
     this.labelControlFloor.Text = "ชั้น :";
     //
     // labelControl2
     //
     this.labelControl2.Location = new System.Drawing.Point(125, 3);
     this.labelControl2.Name = "labelControl2";
     this.labelControl2.Size = new System.Drawing.Size(4, 13);
     this.labelControl2.TabIndex = 20;
     this.labelControl2.Text = ":";
     //
     // labelControl6
     //
     this.labelControl6.Location = new System.Drawing.Point(125, 29);
     this.labelControl6.Name = "labelControl6";
     this.labelControl6.Size = new System.Drawing.Size(4, 13);
     this.labelControl6.TabIndex = 20;
     this.labelControl6.Text = ":";
     //
     // labelControlRoomCount
     //
     this.labelControlRoomCount.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControlRoomCount.Location = new System.Drawing.Point(35, 55);
     this.labelControlRoomCount.Name = "labelControlRoomCount";
     this.labelControlRoomCount.Size = new System.Drawing.Size(84, 13);
     this.labelControlRoomCount.TabIndex = 23;
     this.labelControlRoomCount.Text = "จำนวนห้องต่อชั้น :";
     //
     // labelControl8
     //
     this.labelControl8.Location = new System.Drawing.Point(125, 55);
     this.labelControl8.Name = "labelControl8";
     this.labelControl8.Size = new System.Drawing.Size(4, 13);
     this.labelControl8.TabIndex = 20;
     this.labelControl8.Text = ":";
     //
     // labelControl5
     //
     this.labelControl5.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl5.Location = new System.Drawing.Point(3, 55);
     this.labelControl5.Name = "labelControl5";
     this.labelControl5.Size = new System.Drawing.Size(6, 13);
     this.labelControl5.TabIndex = 347;
     this.labelControl5.Text = "*";
     //
     // labelControlRequired
     //
     this.labelControlRequired.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControlRequired.Location = new System.Drawing.Point(3, 146);
     this.labelControlRequired.Name = "labelControlRequired";
     this.labelControlRequired.Size = new System.Drawing.Size(50, 13);
     this.labelControlRequired.TabIndex = 359;
     this.labelControlRequired.Text = "* โปรดระบุ";
     //
     // labelControlFloorLabel
     //
     this.labelControlFloorLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControlFloorLabel.Location = new System.Drawing.Point(185, 214);
     this.labelControlFloorLabel.Name = "labelControlFloorLabel";
     this.labelControlFloorLabel.Size = new System.Drawing.Size(35, 13);
     this.labelControlFloorLabel.TabIndex = 21;
     this.labelControlFloorLabel.Text = "ชื่อชั้น :";
     this.labelControlFloorLabel.Visible = false;
     //
     // textEditBuildingCode
     //
     this.textEditBuildingCode.Location = new System.Drawing.Point(144, 233);
     this.textEditBuildingCode.Name = "textEditBuildingCode";
     this.textEditBuildingCode.Size = new System.Drawing.Size(24, 20);
     this.textEditBuildingCode.TabIndex = 348;
     this.textEditBuildingCode.Visible = false;
     //
     // textEditBuildingId
     //
     this.textEditBuildingId.Location = new System.Drawing.Point(144, 207);
     this.textEditBuildingId.Name = "textEditBuildingId";
     this.textEditBuildingId.Size = new System.Drawing.Size(24, 20);
     this.textEditBuildingId.TabIndex = 38;
     this.textEditBuildingId.Visible = false;
     //
     // textEditFloorCode
     //
     this.textEditFloorCode.Enabled = false;
     this.textEditFloorCode.Location = new System.Drawing.Point(144, 35);
     this.textEditFloorCode.Name = "textEditFloorCode";
     this.textEditFloorCode.Properties.Mask.BeepOnError = true;
     this.textEditFloorCode.Properties.Mask.EditMask = "([A-Z|a-z|0-9|ก-๙]| )*";
     this.textEditFloorCode.Properties.Mask.IgnoreMaskBlank = false;
     this.textEditFloorCode.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditFloorCode.Size = new System.Drawing.Size(237, 20);
     this.textEditFloorCode.TabIndex = 2;
     //
     // textEditBuildingLabel
     //
     this.textEditBuildingLabel.Enabled = false;
     this.textEditBuildingLabel.Location = new System.Drawing.Point(144, 9);
     this.textEditBuildingLabel.Name = "textEditBuildingLabel";
     this.textEditBuildingLabel.Properties.Mask.BeepOnError = true;
     this.textEditBuildingLabel.Properties.Mask.EditMask = "([A-Z|a-z|0-9|ก-๙]| )*";
     this.textEditBuildingLabel.Properties.Mask.IgnoreMaskBlank = false;
     this.textEditBuildingLabel.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditBuildingLabel.Size = new System.Drawing.Size(237, 20);
     this.textEditBuildingLabel.TabIndex = 1;
     //
     // bttEdit
     //
     this.bttEdit.Image = global::DXWindowsApplication2.Properties.Resources.edit;
     this.bttEdit.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttEdit.Location = new System.Drawing.Point(147, 104);
     this.bttEdit.Name = "bttEdit";
     this.bttEdit.Size = new System.Drawing.Size(75, 55);
     this.bttEdit.TabIndex = 5;
     this.bttEdit.Text = "แก้ไข";
     this.bttEdit.Click += new System.EventHandler(this.bttEdit_Click);
     //
     // bttSave
     //
     this.bttSave.Enabled = false;
     this.bttSave.Image = global::DXWindowsApplication2.Properties.Resources.savedisk;
     this.bttSave.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttSave.Location = new System.Drawing.Point(228, 104);
     this.bttSave.Name = "bttSave";
     this.bttSave.Size = new System.Drawing.Size(75, 55);
     this.bttSave.TabIndex = 6;
     this.bttSave.Text = "บันทึก";
     this.bttSave.Click += new System.EventHandler(this.bttSave_Click);
     //
     // bttCancel
     //
     this.bttCancel.Enabled = false;
     this.bttCancel.Image = global::DXWindowsApplication2.Properties.Resources.Close;
     this.bttCancel.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttCancel.Location = new System.Drawing.Point(309, 104);
     this.bttCancel.Name = "bttCancel";
     this.bttCancel.Size = new System.Drawing.Size(75, 55);
     this.bttCancel.TabIndex = 7;
     this.bttCancel.Text = "ยกเลิก";
     this.bttCancel.Click += new System.EventHandler(this.bttCancel_Click);
     //
     // textEditFloorLabel
     //
     this.textEditFloorLabel.Enabled = false;
     this.textEditFloorLabel.Location = new System.Drawing.Point(174, 259);
     this.textEditFloorLabel.Name = "textEditFloorLabel";
     this.textEditFloorLabel.Properties.Mask.BeepOnError = true;
     this.textEditFloorLabel.Properties.Mask.EditMask = "([a-zA-Z0-9|ก-๙|\\\' \']){0,50}";
     this.textEditFloorLabel.Properties.Mask.IgnoreMaskBlank = false;
     this.textEditFloorLabel.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditFloorLabel.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditFloorLabel.Properties.MaxLength = 50;
     this.textEditFloorLabel.Size = new System.Drawing.Size(54, 20);
     this.textEditFloorLabel.TabIndex = 3;
     this.textEditFloorLabel.Visible = false;
     //
     // textEditFloorId
     //
     this.textEditFloorId.Location = new System.Drawing.Point(144, 259);
     this.textEditFloorId.Name = "textEditFloorId";
     this.textEditFloorId.Size = new System.Drawing.Size(24, 20);
     this.textEditFloorId.TabIndex = 27;
     this.textEditFloorId.Visible = false;
     //
     // textEditRoomCount
     //
     this.textEditRoomCount.EditValue = "1000000";
     this.textEditRoomCount.Enabled = false;
     this.textEditRoomCount.Location = new System.Drawing.Point(145, 61);
     this.textEditRoomCount.Name = "textEditRoomCount";
     this.textEditRoomCount.Properties.DisplayFormat.FormatString = "n0";
     this.textEditRoomCount.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditRoomCount.Properties.EditFormat.FormatString = "n0";
     this.textEditRoomCount.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditRoomCount.Properties.Mask.BeepOnError = true;
     this.textEditRoomCount.Properties.Mask.EditMask = "([0-9]){1,2}";
     this.textEditRoomCount.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditRoomCount.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditRoomCount.Properties.NullText = "0";
     this.textEditRoomCount.Properties.NullValuePrompt = "0";
     this.textEditRoomCount.Properties.NullValuePromptShowForEmptyValue = true;
     this.textEditRoomCount.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.textEditRoomCount.Size = new System.Drawing.Size(236, 20);
     this.textEditRoomCount.TabIndex = 4;
     //
     // panelControl1
     //
     this.panelControl1.Appearance.BackColor = System.Drawing.Color.DarkGray;
     this.panelControl1.Appearance.Options.UseBackColor = true;
     this.panelControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl1.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.panelControl1.Location = new System.Drawing.Point(0, 506);
     this.panelControl1.Name = "panelControl1";
     this.panelControl1.Size = new System.Drawing.Size(399, 26);
     this.panelControl1.TabIndex = 11;
     //
     // splitContainerControl1
     //
     this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerControl1.Location = new System.Drawing.Point(0, 0);
     this.splitContainerControl1.Name = "splitContainerControl1";
     this.splitContainerControl1.Panel1.Text = "Panel1";
     this.splitContainerControl1.Panel2.Text = "Panel2";
     this.splitContainerControl1.Size = new System.Drawing.Size(803, 532);
     this.splitContainerControl1.SplitterPosition = 585;
     this.splitContainerControl1.TabIndex = 0;
     this.splitContainerControl1.Text = "splitContainerControl1";
     //
     // panelControl2
     //
     this.panelControl2.Appearance.BackColor = System.Drawing.Color.WhiteSmoke;
     this.panelControl2.Appearance.Options.UseBackColor = true;
     this.panelControl2.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl2.Controls.Add(this.splitContainerControl1);
     this.panelControl2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panelControl2.Location = new System.Drawing.Point(4, 4);
     this.panelControl2.Name = "panelControl2";
     this.panelControl2.Size = new System.Drawing.Size(803, 532);
     this.panelControl2.TabIndex = 14;
     //
     // BasicInfoFloor
     //
     this.Appearance.BackColor = System.Drawing.Color.WhiteSmoke;
     this.Appearance.Options.UseBackColor = true;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.splitContainerControl2);
     this.Controls.Add(this.panelControl2);
     this.Name = "BasicInfoFloor";
     this.Padding = new System.Windows.Forms.Padding(4);
     this.Size = new System.Drawing.Size(811, 540);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).EndInit();
     this.splitContainerControl2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControlFloorList)).EndInit();
     this.groupControlFloorList.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlFloor)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit();
     this.panelControl3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControlFloorInfo)).EndInit();
     this.groupControlFloorInfo.ResumeLayout(false);
     this.xtraScrollableControl1.ResumeLayout(false);
     this.xtraScrollableControl1.PerformLayout();
     this.tableLayoutPanel1.ResumeLayout(false);
     this.tableLayoutPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditBuildingCode.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditBuildingId.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditFloorCode.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditBuildingLabel.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditFloorLabel.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditFloorId.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomCount.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit();
     this.splitContainerControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit();
     this.panelControl2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #11
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.groupControlRoomTypeInfo = new DevExpress.XtraEditors.GroupControl();
     this.xtraScrollableControl1 = new DevExpress.XtraEditors.XtraScrollableControl();
     this.panelControlDaily = new DevExpress.XtraEditors.PanelControl();
     this.groupControlDaily = new DevExpress.XtraEditors.GroupControl();
     this.labelControlMonth2 = new DevExpress.XtraEditors.LabelControl();
     this.textEditRoomTypeRateDaily = new DevExpress.XtraEditors.TextEdit();
     this.labelControlRoomTypeRateDaily = new DevExpress.XtraEditors.LabelControl();
     this.labelControlDepositDaily = new DevExpress.XtraEditors.LabelControl();
     this.textEditRoomTypeAdvanceDaily = new DevExpress.XtraEditors.TextEdit();
     this.labelControlBaht7 = new DevExpress.XtraEditors.LabelControl();
     this.groupBoxPublicDaily = new System.Windows.Forms.GroupBox();
     this.panelControl6 = new DevExpress.XtraEditors.PanelControl();
     this.labelUseCostDaily = new System.Windows.Forms.Label();
     this.checkEditDailyPhone = new DevExpress.XtraEditors.CheckEdit();
     this.checkEditDailyWater = new DevExpress.XtraEditors.CheckEdit();
     this.checkEditDailyElectric = new DevExpress.XtraEditors.CheckEdit();
     this.panelControl7 = new DevExpress.XtraEditors.PanelControl();
     this.checkEditWaterSumDaily = new DevExpress.XtraEditors.CheckEdit();
     this.checkEditLumpSumDaily = new DevExpress.XtraEditors.CheckEdit();
     this.labelControlBaht9 = new DevExpress.XtraEditors.LabelControl();
     this.labelControlBaht11 = new DevExpress.XtraEditors.LabelControl();
     this.textEditLampSumDaily = new DevExpress.XtraEditors.TextEdit();
     this.textEditWaterSumDaily = new DevExpress.XtraEditors.TextEdit();
     this.labelControlLumpLabelDaily = new DevExpress.XtraEditors.LabelControl();
     this.panelControl11 = new DevExpress.XtraEditors.PanelControl();
     this.labelControlMinrateDaily = new DevExpress.XtraEditors.LabelControl();
     this.labelControlPerUnitDaily = new DevExpress.XtraEditors.LabelControl();
     this.textEditRoomTypeElectricityUnitRateDaily = new DevExpress.XtraEditors.TextEdit();
     this.textEditRoomTypeWaterUnitRateDaily = new DevExpress.XtraEditors.TextEdit();
     this.textEditRoomTypePhoneUnitRateDaily = new DevExpress.XtraEditors.TextEdit();
     this.textEditElectricityPriceRateMinDaily = new DevExpress.XtraEditors.TextEdit();
     this.textEditWaterPriceRateMinDaily = new DevExpress.XtraEditors.TextEdit();
     this.labelControlBaht8 = new DevExpress.XtraEditors.LabelControl();
     this.labelControlBaht10 = new DevExpress.XtraEditors.LabelControl();
     this.checkEditDaily = new DevExpress.XtraEditors.CheckEdit();
     this.textEditSourcePath = new DevExpress.XtraEditors.TextEdit();
     this.textEditOldIconPath = new DevExpress.XtraEditors.TextEdit();
     this.txtEditRoomTypeCode = new DevExpress.XtraEditors.TextEdit();
     this.txtEditId = new DevExpress.XtraEditors.TextEdit();
     this.textEditIconPath = new DevExpress.XtraEditors.TextEdit();
     this.panelControlAdditional = new DevExpress.XtraEditors.PanelControl();
     this.groupControlAdditional = new DevExpress.XtraEditors.GroupControl();
     this.gridControlItem = new DevExpress.XtraGrid.GridControl();
     this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.item_name = new DevExpress.XtraGrid.Columns.GridColumn();
     this.item_price_daily = new DevExpress.XtraGrid.Columns.GridColumn();
     this.item_price_monthly = new DevExpress.XtraGrid.Columns.GridColumn();
     this.item_item_type_label = new DevExpress.XtraGrid.Columns.GridColumn();
     this.check_status = new DevExpress.XtraGrid.Columns.GridColumn();
     this.item_item_type = new DevExpress.XtraGrid.Columns.GridColumn();
     this.status = new DevExpress.XtraGrid.Columns.GridColumn();
     this.item_item_detail = new DevExpress.XtraGrid.Columns.GridColumn();
     this.item_item_vattype = new DevExpress.XtraGrid.Columns.GridColumn();
     this.bttOpenItemTab = new DevExpress.XtraEditors.SimpleButton();
     this.panelControlMonthly = new DevExpress.XtraEditors.PanelControl();
     this.labelControl1IconRoomType = new DevExpress.XtraEditors.LabelControl();
     this.richTextBox_Notice = new System.Windows.Forms.RichTextBox();
     this.bttDeleteIcon = new DevExpress.XtraEditors.SimpleButton();
     this.bttUpload = new DevExpress.XtraEditors.SimpleButton();
     this.pictureEditIcon = new DevExpress.XtraEditors.PictureEdit();
     this.labelControl7 = new DevExpress.XtraEditors.LabelControl();
     this.groupControlMonthly = new DevExpress.XtraEditors.GroupControl();
     this.checkEditMonthly = new DevExpress.XtraEditors.CheckEdit();
     this.groupBoxPublic = new System.Windows.Forms.GroupBox();
     this.panelControl14 = new DevExpress.XtraEditors.PanelControl();
     this.labelUseCostMonthly = new System.Windows.Forms.Label();
     this.checkEditMonthlyPhone = new DevExpress.XtraEditors.CheckEdit();
     this.checkEditMonthlyWater = new DevExpress.XtraEditors.CheckEdit();
     this.checkEditMonthlyElectric = new DevExpress.XtraEditors.CheckEdit();
     this.panelControl4 = new DevExpress.XtraEditors.PanelControl();
     this.checkEditWaterSum = new DevExpress.XtraEditors.CheckEdit();
     this.checkEditLumpSum = new DevExpress.XtraEditors.CheckEdit();
     this.labelControlBaht4 = new DevExpress.XtraEditors.LabelControl();
     this.labelControlBaht6 = new DevExpress.XtraEditors.LabelControl();
     this.textEditLampSum = new DevExpress.XtraEditors.TextEdit();
     this.textEditWaterSum = new DevExpress.XtraEditors.TextEdit();
     this.labelControlLumpLabel = new DevExpress.XtraEditors.LabelControl();
     this.panelControl9 = new DevExpress.XtraEditors.PanelControl();
     this.labelControlMinrate = new DevExpress.XtraEditors.LabelControl();
     this.labelControlPerUnit = new DevExpress.XtraEditors.LabelControl();
     this.textEditRoomTypeElectricityUnitRateMonthly = new DevExpress.XtraEditors.TextEdit();
     this.textEditRoomTypeWaterUnitRateMonthly = new DevExpress.XtraEditors.TextEdit();
     this.textEditRoomTypePhoneUnitRateMonthly = new DevExpress.XtraEditors.TextEdit();
     this.textEditElectricityPriceRateMin = new DevExpress.XtraEditors.TextEdit();
     this.textEditWaterPriceRateMin = new DevExpress.XtraEditors.TextEdit();
     this.labelControlBaht3 = new DevExpress.XtraEditors.LabelControl();
     this.labelControlBaht5 = new DevExpress.XtraEditors.LabelControl();
     this.textEditRoomTypeRateMonthly = new DevExpress.XtraEditors.TextEdit();
     this.textEditRoomTypeInsurerateRateMonthly = new DevExpress.XtraEditors.TextEdit();
     this.textEditRoomTypeAdvanceMonth = new DevExpress.XtraEditors.TextEdit();
     this.labelControlInsurerate = new DevExpress.XtraEditors.LabelControl();
     this.labelControlRoomTypeRate = new DevExpress.XtraEditors.LabelControl();
     this.labelControlDeposit = new DevExpress.XtraEditors.LabelControl();
     this.labelControlBaht = new DevExpress.XtraEditors.LabelControl();
     this.labelControlMonth = new DevExpress.XtraEditors.LabelControl();
     this.labelControlBaht2 = new DevExpress.XtraEditors.LabelControl();
     this.textEditRoomTypeLabel = new DevExpress.XtraEditors.TextEdit();
     this.labelControlRoomTypeLabel = new DevExpress.XtraEditors.LabelControl();
     this.panelControl8 = new DevExpress.XtraEditors.PanelControl();
     this.labelControlRequired = new DevExpress.XtraEditors.LabelControl();
     this.bttDelete = new DevExpress.XtraEditors.SimpleButton();
     this.bttAdd = new DevExpress.XtraEditors.SimpleButton();
     this.bttEdit = new DevExpress.XtraEditors.SimpleButton();
     this.bttCancel = new DevExpress.XtraEditors.SimpleButton();
     this.bttSave = new DevExpress.XtraEditors.SimpleButton();
     this.panelControl3 = new DevExpress.XtraEditors.PanelControl();
     this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl();
     this.splitContainerControl2 = new DevExpress.XtraEditors.SplitContainerControl();
     this.groupControlRoomtypeList = new DevExpress.XtraEditors.GroupControl();
     this.gridControlRoomType = new DevExpress.XtraGrid.GridControl();
     this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.roomtype_label = new DevExpress.XtraGrid.Columns.GridColumn();
     this.room_count = new DevExpress.XtraGrid.Columns.GridColumn();
     this.roomtype_month_electric_checked = new DevExpress.XtraGrid.Columns.GridColumn();
     this.roomtype_month_water_checked = new DevExpress.XtraGrid.Columns.GridColumn();
     this.roomtype_month_electric_lumpchecked = new DevExpress.XtraGrid.Columns.GridColumn();
     this.roomtype_month_water_lumpchecked = new DevExpress.XtraGrid.Columns.GridColumn();
     this.roomtype_id = new DevExpress.XtraGrid.Columns.GridColumn();
     this.panelControl2 = new DevExpress.XtraEditors.PanelControl();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlRoomTypeInfo)).BeginInit();
     this.groupControlRoomTypeInfo.SuspendLayout();
     this.xtraScrollableControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.panelControlDaily)).BeginInit();
     this.panelControlDaily.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlDaily)).BeginInit();
     this.groupControlDaily.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomTypeRateDaily.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomTypeAdvanceDaily.Properties)).BeginInit();
     this.groupBoxPublicDaily.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl6)).BeginInit();
     this.panelControl6.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditDailyPhone.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditDailyWater.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditDailyElectric.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl7)).BeginInit();
     this.panelControl7.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditWaterSumDaily.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditLumpSumDaily.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditLampSumDaily.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditWaterSumDaily.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl11)).BeginInit();
     this.panelControl11.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomTypeElectricityUnitRateDaily.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomTypeWaterUnitRateDaily.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomTypePhoneUnitRateDaily.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditElectricityPriceRateMinDaily.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditWaterPriceRateMinDaily.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditDaily.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditSourcePath.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditOldIconPath.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtEditRoomTypeCode.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtEditId.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditIconPath.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControlAdditional)).BeginInit();
     this.panelControlAdditional.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlAdditional)).BeginInit();
     this.groupControlAdditional.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlItem)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControlMonthly)).BeginInit();
     this.panelControlMonthly.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureEditIcon.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlMonthly)).BeginInit();
     this.groupControlMonthly.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditMonthly.Properties)).BeginInit();
     this.groupBoxPublic.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl14)).BeginInit();
     this.panelControl14.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditMonthlyPhone.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditMonthlyWater.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditMonthlyElectric.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).BeginInit();
     this.panelControl4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditWaterSum.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditLumpSum.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditLampSum.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditWaterSum.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl9)).BeginInit();
     this.panelControl9.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomTypeElectricityUnitRateMonthly.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomTypeWaterUnitRateMonthly.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomTypePhoneUnitRateMonthly.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditElectricityPriceRateMin.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditWaterPriceRateMin.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomTypeRateMonthly.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomTypeInsurerateRateMonthly.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomTypeAdvanceMonth.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomTypeLabel.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl8)).BeginInit();
     this.panelControl8.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit();
     this.panelControl3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
     this.splitContainerControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).BeginInit();
     this.splitContainerControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlRoomtypeList)).BeginInit();
     this.groupControlRoomtypeList.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlRoomType)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit();
     this.panelControl2.SuspendLayout();
     this.SuspendLayout();
     //
     // groupControlRoomTypeInfo
     //
     this.groupControlRoomTypeInfo.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlRoomTypeInfo.AppearanceCaption.Options.UseFont = true;
     this.groupControlRoomTypeInfo.Controls.Add(this.xtraScrollableControl1);
     this.groupControlRoomTypeInfo.Controls.Add(this.panelControl8);
     this.groupControlRoomTypeInfo.Dock = System.Windows.Forms.DockStyle.Fill;
     this.groupControlRoomTypeInfo.Location = new System.Drawing.Point(0, 0);
     this.groupControlRoomTypeInfo.Name = "groupControlRoomTypeInfo";
     this.groupControlRoomTypeInfo.Size = new System.Drawing.Size(592, 845);
     this.groupControlRoomTypeInfo.TabIndex = 0;
     this.groupControlRoomTypeInfo.Text = "ข้อมูลประเภทห้อง";
     //
     // xtraScrollableControl1
     //
     this.xtraScrollableControl1.Controls.Add(this.panelControlDaily);
     this.xtraScrollableControl1.Controls.Add(this.panelControlAdditional);
     this.xtraScrollableControl1.Controls.Add(this.panelControlMonthly);
     this.xtraScrollableControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.xtraScrollableControl1.Location = new System.Drawing.Point(2, 22);
     this.xtraScrollableControl1.Name = "xtraScrollableControl1";
     this.xtraScrollableControl1.Size = new System.Drawing.Size(588, 755);
     this.xtraScrollableControl1.TabIndex = 417;
     //
     // panelControlDaily
     //
     this.panelControlDaily.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(236)))), ((int)(((byte)(239)))));
     this.panelControlDaily.Appearance.Options.UseBackColor = true;
     this.panelControlDaily.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControlDaily.Controls.Add(this.groupControlDaily);
     this.panelControlDaily.Controls.Add(this.textEditSourcePath);
     this.panelControlDaily.Controls.Add(this.textEditOldIconPath);
     this.panelControlDaily.Controls.Add(this.txtEditRoomTypeCode);
     this.panelControlDaily.Controls.Add(this.txtEditId);
     this.panelControlDaily.Controls.Add(this.textEditIconPath);
     this.panelControlDaily.Location = new System.Drawing.Point(0, 304);
     this.panelControlDaily.Name = "panelControlDaily";
     this.panelControlDaily.Padding = new System.Windows.Forms.Padding(10);
     this.panelControlDaily.Size = new System.Drawing.Size(653, 242);
     this.panelControlDaily.TabIndex = 429;
     //
     // groupControlDaily
     //
     this.groupControlDaily.Appearance.BackColor = System.Drawing.Color.Transparent;
     this.groupControlDaily.Appearance.Options.UseBackColor = true;
     this.groupControlDaily.Controls.Add(this.labelControlMonth2);
     this.groupControlDaily.Controls.Add(this.textEditRoomTypeRateDaily);
     this.groupControlDaily.Controls.Add(this.labelControlRoomTypeRateDaily);
     this.groupControlDaily.Controls.Add(this.labelControlDepositDaily);
     this.groupControlDaily.Controls.Add(this.textEditRoomTypeAdvanceDaily);
     this.groupControlDaily.Controls.Add(this.labelControlBaht7);
     this.groupControlDaily.Controls.Add(this.groupBoxPublicDaily);
     this.groupControlDaily.Controls.Add(this.checkEditDaily);
     this.groupControlDaily.Location = new System.Drawing.Point(10, 10);
     this.groupControlDaily.Name = "groupControlDaily";
     this.groupControlDaily.Size = new System.Drawing.Size(480, 223);
     this.groupControlDaily.TabIndex = 428;
     //
     // labelControlMonth2
     //
     this.labelControlMonth2.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlMonth2.Location = new System.Drawing.Point(429, 32);
     this.labelControlMonth2.Name = "labelControlMonth2";
     this.labelControlMonth2.Size = new System.Drawing.Size(41, 20);
     this.labelControlMonth2.TabIndex = 418;
     this.labelControlMonth2.Text = "เดือน";
     this.labelControlMonth2.Visible = false;
     //
     // textEditRoomTypeRateDaily
     //
     this.textEditRoomTypeRateDaily.EditValue = 0;
     this.textEditRoomTypeRateDaily.Location = new System.Drawing.Point(120, 34);
     this.textEditRoomTypeRateDaily.Name = "textEditRoomTypeRateDaily";
     this.textEditRoomTypeRateDaily.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False;
     this.textEditRoomTypeRateDaily.Properties.DisplayFormat.FormatString = "n2";
     this.textEditRoomTypeRateDaily.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditRoomTypeRateDaily.Properties.EditFormat.FormatString = "n2";
     this.textEditRoomTypeRateDaily.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditRoomTypeRateDaily.Properties.Mask.BeepOnError = true;
     this.textEditRoomTypeRateDaily.Properties.Mask.EditMask = "0*([0-9]{1,7}|1000000)|0*([0-9]{1,7}|1000000)\\.([0-9]){2}";
     this.textEditRoomTypeRateDaily.Properties.Mask.IgnoreMaskBlank = false;
     this.textEditRoomTypeRateDaily.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditRoomTypeRateDaily.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditRoomTypeRateDaily.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.textEditRoomTypeRateDaily.Size = new System.Drawing.Size(72, 20);
     this.textEditRoomTypeRateDaily.TabIndex = 413;
     //
     // labelControlRoomTypeRateDaily
     //
     this.labelControlRoomTypeRateDaily.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlRoomTypeRateDaily.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlRoomTypeRateDaily.Location = new System.Drawing.Point(22, 34);
     this.labelControlRoomTypeRateDaily.Name = "labelControlRoomTypeRateDaily";
     this.labelControlRoomTypeRateDaily.Size = new System.Drawing.Size(93, 23);
     this.labelControlRoomTypeRateDaily.TabIndex = 415;
     this.labelControlRoomTypeRateDaily.Text = "ค่าเช่าห้อง :";
     //
     // labelControlDepositDaily
     //
     this.labelControlDepositDaily.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlDepositDaily.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlDepositDaily.Location = new System.Drawing.Point(268, 34);
     this.labelControlDepositDaily.Name = "labelControlDepositDaily";
     this.labelControlDepositDaily.Size = new System.Drawing.Size(97, 18);
     this.labelControlDepositDaily.TabIndex = 416;
     this.labelControlDepositDaily.Text = "ค่าเช่าล่วงหน้า :";
     this.labelControlDepositDaily.Visible = false;
     //
     // textEditRoomTypeAdvanceDaily
     //
     this.textEditRoomTypeAdvanceDaily.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditRoomTypeAdvanceDaily.EditValue = "0";
     this.textEditRoomTypeAdvanceDaily.Location = new System.Drawing.Point(385, 32);
     this.textEditRoomTypeAdvanceDaily.Name = "textEditRoomTypeAdvanceDaily";
     this.textEditRoomTypeAdvanceDaily.Properties.Mask.BeepOnError = true;
     this.textEditRoomTypeAdvanceDaily.Properties.Mask.EditMask = "0*([0-9]{1,2}|10)";
     this.textEditRoomTypeAdvanceDaily.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditRoomTypeAdvanceDaily.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.textEditRoomTypeAdvanceDaily.Size = new System.Drawing.Size(36, 20);
     this.textEditRoomTypeAdvanceDaily.TabIndex = 403;
     this.textEditRoomTypeAdvanceDaily.Visible = false;
     //
     // labelControlBaht7
     //
     this.labelControlBaht7.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlBaht7.Location = new System.Drawing.Point(198, 36);
     this.labelControlBaht7.Name = "labelControlBaht7";
     this.labelControlBaht7.Size = new System.Drawing.Size(71, 20);
     this.labelControlBaht7.TabIndex = 417;
     this.labelControlBaht7.Text = "บาท";
     //
     // groupBoxPublicDaily
     //
     this.groupBoxPublicDaily.Controls.Add(this.panelControl6);
     this.groupBoxPublicDaily.Location = new System.Drawing.Point(5, 58);
     this.groupBoxPublicDaily.Name = "groupBoxPublicDaily";
     this.groupBoxPublicDaily.Size = new System.Drawing.Size(468, 160);
     this.groupBoxPublicDaily.TabIndex = 412;
     this.groupBoxPublicDaily.TabStop = false;
     this.groupBoxPublicDaily.Text = "ค่าสาธารณูปโภค";
     //
     // panelControl6
     //
     this.panelControl6.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl6.Controls.Add(this.labelUseCostDaily);
     this.panelControl6.Controls.Add(this.checkEditDailyPhone);
     this.panelControl6.Controls.Add(this.checkEditDailyWater);
     this.panelControl6.Controls.Add(this.checkEditDailyElectric);
     this.panelControl6.Controls.Add(this.panelControl7);
     this.panelControl6.Controls.Add(this.panelControl11);
     this.panelControl6.Location = new System.Drawing.Point(5, 17);
     this.panelControl6.Name = "panelControl6";
     this.panelControl6.Size = new System.Drawing.Size(456, 134);
     this.panelControl6.TabIndex = 392;
     //
     // labelUseCostDaily
     //
     this.labelUseCostDaily.AutoSize = true;
     this.labelUseCostDaily.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.labelUseCostDaily.Location = new System.Drawing.Point(18, 9);
     this.labelUseCostDaily.Name = "labelUseCostDaily";
     this.labelUseCostDaily.Size = new System.Drawing.Size(70, 13);
     this.labelUseCostDaily.TabIndex = 401;
     this.labelUseCostDaily.Text = "คิดค่าใช้จ่าย";
     //
     // checkEditDailyPhone
     //
     this.checkEditDailyPhone.EditValue = true;
     this.checkEditDailyPhone.Enabled = false;
     this.checkEditDailyPhone.Location = new System.Drawing.Point(1, 84);
     this.checkEditDailyPhone.Name = "checkEditDailyPhone";
     this.checkEditDailyPhone.Properties.Appearance.Options.UseTextOptions = true;
     this.checkEditDailyPhone.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.checkEditDailyPhone.Properties.Caption = "โทรศัพท์ : ";
     this.checkEditDailyPhone.Properties.GlyphAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.checkEditDailyPhone.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.checkEditDailyPhone.Size = new System.Drawing.Size(87, 19);
     this.checkEditDailyPhone.TabIndex = 399;
     //
     // checkEditDailyWater
     //
     this.checkEditDailyWater.Enabled = false;
     this.checkEditDailyWater.Location = new System.Drawing.Point(1, 58);
     this.checkEditDailyWater.Name = "checkEditDailyWater";
     this.checkEditDailyWater.Properties.Appearance.Options.UseTextOptions = true;
     this.checkEditDailyWater.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.checkEditDailyWater.Properties.Caption = "น้ำ : ";
     this.checkEditDailyWater.Properties.GlyphAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.checkEditDailyWater.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.checkEditDailyWater.Size = new System.Drawing.Size(87, 19);
     this.checkEditDailyWater.TabIndex = 398;
     this.checkEditDailyWater.CheckedChanged += new System.EventHandler(this.checkEditDailyWater_CheckedChanged);
     //
     // checkEditDailyElectric
     //
     this.checkEditDailyElectric.Enabled = false;
     this.checkEditDailyElectric.Location = new System.Drawing.Point(1, 31);
     this.checkEditDailyElectric.Name = "checkEditDailyElectric";
     this.checkEditDailyElectric.Properties.Appearance.Options.UseTextOptions = true;
     this.checkEditDailyElectric.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.checkEditDailyElectric.Properties.Caption = "ไฟ : ";
     this.checkEditDailyElectric.Properties.GlyphAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.checkEditDailyElectric.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.checkEditDailyElectric.Size = new System.Drawing.Size(87, 19);
     this.checkEditDailyElectric.TabIndex = 397;
     this.checkEditDailyElectric.CheckedChanged += new System.EventHandler(this.checkEditDailyElectric_CheckedChanged);
     //
     // panelControl7
     //
     this.panelControl7.Appearance.BackColor = System.Drawing.Color.Transparent;
     this.panelControl7.Appearance.Options.UseBackColor = true;
     this.panelControl7.Controls.Add(this.checkEditWaterSumDaily);
     this.panelControl7.Controls.Add(this.checkEditLumpSumDaily);
     this.panelControl7.Controls.Add(this.labelControlBaht9);
     this.panelControl7.Controls.Add(this.labelControlBaht11);
     this.panelControl7.Controls.Add(this.textEditLampSumDaily);
     this.panelControl7.Controls.Add(this.textEditWaterSumDaily);
     this.panelControl7.Controls.Add(this.labelControlLumpLabelDaily);
     this.panelControl7.Location = new System.Drawing.Point(305, 5);
     this.panelControl7.Name = "panelControl7";
     this.panelControl7.Size = new System.Drawing.Size(146, 121);
     this.panelControl7.TabIndex = 396;
     //
     // checkEditWaterSumDaily
     //
     this.checkEditWaterSumDaily.Enabled = false;
     this.checkEditWaterSumDaily.Location = new System.Drawing.Point(5, 53);
     this.checkEditWaterSumDaily.Name = "checkEditWaterSumDaily";
     this.checkEditWaterSumDaily.Properties.Caption = "";
     this.checkEditWaterSumDaily.Properties.GlyphAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.checkEditWaterSumDaily.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.checkEditWaterSumDaily.Size = new System.Drawing.Size(19, 19);
     this.checkEditWaterSumDaily.TabIndex = 407;
     this.checkEditWaterSumDaily.CheckedChanged += new System.EventHandler(this.checkEditWaterSumDaily_CheckedChanged);
     //
     // checkEditLumpSumDaily
     //
     this.checkEditLumpSumDaily.Enabled = false;
     this.checkEditLumpSumDaily.Location = new System.Drawing.Point(5, 26);
     this.checkEditLumpSumDaily.Name = "checkEditLumpSumDaily";
     this.checkEditLumpSumDaily.Properties.Caption = "";
     this.checkEditLumpSumDaily.Properties.GlyphAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.checkEditLumpSumDaily.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.checkEditLumpSumDaily.Size = new System.Drawing.Size(19, 19);
     this.checkEditLumpSumDaily.TabIndex = 406;
     this.checkEditLumpSumDaily.CheckedChanged += new System.EventHandler(this.checkEditLumpSumDaily_CheckedChanged);
     //
     // labelControlBaht9
     //
     this.labelControlBaht9.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlBaht9.Location = new System.Drawing.Point(101, 29);
     this.labelControlBaht9.Name = "labelControlBaht9";
     this.labelControlBaht9.Size = new System.Drawing.Size(51, 12);
     this.labelControlBaht9.TabIndex = 404;
     this.labelControlBaht9.Text = "บาท";
     //
     // labelControlBaht11
     //
     this.labelControlBaht11.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlBaht11.Location = new System.Drawing.Point(101, 54);
     this.labelControlBaht11.Name = "labelControlBaht11";
     this.labelControlBaht11.Size = new System.Drawing.Size(47, 12);
     this.labelControlBaht11.TabIndex = 405;
     this.labelControlBaht11.Text = "บาท";
     //
     // textEditLampSumDaily
     //
     this.textEditLampSumDaily.EditValue = new decimal(new int[] {
     0,
     0,
     0,
     0});
     this.textEditLampSumDaily.Enabled = false;
     this.textEditLampSumDaily.Location = new System.Drawing.Point(27, 26);
     this.textEditLampSumDaily.Name = "textEditLampSumDaily";
     this.textEditLampSumDaily.Properties.DisplayFormat.FormatString = "n2";
     this.textEditLampSumDaily.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditLampSumDaily.Properties.EditFormat.FormatString = "n2";
     this.textEditLampSumDaily.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditLampSumDaily.Properties.Mask.BeepOnError = true;
     this.textEditLampSumDaily.Properties.Mask.EditMask = "0*([0-9]{1,7}|1000000)|0*([0-9]{1,7}|1000000)\\.([0-9]){2}";
     this.textEditLampSumDaily.Properties.Mask.IgnoreMaskBlank = false;
     this.textEditLampSumDaily.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditLampSumDaily.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditLampSumDaily.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.textEditLampSumDaily.Size = new System.Drawing.Size(70, 20);
     this.textEditLampSumDaily.TabIndex = 402;
     //
     // textEditWaterSumDaily
     //
     this.textEditWaterSumDaily.EditValue = new decimal(new int[] {
     0,
     0,
     0,
     0});
     this.textEditWaterSumDaily.Enabled = false;
     this.textEditWaterSumDaily.Location = new System.Drawing.Point(27, 52);
     this.textEditWaterSumDaily.Name = "textEditWaterSumDaily";
     this.textEditWaterSumDaily.Properties.DisplayFormat.FormatString = "n2";
     this.textEditWaterSumDaily.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditWaterSumDaily.Properties.EditFormat.FormatString = "n2";
     this.textEditWaterSumDaily.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditWaterSumDaily.Properties.Mask.BeepOnError = true;
     this.textEditWaterSumDaily.Properties.Mask.EditMask = "0*([0-9]{1,7}|1000000)|0*([0-9]{1,7}|1000000)\\.([0-9]){2}";
     this.textEditWaterSumDaily.Properties.Mask.IgnoreMaskBlank = false;
     this.textEditWaterSumDaily.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditWaterSumDaily.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditWaterSumDaily.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.textEditWaterSumDaily.Size = new System.Drawing.Size(70, 20);
     this.textEditWaterSumDaily.TabIndex = 403;
     //
     // labelControlLumpLabelDaily
     //
     this.labelControlLumpLabelDaily.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.labelControlLumpLabelDaily.Location = new System.Drawing.Point(52, 3);
     this.labelControlLumpLabelDaily.Name = "labelControlLumpLabelDaily";
     this.labelControlLumpLabelDaily.Size = new System.Drawing.Size(45, 13);
     this.labelControlLumpLabelDaily.TabIndex = 401;
     this.labelControlLumpLabelDaily.Text = "เหมาจ่าย";
     //
     // panelControl11
     //
     this.panelControl11.Appearance.BackColor = System.Drawing.Color.Transparent;
     this.panelControl11.Appearance.Options.UseBackColor = true;
     this.panelControl11.Controls.Add(this.labelControlMinrateDaily);
     this.panelControl11.Controls.Add(this.labelControlPerUnitDaily);
     this.panelControl11.Controls.Add(this.textEditRoomTypeElectricityUnitRateDaily);
     this.panelControl11.Controls.Add(this.textEditRoomTypeWaterUnitRateDaily);
     this.panelControl11.Controls.Add(this.textEditRoomTypePhoneUnitRateDaily);
     this.panelControl11.Controls.Add(this.textEditElectricityPriceRateMinDaily);
     this.panelControl11.Controls.Add(this.textEditWaterPriceRateMinDaily);
     this.panelControl11.Controls.Add(this.labelControlBaht8);
     this.panelControl11.Controls.Add(this.labelControlBaht10);
     this.panelControl11.Location = new System.Drawing.Point(98, 5);
     this.panelControl11.Name = "panelControl11";
     this.panelControl11.Size = new System.Drawing.Size(206, 121);
     this.panelControl11.TabIndex = 395;
     //
     // labelControlMinrateDaily
     //
     this.labelControlMinrateDaily.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.labelControlMinrateDaily.Location = new System.Drawing.Point(87, 3);
     this.labelControlMinrateDaily.Name = "labelControlMinrateDaily";
     this.labelControlMinrateDaily.Size = new System.Drawing.Size(56, 13);
     this.labelControlMinrateDaily.TabIndex = 403;
     this.labelControlMinrateDaily.Text = "อัตราขั้นต่ำ";
     //
     // labelControlPerUnitDaily
     //
     this.labelControlPerUnitDaily.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.labelControlPerUnitDaily.Location = new System.Drawing.Point(5, 3);
     this.labelControlPerUnitDaily.Name = "labelControlPerUnitDaily";
     this.labelControlPerUnitDaily.Size = new System.Drawing.Size(70, 13);
     this.labelControlPerUnitDaily.TabIndex = 400;
     this.labelControlPerUnitDaily.Text = "อัตราต่อหน่วย";
     //
     // textEditRoomTypeElectricityUnitRateDaily
     //
     this.textEditRoomTypeElectricityUnitRateDaily.EditValue = new decimal(new int[] {
     0,
     0,
     0,
     0});
     this.textEditRoomTypeElectricityUnitRateDaily.Location = new System.Drawing.Point(5, 26);
     this.textEditRoomTypeElectricityUnitRateDaily.Name = "textEditRoomTypeElectricityUnitRateDaily";
     this.textEditRoomTypeElectricityUnitRateDaily.Properties.DisplayFormat.FormatString = "n2";
     this.textEditRoomTypeElectricityUnitRateDaily.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditRoomTypeElectricityUnitRateDaily.Properties.EditFormat.FormatString = "n2";
     this.textEditRoomTypeElectricityUnitRateDaily.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditRoomTypeElectricityUnitRateDaily.Properties.Mask.BeepOnError = true;
     this.textEditRoomTypeElectricityUnitRateDaily.Properties.Mask.EditMask = "0*([0-9]{1,7}|1000000)|0*([0-9]{1,7}|1000000)\\.([0-9]){2}";
     this.textEditRoomTypeElectricityUnitRateDaily.Properties.Mask.IgnoreMaskBlank = false;
     this.textEditRoomTypeElectricityUnitRateDaily.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditRoomTypeElectricityUnitRateDaily.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditRoomTypeElectricityUnitRateDaily.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.textEditRoomTypeElectricityUnitRateDaily.Size = new System.Drawing.Size(70, 20);
     this.textEditRoomTypeElectricityUnitRateDaily.TabIndex = 395;
     //
     // textEditRoomTypeWaterUnitRateDaily
     //
     this.textEditRoomTypeWaterUnitRateDaily.EditValue = new decimal(new int[] {
     0,
     0,
     0,
     0});
     this.textEditRoomTypeWaterUnitRateDaily.Enabled = false;
     this.textEditRoomTypeWaterUnitRateDaily.Location = new System.Drawing.Point(5, 52);
     this.textEditRoomTypeWaterUnitRateDaily.Name = "textEditRoomTypeWaterUnitRateDaily";
     this.textEditRoomTypeWaterUnitRateDaily.Properties.DisplayFormat.FormatString = "n2";
     this.textEditRoomTypeWaterUnitRateDaily.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditRoomTypeWaterUnitRateDaily.Properties.EditFormat.FormatString = "n2";
     this.textEditRoomTypeWaterUnitRateDaily.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditRoomTypeWaterUnitRateDaily.Properties.Mask.BeepOnError = true;
     this.textEditRoomTypeWaterUnitRateDaily.Properties.Mask.EditMask = "0*([0-9]{1,7}|1000000)|0*([0-9]{1,7}|1000000)\\.([0-9]){2}";
     this.textEditRoomTypeWaterUnitRateDaily.Properties.Mask.IgnoreMaskBlank = false;
     this.textEditRoomTypeWaterUnitRateDaily.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditRoomTypeWaterUnitRateDaily.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditRoomTypeWaterUnitRateDaily.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.textEditRoomTypeWaterUnitRateDaily.Size = new System.Drawing.Size(70, 20);
     this.textEditRoomTypeWaterUnitRateDaily.TabIndex = 396;
     //
     // textEditRoomTypePhoneUnitRateDaily
     //
     this.textEditRoomTypePhoneUnitRateDaily.EditValue = "ใช้ข้อมูลจากตู้สาขา";
     this.textEditRoomTypePhoneUnitRateDaily.Enabled = false;
     this.textEditRoomTypePhoneUnitRateDaily.Location = new System.Drawing.Point(5, 78);
     this.textEditRoomTypePhoneUnitRateDaily.Name = "textEditRoomTypePhoneUnitRateDaily";
     this.textEditRoomTypePhoneUnitRateDaily.Properties.Mask.BeepOnError = true;
     this.textEditRoomTypePhoneUnitRateDaily.Properties.Mask.EditMask = "n2";
     this.textEditRoomTypePhoneUnitRateDaily.Properties.Mask.IgnoreMaskBlank = false;
     this.textEditRoomTypePhoneUnitRateDaily.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditRoomTypePhoneUnitRateDaily.Size = new System.Drawing.Size(147, 20);
     this.textEditRoomTypePhoneUnitRateDaily.TabIndex = 397;
     //
     // textEditElectricityPriceRateMinDaily
     //
     this.textEditElectricityPriceRateMinDaily.EditValue = new decimal(new int[] {
     0,
     0,
     0,
     0});
     this.textEditElectricityPriceRateMinDaily.Location = new System.Drawing.Point(80, 26);
     this.textEditElectricityPriceRateMinDaily.Name = "textEditElectricityPriceRateMinDaily";
     this.textEditElectricityPriceRateMinDaily.Properties.DisplayFormat.FormatString = "n2";
     this.textEditElectricityPriceRateMinDaily.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditElectricityPriceRateMinDaily.Properties.EditFormat.FormatString = "n2";
     this.textEditElectricityPriceRateMinDaily.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditElectricityPriceRateMinDaily.Properties.Mask.BeepOnError = true;
     this.textEditElectricityPriceRateMinDaily.Properties.Mask.EditMask = "0*([0-9]{1,7}|1000000)|0*([0-9]{1,7}|1000000)\\.([0-9]){2}";
     this.textEditElectricityPriceRateMinDaily.Properties.Mask.IgnoreMaskBlank = false;
     this.textEditElectricityPriceRateMinDaily.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditElectricityPriceRateMinDaily.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditElectricityPriceRateMinDaily.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.textEditElectricityPriceRateMinDaily.Size = new System.Drawing.Size(72, 20);
     this.textEditElectricityPriceRateMinDaily.TabIndex = 398;
     //
     // textEditWaterPriceRateMinDaily
     //
     this.textEditWaterPriceRateMinDaily.EditValue = new decimal(new int[] {
     0,
     0,
     0,
     0});
     this.textEditWaterPriceRateMinDaily.Enabled = false;
     this.textEditWaterPriceRateMinDaily.Location = new System.Drawing.Point(80, 52);
     this.textEditWaterPriceRateMinDaily.Name = "textEditWaterPriceRateMinDaily";
     this.textEditWaterPriceRateMinDaily.Properties.DisplayFormat.FormatString = "n2";
     this.textEditWaterPriceRateMinDaily.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditWaterPriceRateMinDaily.Properties.EditFormat.FormatString = "n2";
     this.textEditWaterPriceRateMinDaily.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditWaterPriceRateMinDaily.Properties.Mask.BeepOnError = true;
     this.textEditWaterPriceRateMinDaily.Properties.Mask.EditMask = "0*([0-9]{1,7}|1000000)|0*([0-9]{1,7}|1000000)\\.([0-9]){2}";
     this.textEditWaterPriceRateMinDaily.Properties.Mask.IgnoreMaskBlank = false;
     this.textEditWaterPriceRateMinDaily.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditWaterPriceRateMinDaily.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditWaterPriceRateMinDaily.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.textEditWaterPriceRateMinDaily.Size = new System.Drawing.Size(72, 20);
     this.textEditWaterPriceRateMinDaily.TabIndex = 399;
     //
     // labelControlBaht8
     //
     this.labelControlBaht8.Location = new System.Drawing.Point(158, 28);
     this.labelControlBaht8.Name = "labelControlBaht8";
     this.labelControlBaht8.Size = new System.Drawing.Size(20, 13);
     this.labelControlBaht8.TabIndex = 401;
     this.labelControlBaht8.Text = "บาท";
     //
     // labelControlBaht10
     //
     this.labelControlBaht10.Location = new System.Drawing.Point(158, 55);
     this.labelControlBaht10.Name = "labelControlBaht10";
     this.labelControlBaht10.Size = new System.Drawing.Size(20, 13);
     this.labelControlBaht10.TabIndex = 402;
     this.labelControlBaht10.Text = "บาท";
     //
     // checkEditDaily
     //
     this.checkEditDaily.Location = new System.Drawing.Point(8, 2);
     this.checkEditDaily.Name = "checkEditDaily";
     this.checkEditDaily.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.checkEditDaily.Properties.Appearance.Options.UseFont = true;
     this.checkEditDaily.Properties.Caption = "รายวัน";
     this.checkEditDaily.Properties.GlyphAlignment = DevExpress.Utils.HorzAlignment.Default;
     this.checkEditDaily.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.checkEditDaily.Size = new System.Drawing.Size(68, 19);
     this.checkEditDaily.TabIndex = 400;
     this.checkEditDaily.CheckedChanged += new System.EventHandler(this.checkEditDaily_CheckedChanged);
     //
     // textEditSourcePath
     //
     this.textEditSourcePath.EditValue = "";
     this.textEditSourcePath.Enabled = false;
     this.textEditSourcePath.Location = new System.Drawing.Point(496, 91);
     this.textEditSourcePath.Name = "textEditSourcePath";
     this.textEditSourcePath.Size = new System.Drawing.Size(39, 20);
     this.textEditSourcePath.TabIndex = 421;
     this.textEditSourcePath.Visible = false;
     //
     // textEditOldIconPath
     //
     this.textEditOldIconPath.EditValue = "";
     this.textEditOldIconPath.Enabled = false;
     this.textEditOldIconPath.Location = new System.Drawing.Point(496, 65);
     this.textEditOldIconPath.Name = "textEditOldIconPath";
     this.textEditOldIconPath.Size = new System.Drawing.Size(39, 20);
     this.textEditOldIconPath.TabIndex = 422;
     this.textEditOldIconPath.Visible = false;
     //
     // txtEditRoomTypeCode
     //
     this.txtEditRoomTypeCode.EditValue = "";
     this.txtEditRoomTypeCode.Location = new System.Drawing.Point(494, 13);
     this.txtEditRoomTypeCode.Name = "txtEditRoomTypeCode";
     this.txtEditRoomTypeCode.Size = new System.Drawing.Size(87, 20);
     this.txtEditRoomTypeCode.TabIndex = 414;
     this.txtEditRoomTypeCode.Visible = false;
     //
     // txtEditId
     //
     this.txtEditId.EditValue = 0;
     this.txtEditId.Location = new System.Drawing.Point(587, 13);
     this.txtEditId.Name = "txtEditId";
     this.txtEditId.Size = new System.Drawing.Size(30, 20);
     this.txtEditId.TabIndex = 415;
     this.txtEditId.Visible = false;
     //
     // textEditIconPath
     //
     this.textEditIconPath.EditValue = "";
     this.textEditIconPath.Enabled = false;
     this.textEditIconPath.Location = new System.Drawing.Point(496, 39);
     this.textEditIconPath.Name = "textEditIconPath";
     this.textEditIconPath.Size = new System.Drawing.Size(39, 20);
     this.textEditIconPath.TabIndex = 416;
     this.textEditIconPath.Visible = false;
     //
     // panelControlAdditional
     //
     this.panelControlAdditional.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(236)))), ((int)(((byte)(239)))));
     this.panelControlAdditional.Appearance.Options.UseBackColor = true;
     this.panelControlAdditional.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControlAdditional.Controls.Add(this.groupControlAdditional);
     this.panelControlAdditional.Controls.Add(this.bttOpenItemTab);
     this.panelControlAdditional.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.panelControlAdditional.Enabled = false;
     this.panelControlAdditional.Location = new System.Drawing.Point(0, 546);
     this.panelControlAdditional.Name = "panelControlAdditional";
     this.panelControlAdditional.Padding = new System.Windows.Forms.Padding(10);
     this.panelControlAdditional.Size = new System.Drawing.Size(653, 212);
     this.panelControlAdditional.TabIndex = 428;
     //
     // groupControlAdditional
     //
     this.groupControlAdditional.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlAdditional.AppearanceCaption.Options.UseFont = true;
     this.groupControlAdditional.Controls.Add(this.gridControlItem);
     this.groupControlAdditional.Location = new System.Drawing.Point(10, 10);
     this.groupControlAdditional.Name = "groupControlAdditional";
     this.groupControlAdditional.Size = new System.Drawing.Size(630, 152);
     this.groupControlAdditional.TabIndex = 415;
     this.groupControlAdditional.Text = "ค่าใช้จ่ายเพิ่มเติม";
     //
     // gridControlItem
     //
     this.gridControlItem.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlItem.Location = new System.Drawing.Point(2, 22);
     this.gridControlItem.MainView = this.gridView2;
     this.gridControlItem.Name = "gridControlItem";
     this.gridControlItem.Size = new System.Drawing.Size(626, 128);
     this.gridControlItem.TabIndex = 24;
     this.gridControlItem.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridView2});
     //
     // gridView2
     //
     this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.item_name,
     this.item_price_daily,
     this.item_price_monthly,
     this.item_item_type_label,
     this.check_status,
     this.item_item_type,
     this.status,
     this.item_item_detail,
     this.item_item_vattype});
     this.gridView2.GridControl = this.gridControlItem;
     this.gridView2.Name = "gridView2";
     this.gridView2.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridView2.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridView2.OptionsFind.AllowFindPanel = false;
     this.gridView2.OptionsFind.ShowCloseButton = false;
     this.gridView2.OptionsView.EnableAppearanceEvenRow = true;
     this.gridView2.OptionsView.ShowGroupPanel = false;
     //
     // item_name
     //
     this.item_name.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.item_name.AppearanceHeader.Options.UseFont = true;
     this.item_name.Caption = "รายการค่าใช้จ่ายเพิ่มเติม";
     this.item_name.FieldName = "item_name";
     this.item_name.Name = "item_name";
     this.item_name.OptionsColumn.AllowEdit = false;
     this.item_name.OptionsColumn.AllowFocus = false;
     this.item_name.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.item_name.OptionsColumn.AllowMove = false;
     this.item_name.Visible = true;
     this.item_name.VisibleIndex = 0;
     this.item_name.Width = 150;
     //
     // item_price_daily
     //
     this.item_price_daily.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.item_price_daily.AppearanceHeader.Options.UseFont = true;
     this.item_price_daily.Caption = "จำนวนเงินรายวัน";
     this.item_price_daily.DisplayFormat.FormatString = "n2";
     this.item_price_daily.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.item_price_daily.FieldName = "item_price_daily";
     this.item_price_daily.Name = "item_price_daily";
     this.item_price_daily.OptionsColumn.AllowEdit = false;
     this.item_price_daily.OptionsColumn.AllowFocus = false;
     this.item_price_daily.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.item_price_daily.OptionsColumn.AllowMove = false;
     this.item_price_daily.UnboundType = DevExpress.Data.UnboundColumnType.Decimal;
     this.item_price_daily.Visible = true;
     this.item_price_daily.VisibleIndex = 1;
     this.item_price_daily.Width = 131;
     //
     // item_price_monthly
     //
     this.item_price_monthly.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.item_price_monthly.AppearanceHeader.Options.UseFont = true;
     this.item_price_monthly.Caption = "จำนวนเงินรายเดือน";
     this.item_price_monthly.DisplayFormat.FormatString = "n2";
     this.item_price_monthly.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.item_price_monthly.FieldName = "item_price_monthly";
     this.item_price_monthly.Name = "item_price_monthly";
     this.item_price_monthly.OptionsColumn.AllowEdit = false;
     this.item_price_monthly.OptionsColumn.AllowFocus = false;
     this.item_price_monthly.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.item_price_monthly.OptionsColumn.AllowMove = false;
     this.item_price_monthly.UnboundType = DevExpress.Data.UnboundColumnType.Decimal;
     this.item_price_monthly.Visible = true;
     this.item_price_monthly.VisibleIndex = 2;
     this.item_price_monthly.Width = 117;
     //
     // item_item_type_label
     //
     this.item_item_type_label.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.item_item_type_label.AppearanceHeader.Options.UseFont = true;
     this.item_item_type_label.Caption = "รูปแบบค่าใช้จ่าย";
     this.item_item_type_label.FieldName = "item_type_label";
     this.item_item_type_label.Name = "item_item_type_label";
     this.item_item_type_label.OptionsColumn.AllowEdit = false;
     this.item_item_type_label.OptionsColumn.AllowFocus = false;
     this.item_item_type_label.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.item_item_type_label.OptionsColumn.AllowMove = false;
     this.item_item_type_label.Visible = true;
     this.item_item_type_label.VisibleIndex = 3;
     this.item_item_type_label.Width = 102;
     //
     // check_status
     //
     this.check_status.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.check_status.AppearanceHeader.Options.UseFont = true;
     this.check_status.Caption = "สถานะการใช้งาน";
     this.check_status.FieldName = "check_box";
     this.check_status.Name = "check_status";
     this.check_status.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.check_status.OptionsColumn.AllowMove = false;
     this.check_status.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
     this.check_status.Visible = true;
     this.check_status.VisibleIndex = 4;
     this.check_status.Width = 108;
     //
     // item_item_type
     //
     this.item_item_type.Caption = "item_item_type";
     this.item_item_type.FieldName = "item_type";
     this.item_item_type.Name = "item_item_type";
     this.item_item_type.OptionsColumn.AllowEdit = false;
     this.item_item_type.OptionsColumn.AllowFocus = false;
     this.item_item_type.Width = 83;
     //
     // status
     //
     this.status.Caption = "สถานะการใช้งาน";
     this.status.Name = "status";
     this.status.Width = 85;
     //
     // item_item_detail
     //
     this.item_item_detail.Caption = "รายละเอียด";
     this.item_item_detail.FieldName = "detail";
     this.item_item_detail.Name = "item_item_detail";
     //
     // item_item_vattype
     //
     this.item_item_vattype.Caption = "gridColumn1";
     this.item_item_vattype.FieldName = "item_vat";
     this.item_item_vattype.Name = "item_item_vattype";
     //
     // bttOpenItemTab
     //
     this.bttOpenItemTab.Location = new System.Drawing.Point(13, 168);
     this.bttOpenItemTab.Name = "bttOpenItemTab";
     this.bttOpenItemTab.Size = new System.Drawing.Size(107, 35);
     this.bttOpenItemTab.TabIndex = 414;
     this.bttOpenItemTab.Text = "เพิ่มรายการ";
     this.bttOpenItemTab.Click += new System.EventHandler(this.bttOpenItemTab_Click);
     //
     // panelControlMonthly
     //
     this.panelControlMonthly.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(236)))), ((int)(((byte)(239)))));
     this.panelControlMonthly.Appearance.Options.UseBackColor = true;
     this.panelControlMonthly.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControlMonthly.Controls.Add(this.labelControl1IconRoomType);
     this.panelControlMonthly.Controls.Add(this.richTextBox_Notice);
     this.panelControlMonthly.Controls.Add(this.bttDeleteIcon);
     this.panelControlMonthly.Controls.Add(this.bttUpload);
     this.panelControlMonthly.Controls.Add(this.pictureEditIcon);
     this.panelControlMonthly.Controls.Add(this.labelControl7);
     this.panelControlMonthly.Controls.Add(this.groupControlMonthly);
     this.panelControlMonthly.Controls.Add(this.textEditRoomTypeLabel);
     this.panelControlMonthly.Controls.Add(this.labelControlRoomTypeLabel);
     this.panelControlMonthly.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panelControlMonthly.Location = new System.Drawing.Point(0, 0);
     this.panelControlMonthly.Name = "panelControlMonthly";
     this.panelControlMonthly.Padding = new System.Windows.Forms.Padding(10);
     this.panelControlMonthly.Size = new System.Drawing.Size(653, 758);
     this.panelControlMonthly.TabIndex = 415;
     //
     // labelControl1IconRoomType
     //
     this.labelControl1IconRoomType.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.labelControl1IconRoomType.Location = new System.Drawing.Point(498, 17);
     this.labelControl1IconRoomType.Name = "labelControl1IconRoomType";
     this.labelControl1IconRoomType.Size = new System.Drawing.Size(74, 13);
     this.labelControl1IconRoomType.TabIndex = 424;
     this.labelControl1IconRoomType.Text = "รูปประเภทห้อง";
     //
     // richTextBox_Notice
     //
     this.richTextBox_Notice.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(236)))), ((int)(((byte)(239)))));
     this.richTextBox_Notice.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.richTextBox_Notice.ForeColor = System.Drawing.Color.Black;
     this.richTextBox_Notice.Location = new System.Drawing.Point(494, 206);
     this.richTextBox_Notice.Name = "richTextBox_Notice";
     this.richTextBox_Notice.ReadOnly = true;
     this.richTextBox_Notice.Size = new System.Drawing.Size(146, 85);
     this.richTextBox_Notice.TabIndex = 423;
     this.richTextBox_Notice.Text = "ขนาดไฟล์รูปภาพที่เลือกต้องไม่เกิน 50 KB และชนิดไฟล์ .JPG, JPEG, PNG, ICO,BMP,GIF " +
         "เท่านั้น";
     //
     // bttDeleteIcon
     //
     this.bttDeleteIcon.Enabled = false;
     this.bttDeleteIcon.Location = new System.Drawing.Point(570, 164);
     this.bttDeleteIcon.Name = "bttDeleteIcon";
     this.bttDeleteIcon.Size = new System.Drawing.Size(70, 35);
     this.bttDeleteIcon.TabIndex = 418;
     this.bttDeleteIcon.Text = "ลบ";
     this.bttDeleteIcon.Click += new System.EventHandler(this.bttDeleteIcon_Click);
     //
     // bttUpload
     //
     this.bttUpload.Enabled = false;
     this.bttUpload.Location = new System.Drawing.Point(494, 164);
     this.bttUpload.Name = "bttUpload";
     this.bttUpload.Size = new System.Drawing.Size(70, 35);
     this.bttUpload.TabIndex = 417;
     this.bttUpload.Text = "เลือก";
     this.bttUpload.Click += new System.EventHandler(this.bttUpload_Click);
     //
     // pictureEditIcon
     //
     this.pictureEditIcon.Location = new System.Drawing.Point(494, 39);
     this.pictureEditIcon.Name = "pictureEditIcon";
     this.pictureEditIcon.Properties.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Squeeze;
     this.pictureEditIcon.Size = new System.Drawing.Size(146, 119);
     this.pictureEditIcon.TabIndex = 420;
     //
     // labelControl7
     //
     this.labelControl7.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl7.Location = new System.Drawing.Point(12, 17);
     this.labelControl7.Name = "labelControl7";
     this.labelControl7.Size = new System.Drawing.Size(6, 13);
     this.labelControl7.TabIndex = 410;
     this.labelControl7.Text = "*";
     //
     // groupControlMonthly
     //
     this.groupControlMonthly.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(236)))), ((int)(((byte)(239)))));
     this.groupControlMonthly.Appearance.Options.UseBackColor = true;
     this.groupControlMonthly.Controls.Add(this.checkEditMonthly);
     this.groupControlMonthly.Controls.Add(this.groupBoxPublic);
     this.groupControlMonthly.Controls.Add(this.textEditRoomTypeRateMonthly);
     this.groupControlMonthly.Controls.Add(this.textEditRoomTypeInsurerateRateMonthly);
     this.groupControlMonthly.Controls.Add(this.textEditRoomTypeAdvanceMonth);
     this.groupControlMonthly.Controls.Add(this.labelControlInsurerate);
     this.groupControlMonthly.Controls.Add(this.labelControlRoomTypeRate);
     this.groupControlMonthly.Controls.Add(this.labelControlDeposit);
     this.groupControlMonthly.Controls.Add(this.labelControlBaht);
     this.groupControlMonthly.Controls.Add(this.labelControlMonth);
     this.groupControlMonthly.Controls.Add(this.labelControlBaht2);
     this.groupControlMonthly.Location = new System.Drawing.Point(11, 39);
     this.groupControlMonthly.Name = "groupControlMonthly";
     this.groupControlMonthly.Size = new System.Drawing.Size(480, 238);
     this.groupControlMonthly.TabIndex = 413;
     //
     // checkEditMonthly
     //
     this.checkEditMonthly.EditValue = true;
     this.checkEditMonthly.Location = new System.Drawing.Point(8, 2);
     this.checkEditMonthly.Name = "checkEditMonthly";
     this.checkEditMonthly.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.checkEditMonthly.Properties.Appearance.Options.UseFont = true;
     this.checkEditMonthly.Properties.Caption = "รายเดือน";
     this.checkEditMonthly.Properties.GlyphAlignment = DevExpress.Utils.HorzAlignment.Default;
     this.checkEditMonthly.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.checkEditMonthly.Size = new System.Drawing.Size(68, 19);
     this.checkEditMonthly.TabIndex = 400;
     this.checkEditMonthly.CheckedChanged += new System.EventHandler(this.checkEditMonthly_CheckedChanged);
     //
     // groupBoxPublic
     //
     this.groupBoxPublic.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBoxPublic.Controls.Add(this.panelControl14);
     this.groupBoxPublic.Location = new System.Drawing.Point(6, 90);
     this.groupBoxPublic.Name = "groupBoxPublic";
     this.groupBoxPublic.Size = new System.Drawing.Size(471, 141);
     this.groupBoxPublic.TabIndex = 412;
     this.groupBoxPublic.TabStop = false;
     this.groupBoxPublic.Text = "ค่าสาธารณูปโภค";
     //
     // panelControl14
     //
     this.panelControl14.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.panelControl14.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl14.Controls.Add(this.labelUseCostMonthly);
     this.panelControl14.Controls.Add(this.checkEditMonthlyPhone);
     this.panelControl14.Controls.Add(this.checkEditMonthlyWater);
     this.panelControl14.Controls.Add(this.checkEditMonthlyElectric);
     this.panelControl14.Controls.Add(this.panelControl4);
     this.panelControl14.Controls.Add(this.panelControl9);
     this.panelControl14.Location = new System.Drawing.Point(5, 17);
     this.panelControl14.Name = "panelControl14";
     this.panelControl14.Size = new System.Drawing.Size(459, 117);
     this.panelControl14.TabIndex = 392;
     //
     // labelUseCostMonthly
     //
     this.labelUseCostMonthly.AutoSize = true;
     this.labelUseCostMonthly.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.labelUseCostMonthly.Location = new System.Drawing.Point(16, 6);
     this.labelUseCostMonthly.Name = "labelUseCostMonthly";
     this.labelUseCostMonthly.Size = new System.Drawing.Size(70, 13);
     this.labelUseCostMonthly.TabIndex = 400;
     this.labelUseCostMonthly.Text = "คิดค่าใช้จ่าย";
     //
     // checkEditMonthlyPhone
     //
     this.checkEditMonthlyPhone.EditValue = true;
     this.checkEditMonthlyPhone.Location = new System.Drawing.Point(1, 84);
     this.checkEditMonthlyPhone.Name = "checkEditMonthlyPhone";
     this.checkEditMonthlyPhone.Properties.Appearance.Options.UseTextOptions = true;
     this.checkEditMonthlyPhone.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.checkEditMonthlyPhone.Properties.Caption = "โทรศัพท์ : ";
     this.checkEditMonthlyPhone.Properties.GlyphAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.checkEditMonthlyPhone.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.checkEditMonthlyPhone.Size = new System.Drawing.Size(87, 19);
     this.checkEditMonthlyPhone.TabIndex = 399;
     //
     // checkEditMonthlyWater
     //
     this.checkEditMonthlyWater.EditValue = true;
     this.checkEditMonthlyWater.Location = new System.Drawing.Point(1, 58);
     this.checkEditMonthlyWater.Name = "checkEditMonthlyWater";
     this.checkEditMonthlyWater.Properties.Appearance.Options.UseTextOptions = true;
     this.checkEditMonthlyWater.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.checkEditMonthlyWater.Properties.Caption = "น้ำ : ";
     this.checkEditMonthlyWater.Properties.GlyphAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.checkEditMonthlyWater.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.checkEditMonthlyWater.Size = new System.Drawing.Size(87, 19);
     this.checkEditMonthlyWater.TabIndex = 398;
     this.checkEditMonthlyWater.CheckedChanged += new System.EventHandler(this.checkEditMonthlyWater_CheckedChanged);
     //
     // checkEditMonthlyElectric
     //
     this.checkEditMonthlyElectric.EditValue = true;
     this.checkEditMonthlyElectric.Location = new System.Drawing.Point(1, 31);
     this.checkEditMonthlyElectric.Name = "checkEditMonthlyElectric";
     this.checkEditMonthlyElectric.Properties.Appearance.Options.UseTextOptions = true;
     this.checkEditMonthlyElectric.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.checkEditMonthlyElectric.Properties.Caption = "ไฟ : ";
     this.checkEditMonthlyElectric.Properties.GlyphAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.checkEditMonthlyElectric.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.checkEditMonthlyElectric.Size = new System.Drawing.Size(87, 19);
     this.checkEditMonthlyElectric.TabIndex = 397;
     this.checkEditMonthlyElectric.CheckedChanged += new System.EventHandler(this.checkEditMonthlyElectric_CheckedChanged);
     //
     // panelControl4
     //
     this.panelControl4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.panelControl4.Appearance.BackColor = System.Drawing.Color.Transparent;
     this.panelControl4.Appearance.Options.UseBackColor = true;
     this.panelControl4.Controls.Add(this.checkEditWaterSum);
     this.panelControl4.Controls.Add(this.checkEditLumpSum);
     this.panelControl4.Controls.Add(this.labelControlBaht4);
     this.panelControl4.Controls.Add(this.labelControlBaht6);
     this.panelControl4.Controls.Add(this.textEditLampSum);
     this.panelControl4.Controls.Add(this.textEditWaterSum);
     this.panelControl4.Controls.Add(this.labelControlLumpLabel);
     this.panelControl4.Location = new System.Drawing.Point(303, 3);
     this.panelControl4.Name = "panelControl4";
     this.panelControl4.Size = new System.Drawing.Size(153, 114);
     this.panelControl4.TabIndex = 396;
     //
     // checkEditWaterSum
     //
     this.checkEditWaterSum.Location = new System.Drawing.Point(5, 51);
     this.checkEditWaterSum.Name = "checkEditWaterSum";
     this.checkEditWaterSum.Properties.Caption = "";
     this.checkEditWaterSum.Properties.GlyphAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.checkEditWaterSum.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.checkEditWaterSum.Size = new System.Drawing.Size(19, 19);
     this.checkEditWaterSum.TabIndex = 407;
     this.checkEditWaterSum.CheckedChanged += new System.EventHandler(this.checkEditWaterSum_CheckedChanged);
     //
     // checkEditLumpSum
     //
     this.checkEditLumpSum.Location = new System.Drawing.Point(5, 25);
     this.checkEditLumpSum.Name = "checkEditLumpSum";
     this.checkEditLumpSum.Properties.Caption = "";
     this.checkEditLumpSum.Properties.GlyphAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.checkEditLumpSum.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.checkEditLumpSum.Size = new System.Drawing.Size(19, 19);
     this.checkEditLumpSum.TabIndex = 406;
     this.checkEditLumpSum.CheckedChanged += new System.EventHandler(this.checkEditLumpSum_CheckedChanged);
     //
     // labelControlBaht4
     //
     this.labelControlBaht4.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlBaht4.Location = new System.Drawing.Point(101, 27);
     this.labelControlBaht4.Name = "labelControlBaht4";
     this.labelControlBaht4.Size = new System.Drawing.Size(51, 18);
     this.labelControlBaht4.TabIndex = 404;
     this.labelControlBaht4.Text = "บาท";
     //
     // labelControlBaht6
     //
     this.labelControlBaht6.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlBaht6.Location = new System.Drawing.Point(101, 51);
     this.labelControlBaht6.Name = "labelControlBaht6";
     this.labelControlBaht6.Size = new System.Drawing.Size(56, 20);
     this.labelControlBaht6.TabIndex = 405;
     this.labelControlBaht6.Text = "บาท";
     //
     // textEditLampSum
     //
     this.textEditLampSum.EditValue = "1000000.00";
     this.textEditLampSum.Enabled = false;
     this.textEditLampSum.Location = new System.Drawing.Point(25, 26);
     this.textEditLampSum.Name = "textEditLampSum";
     this.textEditLampSum.Properties.DisplayFormat.FormatString = "n2";
     this.textEditLampSum.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditLampSum.Properties.EditFormat.FormatString = "n2";
     this.textEditLampSum.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditLampSum.Properties.Mask.BeepOnError = true;
     this.textEditLampSum.Properties.Mask.EditMask = "0*([0-9]{1,7}|1000000)|0*([0-9]{1,7}|1000000)\\.([0-9]){2}";
     this.textEditLampSum.Properties.Mask.IgnoreMaskBlank = false;
     this.textEditLampSum.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditLampSum.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditLampSum.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.textEditLampSum.Size = new System.Drawing.Size(70, 20);
     this.textEditLampSum.TabIndex = 402;
     //
     // textEditWaterSum
     //
     this.textEditWaterSum.EditValue = "99999999999999999";
     this.textEditWaterSum.Enabled = false;
     this.textEditWaterSum.Location = new System.Drawing.Point(25, 52);
     this.textEditWaterSum.Name = "textEditWaterSum";
     this.textEditWaterSum.Properties.DisplayFormat.FormatString = "n2";
     this.textEditWaterSum.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditWaterSum.Properties.EditFormat.FormatString = "n2";
     this.textEditWaterSum.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditWaterSum.Properties.Mask.BeepOnError = true;
     this.textEditWaterSum.Properties.Mask.EditMask = "0*([0-9]{1,7}|1000000)|0*([0-9]{1,7}|1000000)\\.([0-9]){2}";
     this.textEditWaterSum.Properties.Mask.IgnoreMaskBlank = false;
     this.textEditWaterSum.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditWaterSum.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditWaterSum.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.textEditWaterSum.Size = new System.Drawing.Size(70, 20);
     this.textEditWaterSum.TabIndex = 403;
     //
     // labelControlLumpLabel
     //
     this.labelControlLumpLabel.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.labelControlLumpLabel.Location = new System.Drawing.Point(52, 3);
     this.labelControlLumpLabel.Name = "labelControlLumpLabel";
     this.labelControlLumpLabel.Size = new System.Drawing.Size(45, 13);
     this.labelControlLumpLabel.TabIndex = 401;
     this.labelControlLumpLabel.Text = "เหมาจ่าย";
     //
     // panelControl9
     //
     this.panelControl9.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.panelControl9.Appearance.BackColor = System.Drawing.Color.Transparent;
     this.panelControl9.Appearance.Options.UseBackColor = true;
     this.panelControl9.Controls.Add(this.labelControlMinrate);
     this.panelControl9.Controls.Add(this.labelControlPerUnit);
     this.panelControl9.Controls.Add(this.textEditRoomTypeElectricityUnitRateMonthly);
     this.panelControl9.Controls.Add(this.textEditRoomTypeWaterUnitRateMonthly);
     this.panelControl9.Controls.Add(this.textEditRoomTypePhoneUnitRateMonthly);
     this.panelControl9.Controls.Add(this.textEditElectricityPriceRateMin);
     this.panelControl9.Controls.Add(this.textEditWaterPriceRateMin);
     this.panelControl9.Controls.Add(this.labelControlBaht3);
     this.panelControl9.Controls.Add(this.labelControlBaht5);
     this.panelControl9.Location = new System.Drawing.Point(96, 3);
     this.panelControl9.Name = "panelControl9";
     this.panelControl9.Size = new System.Drawing.Size(206, 114);
     this.panelControl9.TabIndex = 395;
     //
     // labelControlMinrate
     //
     this.labelControlMinrate.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.labelControlMinrate.Location = new System.Drawing.Point(87, 3);
     this.labelControlMinrate.Name = "labelControlMinrate";
     this.labelControlMinrate.Size = new System.Drawing.Size(56, 13);
     this.labelControlMinrate.TabIndex = 403;
     this.labelControlMinrate.Text = "อัตราขั้นต่ำ";
     //
     // labelControlPerUnit
     //
     this.labelControlPerUnit.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.labelControlPerUnit.Location = new System.Drawing.Point(5, 3);
     this.labelControlPerUnit.Name = "labelControlPerUnit";
     this.labelControlPerUnit.Size = new System.Drawing.Size(70, 13);
     this.labelControlPerUnit.TabIndex = 400;
     this.labelControlPerUnit.Text = "อัตราต่อหน่วย";
     //
     // textEditRoomTypeElectricityUnitRateMonthly
     //
     this.textEditRoomTypeElectricityUnitRateMonthly.EditValue = "1000000.00";
     this.textEditRoomTypeElectricityUnitRateMonthly.Location = new System.Drawing.Point(5, 26);
     this.textEditRoomTypeElectricityUnitRateMonthly.Name = "textEditRoomTypeElectricityUnitRateMonthly";
     this.textEditRoomTypeElectricityUnitRateMonthly.Properties.DisplayFormat.FormatString = "n2";
     this.textEditRoomTypeElectricityUnitRateMonthly.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditRoomTypeElectricityUnitRateMonthly.Properties.EditFormat.FormatString = "n2";
     this.textEditRoomTypeElectricityUnitRateMonthly.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditRoomTypeElectricityUnitRateMonthly.Properties.Mask.BeepOnError = true;
     this.textEditRoomTypeElectricityUnitRateMonthly.Properties.Mask.EditMask = "0*([0-9]{1,7}|1000000)|0*([0-9]{1,7}|1000000)\\.([0-9]){2}";
     this.textEditRoomTypeElectricityUnitRateMonthly.Properties.Mask.IgnoreMaskBlank = false;
     this.textEditRoomTypeElectricityUnitRateMonthly.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditRoomTypeElectricityUnitRateMonthly.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditRoomTypeElectricityUnitRateMonthly.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.textEditRoomTypeElectricityUnitRateMonthly.Size = new System.Drawing.Size(70, 20);
     this.textEditRoomTypeElectricityUnitRateMonthly.TabIndex = 395;
     //
     // textEditRoomTypeWaterUnitRateMonthly
     //
     this.textEditRoomTypeWaterUnitRateMonthly.EditValue = "1000000.00";
     this.textEditRoomTypeWaterUnitRateMonthly.Location = new System.Drawing.Point(5, 52);
     this.textEditRoomTypeWaterUnitRateMonthly.Name = "textEditRoomTypeWaterUnitRateMonthly";
     this.textEditRoomTypeWaterUnitRateMonthly.Properties.DisplayFormat.FormatString = "n2";
     this.textEditRoomTypeWaterUnitRateMonthly.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditRoomTypeWaterUnitRateMonthly.Properties.EditFormat.FormatString = "n2";
     this.textEditRoomTypeWaterUnitRateMonthly.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditRoomTypeWaterUnitRateMonthly.Properties.Mask.BeepOnError = true;
     this.textEditRoomTypeWaterUnitRateMonthly.Properties.Mask.EditMask = "0*([0-9]{1,7}|1000000)|0*([0-9]{1,7}|1000000)\\.([0-9]){2}";
     this.textEditRoomTypeWaterUnitRateMonthly.Properties.Mask.IgnoreMaskBlank = false;
     this.textEditRoomTypeWaterUnitRateMonthly.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditRoomTypeWaterUnitRateMonthly.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditRoomTypeWaterUnitRateMonthly.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.textEditRoomTypeWaterUnitRateMonthly.Size = new System.Drawing.Size(70, 20);
     this.textEditRoomTypeWaterUnitRateMonthly.TabIndex = 396;
     //
     // textEditRoomTypePhoneUnitRateMonthly
     //
     this.textEditRoomTypePhoneUnitRateMonthly.EditValue = "ใช้ข้อมูลจากตู้สาขา";
     this.textEditRoomTypePhoneUnitRateMonthly.Enabled = false;
     this.textEditRoomTypePhoneUnitRateMonthly.Location = new System.Drawing.Point(5, 78);
     this.textEditRoomTypePhoneUnitRateMonthly.Name = "textEditRoomTypePhoneUnitRateMonthly";
     this.textEditRoomTypePhoneUnitRateMonthly.Properties.Mask.BeepOnError = true;
     this.textEditRoomTypePhoneUnitRateMonthly.Properties.Mask.EditMask = "n2";
     this.textEditRoomTypePhoneUnitRateMonthly.Properties.Mask.IgnoreMaskBlank = false;
     this.textEditRoomTypePhoneUnitRateMonthly.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditRoomTypePhoneUnitRateMonthly.Size = new System.Drawing.Size(147, 20);
     this.textEditRoomTypePhoneUnitRateMonthly.TabIndex = 397;
     //
     // textEditElectricityPriceRateMin
     //
     this.textEditElectricityPriceRateMin.EditValue = "100000000000000000";
     this.textEditElectricityPriceRateMin.Location = new System.Drawing.Point(80, 26);
     this.textEditElectricityPriceRateMin.Name = "textEditElectricityPriceRateMin";
     this.textEditElectricityPriceRateMin.Properties.DisplayFormat.FormatString = "n2";
     this.textEditElectricityPriceRateMin.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditElectricityPriceRateMin.Properties.EditFormat.FormatString = "n2";
     this.textEditElectricityPriceRateMin.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditElectricityPriceRateMin.Properties.Mask.BeepOnError = true;
     this.textEditElectricityPriceRateMin.Properties.Mask.EditMask = "0*([0-9]{1,7}|1000000)|0*([0-9]{1,7}|1000000)\\.([0-9]){2}";
     this.textEditElectricityPriceRateMin.Properties.Mask.IgnoreMaskBlank = false;
     this.textEditElectricityPriceRateMin.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditElectricityPriceRateMin.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditElectricityPriceRateMin.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.textEditElectricityPriceRateMin.Size = new System.Drawing.Size(72, 20);
     this.textEditElectricityPriceRateMin.TabIndex = 398;
     //
     // textEditWaterPriceRateMin
     //
     this.textEditWaterPriceRateMin.EditValue = "1000000.00";
     this.textEditWaterPriceRateMin.Location = new System.Drawing.Point(80, 52);
     this.textEditWaterPriceRateMin.Name = "textEditWaterPriceRateMin";
     this.textEditWaterPriceRateMin.Properties.DisplayFormat.FormatString = "n2";
     this.textEditWaterPriceRateMin.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditWaterPriceRateMin.Properties.EditFormat.FormatString = "n2";
     this.textEditWaterPriceRateMin.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditWaterPriceRateMin.Properties.Mask.BeepOnError = true;
     this.textEditWaterPriceRateMin.Properties.Mask.EditMask = "0*([0-9]{1,7}|1000000)|0*([0-9]{1,7}|1000000)\\.([0-9]){2}";
     this.textEditWaterPriceRateMin.Properties.Mask.IgnoreMaskBlank = false;
     this.textEditWaterPriceRateMin.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditWaterPriceRateMin.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditWaterPriceRateMin.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.textEditWaterPriceRateMin.Size = new System.Drawing.Size(72, 20);
     this.textEditWaterPriceRateMin.TabIndex = 399;
     //
     // labelControlBaht3
     //
     this.labelControlBaht3.Location = new System.Drawing.Point(158, 28);
     this.labelControlBaht3.Name = "labelControlBaht3";
     this.labelControlBaht3.Size = new System.Drawing.Size(20, 13);
     this.labelControlBaht3.TabIndex = 401;
     this.labelControlBaht3.Text = "บาท";
     //
     // labelControlBaht5
     //
     this.labelControlBaht5.Location = new System.Drawing.Point(158, 55);
     this.labelControlBaht5.Name = "labelControlBaht5";
     this.labelControlBaht5.Size = new System.Drawing.Size(20, 13);
     this.labelControlBaht5.TabIndex = 402;
     this.labelControlBaht5.Text = "บาท";
     //
     // textEditRoomTypeRateMonthly
     //
     this.textEditRoomTypeRateMonthly.EditValue = "100000000000000";
     this.textEditRoomTypeRateMonthly.Location = new System.Drawing.Point(120, 38);
     this.textEditRoomTypeRateMonthly.Name = "textEditRoomTypeRateMonthly";
     this.textEditRoomTypeRateMonthly.Properties.DisplayFormat.FormatString = "n2";
     this.textEditRoomTypeRateMonthly.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditRoomTypeRateMonthly.Properties.EditFormat.FormatString = "n2";
     this.textEditRoomTypeRateMonthly.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditRoomTypeRateMonthly.Properties.Mask.EditMask = "0*([0-9]{1,7}|1000000)|0*([0-9]{1,7}|1000000)\\.([0-9]){2}";
     this.textEditRoomTypeRateMonthly.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditRoomTypeRateMonthly.Properties.Mask.ShowPlaceHolders = false;
     this.textEditRoomTypeRateMonthly.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditRoomTypeRateMonthly.Properties.MaxLength = 7;
     this.textEditRoomTypeRateMonthly.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.textEditRoomTypeRateMonthly.Size = new System.Drawing.Size(70, 20);
     this.textEditRoomTypeRateMonthly.TabIndex = 395;
     //
     // textEditRoomTypeInsurerateRateMonthly
     //
     this.textEditRoomTypeInsurerateRateMonthly.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditRoomTypeInsurerateRateMonthly.EditValue = "999999999999";
     this.textEditRoomTypeInsurerateRateMonthly.Location = new System.Drawing.Point(332, 37);
     this.textEditRoomTypeInsurerateRateMonthly.Name = "textEditRoomTypeInsurerateRateMonthly";
     this.textEditRoomTypeInsurerateRateMonthly.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False;
     this.textEditRoomTypeInsurerateRateMonthly.Properties.DisplayFormat.FormatString = "n2";
     this.textEditRoomTypeInsurerateRateMonthly.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditRoomTypeInsurerateRateMonthly.Properties.EditFormat.FormatString = "n2";
     this.textEditRoomTypeInsurerateRateMonthly.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditRoomTypeInsurerateRateMonthly.Properties.Mask.BeepOnError = true;
     this.textEditRoomTypeInsurerateRateMonthly.Properties.Mask.EditMask = "0*([0-9]{1,7}|1000000)|0*([0-9]{1,7}|1000000)\\.([0-9]){2}";
     this.textEditRoomTypeInsurerateRateMonthly.Properties.Mask.IgnoreMaskBlank = false;
     this.textEditRoomTypeInsurerateRateMonthly.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditRoomTypeInsurerateRateMonthly.Properties.Mask.ShowPlaceHolders = false;
     this.textEditRoomTypeInsurerateRateMonthly.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditRoomTypeInsurerateRateMonthly.Properties.MaxLength = 7;
     this.textEditRoomTypeInsurerateRateMonthly.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.textEditRoomTypeInsurerateRateMonthly.Size = new System.Drawing.Size(70, 20);
     this.textEditRoomTypeInsurerateRateMonthly.TabIndex = 402;
     //
     // textEditRoomTypeAdvanceMonth
     //
     this.textEditRoomTypeAdvanceMonth.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditRoomTypeAdvanceMonth.EditValue = "";
     this.textEditRoomTypeAdvanceMonth.Location = new System.Drawing.Point(119, 68);
     this.textEditRoomTypeAdvanceMonth.Name = "textEditRoomTypeAdvanceMonth";
     this.textEditRoomTypeAdvanceMonth.Properties.Mask.BeepOnError = true;
     this.textEditRoomTypeAdvanceMonth.Properties.Mask.EditMask = "0*([0-9]{1,2})|10";
     this.textEditRoomTypeAdvanceMonth.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditRoomTypeAdvanceMonth.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditRoomTypeAdvanceMonth.Properties.MaxLength = 2;
     this.textEditRoomTypeAdvanceMonth.Properties.NullText = "0";
     this.textEditRoomTypeAdvanceMonth.Properties.NullValuePrompt = "0";
     this.textEditRoomTypeAdvanceMonth.Properties.NullValuePromptShowForEmptyValue = true;
     this.textEditRoomTypeAdvanceMonth.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.textEditRoomTypeAdvanceMonth.Size = new System.Drawing.Size(72, 20);
     this.textEditRoomTypeAdvanceMonth.TabIndex = 403;
     //
     // labelControlInsurerate
     //
     this.labelControlInsurerate.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlInsurerate.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlInsurerate.Location = new System.Drawing.Point(236, 37);
     this.labelControlInsurerate.Name = "labelControlInsurerate";
     this.labelControlInsurerate.Size = new System.Drawing.Size(90, 20);
     this.labelControlInsurerate.TabIndex = 405;
     this.labelControlInsurerate.Text = "ค่าประกันห้อง :";
     //
     // labelControlRoomTypeRate
     //
     this.labelControlRoomTypeRate.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlRoomTypeRate.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlRoomTypeRate.Location = new System.Drawing.Point(6, 35);
     this.labelControlRoomTypeRate.Name = "labelControlRoomTypeRate";
     this.labelControlRoomTypeRate.Size = new System.Drawing.Size(108, 23);
     this.labelControlRoomTypeRate.TabIndex = 404;
     this.labelControlRoomTypeRate.Text = "ค่าเช่าห้อง :";
     //
     // labelControlDeposit
     //
     this.labelControlDeposit.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlDeposit.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlDeposit.Location = new System.Drawing.Point(5, 69);
     this.labelControlDeposit.Name = "labelControlDeposit";
     this.labelControlDeposit.Size = new System.Drawing.Size(110, 18);
     this.labelControlDeposit.TabIndex = 406;
     this.labelControlDeposit.Text = "ค่าเช่าล่วงหน้า :";
     //
     // labelControlBaht
     //
     this.labelControlBaht.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlBaht.Location = new System.Drawing.Point(194, 38);
     this.labelControlBaht.Name = "labelControlBaht";
     this.labelControlBaht.Size = new System.Drawing.Size(52, 20);
     this.labelControlBaht.TabIndex = 407;
     this.labelControlBaht.Text = "บาท";
     //
     // labelControlMonth
     //
     this.labelControlMonth.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlMonth.Location = new System.Drawing.Point(194, 67);
     this.labelControlMonth.Name = "labelControlMonth";
     this.labelControlMonth.Size = new System.Drawing.Size(41, 20);
     this.labelControlMonth.TabIndex = 408;
     this.labelControlMonth.Text = "เดือน";
     //
     // labelControlBaht2
     //
     this.labelControlBaht2.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlBaht2.Location = new System.Drawing.Point(411, 37);
     this.labelControlBaht2.Name = "labelControlBaht2";
     this.labelControlBaht2.Size = new System.Drawing.Size(61, 20);
     this.labelControlBaht2.TabIndex = 409;
     this.labelControlBaht2.Text = "บาท";
     //
     // textEditRoomTypeLabel
     //
     this.textEditRoomTypeLabel.EditValue = "";
     this.textEditRoomTypeLabel.Enabled = false;
     this.textEditRoomTypeLabel.Location = new System.Drawing.Point(131, 14);
     this.textEditRoomTypeLabel.Name = "textEditRoomTypeLabel";
     this.textEditRoomTypeLabel.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False;
     this.textEditRoomTypeLabel.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditRoomTypeLabel.Properties.MaxLength = 300;
     this.textEditRoomTypeLabel.Size = new System.Drawing.Size(282, 20);
     this.textEditRoomTypeLabel.TabIndex = 411;
     //
     // labelControlRoomTypeLabel
     //
     this.labelControlRoomTypeLabel.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlRoomTypeLabel.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlRoomTypeLabel.Location = new System.Drawing.Point(20, 14);
     this.labelControlRoomTypeLabel.Name = "labelControlRoomTypeLabel";
     this.labelControlRoomTypeLabel.Size = new System.Drawing.Size(106, 19);
     this.labelControlRoomTypeLabel.TabIndex = 412;
     this.labelControlRoomTypeLabel.Text = "ชื่อประเภทห้อง :";
     //
     // panelControl8
     //
     this.panelControl8.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl8.Controls.Add(this.labelControlRequired);
     this.panelControl8.Controls.Add(this.bttDelete);
     this.panelControl8.Controls.Add(this.bttAdd);
     this.panelControl8.Controls.Add(this.bttEdit);
     this.panelControl8.Controls.Add(this.bttCancel);
     this.panelControl8.Controls.Add(this.bttSave);
     this.panelControl8.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.panelControl8.Location = new System.Drawing.Point(2, 777);
     this.panelControl8.Name = "panelControl8";
     this.panelControl8.Size = new System.Drawing.Size(588, 66);
     this.panelControl8.TabIndex = 416;
     //
     // labelControlRequired
     //
     this.labelControlRequired.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControlRequired.Location = new System.Drawing.Point(12, 21);
     this.labelControlRequired.Name = "labelControlRequired";
     this.labelControlRequired.Size = new System.Drawing.Size(50, 13);
     this.labelControlRequired.TabIndex = 430;
     this.labelControlRequired.Text = "* โปรดระบุ";
     //
     // bttDelete
     //
     this.bttDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttDelete.Image = global::DXWindowsApplication2.Properties.Resources.delete;
     this.bttDelete.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttDelete.Location = new System.Drawing.Point(363, 3);
     this.bttDelete.Name = "bttDelete";
     this.bttDelete.Size = new System.Drawing.Size(70, 55);
     this.bttDelete.TabIndex = 20;
     this.bttDelete.Text = "ลบข้อมูล";
     this.bttDelete.Click += new System.EventHandler(this.bttDelete_Click);
     //
     // bttAdd
     //
     this.bttAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttAdd.Image = global::DXWindowsApplication2.Properties.Resources.Add;
     this.bttAdd.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttAdd.Location = new System.Drawing.Point(211, 3);
     this.bttAdd.Name = "bttAdd";
     this.bttAdd.Size = new System.Drawing.Size(70, 55);
     this.bttAdd.TabIndex = 18;
     this.bttAdd.Text = "เพิ่มข้อมูล";
     this.bttAdd.Click += new System.EventHandler(this.bttAdd_Click);
     //
     // bttEdit
     //
     this.bttEdit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttEdit.Image = global::DXWindowsApplication2.Properties.Resources.edit;
     this.bttEdit.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttEdit.Location = new System.Drawing.Point(287, 3);
     this.bttEdit.Name = "bttEdit";
     this.bttEdit.Size = new System.Drawing.Size(70, 55);
     this.bttEdit.TabIndex = 19;
     this.bttEdit.Text = "แก้ไขข้อมูล";
     this.bttEdit.Click += new System.EventHandler(this.bttEdit_Click);
     //
     // bttCancel
     //
     this.bttCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttCancel.Enabled = false;
     this.bttCancel.Image = global::DXWindowsApplication2.Properties.Resources.Close;
     this.bttCancel.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttCancel.Location = new System.Drawing.Point(515, 3);
     this.bttCancel.Name = "bttCancel";
     this.bttCancel.Size = new System.Drawing.Size(70, 55);
     this.bttCancel.TabIndex = 22;
     this.bttCancel.Text = "ยกเลิก";
     this.bttCancel.Click += new System.EventHandler(this.bttCancel_Click);
     //
     // bttSave
     //
     this.bttSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttSave.Enabled = false;
     this.bttSave.Image = global::DXWindowsApplication2.Properties.Resources.savedisk;
     this.bttSave.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttSave.Location = new System.Drawing.Point(439, 3);
     this.bttSave.Name = "bttSave";
     this.bttSave.Size = new System.Drawing.Size(70, 55);
     this.bttSave.TabIndex = 21;
     this.bttSave.Text = "บันทึก";
     this.bttSave.Click += new System.EventHandler(this.bttSave_Click);
     //
     // panelControl3
     //
     this.panelControl3.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl3.Controls.Add(this.groupControlRoomTypeInfo);
     this.panelControl3.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panelControl3.Location = new System.Drawing.Point(0, 0);
     this.panelControl3.Name = "panelControl3";
     this.panelControl3.Size = new System.Drawing.Size(592, 845);
     this.panelControl3.TabIndex = 12;
     //
     // splitContainerControl1
     //
     this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerControl1.Location = new System.Drawing.Point(0, 0);
     this.splitContainerControl1.Name = "splitContainerControl1";
     this.splitContainerControl1.Panel1.Text = "Panel1";
     this.splitContainerControl1.Panel2.Text = "Panel2";
     this.splitContainerControl1.Size = new System.Drawing.Size(949, 845);
     this.splitContainerControl1.SplitterPosition = 585;
     this.splitContainerControl1.TabIndex = 0;
     this.splitContainerControl1.Text = "splitContainerControl1";
     //
     // splitContainerControl2
     //
     this.splitContainerControl2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerControl2.Location = new System.Drawing.Point(4, 4);
     this.splitContainerControl2.Name = "splitContainerControl2";
     this.splitContainerControl2.Panel1.Controls.Add(this.groupControlRoomtypeList);
     this.splitContainerControl2.Panel1.Text = "Panel1";
     this.splitContainerControl2.Panel2.Controls.Add(this.panelControl3);
     this.splitContainerControl2.Panel2.Text = "Panel2";
     this.splitContainerControl2.Size = new System.Drawing.Size(949, 845);
     this.splitContainerControl2.SplitterPosition = 352;
     this.splitContainerControl2.TabIndex = 17;
     this.splitContainerControl2.Text = "splitContainerControl2";
     //
     // groupControlRoomtypeList
     //
     this.groupControlRoomtypeList.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlRoomtypeList.AppearanceCaption.Options.UseFont = true;
     this.groupControlRoomtypeList.Controls.Add(this.gridControlRoomType);
     this.groupControlRoomtypeList.Dock = System.Windows.Forms.DockStyle.Fill;
     this.groupControlRoomtypeList.Location = new System.Drawing.Point(0, 0);
     this.groupControlRoomtypeList.Name = "groupControlRoomtypeList";
     this.groupControlRoomtypeList.Size = new System.Drawing.Size(352, 845);
     this.groupControlRoomtypeList.TabIndex = 0;
     this.groupControlRoomtypeList.Text = "รายการประเภทห้อง";
     //
     // gridControlRoomType
     //
     this.gridControlRoomType.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlRoomType.Location = new System.Drawing.Point(2, 22);
     this.gridControlRoomType.MainView = this.gridView1;
     this.gridControlRoomType.Name = "gridControlRoomType";
     this.gridControlRoomType.Size = new System.Drawing.Size(348, 821);
     this.gridControlRoomType.TabIndex = 0;
     this.gridControlRoomType.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridView1});
     //
     // gridView1
     //
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.roomtype_label,
     this.room_count,
     this.roomtype_month_electric_checked,
     this.roomtype_month_water_checked,
     this.roomtype_month_electric_lumpchecked,
     this.roomtype_month_water_lumpchecked,
     this.roomtype_id});
     this.gridView1.GridControl = this.gridControlRoomType;
     this.gridView1.Name = "gridView1";
     this.gridView1.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridView1.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridView1.OptionsFind.AlwaysVisible = true;
     this.gridView1.OptionsFind.ShowCloseButton = false;
     this.gridView1.OptionsView.EnableAppearanceEvenRow = true;
     this.gridView1.OptionsView.ShowGroupPanel = false;
     this.gridView1.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.gridView1_FocusedRowChanged);
     //
     // roomtype_label
     //
     this.roomtype_label.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.roomtype_label.AppearanceHeader.Options.UseFont = true;
     this.roomtype_label.Caption = "ชื่อประเภท";
     this.roomtype_label.FieldName = "roomtype_label";
     this.roomtype_label.Name = "roomtype_label";
     this.roomtype_label.OptionsColumn.AllowEdit = false;
     this.roomtype_label.OptionsColumn.AllowFocus = false;
     this.roomtype_label.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.roomtype_label.OptionsColumn.AllowMove = false;
     this.roomtype_label.Visible = true;
     this.roomtype_label.VisibleIndex = 0;
     //
     // room_count
     //
     this.room_count.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.room_count.AppearanceHeader.Options.UseFont = true;
     this.room_count.Caption = "จำนวนห้อง";
     this.room_count.FieldName = "room_count";
     this.room_count.Name = "room_count";
     this.room_count.OptionsColumn.AllowEdit = false;
     this.room_count.OptionsColumn.AllowFocus = false;
     this.room_count.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.room_count.OptionsColumn.AllowMove = false;
     this.room_count.Visible = true;
     this.room_count.VisibleIndex = 1;
     //
     // roomtype_month_electric_checked
     //
     this.roomtype_month_electric_checked.Caption = "gridColumn1";
     this.roomtype_month_electric_checked.FieldName = "roomtype_month_electric_checked";
     this.roomtype_month_electric_checked.Name = "roomtype_month_electric_checked";
     //
     // roomtype_month_water_checked
     //
     this.roomtype_month_water_checked.Caption = "gridColumn1";
     this.roomtype_month_water_checked.FieldName = "roomtype_month_water_checked";
     this.roomtype_month_water_checked.Name = "roomtype_month_water_checked";
     //
     // roomtype_month_electric_lumpchecked
     //
     this.roomtype_month_electric_lumpchecked.Caption = "gridColumn1";
     this.roomtype_month_electric_lumpchecked.FieldName = "roomtype_month_electric_lumpchecked";
     this.roomtype_month_electric_lumpchecked.Name = "roomtype_month_electric_lumpchecked";
     //
     // roomtype_month_water_lumpchecked
     //
     this.roomtype_month_water_lumpchecked.Caption = "gridColumn1";
     this.roomtype_month_water_lumpchecked.FieldName = "roomtype_month_water_lumpchecked";
     this.roomtype_month_water_lumpchecked.Name = "roomtype_month_water_lumpchecked";
     //
     // roomtype_id
     //
     this.roomtype_id.Caption = "gridColumn1";
     this.roomtype_id.FieldName = "roomtype_id";
     this.roomtype_id.Name = "roomtype_id";
     //
     // panelControl2
     //
     this.panelControl2.Appearance.BackColor = System.Drawing.Color.WhiteSmoke;
     this.panelControl2.Appearance.Options.UseBackColor = true;
     this.panelControl2.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl2.Controls.Add(this.splitContainerControl1);
     this.panelControl2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panelControl2.Location = new System.Drawing.Point(4, 4);
     this.panelControl2.Name = "panelControl2";
     this.panelControl2.Size = new System.Drawing.Size(949, 845);
     this.panelControl2.TabIndex = 16;
     //
     // BasicInfoRoomType
     //
     this.Appearance.BackColor = System.Drawing.Color.WhiteSmoke;
     this.Appearance.Options.UseBackColor = true;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoScroll = true;
     this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.Controls.Add(this.splitContainerControl2);
     this.Controls.Add(this.panelControl2);
     this.Name = "BasicInfoRoomType";
     this.Padding = new System.Windows.Forms.Padding(4);
     this.Size = new System.Drawing.Size(957, 853);
     ((System.ComponentModel.ISupportInitialize)(this.groupControlRoomTypeInfo)).EndInit();
     this.groupControlRoomTypeInfo.ResumeLayout(false);
     this.xtraScrollableControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.panelControlDaily)).EndInit();
     this.panelControlDaily.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControlDaily)).EndInit();
     this.groupControlDaily.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomTypeRateDaily.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomTypeAdvanceDaily.Properties)).EndInit();
     this.groupBoxPublicDaily.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl6)).EndInit();
     this.panelControl6.ResumeLayout(false);
     this.panelControl6.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditDailyPhone.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditDailyWater.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditDailyElectric.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl7)).EndInit();
     this.panelControl7.ResumeLayout(false);
     this.panelControl7.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditWaterSumDaily.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditLumpSumDaily.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditLampSumDaily.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditWaterSumDaily.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl11)).EndInit();
     this.panelControl11.ResumeLayout(false);
     this.panelControl11.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomTypeElectricityUnitRateDaily.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomTypeWaterUnitRateDaily.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomTypePhoneUnitRateDaily.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditElectricityPriceRateMinDaily.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditWaterPriceRateMinDaily.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditDaily.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditSourcePath.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditOldIconPath.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtEditRoomTypeCode.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtEditId.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditIconPath.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControlAdditional)).EndInit();
     this.panelControlAdditional.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControlAdditional)).EndInit();
     this.groupControlAdditional.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlItem)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControlMonthly)).EndInit();
     this.panelControlMonthly.ResumeLayout(false);
     this.panelControlMonthly.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureEditIcon.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlMonthly)).EndInit();
     this.groupControlMonthly.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.checkEditMonthly.Properties)).EndInit();
     this.groupBoxPublic.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl14)).EndInit();
     this.panelControl14.ResumeLayout(false);
     this.panelControl14.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditMonthlyPhone.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditMonthlyWater.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditMonthlyElectric.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).EndInit();
     this.panelControl4.ResumeLayout(false);
     this.panelControl4.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditWaterSum.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditLumpSum.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditLampSum.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditWaterSum.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl9)).EndInit();
     this.panelControl9.ResumeLayout(false);
     this.panelControl9.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomTypeElectricityUnitRateMonthly.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomTypeWaterUnitRateMonthly.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomTypePhoneUnitRateMonthly.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditElectricityPriceRateMin.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditWaterPriceRateMin.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomTypeRateMonthly.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomTypeInsurerateRateMonthly.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomTypeAdvanceMonth.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomTypeLabel.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl8)).EndInit();
     this.panelControl8.ResumeLayout(false);
     this.panelControl8.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit();
     this.panelControl3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit();
     this.splitContainerControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).EndInit();
     this.splitContainerControl2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControlRoomtypeList)).EndInit();
     this.groupControlRoomtypeList.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlRoomType)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit();
     this.panelControl2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #12
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.xtraScrollableControl1 = new DevExpress.XtraEditors.XtraScrollableControl();
     this.labelControl5 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
     this.labelControlRequired = new DevExpress.XtraEditors.LabelControl();
     this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
     this.textEditRoomLabel = new DevExpress.XtraEditors.TextEdit();
     this.lookUpEditRoomTypeRight = new DevExpress.XtraEditors.LookUpEdit();
     this.labelControlRoomTypeRight = new DevExpress.XtraEditors.LabelControl();
     this.textEditFloorCodeRef = new DevExpress.XtraEditors.TextEdit();
     this.lookUpEditFloor = new DevExpress.XtraEditors.LookUpEdit();
     this.lookUpEditBuilding = new DevExpress.XtraEditors.LookUpEdit();
     this.labelControlFloor = new DevExpress.XtraEditors.LabelControl();
     this.labelControlRoomLabel = new DevExpress.XtraEditors.LabelControl();
     this.labelControlRoomId = new DevExpress.XtraEditors.LabelControl();
     this.labelControlBuilding = new DevExpress.XtraEditors.LabelControl();
     this.groupControlRoomInfo = new DevExpress.XtraEditors.GroupControl();
     this.panelControl3 = new DevExpress.XtraEditors.PanelControl();
     this.panelControl4 = new DevExpress.XtraEditors.PanelControl();
     this.bttEdit = new DevExpress.XtraEditors.SimpleButton();
     this.textEditRoomCode = new DevExpress.XtraEditors.TextEdit();
     this.bttDelete = new DevExpress.XtraEditors.SimpleButton();
     this.bttSave = new DevExpress.XtraEditors.SimpleButton();
     this.bttCancel = new DevExpress.XtraEditors.SimpleButton();
     this.textEditRoomId = new DevExpress.XtraEditors.TextEdit();
     this.bttAdd = new DevExpress.XtraEditors.SimpleButton();
     this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl();
     this.groupControlRoomList = new DevExpress.XtraEditors.GroupControl();
     this.gridControlRoom = new DevExpress.XtraGrid.GridControl();
     this.gridViewRoom = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.room_room_check = new DevExpress.XtraGrid.Columns.GridColumn();
     this.room_building_code = new DevExpress.XtraGrid.Columns.GridColumn();
     this.room_floor_code = new DevExpress.XtraGrid.Columns.GridColumn();
     this.room_coderef = new DevExpress.XtraGrid.Columns.GridColumn();
     this.room_room_label = new DevExpress.XtraGrid.Columns.GridColumn();
     this.room_roomtype_label = new DevExpress.XtraGrid.Columns.GridColumn();
     this.room_room_id = new DevExpress.XtraGrid.Columns.GridColumn();
     this.room_building_id = new DevExpress.XtraGrid.Columns.GridColumn();
     this.room_floor_id = new DevExpress.XtraGrid.Columns.GridColumn();
     this.room_room_code = new DevExpress.XtraGrid.Columns.GridColumn();
     this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
     this.labelControlRoomTypeLeft = new DevExpress.XtraEditors.LabelControl();
     this.checkEditSelectAll = new DevExpress.XtraEditors.CheckEdit();
     this.bttEditRoomType = new DevExpress.XtraEditors.SimpleButton();
     this.lookUpEditRoomTypeLeft = new DevExpress.XtraEditors.LookUpEdit();
     this.splitContainerControl2 = new DevExpress.XtraEditors.SplitContainerControl();
     this.panelControl2 = new DevExpress.XtraEditors.PanelControl();
     this.xtraScrollableControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomLabel.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditRoomTypeRight.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditFloorCodeRef.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditFloor.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditBuilding.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlRoomInfo)).BeginInit();
     this.groupControlRoomInfo.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit();
     this.panelControl3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).BeginInit();
     this.panelControl4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomCode.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomId.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
     this.splitContainerControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlRoomList)).BeginInit();
     this.groupControlRoomList.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlRoom)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewRoom)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
     this.panelControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditSelectAll.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditRoomTypeLeft.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).BeginInit();
     this.splitContainerControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit();
     this.panelControl2.SuspendLayout();
     this.SuspendLayout();
     //
     // xtraScrollableControl1
     //
     this.xtraScrollableControl1.Controls.Add(this.labelControl5);
     this.xtraScrollableControl1.Controls.Add(this.labelControl3);
     this.xtraScrollableControl1.Controls.Add(this.labelControl2);
     this.xtraScrollableControl1.Controls.Add(this.labelControl1);
     this.xtraScrollableControl1.Controls.Add(this.labelControlRequired);
     this.xtraScrollableControl1.Controls.Add(this.labelControl4);
     this.xtraScrollableControl1.Controls.Add(this.textEditRoomLabel);
     this.xtraScrollableControl1.Controls.Add(this.lookUpEditRoomTypeRight);
     this.xtraScrollableControl1.Controls.Add(this.labelControlRoomTypeRight);
     this.xtraScrollableControl1.Controls.Add(this.textEditFloorCodeRef);
     this.xtraScrollableControl1.Controls.Add(this.lookUpEditFloor);
     this.xtraScrollableControl1.Controls.Add(this.lookUpEditBuilding);
     this.xtraScrollableControl1.Controls.Add(this.labelControlFloor);
     this.xtraScrollableControl1.Controls.Add(this.labelControlRoomLabel);
     this.xtraScrollableControl1.Controls.Add(this.labelControlRoomId);
     this.xtraScrollableControl1.Controls.Add(this.labelControlBuilding);
     this.xtraScrollableControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.xtraScrollableControl1.Location = new System.Drawing.Point(2, 22);
     this.xtraScrollableControl1.Name = "xtraScrollableControl1";
     this.xtraScrollableControl1.Size = new System.Drawing.Size(676, 408);
     this.xtraScrollableControl1.TabIndex = 0;
     //
     // labelControl5
     //
     this.labelControl5.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl5.Location = new System.Drawing.Point(22, 16);
     this.labelControl5.Name = "labelControl5";
     this.labelControl5.Size = new System.Drawing.Size(6, 13);
     this.labelControl5.TabIndex = 419;
     this.labelControl5.Text = "*";
     //
     // labelControl3
     //
     this.labelControl3.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl3.Location = new System.Drawing.Point(22, 44);
     this.labelControl3.Name = "labelControl3";
     this.labelControl3.Size = new System.Drawing.Size(6, 13);
     this.labelControl3.TabIndex = 418;
     this.labelControl3.Text = "*";
     //
     // labelControl2
     //
     this.labelControl2.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl2.Location = new System.Drawing.Point(22, 69);
     this.labelControl2.Name = "labelControl2";
     this.labelControl2.Size = new System.Drawing.Size(6, 13);
     this.labelControl2.TabIndex = 417;
     this.labelControl2.Text = "*";
     //
     // labelControl1
     //
     this.labelControl1.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl1.Location = new System.Drawing.Point(22, 119);
     this.labelControl1.Name = "labelControl1";
     this.labelControl1.Size = new System.Drawing.Size(6, 13);
     this.labelControl1.TabIndex = 416;
     this.labelControl1.Text = "*";
     //
     // labelControlRequired
     //
     this.labelControlRequired.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControlRequired.Location = new System.Drawing.Point(93, 173);
     this.labelControlRequired.Name = "labelControlRequired";
     this.labelControlRequired.Size = new System.Drawing.Size(50, 13);
     this.labelControlRequired.TabIndex = 415;
     this.labelControlRequired.Text = "* โปรดระบุ";
     //
     // labelControl4
     //
     this.labelControl4.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl4.Location = new System.Drawing.Point(22, 95);
     this.labelControl4.Name = "labelControl4";
     this.labelControl4.Size = new System.Drawing.Size(6, 13);
     this.labelControl4.TabIndex = 414;
     this.labelControl4.Text = "*";
     //
     // textEditRoomLabel
     //
     this.textEditRoomLabel.Enabled = false;
     this.textEditRoomLabel.Location = new System.Drawing.Point(149, 90);
     this.textEditRoomLabel.Name = "textEditRoomLabel";
     this.textEditRoomLabel.Properties.Mask.BeepOnError = true;
     this.textEditRoomLabel.Properties.Mask.EditMask = "([a-zA-Z0-9|ก-๙|\\\' \']){0,50}";
     this.textEditRoomLabel.Properties.Mask.IgnoreMaskBlank = false;
     this.textEditRoomLabel.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditRoomLabel.Properties.MaxLength = 50;
     this.textEditRoomLabel.Size = new System.Drawing.Size(238, 20);
     this.textEditRoomLabel.TabIndex = 4;
     //
     // lookUpEditRoomTypeRight
     //
     this.lookUpEditRoomTypeRight.Enabled = false;
     this.lookUpEditRoomTypeRight.Location = new System.Drawing.Point(150, 116);
     this.lookUpEditRoomTypeRight.Name = "lookUpEditRoomTypeRight";
     this.lookUpEditRoomTypeRight.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lookUpEditRoomTypeRight.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("roomtype_id", "ไอดี", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default),
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("roomtype_label", " ")});
     this.lookUpEditRoomTypeRight.Size = new System.Drawing.Size(237, 20);
     this.lookUpEditRoomTypeRight.TabIndex = 5;
     //
     // labelControlRoomTypeRight
     //
     this.labelControlRoomTypeRight.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlRoomTypeRight.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlRoomTypeRight.Location = new System.Drawing.Point(36, 119);
     this.labelControlRoomTypeRight.Name = "labelControlRoomTypeRight";
     this.labelControlRoomTypeRight.Size = new System.Drawing.Size(107, 17);
     this.labelControlRoomTypeRight.TabIndex = 36;
     this.labelControlRoomTypeRight.Text = "ประเภทห้อง :";
     //
     // textEditFloorCodeRef
     //
     this.textEditFloorCodeRef.Enabled = false;
     this.textEditFloorCodeRef.Location = new System.Drawing.Point(150, 64);
     this.textEditFloorCodeRef.Name = "textEditFloorCodeRef";
     this.textEditFloorCodeRef.Properties.Mask.BeepOnError = true;
     this.textEditFloorCodeRef.Properties.Mask.EditMask = "([A-Z|a-z|0-9|ก-๙]| )*";
     this.textEditFloorCodeRef.Properties.Mask.IgnoreMaskBlank = false;
     this.textEditFloorCodeRef.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditFloorCodeRef.Properties.MaxLength = 3;
     this.textEditFloorCodeRef.Size = new System.Drawing.Size(237, 20);
     this.textEditFloorCodeRef.TabIndex = 3;
     //
     // lookUpEditFloor
     //
     this.lookUpEditFloor.Enabled = false;
     this.lookUpEditFloor.Location = new System.Drawing.Point(150, 38);
     this.lookUpEditFloor.Name = "lookUpEditFloor";
     this.lookUpEditFloor.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lookUpEditFloor.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("floor_id", "ไอดี", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default),
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("floor_code", " ")});
     this.lookUpEditFloor.Size = new System.Drawing.Size(237, 20);
     this.lookUpEditFloor.TabIndex = 2;
     //
     // lookUpEditBuilding
     //
     this.lookUpEditBuilding.Enabled = false;
     this.lookUpEditBuilding.Location = new System.Drawing.Point(150, 12);
     this.lookUpEditBuilding.Name = "lookUpEditBuilding";
     this.lookUpEditBuilding.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lookUpEditBuilding.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("building_id", "", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default),
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("building_label", " ")});
     this.lookUpEditBuilding.Size = new System.Drawing.Size(237, 20);
     this.lookUpEditBuilding.TabIndex = 1;
     this.lookUpEditBuilding.EditValueChanged += new System.EventHandler(this.lookUpEditBuilding_EditValueChanged);
     //
     // labelControlFloor
     //
     this.labelControlFloor.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlFloor.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlFloor.Location = new System.Drawing.Point(36, 43);
     this.labelControlFloor.Name = "labelControlFloor";
     this.labelControlFloor.Size = new System.Drawing.Size(108, 15);
     this.labelControlFloor.TabIndex = 28;
     this.labelControlFloor.Text = "ชั้น :";
     //
     // labelControlRoomLabel
     //
     this.labelControlRoomLabel.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlRoomLabel.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlRoomLabel.Location = new System.Drawing.Point(43, 93);
     this.labelControlRoomLabel.Name = "labelControlRoomLabel";
     this.labelControlRoomLabel.Size = new System.Drawing.Size(100, 17);
     this.labelControlRoomLabel.TabIndex = 23;
     this.labelControlRoomLabel.Text = "ชื่อห้อง :";
     //
     // labelControlRoomId
     //
     this.labelControlRoomId.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlRoomId.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlRoomId.Location = new System.Drawing.Point(43, 67);
     this.labelControlRoomId.Name = "labelControlRoomId";
     this.labelControlRoomId.Size = new System.Drawing.Size(101, 17);
     this.labelControlRoomId.TabIndex = 21;
     this.labelControlRoomId.Text = "รหัสห้อง :";
     //
     // labelControlBuilding
     //
     this.labelControlBuilding.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlBuilding.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlBuilding.Location = new System.Drawing.Point(36, 15);
     this.labelControlBuilding.Name = "labelControlBuilding";
     this.labelControlBuilding.Size = new System.Drawing.Size(108, 17);
     this.labelControlBuilding.TabIndex = 20;
     this.labelControlBuilding.Text = "อาคาร :";
     //
     // groupControlRoomInfo
     //
     this.groupControlRoomInfo.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlRoomInfo.AppearanceCaption.Options.UseFont = true;
     this.groupControlRoomInfo.Controls.Add(this.xtraScrollableControl1);
     this.groupControlRoomInfo.Dock = System.Windows.Forms.DockStyle.Fill;
     this.groupControlRoomInfo.Location = new System.Drawing.Point(0, 0);
     this.groupControlRoomInfo.Name = "groupControlRoomInfo";
     this.groupControlRoomInfo.Size = new System.Drawing.Size(680, 432);
     this.groupControlRoomInfo.TabIndex = 0;
     this.groupControlRoomInfo.Text = "ข้อมูลห้อง";
     //
     // panelControl3
     //
     this.panelControl3.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl3.Controls.Add(this.groupControlRoomInfo);
     this.panelControl3.Controls.Add(this.panelControl4);
     this.panelControl3.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panelControl3.Location = new System.Drawing.Point(0, 0);
     this.panelControl3.Name = "panelControl3";
     this.panelControl3.Size = new System.Drawing.Size(680, 494);
     this.panelControl3.TabIndex = 12;
     //
     // panelControl4
     //
     this.panelControl4.Controls.Add(this.bttEdit);
     this.panelControl4.Controls.Add(this.textEditRoomCode);
     this.panelControl4.Controls.Add(this.bttDelete);
     this.panelControl4.Controls.Add(this.bttSave);
     this.panelControl4.Controls.Add(this.bttCancel);
     this.panelControl4.Controls.Add(this.textEditRoomId);
     this.panelControl4.Controls.Add(this.bttAdd);
     this.panelControl4.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.panelControl4.Location = new System.Drawing.Point(0, 432);
     this.panelControl4.Name = "panelControl4";
     this.panelControl4.Size = new System.Drawing.Size(680, 62);
     this.panelControl4.TabIndex = 39;
     //
     // bttEdit
     //
     this.bttEdit.Image = global::DXWindowsApplication2.Properties.Resources.edit;
     this.bttEdit.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttEdit.Location = new System.Drawing.Point(356, 3);
     this.bttEdit.Name = "bttEdit";
     this.bttEdit.Size = new System.Drawing.Size(75, 55);
     this.bttEdit.TabIndex = 7;
     this.bttEdit.Text = "แก้ไขข้อมูล";
     this.bttEdit.Click += new System.EventHandler(this.bttEdit_Click);
     //
     // textEditRoomCode
     //
     this.textEditRoomCode.Location = new System.Drawing.Point(105, 24);
     this.textEditRoomCode.Name = "textEditRoomCode";
     this.textEditRoomCode.Size = new System.Drawing.Size(74, 20);
     this.textEditRoomCode.TabIndex = 0;
     this.textEditRoomCode.Visible = false;
     //
     // bttDelete
     //
     this.bttDelete.Image = global::DXWindowsApplication2.Properties.Resources.delete;
     this.bttDelete.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttDelete.Location = new System.Drawing.Point(437, 3);
     this.bttDelete.Name = "bttDelete";
     this.bttDelete.Size = new System.Drawing.Size(75, 55);
     this.bttDelete.TabIndex = 8;
     this.bttDelete.Text = "ลบข้อมูล";
     this.bttDelete.Click += new System.EventHandler(this.bttDelete_Click);
     //
     // bttSave
     //
     this.bttSave.Enabled = false;
     this.bttSave.Image = global::DXWindowsApplication2.Properties.Resources.savedisk;
     this.bttSave.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttSave.Location = new System.Drawing.Point(518, 3);
     this.bttSave.Name = "bttSave";
     this.bttSave.Size = new System.Drawing.Size(75, 55);
     this.bttSave.TabIndex = 9;
     this.bttSave.Text = "บันทึก";
     this.bttSave.Click += new System.EventHandler(this.bttSave_Click);
     //
     // bttCancel
     //
     this.bttCancel.Enabled = false;
     this.bttCancel.Image = global::DXWindowsApplication2.Properties.Resources.Close;
     this.bttCancel.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttCancel.Location = new System.Drawing.Point(599, 3);
     this.bttCancel.Name = "bttCancel";
     this.bttCancel.Size = new System.Drawing.Size(75, 55);
     this.bttCancel.TabIndex = 10;
     this.bttCancel.Text = "ยกเลิก";
     this.bttCancel.Click += new System.EventHandler(this.bttCancel_Click);
     //
     // textEditRoomId
     //
     this.textEditRoomId.Location = new System.Drawing.Point(24, 24);
     this.textEditRoomId.Name = "textEditRoomId";
     this.textEditRoomId.Size = new System.Drawing.Size(74, 20);
     this.textEditRoomId.TabIndex = 0;
     this.textEditRoomId.Visible = false;
     //
     // bttAdd
     //
     this.bttAdd.Image = global::DXWindowsApplication2.Properties.Resources.Add;
     this.bttAdd.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttAdd.Location = new System.Drawing.Point(275, 3);
     this.bttAdd.Name = "bttAdd";
     this.bttAdd.Size = new System.Drawing.Size(75, 55);
     this.bttAdd.TabIndex = 6;
     this.bttAdd.Text = "เพิ่มข้อมูล";
     this.bttAdd.Click += new System.EventHandler(this.bttAdd_Click);
     //
     // splitContainerControl1
     //
     this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerControl1.Location = new System.Drawing.Point(0, 0);
     this.splitContainerControl1.Name = "splitContainerControl1";
     this.splitContainerControl1.Panel1.Text = "Panel1";
     this.splitContainerControl1.Panel2.Text = "Panel2";
     this.splitContainerControl1.Size = new System.Drawing.Size(1167, 494);
     this.splitContainerControl1.SplitterPosition = 585;
     this.splitContainerControl1.TabIndex = 0;
     this.splitContainerControl1.Text = "splitContainerControl1";
     //
     // groupControlRoomList
     //
     this.groupControlRoomList.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlRoomList.AppearanceCaption.Options.UseFont = true;
     this.groupControlRoomList.Controls.Add(this.gridControlRoom);
     this.groupControlRoomList.Controls.Add(this.panelControl1);
     this.groupControlRoomList.Dock = System.Windows.Forms.DockStyle.Fill;
     this.groupControlRoomList.Location = new System.Drawing.Point(0, 0);
     this.groupControlRoomList.Name = "groupControlRoomList";
     this.groupControlRoomList.Size = new System.Drawing.Size(482, 494);
     this.groupControlRoomList.TabIndex = 0;
     this.groupControlRoomList.Text = "รายการห้อง";
     //
     // gridControlRoom
     //
     this.gridControlRoom.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlRoom.Location = new System.Drawing.Point(2, 61);
     this.gridControlRoom.MainView = this.gridViewRoom;
     this.gridControlRoom.Name = "gridControlRoom";
     this.gridControlRoom.Size = new System.Drawing.Size(478, 431);
     this.gridControlRoom.TabIndex = 0;
     this.gridControlRoom.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewRoom});
     //
     // gridViewRoom
     //
     this.gridViewRoom.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.room_room_check,
     this.room_building_code,
     this.room_floor_code,
     this.room_coderef,
     this.room_room_label,
     this.room_roomtype_label,
     this.room_room_id,
     this.room_building_id,
     this.room_floor_id,
     this.room_room_code});
     this.gridViewRoom.GridControl = this.gridControlRoom;
     this.gridViewRoom.Name = "gridViewRoom";
     this.gridViewRoom.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridViewRoom.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridViewRoom.OptionsFind.AlwaysVisible = true;
     this.gridViewRoom.OptionsFind.ShowCloseButton = false;
     this.gridViewRoom.OptionsView.ShowGroupPanel = false;
     this.gridViewRoom.RowCellClick += new DevExpress.XtraGrid.Views.Grid.RowCellClickEventHandler(this.gridView1_RowCellClick);
     //
     // room_room_check
     //
     this.room_room_check.Caption = "เลือก";
     this.room_room_check.FieldName = "room_check";
     this.room_room_check.Name = "room_room_check";
     this.room_room_check.OptionsColumn.AllowFocus = false;
     this.room_room_check.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.True;
     this.room_room_check.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.room_room_check.OptionsColumn.AllowMove = false;
     this.room_room_check.OptionsColumn.FixedWidth = true;
     this.room_room_check.OptionsColumn.ShowCaption = false;
     this.room_room_check.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
     this.room_room_check.Visible = true;
     this.room_room_check.VisibleIndex = 0;
     this.room_room_check.Width = 54;
     //
     // room_building_code
     //
     this.room_building_code.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.room_building_code.AppearanceHeader.Options.UseFont = true;
     this.room_building_code.Caption = "อาคาร";
     this.room_building_code.FieldName = "building_label";
     this.room_building_code.Name = "room_building_code";
     this.room_building_code.OptionsColumn.AllowEdit = false;
     this.room_building_code.OptionsColumn.AllowFocus = false;
     this.room_building_code.Visible = true;
     this.room_building_code.VisibleIndex = 1;
     this.room_building_code.Width = 72;
     //
     // room_floor_code
     //
     this.room_floor_code.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.room_floor_code.AppearanceHeader.Options.UseFont = true;
     this.room_floor_code.Caption = "ชั้น";
     this.room_floor_code.FieldName = "floor_code";
     this.room_floor_code.Name = "room_floor_code";
     this.room_floor_code.OptionsColumn.AllowEdit = false;
     this.room_floor_code.OptionsColumn.AllowFocus = false;
     this.room_floor_code.Visible = true;
     this.room_floor_code.VisibleIndex = 2;
     this.room_floor_code.Width = 59;
     //
     // room_coderef
     //
     this.room_coderef.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.room_coderef.AppearanceHeader.Options.UseFont = true;
     this.room_coderef.Caption = "รหัสห้อง";
     this.room_coderef.FieldName = "coderef";
     this.room_coderef.Name = "room_coderef";
     this.room_coderef.OptionsColumn.AllowEdit = false;
     this.room_coderef.OptionsColumn.AllowFocus = false;
     this.room_coderef.Visible = true;
     this.room_coderef.VisibleIndex = 3;
     //
     // room_room_label
     //
     this.room_room_label.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.room_room_label.AppearanceHeader.Options.UseFont = true;
     this.room_room_label.Caption = "ชื่อห้อง";
     this.room_room_label.FieldName = "room_label";
     this.room_room_label.Name = "room_room_label";
     this.room_room_label.OptionsColumn.AllowEdit = false;
     this.room_room_label.OptionsColumn.AllowFocus = false;
     this.room_room_label.Visible = true;
     this.room_room_label.VisibleIndex = 4;
     this.room_room_label.Width = 69;
     //
     // room_roomtype_label
     //
     this.room_roomtype_label.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.room_roomtype_label.AppearanceHeader.Options.UseFont = true;
     this.room_roomtype_label.Caption = "ประเภทห้อง";
     this.room_roomtype_label.FieldName = "roomtype_label";
     this.room_roomtype_label.Name = "room_roomtype_label";
     this.room_roomtype_label.OptionsColumn.AllowEdit = false;
     this.room_roomtype_label.OptionsColumn.AllowFocus = false;
     this.room_roomtype_label.Visible = true;
     this.room_roomtype_label.VisibleIndex = 5;
     this.room_roomtype_label.Width = 73;
     //
     // room_room_id
     //
     this.room_room_id.Caption = "room_id";
     this.room_room_id.FieldName = "room_id";
     this.room_room_id.Name = "room_room_id";
     this.room_room_id.Width = 85;
     //
     // room_building_id
     //
     this.room_building_id.Caption = "Building ID";
     this.room_building_id.FieldName = "building_id";
     this.room_building_id.Name = "room_building_id";
     this.room_building_id.Width = 60;
     //
     // room_floor_id
     //
     this.room_floor_id.Caption = "floor_id";
     this.room_floor_id.FieldName = "floor_id";
     this.room_floor_id.Name = "room_floor_id";
     this.room_floor_id.Width = 74;
     //
     // room_room_code
     //
     this.room_room_code.Caption = "room_code";
     this.room_room_code.FieldName = "room_code";
     this.room_room_code.Name = "room_room_code";
     //
     // panelControl1
     //
     this.panelControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl1.Controls.Add(this.labelControlRoomTypeLeft);
     this.panelControl1.Controls.Add(this.checkEditSelectAll);
     this.panelControl1.Controls.Add(this.bttEditRoomType);
     this.panelControl1.Controls.Add(this.lookUpEditRoomTypeLeft);
     this.panelControl1.Dock = System.Windows.Forms.DockStyle.Top;
     this.panelControl1.Location = new System.Drawing.Point(2, 22);
     this.panelControl1.Name = "panelControl1";
     this.panelControl1.Size = new System.Drawing.Size(478, 39);
     this.panelControl1.TabIndex = 36;
     //
     // labelControlRoomTypeLeft
     //
     this.labelControlRoomTypeLeft.Location = new System.Drawing.Point(100, 12);
     this.labelControlRoomTypeLeft.Name = "labelControlRoomTypeLeft";
     this.labelControlRoomTypeLeft.Size = new System.Drawing.Size(62, 13);
     this.labelControlRoomTypeLeft.TabIndex = 39;
     this.labelControlRoomTypeLeft.Text = "ประเภทห้อง :";
     //
     // checkEditSelectAll
     //
     this.checkEditSelectAll.Location = new System.Drawing.Point(8, 9);
     this.checkEditSelectAll.Name = "checkEditSelectAll";
     this.checkEditSelectAll.Properties.Caption = "เลือกทั้งหมด";
     this.checkEditSelectAll.Size = new System.Drawing.Size(86, 19);
     this.checkEditSelectAll.TabIndex = 36;
     this.checkEditSelectAll.CheckedChanged += new System.EventHandler(this.checkEditSelectAll_CheckedChanged);
     //
     // bttEditRoomType
     //
     this.bttEditRoomType.Enabled = false;
     this.bttEditRoomType.Location = new System.Drawing.Point(304, 8);
     this.bttEditRoomType.Name = "bttEditRoomType";
     this.bttEditRoomType.Size = new System.Drawing.Size(116, 20);
     this.bttEditRoomType.TabIndex = 38;
     this.bttEditRoomType.Text = "ตั้งค่าประเภทห้อง";
     this.bttEditRoomType.Click += new System.EventHandler(this.bttEditRoomType_Click);
     //
     // lookUpEditRoomTypeLeft
     //
     this.lookUpEditRoomTypeLeft.Enabled = false;
     this.lookUpEditRoomTypeLeft.Location = new System.Drawing.Point(167, 8);
     this.lookUpEditRoomTypeLeft.Name = "lookUpEditRoomTypeLeft";
     this.lookUpEditRoomTypeLeft.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lookUpEditRoomTypeLeft.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("roomtype_id", "ไอดี", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default),
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("roomtype_label", "ประเภทห้อง")});
     this.lookUpEditRoomTypeLeft.Size = new System.Drawing.Size(131, 20);
     this.lookUpEditRoomTypeLeft.TabIndex = 37;
     //
     // splitContainerControl2
     //
     this.splitContainerControl2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerControl2.Location = new System.Drawing.Point(4, 4);
     this.splitContainerControl2.Name = "splitContainerControl2";
     this.splitContainerControl2.Panel1.Controls.Add(this.groupControlRoomList);
     this.splitContainerControl2.Panel1.Text = "Panel1";
     this.splitContainerControl2.Panel2.Controls.Add(this.panelControl3);
     this.splitContainerControl2.Panel2.Text = "Panel2";
     this.splitContainerControl2.Size = new System.Drawing.Size(1167, 494);
     this.splitContainerControl2.SplitterPosition = 482;
     this.splitContainerControl2.TabIndex = 17;
     this.splitContainerControl2.Text = "splitContainerControl2";
     //
     // panelControl2
     //
     this.panelControl2.Appearance.BackColor = System.Drawing.Color.WhiteSmoke;
     this.panelControl2.Appearance.Options.UseBackColor = true;
     this.panelControl2.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl2.Controls.Add(this.splitContainerControl1);
     this.panelControl2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panelControl2.Location = new System.Drawing.Point(4, 4);
     this.panelControl2.Name = "panelControl2";
     this.panelControl2.Size = new System.Drawing.Size(1167, 494);
     this.panelControl2.TabIndex = 16;
     //
     // BasicInfoRoom
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.splitContainerControl2);
     this.Controls.Add(this.panelControl2);
     this.Name = "BasicInfoRoom";
     this.Padding = new System.Windows.Forms.Padding(4);
     this.Size = new System.Drawing.Size(1175, 502);
     this.xtraScrollableControl1.ResumeLayout(false);
     this.xtraScrollableControl1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomLabel.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditRoomTypeRight.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditFloorCodeRef.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditFloor.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditBuilding.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlRoomInfo)).EndInit();
     this.groupControlRoomInfo.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit();
     this.panelControl3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).EndInit();
     this.panelControl4.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomCode.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomId.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit();
     this.splitContainerControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControlRoomList)).EndInit();
     this.groupControlRoomList.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlRoom)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewRoom)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
     this.panelControl1.ResumeLayout(false);
     this.panelControl1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditSelectAll.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditRoomTypeLeft.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).EndInit();
     this.splitContainerControl2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit();
     this.panelControl2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #13
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.splitContainerControl2 = new DevExpress.XtraEditors.SplitContainerControl();
     this.groupControlList = new DevExpress.XtraEditors.GroupControl();
     this.gridControlRoomLeave = new DevExpress.XtraGrid.GridControl();
     this.gvControlRoomLeave = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.room_coderef = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_room_label = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_building_label = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_floor_code = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_roomtype_label = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_status_label = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_leave_date = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemDateEditLeave = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.room_id = new DevExpress.XtraGrid.Columns.GridColumn();
     this.panelControl3 = new DevExpress.XtraEditors.PanelControl();
     this.xtraScrollableControl1 = new DevExpress.XtraEditors.XtraScrollableControl();
     this.groupControlReserveList = new DevExpress.XtraEditors.GroupControl();
     this.gridControlReserved = new DevExpress.XtraGrid.GridControl();
     this.gvControlReserved = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.reserved_room_label = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_reserve_room_label = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_reserve_name = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_reserve_lastname = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_reserve_payments = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_reserve_check_in_date = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemDateEditCheckInDate = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.grid_reserve_end_date = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemDateEditCheckInEndDate = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.grid_reserve_status = new DevExpress.XtraGrid.Columns.GridColumn();
     this.panelControl4 = new DevExpress.XtraEditors.PanelControl();
     this.textEditRecieptID = new DevExpress.XtraEditors.TextEdit();
     this.textEditTenantId = new DevExpress.XtraEditors.TextEdit();
     this.textEditRoomStatus = new DevExpress.XtraEditors.TextEdit();
     this.bttEdit = new DevExpress.XtraEditors.SimpleButton();
     this.textEditReserveId = new DevExpress.XtraEditors.TextEdit();
     this.bttCancel = new DevExpress.XtraEditors.SimpleButton();
     this.bttSave = new DevExpress.XtraEditors.SimpleButton();
     this.labelControlCoderef = new DevExpress.XtraEditors.LabelControl();
     this.textEditRoomId = new DevExpress.XtraEditors.TextEdit();
     this.dateEditCheckOut = new DevExpress.XtraEditors.DateEdit();
     this.textEditCoderef = new DevExpress.XtraEditors.TextEdit();
     this.groupRoomInfo = new DevExpress.XtraEditors.GroupControl();
     this.groupDaily = new System.Windows.Forms.GroupBox();
     this.textEditDailyRate = new DevExpress.XtraEditors.TextEdit();
     this.labelControlDailyRate = new DevExpress.XtraEditors.LabelControl();
     this.labelControlBaht3 = new DevExpress.XtraEditors.LabelControl();
     this.groupBoxMonthly = new System.Windows.Forms.GroupBox();
     this.textEditMonthlyRate = new DevExpress.XtraEditors.TextEdit();
     this.labelControlMonth2 = new DevExpress.XtraEditors.LabelControl();
     this.labelControlBaht2 = new DevExpress.XtraEditors.LabelControl();
     this.textEditAdvance = new DevExpress.XtraEditors.TextEdit();
     this.labelControlMonthlyRate = new DevExpress.XtraEditors.LabelControl();
     this.labelControlAdvance = new DevExpress.XtraEditors.LabelControl();
     this.labelControlBaht1 = new DevExpress.XtraEditors.LabelControl();
     this.textEditInsurance = new DevExpress.XtraEditors.TextEdit();
     this.labelControlInsurance = new DevExpress.XtraEditors.LabelControl();
     this.labelControlFloor = new DevExpress.XtraEditors.LabelControl();
     this.textEditRoomType = new DevExpress.XtraEditors.TextEdit();
     this.textEditFloor = new DevExpress.XtraEditors.TextEdit();
     this.textEditBuilding = new DevExpress.XtraEditors.TextEdit();
     this.textEditRoomName = new DevExpress.XtraEditors.TextEdit();
     this.labelControlRoomName = new DevExpress.XtraEditors.LabelControl();
     this.labelControlRoomType = new DevExpress.XtraEditors.LabelControl();
     this.labelControlBuilding = new DevExpress.XtraEditors.LabelControl();
     this.groupControlReserve = new DevExpress.XtraEditors.GroupControl();
     this.labelControl7 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl5 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
     this.lookUpEditPrefix = new DevExpress.XtraEditors.LookUpEdit();
     this.labelControl18 = new DevExpress.XtraEditors.LabelControl();
     this.labelControlTitle = new DevExpress.XtraEditors.LabelControl();
     this.labelControlBaht = new DevExpress.XtraEditors.LabelControl();
     this.textEditLastName = new DevExpress.XtraEditors.TextEdit();
     this.textEditName = new DevExpress.XtraEditors.TextEdit();
     this.dateEditCheckIn = new DevExpress.XtraEditors.DateEdit();
     this.labelControlCheckIn = new DevExpress.XtraEditors.LabelControl();
     this.labelControlPayments = new DevExpress.XtraEditors.LabelControl();
     this.textEditPayments = new DevExpress.XtraEditors.TextEdit();
     this.dateEditEndOfReserved = new DevExpress.XtraEditors.DateEdit();
     this.labelControlEndOfReserved = new DevExpress.XtraEditors.LabelControl();
     this.labelControlPhone = new DevExpress.XtraEditors.LabelControl();
     this.labelControlLastName = new DevExpress.XtraEditors.LabelControl();
     this.textEditPhone = new DevExpress.XtraEditors.TextEdit();
     this.labelControlName = new DevExpress.XtraEditors.LabelControl();
     this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
     this.bttPrintContract = new DevExpress.XtraEditors.SimpleButton();
     this.bttCancelReserve = new DevExpress.XtraEditors.SimpleButton();
     this.bttPay = new DevExpress.XtraEditors.SimpleButton();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).BeginInit();
     this.splitContainerControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlList)).BeginInit();
     this.groupControlList.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlRoomLeave)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvControlRoomLeave)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditLeave)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditLeave.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit();
     this.panelControl3.SuspendLayout();
     this.xtraScrollableControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlReserveList)).BeginInit();
     this.groupControlReserveList.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlReserved)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvControlReserved)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditCheckInDate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditCheckInDate.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditCheckInEndDate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditCheckInEndDate.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).BeginInit();
     this.panelControl4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRecieptID.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditTenantId.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomStatus.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditReserveId.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomId.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditCheckOut.Properties.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditCheckOut.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditCoderef.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupRoomInfo)).BeginInit();
     this.groupRoomInfo.SuspendLayout();
     this.groupDaily.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditDailyRate.Properties)).BeginInit();
     this.groupBoxMonthly.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditMonthlyRate.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditAdvance.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditInsurance.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomType.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditFloor.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditBuilding.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomName.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlReserve)).BeginInit();
     this.groupControlReserve.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditPrefix.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditLastName.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditName.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditCheckIn.Properties.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditCheckIn.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditPayments.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditEndOfReserved.Properties.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditEndOfReserved.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditPhone.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
     this.panelControl1.SuspendLayout();
     this.SuspendLayout();
     //
     // splitContainerControl2
     //
     this.splitContainerControl2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerControl2.Location = new System.Drawing.Point(7, 7);
     this.splitContainerControl2.Name = "splitContainerControl2";
     this.splitContainerControl2.Panel1.Controls.Add(this.groupControlList);
     this.splitContainerControl2.Panel1.Text = "Panel1";
     this.splitContainerControl2.Panel2.Controls.Add(this.panelControl3);
     this.splitContainerControl2.Panel2.Text = "Panel2";
     this.splitContainerControl2.Size = new System.Drawing.Size(1243, 656);
     this.splitContainerControl2.SplitterPosition = 524;
     this.splitContainerControl2.TabIndex = 17;
     this.splitContainerControl2.Text = "splitContainerControl2";
     //
     // groupControlList
     //
     this.groupControlList.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlList.AppearanceCaption.Options.UseFont = true;
     this.groupControlList.Controls.Add(this.gridControlRoomLeave);
     this.groupControlList.Dock = System.Windows.Forms.DockStyle.Fill;
     this.groupControlList.Location = new System.Drawing.Point(0, 0);
     this.groupControlList.Name = "groupControlList";
     this.groupControlList.Size = new System.Drawing.Size(524, 656);
     this.groupControlList.TabIndex = 0;
     this.groupControlList.Text = "รายการห้องว่างหรือที่แจ้งย้ายออก";
     //
     // gridControlRoomLeave
     //
     this.gridControlRoomLeave.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlRoomLeave.Location = new System.Drawing.Point(2, 22);
     this.gridControlRoomLeave.MainView = this.gvControlRoomLeave;
     this.gridControlRoomLeave.Name = "gridControlRoomLeave";
     this.gridControlRoomLeave.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemDateEditLeave});
     this.gridControlRoomLeave.Size = new System.Drawing.Size(520, 632);
     this.gridControlRoomLeave.TabIndex = 1;
     this.gridControlRoomLeave.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gvControlRoomLeave});
     //
     // gvControlRoomLeave
     //
     this.gvControlRoomLeave.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.room_coderef,
     this.grid_room_label,
     this.grid_building_label,
     this.grid_floor_code,
     this.grid_roomtype_label,
     this.grid_status_label,
     this.grid_leave_date,
     this.room_id});
     this.gvControlRoomLeave.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.None;
     this.gvControlRoomLeave.GridControl = this.gridControlRoomLeave;
     this.gvControlRoomLeave.Name = "gvControlRoomLeave";
     this.gvControlRoomLeave.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False;
     this.gvControlRoomLeave.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False;
     this.gvControlRoomLeave.OptionsFind.AlwaysVisible = true;
     this.gvControlRoomLeave.OptionsFind.ShowCloseButton = false;
     this.gvControlRoomLeave.OptionsSelection.EnableAppearanceFocusedRow = false;
     this.gvControlRoomLeave.OptionsView.ShowGroupPanel = false;
     //
     // room_coderef
     //
     this.room_coderef.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.room_coderef.AppearanceHeader.Options.UseFont = true;
     this.room_coderef.Caption = "รหัสห้อง";
     this.room_coderef.FieldName = "coderef";
     this.room_coderef.Name = "room_coderef";
     this.room_coderef.OptionsColumn.AllowEdit = false;
     this.room_coderef.OptionsColumn.AllowFocus = false;
     this.room_coderef.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.room_coderef.OptionsColumn.AllowMove = false;
     //
     // grid_room_label
     //
     this.grid_room_label.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_room_label.AppearanceHeader.Options.UseFont = true;
     this.grid_room_label.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_room_label.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_room_label.Caption = "ชื่อห้อง";
     this.grid_room_label.FieldName = "room_label";
     this.grid_room_label.Name = "grid_room_label";
     this.grid_room_label.OptionsColumn.AllowEdit = false;
     this.grid_room_label.OptionsColumn.AllowFocus = false;
     this.grid_room_label.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_room_label.OptionsColumn.AllowMove = false;
     this.grid_room_label.Visible = true;
     this.grid_room_label.VisibleIndex = 0;
     this.grid_room_label.Width = 90;
     //
     // grid_building_label
     //
     this.grid_building_label.AppearanceCell.Options.UseTextOptions = true;
     this.grid_building_label.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_building_label.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_building_label.AppearanceHeader.Options.UseFont = true;
     this.grid_building_label.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_building_label.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_building_label.Caption = "อาคาร";
     this.grid_building_label.FieldName = "building_label";
     this.grid_building_label.Name = "grid_building_label";
     this.grid_building_label.OptionsColumn.AllowEdit = false;
     this.grid_building_label.OptionsColumn.AllowFocus = false;
     this.grid_building_label.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_building_label.OptionsColumn.AllowMove = false;
     this.grid_building_label.Visible = true;
     this.grid_building_label.VisibleIndex = 1;
     this.grid_building_label.Width = 64;
     //
     // grid_floor_code
     //
     this.grid_floor_code.AppearanceCell.Options.UseTextOptions = true;
     this.grid_floor_code.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_floor_code.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_floor_code.AppearanceHeader.Options.UseFont = true;
     this.grid_floor_code.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_floor_code.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_floor_code.Caption = "ชั้น";
     this.grid_floor_code.FieldName = "floor_code";
     this.grid_floor_code.Name = "grid_floor_code";
     this.grid_floor_code.OptionsColumn.AllowEdit = false;
     this.grid_floor_code.OptionsColumn.AllowFocus = false;
     this.grid_floor_code.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_floor_code.OptionsColumn.AllowMove = false;
     this.grid_floor_code.Visible = true;
     this.grid_floor_code.VisibleIndex = 2;
     this.grid_floor_code.Width = 37;
     //
     // grid_roomtype_label
     //
     this.grid_roomtype_label.AppearanceCell.Options.UseTextOptions = true;
     this.grid_roomtype_label.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_roomtype_label.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_roomtype_label.AppearanceHeader.Options.UseFont = true;
     this.grid_roomtype_label.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_roomtype_label.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_roomtype_label.Caption = "ประเภทห้อง";
     this.grid_roomtype_label.FieldName = "roomtype_label";
     this.grid_roomtype_label.Name = "grid_roomtype_label";
     this.grid_roomtype_label.OptionsColumn.AllowEdit = false;
     this.grid_roomtype_label.OptionsColumn.AllowFocus = false;
     this.grid_roomtype_label.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_roomtype_label.OptionsColumn.AllowMove = false;
     this.grid_roomtype_label.Visible = true;
     this.grid_roomtype_label.VisibleIndex = 3;
     this.grid_roomtype_label.Width = 79;
     //
     // grid_status_label
     //
     this.grid_status_label.AppearanceCell.Options.UseTextOptions = true;
     this.grid_status_label.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_status_label.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_status_label.AppearanceHeader.Options.UseFont = true;
     this.grid_status_label.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_status_label.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_status_label.Caption = "สถานะห้อง";
     this.grid_status_label.FieldName = "room_status_label";
     this.grid_status_label.Name = "grid_status_label";
     this.grid_status_label.OptionsColumn.AllowEdit = false;
     this.grid_status_label.OptionsColumn.AllowFocus = false;
     this.grid_status_label.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_status_label.OptionsColumn.AllowMove = false;
     this.grid_status_label.Visible = true;
     this.grid_status_label.VisibleIndex = 4;
     this.grid_status_label.Width = 67;
     //
     // grid_leave_date
     //
     this.grid_leave_date.AppearanceCell.Options.UseTextOptions = true;
     this.grid_leave_date.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_leave_date.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_leave_date.AppearanceHeader.Options.UseFont = true;
     this.grid_leave_date.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_leave_date.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_leave_date.Caption = "วันที่ต้องการย้ายออก";
     this.grid_leave_date.ColumnEdit = this.repositoryItemDateEditLeave;
     this.grid_leave_date.FieldName = "leave_date";
     this.grid_leave_date.Name = "grid_leave_date";
     this.grid_leave_date.OptionsColumn.AllowEdit = false;
     this.grid_leave_date.OptionsColumn.AllowFocus = false;
     this.grid_leave_date.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_leave_date.OptionsColumn.AllowMove = false;
     this.grid_leave_date.Visible = true;
     this.grid_leave_date.VisibleIndex = 5;
     this.grid_leave_date.Width = 167;
     //
     // repositoryItemDateEditLeave
     //
     this.repositoryItemDateEditLeave.AutoHeight = false;
     this.repositoryItemDateEditLeave.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemDateEditLeave.Mask.EditMask = "dd/MM/yyyy";
     this.repositoryItemDateEditLeave.Mask.UseMaskAsDisplayFormat = true;
     this.repositoryItemDateEditLeave.Name = "repositoryItemDateEditLeave";
     this.repositoryItemDateEditLeave.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     //
     // room_id
     //
     this.room_id.Caption = "รหัสห้อง";
     this.room_id.FieldName = "room_id";
     this.room_id.Name = "room_id";
     //
     // panelControl3
     //
     this.panelControl3.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl3.Controls.Add(this.xtraScrollableControl1);
     this.panelControl3.Controls.Add(this.panelControl1);
     this.panelControl3.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panelControl3.Location = new System.Drawing.Point(0, 0);
     this.panelControl3.Name = "panelControl3";
     this.panelControl3.Size = new System.Drawing.Size(714, 656);
     this.panelControl3.TabIndex = 12;
     //
     // xtraScrollableControl1
     //
     this.xtraScrollableControl1.Controls.Add(this.groupControlReserveList);
     this.xtraScrollableControl1.Controls.Add(this.panelControl4);
     this.xtraScrollableControl1.Controls.Add(this.groupRoomInfo);
     this.xtraScrollableControl1.Controls.Add(this.groupControlReserve);
     this.xtraScrollableControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.xtraScrollableControl1.Location = new System.Drawing.Point(0, 0);
     this.xtraScrollableControl1.Name = "xtraScrollableControl1";
     this.xtraScrollableControl1.Size = new System.Drawing.Size(714, 590);
     this.xtraScrollableControl1.TabIndex = 356;
     //
     // groupControlReserveList
     //
     this.groupControlReserveList.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlReserveList.AppearanceCaption.Options.UseFont = true;
     this.groupControlReserveList.Controls.Add(this.gridControlReserved);
     this.groupControlReserveList.Dock = System.Windows.Forms.DockStyle.Top;
     this.groupControlReserveList.Location = new System.Drawing.Point(0, 461);
     this.groupControlReserveList.Name = "groupControlReserveList";
     this.groupControlReserveList.Size = new System.Drawing.Size(697, 195);
     this.groupControlReserveList.TabIndex = 3;
     this.groupControlReserveList.Text = "รายการห้องที่ถูกจอง";
     //
     // gridControlReserved
     //
     this.gridControlReserved.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlReserved.Location = new System.Drawing.Point(2, 22);
     this.gridControlReserved.MainView = this.gvControlReserved;
     this.gridControlReserved.Name = "gridControlReserved";
     this.gridControlReserved.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemDateEditCheckInDate,
     this.repositoryItemDateEditCheckInEndDate});
     this.gridControlReserved.Size = new System.Drawing.Size(693, 171);
     this.gridControlReserved.TabIndex = 316;
     this.gridControlReserved.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gvControlReserved});
     //
     // gvControlReserved
     //
     this.gvControlReserved.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.reserved_room_label,
     this.grid_reserve_room_label,
     this.grid_reserve_name,
     this.grid_reserve_lastname,
     this.grid_reserve_payments,
     this.grid_reserve_check_in_date,
     this.grid_reserve_end_date,
     this.grid_reserve_status});
     this.gvControlReserved.GridControl = this.gridControlReserved;
     this.gvControlReserved.Name = "gvControlReserved";
     this.gvControlReserved.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False;
     this.gvControlReserved.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False;
     this.gvControlReserved.OptionsSelection.EnableAppearanceFocusedRow = false;
     this.gvControlReserved.OptionsView.ShowGroupPanel = false;
     //
     // reserved_room_label
     //
     this.reserved_room_label.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.reserved_room_label.AppearanceHeader.Options.UseFont = true;
     this.reserved_room_label.Caption = "รหัสห้อง";
     this.reserved_room_label.FieldName = "coderef";
     this.reserved_room_label.Name = "reserved_room_label";
     this.reserved_room_label.OptionsColumn.AllowEdit = false;
     this.reserved_room_label.OptionsColumn.AllowFocus = false;
     this.reserved_room_label.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.reserved_room_label.OptionsColumn.AllowMove = false;
     //
     // grid_reserve_room_label
     //
     this.grid_reserve_room_label.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_reserve_room_label.AppearanceHeader.Options.UseFont = true;
     this.grid_reserve_room_label.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_reserve_room_label.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_reserve_room_label.Caption = "ชื่อห้อง";
     this.grid_reserve_room_label.FieldName = "room_label";
     this.grid_reserve_room_label.Name = "grid_reserve_room_label";
     this.grid_reserve_room_label.OptionsColumn.AllowEdit = false;
     this.grid_reserve_room_label.OptionsColumn.AllowFocus = false;
     this.grid_reserve_room_label.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_reserve_room_label.OptionsColumn.AllowMove = false;
     this.grid_reserve_room_label.Visible = true;
     this.grid_reserve_room_label.VisibleIndex = 0;
     this.grid_reserve_room_label.Width = 96;
     //
     // grid_reserve_name
     //
     this.grid_reserve_name.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_reserve_name.AppearanceHeader.Options.UseFont = true;
     this.grid_reserve_name.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_reserve_name.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_reserve_name.Caption = "ชื่อ";
     this.grid_reserve_name.FieldName = "tenant_name";
     this.grid_reserve_name.Name = "grid_reserve_name";
     this.grid_reserve_name.OptionsColumn.AllowEdit = false;
     this.grid_reserve_name.OptionsColumn.AllowFocus = false;
     this.grid_reserve_name.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_reserve_name.OptionsColumn.AllowMove = false;
     this.grid_reserve_name.Visible = true;
     this.grid_reserve_name.VisibleIndex = 1;
     this.grid_reserve_name.Width = 96;
     //
     // grid_reserve_lastname
     //
     this.grid_reserve_lastname.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_reserve_lastname.AppearanceHeader.Options.UseFont = true;
     this.grid_reserve_lastname.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_reserve_lastname.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_reserve_lastname.Caption = "นามสกุล";
     this.grid_reserve_lastname.FieldName = "tenant_surname";
     this.grid_reserve_lastname.Name = "grid_reserve_lastname";
     this.grid_reserve_lastname.OptionsColumn.AllowEdit = false;
     this.grid_reserve_lastname.OptionsColumn.AllowFocus = false;
     this.grid_reserve_lastname.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_reserve_lastname.OptionsColumn.AllowMove = false;
     this.grid_reserve_lastname.Visible = true;
     this.grid_reserve_lastname.VisibleIndex = 2;
     this.grid_reserve_lastname.Width = 96;
     //
     // grid_reserve_payments
     //
     this.grid_reserve_payments.AppearanceCell.Options.UseTextOptions = true;
     this.grid_reserve_payments.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_reserve_payments.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_reserve_payments.AppearanceHeader.Options.UseFont = true;
     this.grid_reserve_payments.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_reserve_payments.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_reserve_payments.Caption = "จำนวนเงินจอง";
     this.grid_reserve_payments.DisplayFormat.FormatString = "n2";
     this.grid_reserve_payments.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.grid_reserve_payments.FieldName = "reserve_payments";
     this.grid_reserve_payments.Name = "grid_reserve_payments";
     this.grid_reserve_payments.OptionsColumn.AllowEdit = false;
     this.grid_reserve_payments.OptionsColumn.AllowFocus = false;
     this.grid_reserve_payments.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_reserve_payments.OptionsColumn.AllowMove = false;
     this.grid_reserve_payments.Visible = true;
     this.grid_reserve_payments.VisibleIndex = 3;
     this.grid_reserve_payments.Width = 96;
     //
     // grid_reserve_check_in_date
     //
     this.grid_reserve_check_in_date.AppearanceCell.Options.UseTextOptions = true;
     this.grid_reserve_check_in_date.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_reserve_check_in_date.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_reserve_check_in_date.AppearanceHeader.Options.UseFont = true;
     this.grid_reserve_check_in_date.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_reserve_check_in_date.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_reserve_check_in_date.Caption = "วันที่ต้องการย้ายเข้า";
     this.grid_reserve_check_in_date.ColumnEdit = this.repositoryItemDateEditCheckInDate;
     this.grid_reserve_check_in_date.FieldName = "reserve_check_in_date";
     this.grid_reserve_check_in_date.Name = "grid_reserve_check_in_date";
     this.grid_reserve_check_in_date.OptionsColumn.AllowEdit = false;
     this.grid_reserve_check_in_date.OptionsColumn.AllowFocus = false;
     this.grid_reserve_check_in_date.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_reserve_check_in_date.OptionsColumn.AllowMove = false;
     this.grid_reserve_check_in_date.Visible = true;
     this.grid_reserve_check_in_date.VisibleIndex = 4;
     this.grid_reserve_check_in_date.Width = 116;
     //
     // repositoryItemDateEditCheckInDate
     //
     this.repositoryItemDateEditCheckInDate.AutoHeight = false;
     this.repositoryItemDateEditCheckInDate.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemDateEditCheckInDate.Mask.EditMask = "dd/MM/yyyy";
     this.repositoryItemDateEditCheckInDate.Mask.UseMaskAsDisplayFormat = true;
     this.repositoryItemDateEditCheckInDate.Name = "repositoryItemDateEditCheckInDate";
     this.repositoryItemDateEditCheckInDate.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     //
     // grid_reserve_end_date
     //
     this.grid_reserve_end_date.AppearanceCell.Options.UseTextOptions = true;
     this.grid_reserve_end_date.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_reserve_end_date.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_reserve_end_date.AppearanceHeader.Options.UseFont = true;
     this.grid_reserve_end_date.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_reserve_end_date.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_reserve_end_date.Caption = "วันที่สิ้นสุดการจอง";
     this.grid_reserve_end_date.ColumnEdit = this.repositoryItemDateEditCheckInEndDate;
     this.grid_reserve_end_date.DisplayFormat.FormatString = "{0:dd/MM/yyyy}";
     this.grid_reserve_end_date.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.grid_reserve_end_date.FieldName = "reserve_end_date";
     this.grid_reserve_end_date.Name = "grid_reserve_end_date";
     this.grid_reserve_end_date.OptionsColumn.AllowEdit = false;
     this.grid_reserve_end_date.OptionsColumn.AllowFocus = false;
     this.grid_reserve_end_date.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_reserve_end_date.OptionsColumn.AllowMove = false;
     this.grid_reserve_end_date.Visible = true;
     this.grid_reserve_end_date.VisibleIndex = 5;
     this.grid_reserve_end_date.Width = 98;
     //
     // repositoryItemDateEditCheckInEndDate
     //
     this.repositoryItemDateEditCheckInEndDate.AutoHeight = false;
     this.repositoryItemDateEditCheckInEndDate.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemDateEditCheckInEndDate.Mask.EditMask = "dd/MM/yyyy";
     this.repositoryItemDateEditCheckInEndDate.Mask.UseMaskAsDisplayFormat = true;
     this.repositoryItemDateEditCheckInEndDate.Name = "repositoryItemDateEditCheckInEndDate";
     this.repositoryItemDateEditCheckInEndDate.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     //
     // grid_reserve_status
     //
     this.grid_reserve_status.AppearanceCell.Options.UseTextOptions = true;
     this.grid_reserve_status.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_reserve_status.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_reserve_status.AppearanceHeader.Options.UseFont = true;
     this.grid_reserve_status.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_reserve_status.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_reserve_status.Caption = "สถานะ";
     this.grid_reserve_status.FieldName = "flag_en";
     this.grid_reserve_status.Name = "grid_reserve_status";
     this.grid_reserve_status.OptionsColumn.AllowEdit = false;
     this.grid_reserve_status.OptionsColumn.AllowFocus = false;
     this.grid_reserve_status.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_reserve_status.OptionsColumn.AllowMove = false;
     this.grid_reserve_status.Visible = true;
     this.grid_reserve_status.VisibleIndex = 6;
     this.grid_reserve_status.Width = 92;
     //
     // panelControl4
     //
     this.panelControl4.Controls.Add(this.textEditRecieptID);
     this.panelControl4.Controls.Add(this.textEditTenantId);
     this.panelControl4.Controls.Add(this.textEditRoomStatus);
     this.panelControl4.Controls.Add(this.bttEdit);
     this.panelControl4.Controls.Add(this.textEditReserveId);
     this.panelControl4.Controls.Add(this.bttCancel);
     this.panelControl4.Controls.Add(this.bttSave);
     this.panelControl4.Controls.Add(this.labelControlCoderef);
     this.panelControl4.Controls.Add(this.textEditRoomId);
     this.panelControl4.Controls.Add(this.dateEditCheckOut);
     this.panelControl4.Controls.Add(this.textEditCoderef);
     this.panelControl4.Dock = System.Windows.Forms.DockStyle.Top;
     this.panelControl4.Location = new System.Drawing.Point(0, 395);
     this.panelControl4.Name = "panelControl4";
     this.panelControl4.Size = new System.Drawing.Size(697, 66);
     this.panelControl4.TabIndex = 78;
     //
     // textEditRecieptID
     //
     this.textEditRecieptID.Location = new System.Drawing.Point(279, 12);
     this.textEditRecieptID.Name = "textEditRecieptID";
     this.textEditRecieptID.Size = new System.Drawing.Size(32, 20);
     this.textEditRecieptID.TabIndex = 364;
     this.textEditRecieptID.Visible = false;
     //
     // textEditTenantId
     //
     this.textEditTenantId.Location = new System.Drawing.Point(241, 12);
     this.textEditTenantId.Name = "textEditTenantId";
     this.textEditTenantId.Size = new System.Drawing.Size(32, 20);
     this.textEditTenantId.TabIndex = 363;
     this.textEditTenantId.Visible = false;
     //
     // textEditRoomStatus
     //
     this.textEditRoomStatus.Location = new System.Drawing.Point(201, 12);
     this.textEditRoomStatus.Name = "textEditRoomStatus";
     this.textEditRoomStatus.Size = new System.Drawing.Size(32, 20);
     this.textEditRoomStatus.TabIndex = 363;
     this.textEditRoomStatus.Visible = false;
     //
     // bttEdit
     //
     this.bttEdit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttEdit.Enabled = false;
     this.bttEdit.Image = global::DXWindowsApplication2.Properties.Resources.edit;
     this.bttEdit.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttEdit.Location = new System.Drawing.Point(464, 5);
     this.bttEdit.Name = "bttEdit";
     this.bttEdit.Size = new System.Drawing.Size(70, 55);
     this.bttEdit.TabIndex = 19;
     this.bttEdit.Text = "แก้ไขข้อมูล";
     //
     // textEditReserveId
     //
     this.textEditReserveId.Location = new System.Drawing.Point(163, 12);
     this.textEditReserveId.Name = "textEditReserveId";
     this.textEditReserveId.Size = new System.Drawing.Size(32, 20);
     this.textEditReserveId.TabIndex = 362;
     this.textEditReserveId.Visible = false;
     //
     // bttCancel
     //
     this.bttCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttCancel.Enabled = false;
     this.bttCancel.Image = global::DXWindowsApplication2.Properties.Resources.Close;
     this.bttCancel.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttCancel.Location = new System.Drawing.Point(616, 5);
     this.bttCancel.Name = "bttCancel";
     this.bttCancel.Size = new System.Drawing.Size(70, 55);
     this.bttCancel.TabIndex = 22;
     this.bttCancel.Text = "ยกเลิก";
     //
     // bttSave
     //
     this.bttSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttSave.Enabled = false;
     this.bttSave.Image = global::DXWindowsApplication2.Properties.Resources.save;
     this.bttSave.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttSave.Location = new System.Drawing.Point(540, 5);
     this.bttSave.Name = "bttSave";
     this.bttSave.Size = new System.Drawing.Size(70, 55);
     this.bttSave.TabIndex = 21;
     this.bttSave.Text = "บันทึก";
     //
     // labelControlCoderef
     //
     this.labelControlCoderef.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlCoderef.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlCoderef.Location = new System.Drawing.Point(9, 19);
     this.labelControlCoderef.Name = "labelControlCoderef";
     this.labelControlCoderef.Size = new System.Drawing.Size(70, 13);
     this.labelControlCoderef.TabIndex = 357;
     this.labelControlCoderef.Text = "รหัสห้อง :";
     this.labelControlCoderef.Visible = false;
     //
     // textEditRoomId
     //
     this.textEditRoomId.Location = new System.Drawing.Point(125, 12);
     this.textEditRoomId.Name = "textEditRoomId";
     this.textEditRoomId.Size = new System.Drawing.Size(32, 20);
     this.textEditRoomId.TabIndex = 355;
     this.textEditRoomId.Visible = false;
     //
     // dateEditCheckOut
     //
     this.dateEditCheckOut.EditValue = new System.DateTime(2013, 1, 31, 0, 0, 0, 0);
     this.dateEditCheckOut.Enabled = false;
     this.dateEditCheckOut.Location = new System.Drawing.Point(37, 41);
     this.dateEditCheckOut.Name = "dateEditCheckOut";
     this.dateEditCheckOut.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.dateEditCheckOut.Properties.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.dateEditCheckOut.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dateEditCheckOut.Properties.EditFormat.FormatString = "dd/MM/yyyy";
     this.dateEditCheckOut.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dateEditCheckOut.Properties.Mask.EditMask = "dd MMMM yyyy";
     this.dateEditCheckOut.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.dateEditCheckOut.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.dateEditCheckOut.Size = new System.Drawing.Size(172, 20);
     this.dateEditCheckOut.TabIndex = 358;
     this.dateEditCheckOut.Visible = false;
     //
     // textEditCoderef
     //
     this.textEditCoderef.Enabled = false;
     this.textEditCoderef.Location = new System.Drawing.Point(85, 12);
     this.textEditCoderef.Name = "textEditCoderef";
     this.textEditCoderef.Size = new System.Drawing.Size(34, 20);
     this.textEditCoderef.TabIndex = 356;
     this.textEditCoderef.Visible = false;
     //
     // groupRoomInfo
     //
     this.groupRoomInfo.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupRoomInfo.AppearanceCaption.Options.UseFont = true;
     this.groupRoomInfo.Controls.Add(this.groupDaily);
     this.groupRoomInfo.Controls.Add(this.groupBoxMonthly);
     this.groupRoomInfo.Controls.Add(this.labelControlFloor);
     this.groupRoomInfo.Controls.Add(this.textEditRoomType);
     this.groupRoomInfo.Controls.Add(this.textEditFloor);
     this.groupRoomInfo.Controls.Add(this.textEditBuilding);
     this.groupRoomInfo.Controls.Add(this.textEditRoomName);
     this.groupRoomInfo.Controls.Add(this.labelControlRoomName);
     this.groupRoomInfo.Controls.Add(this.labelControlRoomType);
     this.groupRoomInfo.Controls.Add(this.labelControlBuilding);
     this.groupRoomInfo.Dock = System.Windows.Forms.DockStyle.Top;
     this.groupRoomInfo.Location = new System.Drawing.Point(0, 209);
     this.groupRoomInfo.Name = "groupRoomInfo";
     this.groupRoomInfo.Size = new System.Drawing.Size(697, 186);
     this.groupRoomInfo.TabIndex = 353;
     this.groupRoomInfo.Text = "ห้อง";
     //
     // groupDaily
     //
     this.groupDaily.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.groupDaily.Controls.Add(this.textEditDailyRate);
     this.groupDaily.Controls.Add(this.labelControlDailyRate);
     this.groupDaily.Controls.Add(this.labelControlBaht3);
     this.groupDaily.Location = new System.Drawing.Point(389, 133);
     this.groupDaily.Name = "groupDaily";
     this.groupDaily.Size = new System.Drawing.Size(297, 48);
     this.groupDaily.TabIndex = 121;
     this.groupDaily.TabStop = false;
     this.groupDaily.Text = "รายวัน";
     //
     // textEditDailyRate
     //
     this.textEditDailyRate.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditDailyRate.EditValue = "0.00";
     this.textEditDailyRate.Enabled = false;
     this.textEditDailyRate.Location = new System.Drawing.Point(133, 20);
     this.textEditDailyRate.Name = "textEditDailyRate";
     this.textEditDailyRate.Properties.Appearance.Options.UseTextOptions = true;
     this.textEditDailyRate.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.textEditDailyRate.Properties.Mask.EditMask = "n2";
     this.textEditDailyRate.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.textEditDailyRate.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditDailyRate.Size = new System.Drawing.Size(117, 20);
     this.textEditDailyRate.TabIndex = 118;
     //
     // labelControlDailyRate
     //
     this.labelControlDailyRate.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlDailyRate.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlDailyRate.Location = new System.Drawing.Point(6, 27);
     this.labelControlDailyRate.Name = "labelControlDailyRate";
     this.labelControlDailyRate.Size = new System.Drawing.Size(121, 13);
     this.labelControlDailyRate.TabIndex = 116;
     this.labelControlDailyRate.Text = "ค่าเช่า :";
     //
     // labelControlBaht3
     //
     this.labelControlBaht3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControlBaht3.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlBaht3.Location = new System.Drawing.Point(256, 27);
     this.labelControlBaht3.Name = "labelControlBaht3";
     this.labelControlBaht3.Size = new System.Drawing.Size(33, 13);
     this.labelControlBaht3.TabIndex = 112;
     this.labelControlBaht3.Text = "บาท";
     //
     // groupBoxMonthly
     //
     this.groupBoxMonthly.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBoxMonthly.Controls.Add(this.textEditMonthlyRate);
     this.groupBoxMonthly.Controls.Add(this.labelControlMonth2);
     this.groupBoxMonthly.Controls.Add(this.labelControlBaht2);
     this.groupBoxMonthly.Controls.Add(this.textEditAdvance);
     this.groupBoxMonthly.Controls.Add(this.labelControlMonthlyRate);
     this.groupBoxMonthly.Controls.Add(this.labelControlAdvance);
     this.groupBoxMonthly.Controls.Add(this.labelControlBaht1);
     this.groupBoxMonthly.Controls.Add(this.textEditInsurance);
     this.groupBoxMonthly.Controls.Add(this.labelControlInsurance);
     this.groupBoxMonthly.Location = new System.Drawing.Point(389, 25);
     this.groupBoxMonthly.Name = "groupBoxMonthly";
     this.groupBoxMonthly.Size = new System.Drawing.Size(297, 102);
     this.groupBoxMonthly.TabIndex = 121;
     this.groupBoxMonthly.TabStop = false;
     this.groupBoxMonthly.Text = "รายเดือน";
     //
     // textEditMonthlyRate
     //
     this.textEditMonthlyRate.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditMonthlyRate.EditValue = "0";
     this.textEditMonthlyRate.Enabled = false;
     this.textEditMonthlyRate.Location = new System.Drawing.Point(133, 20);
     this.textEditMonthlyRate.Name = "textEditMonthlyRate";
     this.textEditMonthlyRate.Properties.Appearance.Options.UseTextOptions = true;
     this.textEditMonthlyRate.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.textEditMonthlyRate.Properties.DisplayFormat.FormatString = "n2";
     this.textEditMonthlyRate.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditMonthlyRate.Properties.EditFormat.FormatString = "n2";
     this.textEditMonthlyRate.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditMonthlyRate.Properties.Mask.EditMask = "n2";
     this.textEditMonthlyRate.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.textEditMonthlyRate.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditMonthlyRate.Size = new System.Drawing.Size(117, 20);
     this.textEditMonthlyRate.TabIndex = 118;
     //
     // labelControlMonth2
     //
     this.labelControlMonth2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControlMonth2.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlMonth2.Location = new System.Drawing.Point(256, 79);
     this.labelControlMonth2.Name = "labelControlMonth2";
     this.labelControlMonth2.Size = new System.Drawing.Size(33, 13);
     this.labelControlMonth2.TabIndex = 117;
     this.labelControlMonth2.Text = "เดือน";
     //
     // labelControlBaht2
     //
     this.labelControlBaht2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControlBaht2.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlBaht2.Location = new System.Drawing.Point(256, 53);
     this.labelControlBaht2.Name = "labelControlBaht2";
     this.labelControlBaht2.Size = new System.Drawing.Size(33, 13);
     this.labelControlBaht2.TabIndex = 115;
     this.labelControlBaht2.Text = "บาท";
     //
     // textEditAdvance
     //
     this.textEditAdvance.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditAdvance.EditValue = "0";
     this.textEditAdvance.Enabled = false;
     this.textEditAdvance.Location = new System.Drawing.Point(133, 72);
     this.textEditAdvance.Name = "textEditAdvance";
     this.textEditAdvance.Properties.Appearance.Options.UseTextOptions = true;
     this.textEditAdvance.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.textEditAdvance.Size = new System.Drawing.Size(117, 20);
     this.textEditAdvance.TabIndex = 120;
     //
     // labelControlMonthlyRate
     //
     this.labelControlMonthlyRate.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlMonthlyRate.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlMonthlyRate.Location = new System.Drawing.Point(6, 27);
     this.labelControlMonthlyRate.Name = "labelControlMonthlyRate";
     this.labelControlMonthlyRate.Size = new System.Drawing.Size(121, 13);
     this.labelControlMonthlyRate.TabIndex = 116;
     this.labelControlMonthlyRate.Text = "ค่าเช่า :";
     //
     // labelControlAdvance
     //
     this.labelControlAdvance.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlAdvance.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlAdvance.Location = new System.Drawing.Point(6, 79);
     this.labelControlAdvance.Name = "labelControlAdvance";
     this.labelControlAdvance.Size = new System.Drawing.Size(121, 13);
     this.labelControlAdvance.TabIndex = 113;
     this.labelControlAdvance.Text = "ค่าเช่าล่วงหน้า :";
     //
     // labelControlBaht1
     //
     this.labelControlBaht1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControlBaht1.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlBaht1.Location = new System.Drawing.Point(256, 27);
     this.labelControlBaht1.Name = "labelControlBaht1";
     this.labelControlBaht1.Size = new System.Drawing.Size(33, 13);
     this.labelControlBaht1.TabIndex = 112;
     this.labelControlBaht1.Text = "บาท";
     //
     // textEditInsurance
     //
     this.textEditInsurance.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditInsurance.EditValue = "0";
     this.textEditInsurance.Enabled = false;
     this.textEditInsurance.Location = new System.Drawing.Point(133, 46);
     this.textEditInsurance.Name = "textEditInsurance";
     this.textEditInsurance.Properties.Appearance.Options.UseTextOptions = true;
     this.textEditInsurance.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.textEditInsurance.Properties.Mask.EditMask = "n2";
     this.textEditInsurance.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.textEditInsurance.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditInsurance.Size = new System.Drawing.Size(117, 20);
     this.textEditInsurance.TabIndex = 119;
     //
     // labelControlInsurance
     //
     this.labelControlInsurance.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlInsurance.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlInsurance.Location = new System.Drawing.Point(6, 53);
     this.labelControlInsurance.Name = "labelControlInsurance";
     this.labelControlInsurance.Size = new System.Drawing.Size(121, 13);
     this.labelControlInsurance.TabIndex = 114;
     this.labelControlInsurance.Text = "ค่าประกัน :";
     //
     // labelControlFloor
     //
     this.labelControlFloor.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlFloor.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlFloor.Location = new System.Drawing.Point(43, 100);
     this.labelControlFloor.Name = "labelControlFloor";
     this.labelControlFloor.Size = new System.Drawing.Size(81, 13);
     this.labelControlFloor.TabIndex = 110;
     this.labelControlFloor.Text = "ชั้น :";
     //
     // textEditRoomType
     //
     this.textEditRoomType.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditRoomType.Enabled = false;
     this.textEditRoomType.Location = new System.Drawing.Point(130, 119);
     this.textEditRoomType.Name = "textEditRoomType";
     this.textEditRoomType.Size = new System.Drawing.Size(240, 20);
     this.textEditRoomType.TabIndex = 107;
     //
     // textEditFloor
     //
     this.textEditFloor.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditFloor.Enabled = false;
     this.textEditFloor.Location = new System.Drawing.Point(130, 93);
     this.textEditFloor.Name = "textEditFloor";
     this.textEditFloor.Size = new System.Drawing.Size(240, 20);
     this.textEditFloor.TabIndex = 107;
     //
     // textEditBuilding
     //
     this.textEditBuilding.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditBuilding.Enabled = false;
     this.textEditBuilding.Location = new System.Drawing.Point(130, 67);
     this.textEditBuilding.Name = "textEditBuilding";
     this.textEditBuilding.Size = new System.Drawing.Size(240, 20);
     this.textEditBuilding.TabIndex = 107;
     //
     // textEditRoomName
     //
     this.textEditRoomName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditRoomName.Enabled = false;
     this.textEditRoomName.Location = new System.Drawing.Point(130, 41);
     this.textEditRoomName.Name = "textEditRoomName";
     this.textEditRoomName.Size = new System.Drawing.Size(240, 20);
     this.textEditRoomName.TabIndex = 107;
     //
     // labelControlRoomName
     //
     this.labelControlRoomName.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlRoomName.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlRoomName.Location = new System.Drawing.Point(43, 48);
     this.labelControlRoomName.Name = "labelControlRoomName";
     this.labelControlRoomName.Size = new System.Drawing.Size(81, 13);
     this.labelControlRoomName.TabIndex = 106;
     this.labelControlRoomName.Text = "ชื่อห้อง :";
     //
     // labelControlRoomType
     //
     this.labelControlRoomType.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlRoomType.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlRoomType.Location = new System.Drawing.Point(43, 126);
     this.labelControlRoomType.Name = "labelControlRoomType";
     this.labelControlRoomType.Size = new System.Drawing.Size(81, 13);
     this.labelControlRoomType.TabIndex = 102;
     this.labelControlRoomType.Text = "ประเภทห้อง :";
     //
     // labelControlBuilding
     //
     this.labelControlBuilding.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlBuilding.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlBuilding.Location = new System.Drawing.Point(43, 74);
     this.labelControlBuilding.Name = "labelControlBuilding";
     this.labelControlBuilding.Size = new System.Drawing.Size(81, 13);
     this.labelControlBuilding.TabIndex = 101;
     this.labelControlBuilding.Text = "อาคาร :";
     //
     // groupControlReserve
     //
     this.groupControlReserve.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlReserve.AppearanceCaption.Options.UseFont = true;
     this.groupControlReserve.Controls.Add(this.labelControl7);
     this.groupControlReserve.Controls.Add(this.labelControl4);
     this.groupControlReserve.Controls.Add(this.labelControl3);
     this.groupControlReserve.Controls.Add(this.labelControl2);
     this.groupControlReserve.Controls.Add(this.labelControl5);
     this.groupControlReserve.Controls.Add(this.labelControl1);
     this.groupControlReserve.Controls.Add(this.lookUpEditPrefix);
     this.groupControlReserve.Controls.Add(this.labelControl18);
     this.groupControlReserve.Controls.Add(this.labelControlTitle);
     this.groupControlReserve.Controls.Add(this.labelControlBaht);
     this.groupControlReserve.Controls.Add(this.textEditLastName);
     this.groupControlReserve.Controls.Add(this.textEditName);
     this.groupControlReserve.Controls.Add(this.dateEditCheckIn);
     this.groupControlReserve.Controls.Add(this.labelControlCheckIn);
     this.groupControlReserve.Controls.Add(this.labelControlPayments);
     this.groupControlReserve.Controls.Add(this.textEditPayments);
     this.groupControlReserve.Controls.Add(this.dateEditEndOfReserved);
     this.groupControlReserve.Controls.Add(this.labelControlEndOfReserved);
     this.groupControlReserve.Controls.Add(this.labelControlPhone);
     this.groupControlReserve.Controls.Add(this.labelControlLastName);
     this.groupControlReserve.Controls.Add(this.textEditPhone);
     this.groupControlReserve.Controls.Add(this.labelControlName);
     this.groupControlReserve.Dock = System.Windows.Forms.DockStyle.Top;
     this.groupControlReserve.Location = new System.Drawing.Point(0, 0);
     this.groupControlReserve.Name = "groupControlReserve";
     this.groupControlReserve.Size = new System.Drawing.Size(697, 209);
     this.groupControlReserve.TabIndex = 2;
     this.groupControlReserve.Text = "จองห้อง";
     //
     // labelControl7
     //
     this.labelControl7.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl7.Location = new System.Drawing.Point(5, 190);
     this.labelControl7.Name = "labelControl7";
     this.labelControl7.Size = new System.Drawing.Size(6, 13);
     this.labelControl7.TabIndex = 445;
     this.labelControl7.Text = "*";
     //
     // labelControl4
     //
     this.labelControl4.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl4.Location = new System.Drawing.Point(5, 165);
     this.labelControl4.Name = "labelControl4";
     this.labelControl4.Size = new System.Drawing.Size(6, 13);
     this.labelControl4.TabIndex = 446;
     this.labelControl4.Text = "*";
     //
     // labelControl3
     //
     this.labelControl3.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl3.Location = new System.Drawing.Point(5, 139);
     this.labelControl3.Name = "labelControl3";
     this.labelControl3.Size = new System.Drawing.Size(6, 13);
     this.labelControl3.TabIndex = 447;
     this.labelControl3.Text = "*";
     //
     // labelControl2
     //
     this.labelControl2.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl2.Location = new System.Drawing.Point(5, 113);
     this.labelControl2.Name = "labelControl2";
     this.labelControl2.Size = new System.Drawing.Size(0, 13);
     this.labelControl2.TabIndex = 444;
     //
     // labelControl5
     //
     this.labelControl5.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl5.Location = new System.Drawing.Point(5, 87);
     this.labelControl5.Name = "labelControl5";
     this.labelControl5.Size = new System.Drawing.Size(6, 13);
     this.labelControl5.TabIndex = 442;
     this.labelControl5.Text = "*";
     //
     // labelControl1
     //
     this.labelControl1.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl1.Location = new System.Drawing.Point(5, 60);
     this.labelControl1.Name = "labelControl1";
     this.labelControl1.Size = new System.Drawing.Size(6, 13);
     this.labelControl1.TabIndex = 443;
     this.labelControl1.Text = "*";
     //
     // lookUpEditPrefix
     //
     this.lookUpEditPrefix.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.lookUpEditPrefix.Enabled = false;
     this.lookUpEditPrefix.Location = new System.Drawing.Point(154, 28);
     this.lookUpEditPrefix.Name = "lookUpEditPrefix";
     this.lookUpEditPrefix.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lookUpEditPrefix.Size = new System.Drawing.Size(502, 20);
     this.lookUpEditPrefix.TabIndex = 441;
     //
     // labelControl18
     //
     this.labelControl18.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl18.Location = new System.Drawing.Point(5, 31);
     this.labelControl18.Name = "labelControl18";
     this.labelControl18.Size = new System.Drawing.Size(6, 13);
     this.labelControl18.TabIndex = 440;
     this.labelControl18.Text = "*";
     //
     // labelControlTitle
     //
     this.labelControlTitle.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlTitle.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlTitle.Location = new System.Drawing.Point(58, 35);
     this.labelControlTitle.Name = "labelControlTitle";
     this.labelControlTitle.Size = new System.Drawing.Size(90, 13);
     this.labelControlTitle.TabIndex = 439;
     this.labelControlTitle.Text = "คำนำหน้า :";
     //
     // labelControlBaht
     //
     this.labelControlBaht.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControlBaht.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlBaht.Location = new System.Drawing.Point(659, 135);
     this.labelControlBaht.Name = "labelControlBaht";
     this.labelControlBaht.Size = new System.Drawing.Size(33, 13);
     this.labelControlBaht.TabIndex = 112;
     this.labelControlBaht.Text = "บาท";
     //
     // textEditLastName
     //
     this.textEditLastName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditLastName.EditValue = "";
     this.textEditLastName.Enabled = false;
     this.textEditLastName.Location = new System.Drawing.Point(154, 80);
     this.textEditLastName.Name = "textEditLastName";
     this.textEditLastName.Properties.Mask.BeepOnError = true;
     this.textEditLastName.Properties.Mask.EditMask = "([a-zA-Z0-9|ก-๙|\\\' \']){1,200}";
     this.textEditLastName.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditLastName.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditLastName.Size = new System.Drawing.Size(502, 20);
     this.textEditLastName.TabIndex = 354;
     //
     // textEditName
     //
     this.textEditName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditName.EditValue = "";
     this.textEditName.Enabled = false;
     this.textEditName.Location = new System.Drawing.Point(154, 54);
     this.textEditName.Name = "textEditName";
     this.textEditName.Properties.Mask.BeepOnError = true;
     this.textEditName.Properties.Mask.EditMask = "([a-zA-Z0-9|ก-๙|\\\' \']){1,200}";
     this.textEditName.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditName.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditName.Size = new System.Drawing.Size(502, 20);
     this.textEditName.TabIndex = 354;
     //
     // dateEditCheckIn
     //
     this.dateEditCheckIn.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.dateEditCheckIn.EditValue = new System.DateTime(2013, 6, 3, 15, 53, 0, 0);
     this.dateEditCheckIn.Enabled = false;
     this.dateEditCheckIn.Location = new System.Drawing.Point(154, 158);
     this.dateEditCheckIn.Name = "dateEditCheckIn";
     this.dateEditCheckIn.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.dateEditCheckIn.Properties.DisplayFormat.FormatString = "dd MMMM yyyy";
     this.dateEditCheckIn.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dateEditCheckIn.Properties.EditFormat.FormatString = "dd MMMM yyyy";
     this.dateEditCheckIn.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dateEditCheckIn.Properties.Mask.EditMask = "dd/MM/yyyy";
     this.dateEditCheckIn.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.dateEditCheckIn.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     this.dateEditCheckIn.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.dateEditCheckIn.Size = new System.Drawing.Size(502, 20);
     this.dateEditCheckIn.TabIndex = 353;
     //
     // labelControlCheckIn
     //
     this.labelControlCheckIn.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlCheckIn.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlCheckIn.Location = new System.Drawing.Point(27, 165);
     this.labelControlCheckIn.Name = "labelControlCheckIn";
     this.labelControlCheckIn.Size = new System.Drawing.Size(121, 13);
     this.labelControlCheckIn.TabIndex = 352;
     this.labelControlCheckIn.Text = "วันที่ต้องการย้ายเข้า :";
     //
     // labelControlPayments
     //
     this.labelControlPayments.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlPayments.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlPayments.Location = new System.Drawing.Point(44, 139);
     this.labelControlPayments.Name = "labelControlPayments";
     this.labelControlPayments.Size = new System.Drawing.Size(104, 13);
     this.labelControlPayments.TabIndex = 348;
     this.labelControlPayments.Text = "จำนวนเงินจอง :";
     //
     // textEditPayments
     //
     this.textEditPayments.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditPayments.EditValue = new decimal(new int[] {
     0,
     0,
     0,
     65536});
     this.textEditPayments.Enabled = false;
     this.textEditPayments.Location = new System.Drawing.Point(154, 132);
     this.textEditPayments.Name = "textEditPayments";
     this.textEditPayments.Properties.DisplayFormat.FormatString = "n2";
     this.textEditPayments.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditPayments.Properties.EditFormat.FormatString = "n2";
     this.textEditPayments.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditPayments.Properties.Mask.BeepOnError = true;
     this.textEditPayments.Properties.Mask.EditMask = "n2";
     this.textEditPayments.Properties.Mask.IgnoreMaskBlank = false;
     this.textEditPayments.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.textEditPayments.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditPayments.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.textEditPayments.Size = new System.Drawing.Size(502, 20);
     this.textEditPayments.TabIndex = 349;
     //
     // dateEditEndOfReserved
     //
     this.dateEditEndOfReserved.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.dateEditEndOfReserved.EditValue = new System.DateTime(2013, 6, 3, 15, 53, 16, 0);
     this.dateEditEndOfReserved.Enabled = false;
     this.dateEditEndOfReserved.Location = new System.Drawing.Point(154, 184);
     this.dateEditEndOfReserved.Name = "dateEditEndOfReserved";
     this.dateEditEndOfReserved.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.dateEditEndOfReserved.Properties.DisplayFormat.FormatString = "dd MMMM yyyy";
     this.dateEditEndOfReserved.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dateEditEndOfReserved.Properties.EditFormat.FormatString = "dd MMMM yyyy";
     this.dateEditEndOfReserved.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dateEditEndOfReserved.Properties.Mask.EditMask = "dd/MM/yyyy";
     this.dateEditEndOfReserved.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.dateEditEndOfReserved.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     this.dateEditEndOfReserved.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.dateEditEndOfReserved.Size = new System.Drawing.Size(502, 20);
     this.dateEditEndOfReserved.TabIndex = 351;
     //
     // labelControlEndOfReserved
     //
     this.labelControlEndOfReserved.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlEndOfReserved.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlEndOfReserved.Location = new System.Drawing.Point(33, 191);
     this.labelControlEndOfReserved.Name = "labelControlEndOfReserved";
     this.labelControlEndOfReserved.Size = new System.Drawing.Size(115, 13);
     this.labelControlEndOfReserved.TabIndex = 350;
     this.labelControlEndOfReserved.Text = "วันที่สิ้นสุดการจอง :";
     //
     // labelControlPhone
     //
     this.labelControlPhone.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlPhone.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlPhone.Location = new System.Drawing.Point(53, 113);
     this.labelControlPhone.Name = "labelControlPhone";
     this.labelControlPhone.Size = new System.Drawing.Size(95, 13);
     this.labelControlPhone.TabIndex = 346;
     this.labelControlPhone.Text = "เบอร์ติดต่อ :";
     //
     // labelControlLastName
     //
     this.labelControlLastName.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlLastName.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlLastName.Location = new System.Drawing.Point(77, 87);
     this.labelControlLastName.Name = "labelControlLastName";
     this.labelControlLastName.Size = new System.Drawing.Size(71, 13);
     this.labelControlLastName.TabIndex = 343;
     this.labelControlLastName.Text = "นามสกุล :";
     //
     // textEditPhone
     //
     this.textEditPhone.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditPhone.EditValue = "";
     this.textEditPhone.Enabled = false;
     this.textEditPhone.Location = new System.Drawing.Point(154, 106);
     this.textEditPhone.Name = "textEditPhone";
     this.textEditPhone.Properties.MaxLength = 50;
     this.textEditPhone.Size = new System.Drawing.Size(502, 20);
     this.textEditPhone.TabIndex = 347;
     //
     // labelControlName
     //
     this.labelControlName.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlName.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlName.Location = new System.Drawing.Point(77, 61);
     this.labelControlName.Name = "labelControlName";
     this.labelControlName.Size = new System.Drawing.Size(71, 13);
     this.labelControlName.TabIndex = 343;
     this.labelControlName.Text = "ชื่อ :";
     //
     // panelControl1
     //
     this.panelControl1.Controls.Add(this.bttPrintContract);
     this.panelControl1.Controls.Add(this.bttCancelReserve);
     this.panelControl1.Controls.Add(this.bttPay);
     this.panelControl1.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.panelControl1.Location = new System.Drawing.Point(0, 590);
     this.panelControl1.Name = "panelControl1";
     this.panelControl1.Size = new System.Drawing.Size(714, 66);
     this.panelControl1.TabIndex = 355;
     //
     // bttPrintContract
     //
     this.bttPrintContract.Enabled = false;
     this.bttPrintContract.Image = global::DXWindowsApplication2.Properties.Resources.print;
     this.bttPrintContract.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttPrintContract.Location = new System.Drawing.Point(5, 6);
     this.bttPrintContract.Name = "bttPrintContract";
     this.bttPrintContract.Size = new System.Drawing.Size(128, 55);
     this.bttPrintContract.TabIndex = 335;
     this.bttPrintContract.Text = "พิมพ์สัญญาจอง";
     //
     // bttCancelReserve
     //
     this.bttCancelReserve.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttCancelReserve.Enabled = false;
     this.bttCancelReserve.Image = global::DXWindowsApplication2.Properties.Resources.Close;
     this.bttCancelReserve.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttCancelReserve.Location = new System.Drawing.Point(633, 4);
     this.bttCancelReserve.Name = "bttCancelReserve";
     this.bttCancelReserve.Size = new System.Drawing.Size(70, 55);
     this.bttCancelReserve.TabIndex = 25;
     this.bttCancelReserve.Text = "ยกเลิกจอง";
     //
     // bttPay
     //
     this.bttPay.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttPay.Enabled = false;
     this.bttPay.Image = global::DXWindowsApplication2.Properties.Resources.save;
     this.bttPay.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttPay.Location = new System.Drawing.Point(557, 4);
     this.bttPay.Name = "bttPay";
     this.bttPay.Size = new System.Drawing.Size(70, 55);
     this.bttPay.TabIndex = 24;
     this.bttPay.Text = "ชำระเงิน";
     //
     // RoomReserved
     //
     this.Appearance.BackColor = System.Drawing.Color.White;
     this.Appearance.Options.UseBackColor = true;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.splitContainerControl2);
     this.Name = "RoomReserved";
     this.Padding = new System.Windows.Forms.Padding(7);
     this.Size = new System.Drawing.Size(1257, 670);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).EndInit();
     this.splitContainerControl2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControlList)).EndInit();
     this.groupControlList.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlRoomLeave)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvControlRoomLeave)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditLeave.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditLeave)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit();
     this.panelControl3.ResumeLayout(false);
     this.xtraScrollableControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControlReserveList)).EndInit();
     this.groupControlReserveList.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlReserved)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvControlReserved)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditCheckInDate.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditCheckInDate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditCheckInEndDate.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditCheckInEndDate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).EndInit();
     this.panelControl4.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.textEditRecieptID.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditTenantId.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomStatus.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditReserveId.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomId.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditCheckOut.Properties.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditCheckOut.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditCoderef.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupRoomInfo)).EndInit();
     this.groupRoomInfo.ResumeLayout(false);
     this.groupDaily.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.textEditDailyRate.Properties)).EndInit();
     this.groupBoxMonthly.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.textEditMonthlyRate.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditAdvance.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditInsurance.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomType.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditFloor.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditBuilding.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomName.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlReserve)).EndInit();
     this.groupControlReserve.ResumeLayout(false);
     this.groupControlReserve.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditPrefix.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditLastName.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditName.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditCheckIn.Properties.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditCheckIn.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditPayments.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditEndOfReserved.Properties.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditEndOfReserved.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditPhone.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
     this.panelControl1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #14
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 protected void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmTinTucQL));
     this.barManager1 = new DevExpress.XtraBars.BarManager(this.components);
     this.MainBar = new DevExpress.XtraBars.Bar();
     this.barButtonItemAdd = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemXem = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemDelete = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemUpdate = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemPrint = new DevExpress.XtraBars.BarButtonItem();
     this.popupMenu1 = new DevExpress.XtraBars.PopupMenu(this.components);
     this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemDuyet = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemK_Duyet = new DevExpress.XtraBars.BarButtonItem();
     this.barSubItem1 = new DevExpress.XtraBars.BarSubItem();
     this.barButtonItemSet = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemUnSet = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemSearch = new DevExpress.XtraBars.BarButtonItem();
     this.popupMenuFilter = new DevExpress.XtraBars.PopupMenu(this.components);
     this.barCheckItemFilter = new DevExpress.XtraBars.BarCheckItem();
     this.barButtonItemClose = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem5 = new DevExpress.XtraBars.BarButtonItem();
     this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
     this.barStaticItem1 = new DevExpress.XtraBars.BarStaticItem();
     this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemCommit = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemNoCommit = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem();
     this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl();
     this.splitContainerControl2 = new DevExpress.XtraEditors.SplitContainerControl();
     this.richEditControl = new DevExpress.XtraRichEdit.RichEditControl();
     this.popupControlContainer1 = new DevExpress.XtraBars.PopupControlContainer(this.components);
     this.xtraScrollableControl1 = new DevExpress.XtraEditors.XtraScrollableControl();
     this.flowLayoutPanel2 = new System.Windows.Forms.FlowLayoutPanel();
     this.lbl_Thoi_gian_cap_nhat = new System.Windows.Forms.PLLabel();
     this.label5 = new System.Windows.Forms.PLLabel();
     this.labelControl1 = new System.Windows.Forms.PLLabel();
     this.lblNguoi_cap_nhat = new System.Windows.Forms.PLLabel();
     this.Chu_de = new System.Windows.Forms.PLLabel();
     this.label6 = new System.Windows.Forms.PLLabel();
     this.label7 = new System.Windows.Forms.PLLabel();
     this.gridControlMaster = new DevExpress.XtraGrid.GridControl();
     this.gridViewMaster = new DevExpress.XtraGrid.Views.Grid.PLGridView();
     this.CotNhomtin = new DevExpress.XtraGrid.Columns.GridColumn();
     this.CotTieude = new DevExpress.XtraGrid.Columns.GridColumn();
     this.CotNgaytao = new DevExpress.XtraGrid.Columns.GridColumn();
     this.CotNguoitao = new DevExpress.XtraGrid.Columns.GridColumn();
     this.CotPrior = new DevExpress.XtraGrid.Columns.GridColumn();
     this.CotTin_Noi_Bat = new DevExpress.XtraGrid.Columns.GridColumn();
     this.xtraTabControlDetail = new DevExpress.XtraTab.XtraTabControl();
     this.xtraTabPageDetail = new DevExpress.XtraTab.XtraTabPage();
     this.checkTin_noi_bat = new DevExpress.XtraEditors.CheckEdit();
     this.popupControlContainerFilter = new DevExpress.XtraBars.PopupControlContainer(this.components);
     this.ngay = new ProtocolVN.Framework.Win.Office.PLDateSelection();
     this.DuyetSelect = new ProtocolVN.Framework.Win.PLDuyetCheckbox();
     this.PLNhomTT = new ProtocolVN.Framework.Win.PLCombobox();
     this.labelControl2 = new System.Windows.Forms.PLLabel();
     this.labelControl6 = new System.Windows.Forms.PLLabel();
     this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.btnPhanHoi = new DevExpress.XtraBars.BarButtonItem();
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenuFilter)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
     this.splitContainerControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).BeginInit();
     this.splitContainerControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.popupControlContainer1)).BeginInit();
     this.popupControlContainer1.SuspendLayout();
     this.xtraScrollableControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMaster)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMaster)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabControlDetail)).BeginInit();
     this.xtraTabControlDetail.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkTin_noi_bat.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupControlContainerFilter)).BeginInit();
     this.popupControlContainerFilter.SuspendLayout();
     this.SuspendLayout();
     //
     // barManager1
     //
     this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
     this.MainBar});
     this.barManager1.DockControls.Add(this.barDockControlTop);
     this.barManager1.DockControls.Add(this.barDockControlBottom);
     this.barManager1.DockControls.Add(this.barDockControlLeft);
     this.barManager1.DockControls.Add(this.barDockControlRight);
     this.barManager1.Form = this;
     this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
     this.barButtonItemAdd,
     this.barButtonItemDelete,
     this.barButtonItemUpdate,
     this.barButtonItemPrint,
     this.barStaticItem1,
     this.barButtonItem1,
     this.barButtonItem2,
     this.barButtonItemCommit,
     this.barButtonItemNoCommit,
     this.barSubItem1,
     this.barButtonItemXem,
     this.barButtonItemSearch,
     this.barButtonItemClose,
     this.barCheckItemFilter,
     this.barButtonItem3,
     this.barButtonItem4,
     this.barButtonItem5,
     this.barButtonItemSet,
     this.barButtonItemUnSet,
     this.barButtonItemDuyet,
     this.barButtonItemK_Duyet});
     this.barManager1.MaxItemId = 49;
     //
     // MainBar
     //
     this.MainBar.BarName = "MainBar";
     this.MainBar.DockCol = 0;
     this.MainBar.DockRow = 0;
     this.MainBar.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
     this.MainBar.FloatLocation = new System.Drawing.Point(39, 133);
     this.MainBar.FloatSize = new System.Drawing.Size(72, 73);
     this.MainBar.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.Caption, this.barButtonItemAdd, "&Thêm"),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemXem),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemDelete),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemUpdate),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemPrint, true),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemDuyet, true),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemK_Duyet),
     new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem1),
     new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItemSet, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
     new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItemUnSet, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemSearch),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemClose, true),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem5)});
     this.MainBar.OptionsBar.AllowQuickCustomization = false;
     this.MainBar.OptionsBar.DrawDragBorder = false;
     this.MainBar.OptionsBar.RotateWhenVertical = false;
     this.MainBar.OptionsBar.UseWholeRow = true;
     this.MainBar.Text = "Custom 1";
     //
     // barButtonItemAdd
     //
     this.barButtonItemAdd.Caption = "Thêm";
     this.barButtonItemAdd.Id = 0;
     this.barButtonItemAdd.Name = "barButtonItemAdd";
     this.barButtonItemAdd.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItemXem
     //
     this.barButtonItemXem.Caption = "X&em";
     this.barButtonItemXem.Id = 24;
     this.barButtonItemXem.Name = "barButtonItemXem";
     this.barButtonItemXem.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItemDelete
     //
     this.barButtonItemDelete.Caption = "&Xóa";
     this.barButtonItemDelete.Id = 1;
     this.barButtonItemDelete.Name = "barButtonItemDelete";
     this.barButtonItemDelete.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItemUpdate
     //
     this.barButtonItemUpdate.Caption = "&Sửa";
     this.barButtonItemUpdate.Id = 2;
     this.barButtonItemUpdate.Name = "barButtonItemUpdate";
     this.barButtonItemUpdate.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItemPrint
     //
     this.barButtonItemPrint.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
     this.barButtonItemPrint.Caption = "&In";
     this.barButtonItemPrint.DropDownControl = this.popupMenu1;
     this.barButtonItemPrint.Id = 3;
     this.barButtonItemPrint.Name = "barButtonItemPrint";
     this.barButtonItemPrint.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // popupMenu1
     //
     this.popupMenu1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem4)});
     this.popupMenu1.Manager = this.barManager1;
     this.popupMenu1.Name = "popupMenu1";
     //
     // barButtonItem4
     //
     this.barButtonItem4.Caption = "Xem trước";
     this.barButtonItem4.Id = 33;
     this.barButtonItem4.Name = "barButtonItem4";
     //
     // barButtonItemDuyet
     //
     this.barButtonItemDuyet.Caption = "&Duyệt";
     this.barButtonItemDuyet.Id = 47;
     this.barButtonItemDuyet.Name = "barButtonItemDuyet";
     //
     // barButtonItemK_Duyet
     //
     this.barButtonItemK_Duyet.Caption = "&Không duyệt";
     this.barButtonItemK_Duyet.Id = 48;
     this.barButtonItemK_Duyet.Name = "barButtonItemK_Duyet";
     //
     // barSubItem1
     //
     this.barSubItem1.Caption = "&Nghiệp vụ";
     this.barSubItem1.Id = 20;
     this.barSubItem1.Name = "barSubItem1";
     this.barSubItem1.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItemSet
     //
     this.barButtonItemSet.Caption = "Thiết lập tin nổi bật";
     this.barButtonItemSet.Id = 42;
     this.barButtonItemSet.Name = "barButtonItemSet";
     this.barButtonItemSet.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
     //
     // barButtonItemUnSet
     //
     this.barButtonItemUnSet.Caption = "Hủy thiết lập tin nổi bật";
     this.barButtonItemUnSet.Id = 43;
     this.barButtonItemUnSet.Name = "barButtonItemUnSet";
     this.barButtonItemUnSet.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
     //
     // barButtonItemSearch
     //
     this.barButtonItemSearch.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
     this.barButtonItemSearch.Caption = "Tì&m kiếm";
     this.barButtonItemSearch.DropDownControl = this.popupMenuFilter;
     this.barButtonItemSearch.Id = 27;
     this.barButtonItemSearch.Name = "barButtonItemSearch";
     this.barButtonItemSearch.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // popupMenuFilter
     //
     this.popupMenuFilter.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.barCheckItemFilter)});
     this.popupMenuFilter.Manager = this.barManager1;
     this.popupMenuFilter.Name = "popupMenuFilter";
     //
     // barCheckItemFilter
     //
     this.barCheckItemFilter.Caption = "Điều &kiện lọc";
     this.barCheckItemFilter.Checked = true;
     this.barCheckItemFilter.Id = 29;
     this.barCheckItemFilter.Name = "barCheckItemFilter";
     this.barCheckItemFilter.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItemClose
     //
     this.barButtonItemClose.Caption = "Đóng";
     this.barButtonItemClose.Id = 28;
     this.barButtonItemClose.Name = "barButtonItemClose";
     this.barButtonItemClose.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItem5
     //
     this.barButtonItem5.Id = 37;
     this.barButtonItem5.Name = "barButtonItem5";
     //
     // barDockControlTop
     //
     this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top;
     this.barDockControlTop.Location = new System.Drawing.Point(0, 0);
     this.barDockControlTop.Size = new System.Drawing.Size(944, 24);
     //
     // barDockControlBottom
     //
     this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.barDockControlBottom.Location = new System.Drawing.Point(0, 481);
     this.barDockControlBottom.Size = new System.Drawing.Size(944, 0);
     //
     // barDockControlLeft
     //
     this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
     this.barDockControlLeft.Location = new System.Drawing.Point(0, 24);
     this.barDockControlLeft.Size = new System.Drawing.Size(0, 457);
     //
     // barDockControlRight
     //
     this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
     this.barDockControlRight.Location = new System.Drawing.Point(944, 24);
     this.barDockControlRight.Size = new System.Drawing.Size(0, 457);
     //
     // barStaticItem1
     //
     this.barStaticItem1.AutoSize = DevExpress.XtraBars.BarStaticItemSize.None;
     this.barStaticItem1.Border = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.barStaticItem1.Id = 13;
     this.barStaticItem1.Name = "barStaticItem1";
     this.barStaticItem1.TextAlignment = System.Drawing.StringAlignment.Near;
     this.barStaticItem1.Width = 100;
     //
     // barButtonItem1
     //
     this.barButtonItem1.Caption = "barButtonItem1";
     this.barButtonItem1.Id = 14;
     this.barButtonItem1.Name = "barButtonItem1";
     //
     // barButtonItem2
     //
     this.barButtonItem2.Caption = "barButtonItem2";
     this.barButtonItem2.Id = 15;
     this.barButtonItem2.Name = "barButtonItem2";
     //
     // barButtonItemCommit
     //
     this.barButtonItemCommit.Caption = "&Duyệt";
     this.barButtonItemCommit.Id = 17;
     this.barButtonItemCommit.Name = "barButtonItemCommit";
     this.barButtonItemCommit.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItemNoCommit
     //
     this.barButtonItemNoCommit.Caption = "&Không duyệt";
     this.barButtonItemNoCommit.Id = 18;
     this.barButtonItemNoCommit.Name = "barButtonItemNoCommit";
     this.barButtonItemNoCommit.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItem3
     //
     this.barButtonItem3.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
     this.barButtonItem3.Caption = "In";
     this.barButtonItem3.Id = 30;
     this.barButtonItem3.Name = "barButtonItem3";
     //
     // splitContainerControl1
     //
     this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerControl1.Horizontal = false;
     this.splitContainerControl1.Location = new System.Drawing.Point(0, 90);
     this.splitContainerControl1.Name = "splitContainerControl1";
     this.splitContainerControl1.Panel1.Controls.Add(this.splitContainerControl2);
     this.splitContainerControl1.Panel1.Text = "splitContainerControl1_Panel1";
     this.splitContainerControl1.Panel2.CaptionLocation = DevExpress.Utils.Locations.Left;
     this.splitContainerControl1.Panel2.Controls.Add(this.xtraTabControlDetail);
     this.splitContainerControl1.Panel2.ShowCaption = true;
     this.splitContainerControl1.Panel2.Text = "splitContainerControl1_Panel2";
     this.splitContainerControl1.Size = new System.Drawing.Size(944, 391);
     this.splitContainerControl1.SplitterPosition = 389;
     this.splitContainerControl1.TabIndex = 4;
     this.splitContainerControl1.Text = "splitContainerControl1";
     //
     // splitContainerControl2
     //
     this.splitContainerControl2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerControl2.Horizontal = false;
     this.splitContainerControl2.Location = new System.Drawing.Point(0, 0);
     this.splitContainerControl2.Name = "splitContainerControl2";
     this.splitContainerControl2.Panel1.Controls.Add(this.richEditControl);
     this.splitContainerControl2.Panel1.Controls.Add(this.popupControlContainer1);
     this.splitContainerControl2.Panel1.MinSize = 216;
     this.splitContainerControl2.Panel1.Text = "Panel1";
     this.splitContainerControl2.Panel2.Controls.Add(this.gridControlMaster);
     this.splitContainerControl2.Panel2.MinSize = 126;
     this.splitContainerControl2.Panel2.Text = "Panel2";
     this.splitContainerControl2.Size = new System.Drawing.Size(944, 385);
     this.splitContainerControl2.SplitterPosition = 337;
     this.splitContainerControl2.TabIndex = 12;
     this.splitContainerControl2.Text = "splitContainerControl2";
     //
     // richEditControl
     //
     this.richEditControl.ActiveViewType = DevExpress.XtraRichEdit.RichEditViewType.Simple;
     this.richEditControl.Dock = System.Windows.Forms.DockStyle.Fill;
     this.richEditControl.Location = new System.Drawing.Point(0, 55);
     this.richEditControl.MenuManager = this.barManager1;
     this.richEditControl.Name = "richEditControl";
     this.richEditControl.Options.Behavior.ShowPopupMenu = DevExpress.XtraRichEdit.DocumentCapability.Disabled;
     this.richEditControl.Options.Hyperlinks.ModifierKeys = System.Windows.Forms.Keys.None;
     this.richEditControl.ReadOnly = true;
     this.richEditControl.Size = new System.Drawing.Size(944, 198);
     this.richEditControl.TabIndex = 0;
     //
     // popupControlContainer1
     //
     this.popupControlContainer1.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     this.popupControlContainer1.Appearance.Options.UseBackColor = true;
     this.popupControlContainer1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.popupControlContainer1.Controls.Add(this.xtraScrollableControl1);
     this.popupControlContainer1.Controls.Add(this.lbl_Thoi_gian_cap_nhat);
     this.popupControlContainer1.Controls.Add(this.label5);
     this.popupControlContainer1.Controls.Add(this.labelControl1);
     this.popupControlContainer1.Controls.Add(this.lblNguoi_cap_nhat);
     this.popupControlContainer1.Controls.Add(this.Chu_de);
     this.popupControlContainer1.Controls.Add(this.label6);
     this.popupControlContainer1.Controls.Add(this.label7);
     this.popupControlContainer1.Dock = System.Windows.Forms.DockStyle.Top;
     this.popupControlContainer1.Location = new System.Drawing.Point(0, 0);
     this.popupControlContainer1.Manager = this.barManager1;
     this.popupControlContainer1.Name = "popupControlContainer1";
     this.popupControlContainer1.Size = new System.Drawing.Size(944, 55);
     this.popupControlContainer1.TabIndex = 1;
     this.popupControlContainer1.Visible = false;
     //
     // xtraScrollableControl1
     //
     this.xtraScrollableControl1.Appearance.BackColor = System.Drawing.Color.Transparent;
     this.xtraScrollableControl1.Appearance.Options.UseBackColor = true;
     this.xtraScrollableControl1.Controls.Add(this.flowLayoutPanel2);
     this.xtraScrollableControl1.Location = new System.Drawing.Point(106, 26);
     this.xtraScrollableControl1.Name = "xtraScrollableControl1";
     this.xtraScrollableControl1.ScrollBarSmallChange = 26;
     this.xtraScrollableControl1.Size = new System.Drawing.Size(312, 26);
     this.xtraScrollableControl1.TabIndex = 151;
     //
     // flowLayoutPanel2
     //
     this.flowLayoutPanel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.flowLayoutPanel2.BackColor = System.Drawing.Color.Transparent;
     this.flowLayoutPanel2.Location = new System.Drawing.Point(0, 0);
     this.flowLayoutPanel2.Name = "flowLayoutPanel2";
     this.flowLayoutPanel2.Size = new System.Drawing.Size(312, 26);
     this.flowLayoutPanel2.TabIndex = 0;
     //
     // lbl_Thoi_gian_cap_nhat
     //
     this.lbl_Thoi_gian_cap_nhat.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.lbl_Thoi_gian_cap_nhat.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.lbl_Thoi_gian_cap_nhat.Location = new System.Drawing.Point(795, 27);
     this.lbl_Thoi_gian_cap_nhat.Name = "lbl_Thoi_gian_cap_nhat";
     this.lbl_Thoi_gian_cap_nhat.Size = new System.Drawing.Size(133, 13);
     this.lbl_Thoi_gian_cap_nhat.TabIndex = 6;
     this.lbl_Thoi_gian_cap_nhat.Text = "<Chưa xác định>";
     this.lbl_Thoi_gian_cap_nhat.ZZZType = System.Windows.Forms.PLLabel.LabelType.NORMAL;
     //
     // label5
     //
     this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label5.Location = new System.Drawing.Point(702, 27);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(95, 13);
     this.label5.TabIndex = 5;
     this.label5.Text = "Thời gian cập nhật: ";
     this.label5.ZZZType = System.Windows.Forms.PLLabel.LabelType.NORMAL;
     //
     // labelControl1
     //
     this.labelControl1.Location = new System.Drawing.Point(18, 27);
     this.labelControl1.Name = "labelControl1";
     this.labelControl1.Size = new System.Drawing.Size(82, 13);
     this.labelControl1.TabIndex = 2;
     this.labelControl1.Text = "Tập tin đính kèm:";
     this.labelControl1.ZZZType = System.Windows.Forms.PLLabel.LabelType.NORMAL;
     //
     // lblNguoi_cap_nhat
     //
     this.lblNguoi_cap_nhat.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.lblNguoi_cap_nhat.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.lblNguoi_cap_nhat.Location = new System.Drawing.Point(781, 7);
     this.lblNguoi_cap_nhat.Name = "lblNguoi_cap_nhat";
     this.lblNguoi_cap_nhat.Size = new System.Drawing.Size(143, 13);
     this.lblNguoi_cap_nhat.TabIndex = 4;
     this.lblNguoi_cap_nhat.Text = "<Chưa xác định>";
     this.lblNguoi_cap_nhat.ZZZType = System.Windows.Forms.PLLabel.LabelType.NORMAL;
     //
     // Chu_de
     //
     this.Chu_de.Appearance.ForeColor = System.Drawing.Color.Blue;
     this.Chu_de.Appearance.Options.UseForeColor = true;
     this.Chu_de.Location = new System.Drawing.Point(59, 6);
     this.Chu_de.Name = "Chu_de";
     this.Chu_de.Size = new System.Drawing.Size(85, 13);
     this.Chu_de.TabIndex = 1;
     this.Chu_de.Text = "<Chưa xác định>";
     this.Chu_de.ZZZType = System.Windows.Forms.PLLabel.LabelType.NORMAL;
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(18, 6);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(41, 13);
     this.label6.TabIndex = 0;
     this.label6.Text = "Chủ đề: ";
     this.label6.ZZZType = System.Windows.Forms.PLLabel.LabelType.NORMAL;
     //
     // label7
     //
     this.label7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label7.Location = new System.Drawing.Point(702, 7);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(80, 13);
     this.label7.TabIndex = 3;
     this.label7.Text = "Người cập nhật: ";
     this.label7.ZZZType = System.Windows.Forms.PLLabel.LabelType.NORMAL;
     //
     // gridControlMaster
     //
     this.gridControlMaster.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("gridControlMaster.BackgroundImage")));
     this.gridControlMaster.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
     this.gridControlMaster.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlMaster.Location = new System.Drawing.Point(0, 0);
     this.gridControlMaster.MainView = this.gridViewMaster;
     this.gridControlMaster.Name = "gridControlMaster";
     this.gridControlMaster.Size = new System.Drawing.Size(944, 126);
     this.gridControlMaster.TabIndex = 0;
     this.gridControlMaster.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewMaster});
     //
     // gridViewMaster
     //
     this.gridViewMaster.Appearance.HeaderPanel.Options.UseTextOptions = true;
     this.gridViewMaster.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridViewMaster.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.CotNhomtin,
     this.CotTieude,
     this.CotNgaytao,
     this.CotNguoitao,
     this.CotPrior,
     this.CotTin_Noi_Bat});
     this.gridViewMaster.GridControl = this.gridControlMaster;
     this.gridViewMaster.GroupPanelText = "DANH SÁCH TIN TỨC";
     this.gridViewMaster.IndicatorWidth = 40;
     this.gridViewMaster.Name = "gridViewMaster";
     this.gridViewMaster.OptionsLayout.Columns.AddNewColumns = false;
     this.gridViewMaster.OptionsNavigation.AutoFocusNewRow = true;
     this.gridViewMaster.OptionsNavigation.EnterMoveNextColumn = true;
     this.gridViewMaster.OptionsPrint.UsePrintStyles = true;
     this.gridViewMaster.OptionsView.EnableAppearanceEvenRow = true;
     this.gridViewMaster.OptionsView.EnableAppearanceOddRow = true;
     this.gridViewMaster.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom;
     this.gridViewMaster.OptionsView.ShowGroupedColumns = true;
     this.gridViewMaster.OptionsView.ShowGroupPanel = false;
     //
     // CotNhomtin
     //
     this.CotNhomtin.Caption = "Nhóm tin";
     this.CotNhomtin.Name = "CotNhomtin";
     this.CotNhomtin.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
     this.CotNhomtin.Visible = true;
     this.CotNhomtin.VisibleIndex = 3;
     this.CotNhomtin.Width = 54;
     //
     // CotTieude
     //
     this.CotTieude.Caption = "Chủ đề";
     this.CotTieude.Name = "CotTieude";
     this.CotTieude.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
     this.CotTieude.Visible = true;
     this.CotTieude.VisibleIndex = 0;
     this.CotTieude.Width = 46;
     //
     // CotNgaytao
     //
     this.CotNgaytao.Caption = "Thời gian cập nhật";
     this.CotNgaytao.Name = "CotNgaytao";
     this.CotNgaytao.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
     this.CotNgaytao.Visible = true;
     this.CotNgaytao.VisibleIndex = 1;
     this.CotNgaytao.Width = 100;
     //
     // CotNguoitao
     //
     this.CotNguoitao.Caption = "Nhân viên";
     this.CotNguoitao.Name = "CotNguoitao";
     this.CotNguoitao.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
     this.CotNguoitao.Visible = true;
     this.CotNguoitao.VisibleIndex = 2;
     this.CotNguoitao.Width = 60;
     //
     // CotPrior
     //
     this.CotPrior.Caption = "Prior";
     this.CotPrior.Name = "CotPrior";
     this.CotPrior.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
     this.CotPrior.Width = 34;
     //
     // CotTin_Noi_Bat
     //
     this.CotTin_Noi_Bat.Caption = "Tin_Noi_Bat";
     this.CotTin_Noi_Bat.Name = "CotTin_Noi_Bat";
     this.CotTin_Noi_Bat.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
     this.CotTin_Noi_Bat.Width = 69;
     //
     // xtraTabControlDetail
     //
     this.xtraTabControlDetail.Dock = System.Windows.Forms.DockStyle.Fill;
     this.xtraTabControlDetail.Location = new System.Drawing.Point(0, 0);
     this.xtraTabControlDetail.Name = "xtraTabControlDetail";
     this.xtraTabControlDetail.SelectedTabPage = this.xtraTabPageDetail;
     this.xtraTabControlDetail.Size = new System.Drawing.Size(0, 0);
     this.xtraTabControlDetail.TabIndex = 11;
     this.xtraTabControlDetail.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
     this.xtraTabPageDetail});
     //
     // xtraTabPageDetail
     //
     this.xtraTabPageDetail.Name = "xtraTabPageDetail";
     this.xtraTabPageDetail.Size = new System.Drawing.Size(0, 0);
     this.xtraTabPageDetail.Text = "Chi tiết";
     //
     // checkTin_noi_bat
     //
     this.checkTin_noi_bat.Location = new System.Drawing.Point(59, 37);
     this.checkTin_noi_bat.Name = "checkTin_noi_bat";
     this.checkTin_noi_bat.Properties.Caption = "Xem 5 tin mới nhất";
     this.checkTin_noi_bat.Size = new System.Drawing.Size(128, 19);
     this.checkTin_noi_bat.TabIndex = 2;
     //
     // popupControlContainerFilter
     //
     this.popupControlContainerFilter.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.popupControlContainerFilter.Controls.Add(this.ngay);
     this.popupControlContainerFilter.Controls.Add(this.checkTin_noi_bat);
     this.popupControlContainerFilter.Controls.Add(this.DuyetSelect);
     this.popupControlContainerFilter.Controls.Add(this.PLNhomTT);
     this.popupControlContainerFilter.Controls.Add(this.labelControl2);
     this.popupControlContainerFilter.Controls.Add(this.labelControl6);
     this.popupControlContainerFilter.Dock = System.Windows.Forms.DockStyle.Top;
     this.popupControlContainerFilter.Location = new System.Drawing.Point(0, 24);
     this.popupControlContainerFilter.Manager = this.barManager1;
     this.popupControlContainerFilter.Name = "popupControlContainerFilter";
     this.popupControlContainerFilter.Size = new System.Drawing.Size(944, 66);
     this.popupControlContainerFilter.TabIndex = 0;
     this.popupControlContainerFilter.Visible = false;
     //
     // ngay
     //
     this.ngay.Caption = "Năm 2010 và 2011";
     this.ngay.Default = ProtocolVN.Framework.Win.Trial.SelectionTypes.FromMonthToMonth;
     this.ngay.FirstFrom = new System.DateTime(2010, 1, 1, 0, 0, 0, 0);
     this.ngay.FirstTo = new System.DateTime(2011, 12, 31, 0, 0, 0, 0);
     this.ngay.FromDate = new System.DateTime(2010, 1, 1, 0, 0, 0, 0);
     this.ngay.Location = new System.Drawing.Point(319, 11);
     this.ngay.Name = "ngay";
     this.ngay.ReturnType = ProtocolVN.Framework.Win.Trial.TimeType.Date;
     this.ngay.SecondFrom = new System.DateTime(2010, 1, 1, 0, 0, 0, 0);
     this.ngay.SecondTo = new System.DateTime(2011, 12, 31, 0, 0, 0, 0);
     this.ngay.SelectedType = ProtocolVN.Framework.Win.Trial.SelectionTypes.FromYearToYear;
     this.ngay.Size = new System.Drawing.Size(224, 21);
     this.ngay.TabIndex = 1;
     this.ngay.ToDate = new System.DateTime(2011, 12, 31, 0, 0, 0, 0);
     this.ngay.Types = ((ProtocolVN.Framework.Win.Trial.SelectionTypes)(((((((((ProtocolVN.Framework.Win.Trial.SelectionTypes.OneDate | ProtocolVN.Framework.Win.Trial.SelectionTypes.OneMonth)
                 | ProtocolVN.Framework.Win.Trial.SelectionTypes.OneQuarter)
                 | ProtocolVN.Framework.Win.Trial.SelectionTypes.OneYear)
                 | ProtocolVN.Framework.Win.Trial.SelectionTypes.SixMonths)
                 | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromDateToDate)
                 | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromMonthToMonth)
                 | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromQuarterToQuarter)
                 | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromYearToYear)));
     //
     // DuyetSelect
     //
     this.DuyetSelect.Location = new System.Drawing.Point(310, 37);
     this.DuyetSelect.Name = "DuyetSelect";
     this.DuyetSelect.Size = new System.Drawing.Size(233, 24);
     this.DuyetSelect.TabIndex = 3;
     //
     // PLNhomTT
     //
     this.PLNhomTT.DataSource = null;
     this.PLNhomTT.DisplayField = null;
     this.PLNhomTT.Location = new System.Drawing.Point(61, 11);
     this.PLNhomTT.Name = "PLNhomTT";
     this.PLNhomTT.Size = new System.Drawing.Size(147, 20);
     this.PLNhomTT.TabIndex = 0;
     this.PLNhomTT.ValueField = null;
     //
     // labelControl2
     //
     this.labelControl2.Location = new System.Drawing.Point(13, 14);
     this.labelControl2.Name = "labelControl2";
     this.labelControl2.Size = new System.Drawing.Size(42, 13);
     this.labelControl2.TabIndex = 4;
     this.labelControl2.Text = "Nhóm tin";
     this.labelControl2.ZZZType = System.Windows.Forms.PLLabel.LabelType.NORMAL;
     //
     // labelControl6
     //
     this.labelControl6.Location = new System.Drawing.Point(243, 14);
     this.labelControl6.Name = "labelControl6";
     this.labelControl6.Size = new System.Drawing.Size(70, 13);
     this.labelControl6.TabIndex = 5;
     this.labelControl6.Text = "Ngày cập nhật";
     this.labelControl6.ZZZType = System.Windows.Forms.PLLabel.LabelType.NORMAL;
     //
     // gridColumn8
     //
     this.gridColumn8.Caption = "VAT";
     this.gridColumn8.Name = "gridColumn8";
     this.gridColumn8.Visible = true;
     this.gridColumn8.VisibleIndex = 5;
     //
     // gridColumn6
     //
     this.gridColumn6.Caption = "VAT";
     this.gridColumn6.Name = "gridColumn6";
     this.gridColumn6.Visible = true;
     this.gridColumn6.VisibleIndex = 5;
     this.gridColumn6.Width = 96;
     //
     // btnPhanHoi
     //
     this.btnPhanHoi.Caption = "Phản hồi";
     this.btnPhanHoi.Id = 35;
     this.btnPhanHoi.Name = "btnPhanHoi";
     //
     // frmTinTucQL
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(944, 481);
     this.Controls.Add(this.splitContainerControl1);
     this.Controls.Add(this.popupControlContainerFilter);
     this.Controls.Add(this.barDockControlLeft);
     this.Controls.Add(this.barDockControlRight);
     this.Controls.Add(this.barDockControlBottom);
     this.Controls.Add(this.barDockControlTop);
     this.Name = "frmTinTucQL";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Tag = "";
     this.Text = "Tin tức";
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenuFilter)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit();
     this.splitContainerControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).EndInit();
     this.splitContainerControl2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.popupControlContainer1)).EndInit();
     this.popupControlContainer1.ResumeLayout(false);
     this.popupControlContainer1.PerformLayout();
     this.xtraScrollableControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMaster)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMaster)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabControlDetail)).EndInit();
     this.xtraTabControlDetail.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.checkTin_noi_bat.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupControlContainerFilter)).EndInit();
     this.popupControlContainerFilter.ResumeLayout(false);
     this.popupControlContainerFilter.PerformLayout();
     this.ResumeLayout(false);
 }
コード例 #15
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl();
     this.groupRoomList = new DevExpress.XtraEditors.GroupControl();
     this.gridControlRoom = new DevExpress.XtraGrid.GridControl();
     this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.room_room_code = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_room_label = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_buiding_code = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_floor_code = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_roomtype = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_room_status_label = new DevExpress.XtraGrid.Columns.GridColumn();
     this.room_meter_status = new DevExpress.XtraGrid.Columns.GridColumn();
     this.room_meter_cut = new DevExpress.XtraGrid.Columns.GridColumn();
     this.RoomID = new DevExpress.XtraGrid.Columns.GridColumn();
     this.room_invoice_status = new DevExpress.XtraGrid.Columns.GridColumn();
     this.room_tenant_id = new DevExpress.XtraGrid.Columns.GridColumn();
     this.room_tenant_fullname = new DevExpress.XtraGrid.Columns.GridColumn();
     this.room_room_status = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_rent_type = new DevExpress.XtraGrid.Columns.GridColumn();
     this.room_floor_id = new DevExpress.XtraGrid.Columns.GridColumn();
     this.room_building_id = new DevExpress.XtraGrid.Columns.GridColumn();
     this.room_eletric_meter_id = new DevExpress.XtraGrid.Columns.GridColumn();
     this.room_water_meter_id = new DevExpress.XtraGrid.Columns.GridColumn();
     this.room_phone_meter_id = new DevExpress.XtraGrid.Columns.GridColumn();
     this.panelControl2 = new DevExpress.XtraEditors.PanelControl();
     this.xtraScrollableControl1 = new DevExpress.XtraEditors.XtraScrollableControl();
     this.groupExpense = new DevExpress.XtraEditors.GroupControl();
     this.gridControlExpense = new DevExpress.XtraGrid.GridControl();
     this.gridView3 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumnOrder = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnList = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnDaily = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnMonthly = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnType = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnStatus = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnflag = new DevExpress.XtraGrid.Columns.GridColumn();
     this.bttAddExpense = new DevExpress.XtraEditors.SimpleButton();
     this.groupRental = new DevExpress.XtraEditors.GroupControl();
     this.groupOccupie = new DevExpress.XtraEditors.GroupControl();
     this.bttRemoveTenant = new DevExpress.XtraEditors.SimpleButton();
     this.bttAddTenant = new DevExpress.XtraEditors.SimpleButton();
     this.gridControlTenant = new DevExpress.XtraGrid.GridControl();
     this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.grid_tenant_prefix = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_tenant_firstname = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_tenant_surname = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_tenant_idcard = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_tenant_tel = new DevExpress.XtraGrid.Columns.GridColumn();
     this.textEditTel = new DevExpress.XtraEditors.TextEdit();
     this.textEditLastName = new DevExpress.XtraEditors.TextEdit();
     this.textEditName = new DevExpress.XtraEditors.TextEdit();
     this.textEditPrefix = new DevExpress.XtraEditors.TextEdit();
     this.labelControlTel = new DevExpress.XtraEditors.LabelControl();
     this.labelControlSurname = new DevExpress.XtraEditors.LabelControl();
     this.labelControlName = new DevExpress.XtraEditors.LabelControl();
     this.labelControlNamePrefix = new DevExpress.XtraEditors.LabelControl();
     this.groupRoomType = new DevExpress.XtraEditors.GroupControl();
     this.radioDaily = new System.Windows.Forms.RadioButton();
     this.radioMonthly = new System.Windows.Forms.RadioButton();
     this.textEditMonthlyRate = new DevExpress.XtraEditors.TextEdit();
     this.textEditDailyRate = new DevExpress.XtraEditors.TextEdit();
     this.labelControlBath3 = new DevExpress.XtraEditors.LabelControl();
     this.labelControlBath2 = new DevExpress.XtraEditors.LabelControl();
     this.labelControlMonth = new DevExpress.XtraEditors.LabelControl();
     this.labelControlBath1 = new DevExpress.XtraEditors.LabelControl();
     this.textEditInsurance = new DevExpress.XtraEditors.TextEdit();
     this.textEditBeforeRent = new DevExpress.XtraEditors.TextEdit();
     this.labelControlDailyRate = new DevExpress.XtraEditors.LabelControl();
     this.labelControlInsurance = new DevExpress.XtraEditors.LabelControl();
     this.labelControlBeforeRent = new DevExpress.XtraEditors.LabelControl();
     this.labelControlMonthlyRate = new DevExpress.XtraEditors.LabelControl();
     this.groupRoomInfo = new DevExpress.XtraEditors.GroupControl();
     this.lookUpEditFloorId = new DevExpress.XtraEditors.LookUpEdit();
     this.labelControlFloor = new DevExpress.XtraEditors.LabelControl();
     this.textEditRoomStatusInfo = new DevExpress.XtraEditors.TextEdit();
     this.labelControlRoomStatus = new DevExpress.XtraEditors.LabelControl();
     this.textEditRoomLabel = new DevExpress.XtraEditors.TextEdit();
     this.labelControlRoomName = new DevExpress.XtraEditors.LabelControl();
     this.lookUpEditRoomTypeId = new DevExpress.XtraEditors.LookUpEdit();
     this.lookUpEditBuildingId = new DevExpress.XtraEditors.LookUpEdit();
     this.labelControlRoomType = new DevExpress.XtraEditors.LabelControl();
     this.labelControlBuilding = new DevExpress.XtraEditors.LabelControl();
     this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
     this.textEditRoomStatus = new DevExpress.XtraEditors.TextEdit();
     this.textEditTenantId = new DevExpress.XtraEditors.TextEdit();
     this.textEditRoomID = new DevExpress.XtraEditors.TextEdit();
     this.textEditRoomCodeRef = new DevExpress.XtraEditors.TextEdit();
     this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
     this.bttEdit = new DevExpress.XtraEditors.SimpleButton();
     this.bttCancel = new DevExpress.XtraEditors.SimpleButton();
     this.bttSave = new DevExpress.XtraEditors.SimpleButton();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
     this.splitContainerControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupRoomList)).BeginInit();
     this.groupRoomList.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlRoom)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit();
     this.panelControl2.SuspendLayout();
     this.xtraScrollableControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupExpense)).BeginInit();
     this.groupExpense.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlExpense)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupRental)).BeginInit();
     this.groupRental.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupOccupie)).BeginInit();
     this.groupOccupie.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlTenant)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditTel.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditLastName.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditName.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditPrefix.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupRoomType)).BeginInit();
     this.groupRoomType.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditMonthlyRate.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditDailyRate.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditInsurance.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditBeforeRent.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupRoomInfo)).BeginInit();
     this.groupRoomInfo.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditFloorId.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomStatusInfo.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomLabel.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditRoomTypeId.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditBuildingId.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
     this.panelControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomStatus.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditTenantId.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomID.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomCodeRef.Properties)).BeginInit();
     this.SuspendLayout();
     //
     // splitContainerControl1
     //
     this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerControl1.Location = new System.Drawing.Point(7, 7);
     this.splitContainerControl1.Name = "splitContainerControl1";
     this.splitContainerControl1.Panel1.Controls.Add(this.groupRoomList);
     this.splitContainerControl1.Panel1.Text = "Panel1";
     this.splitContainerControl1.Panel2.Controls.Add(this.panelControl2);
     this.splitContainerControl1.Panel2.Text = "Panel2";
     this.splitContainerControl1.Size = new System.Drawing.Size(1018, 587);
     this.splitContainerControl1.SplitterPosition = 509;
     this.splitContainerControl1.TabIndex = 0;
     this.splitContainerControl1.Text = "splitContainerControl1";
     //
     // groupRoomList
     //
     this.groupRoomList.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupRoomList.AppearanceCaption.Options.UseFont = true;
     this.groupRoomList.Controls.Add(this.gridControlRoom);
     this.groupRoomList.Dock = System.Windows.Forms.DockStyle.Fill;
     this.groupRoomList.Location = new System.Drawing.Point(0, 0);
     this.groupRoomList.Name = "groupRoomList";
     this.groupRoomList.Size = new System.Drawing.Size(509, 587);
     this.groupRoomList.TabIndex = 2;
     this.groupRoomList.Text = "รายการห้อง";
     //
     // gridControlRoom
     //
     this.gridControlRoom.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlRoom.Location = new System.Drawing.Point(2, 22);
     this.gridControlRoom.MainView = this.gridView1;
     this.gridControlRoom.Name = "gridControlRoom";
     this.gridControlRoom.Size = new System.Drawing.Size(505, 563);
     this.gridControlRoom.TabIndex = 1;
     this.gridControlRoom.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridView1});
     //
     // gridView1
     //
     this.gridView1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.room_room_code,
     this.grid_room_label,
     this.grid_buiding_code,
     this.grid_floor_code,
     this.grid_roomtype,
     this.grid_room_status_label,
     this.room_meter_status,
     this.room_meter_cut,
     this.RoomID,
     this.room_invoice_status,
     this.room_tenant_id,
     this.room_tenant_fullname,
     this.room_room_status,
     this.grid_rent_type,
     this.room_floor_id,
     this.room_building_id,
     this.room_eletric_meter_id,
     this.room_water_meter_id,
     this.room_phone_meter_id});
     this.gridView1.GridControl = this.gridControlRoom;
     this.gridView1.Name = "gridView1";
     this.gridView1.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridView1.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridView1.OptionsFind.AlwaysVisible = true;
     this.gridView1.OptionsFind.ShowCloseButton = false;
     this.gridView1.OptionsPrint.EnableAppearanceEvenRow = true;
     this.gridView1.OptionsPrint.PrintPreview = true;
     this.gridView1.OptionsView.ShowGroupPanel = false;
     //
     // room_room_code
     //
     this.room_room_code.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.room_room_code.AppearanceHeader.Options.UseFont = true;
     this.room_room_code.Caption = "รหัสห้อง";
     this.room_room_code.FieldName = "coderef";
     this.room_room_code.Name = "room_room_code";
     this.room_room_code.OptionsColumn.AllowEdit = false;
     this.room_room_code.OptionsColumn.AllowFocus = false;
     this.room_room_code.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.room_room_code.OptionsColumn.AllowMove = false;
     this.room_room_code.SortMode = DevExpress.XtraGrid.ColumnSortMode.DisplayText;
     //
     // grid_room_label
     //
     this.grid_room_label.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_room_label.AppearanceHeader.Options.UseFont = true;
     this.grid_room_label.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_room_label.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_room_label.Caption = "ชื่อห้อง";
     this.grid_room_label.FieldName = "room_label";
     this.grid_room_label.Name = "grid_room_label";
     this.grid_room_label.OptionsColumn.AllowEdit = false;
     this.grid_room_label.OptionsColumn.AllowFocus = false;
     this.grid_room_label.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_room_label.OptionsColumn.AllowMove = false;
     this.grid_room_label.SortMode = DevExpress.XtraGrid.ColumnSortMode.DisplayText;
     this.grid_room_label.Visible = true;
     this.grid_room_label.VisibleIndex = 0;
     //
     // grid_buiding_code
     //
     this.grid_buiding_code.AppearanceCell.Options.UseTextOptions = true;
     this.grid_buiding_code.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_buiding_code.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_buiding_code.AppearanceHeader.Options.UseFont = true;
     this.grid_buiding_code.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_buiding_code.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_buiding_code.Caption = "อาคาร";
     this.grid_buiding_code.FieldName = "building_code";
     this.grid_buiding_code.Name = "grid_buiding_code";
     this.grid_buiding_code.OptionsColumn.AllowEdit = false;
     this.grid_buiding_code.OptionsColumn.AllowFocus = false;
     this.grid_buiding_code.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_buiding_code.OptionsColumn.AllowMove = false;
     this.grid_buiding_code.SortMode = DevExpress.XtraGrid.ColumnSortMode.DisplayText;
     this.grid_buiding_code.Visible = true;
     this.grid_buiding_code.VisibleIndex = 1;
     //
     // grid_floor_code
     //
     this.grid_floor_code.AppearanceCell.Options.UseTextOptions = true;
     this.grid_floor_code.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_floor_code.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_floor_code.AppearanceHeader.Options.UseFont = true;
     this.grid_floor_code.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_floor_code.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_floor_code.Caption = "ชั้น";
     this.grid_floor_code.FieldName = "floor_code";
     this.grid_floor_code.Name = "grid_floor_code";
     this.grid_floor_code.OptionsColumn.AllowEdit = false;
     this.grid_floor_code.OptionsColumn.AllowFocus = false;
     this.grid_floor_code.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_floor_code.OptionsColumn.AllowMove = false;
     this.grid_floor_code.SortMode = DevExpress.XtraGrid.ColumnSortMode.DisplayText;
     this.grid_floor_code.Visible = true;
     this.grid_floor_code.VisibleIndex = 2;
     //
     // grid_roomtype
     //
     this.grid_roomtype.AppearanceCell.Options.UseTextOptions = true;
     this.grid_roomtype.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_roomtype.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_roomtype.AppearanceHeader.Options.UseFont = true;
     this.grid_roomtype.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_roomtype.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_roomtype.Caption = "ประเภทห้อง";
     this.grid_roomtype.FieldName = "roomtype_label";
     this.grid_roomtype.Name = "grid_roomtype";
     this.grid_roomtype.OptionsColumn.AllowEdit = false;
     this.grid_roomtype.OptionsColumn.AllowFocus = false;
     this.grid_roomtype.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_roomtype.OptionsColumn.AllowMove = false;
     this.grid_roomtype.SortMode = DevExpress.XtraGrid.ColumnSortMode.DisplayText;
     this.grid_roomtype.Visible = true;
     this.grid_roomtype.VisibleIndex = 3;
     //
     // grid_room_status_label
     //
     this.grid_room_status_label.AppearanceCell.Options.UseTextOptions = true;
     this.grid_room_status_label.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_room_status_label.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_room_status_label.AppearanceHeader.Options.UseFont = true;
     this.grid_room_status_label.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_room_status_label.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_room_status_label.Caption = "สถานะ";
     this.grid_room_status_label.FieldName = "room_status_label";
     this.grid_room_status_label.Name = "grid_room_status_label";
     this.grid_room_status_label.OptionsColumn.AllowEdit = false;
     this.grid_room_status_label.OptionsColumn.AllowFocus = false;
     this.grid_room_status_label.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_room_status_label.OptionsColumn.AllowMove = false;
     this.grid_room_status_label.SortMode = DevExpress.XtraGrid.ColumnSortMode.DisplayText;
     this.grid_room_status_label.Visible = true;
     this.grid_room_status_label.VisibleIndex = 4;
     //
     // room_meter_status
     //
     this.room_meter_status.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.room_meter_status.AppearanceHeader.Options.UseFont = true;
     this.room_meter_status.Caption = "สถานะการสื่อสารมิเตอร์";
     this.room_meter_status.FieldName = "meter_status";
     this.room_meter_status.Name = "room_meter_status";
     this.room_meter_status.OptionsColumn.AllowEdit = false;
     this.room_meter_status.OptionsColumn.AllowFocus = false;
     this.room_meter_status.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.room_meter_status.OptionsColumn.AllowMove = false;
     //
     // room_meter_cut
     //
     this.room_meter_cut.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.room_meter_cut.AppearanceHeader.Options.UseFont = true;
     this.room_meter_cut.Caption = "สถานะการใช้ไฟ";
     this.room_meter_cut.FieldName = "meter_cut";
     this.room_meter_cut.Name = "room_meter_cut";
     this.room_meter_cut.OptionsColumn.AllowEdit = false;
     this.room_meter_cut.OptionsColumn.AllowFocus = false;
     this.room_meter_cut.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.room_meter_cut.OptionsColumn.AllowMove = false;
     //
     // RoomID
     //
     this.RoomID.Caption = "RoomID";
     this.RoomID.FieldName = "room_id";
     this.RoomID.Name = "RoomID";
     this.RoomID.OptionsColumn.AllowEdit = false;
     this.RoomID.OptionsColumn.AllowFocus = false;
     this.RoomID.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.True;
     this.RoomID.OptionsColumn.AllowMove = false;
     //
     // room_invoice_status
     //
     this.room_invoice_status.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.room_invoice_status.AppearanceHeader.Options.UseFont = true;
     this.room_invoice_status.Caption = "สถานะใบแจ้งหนี้";
     this.room_invoice_status.Name = "room_invoice_status";
     this.room_invoice_status.OptionsColumn.AllowEdit = false;
     this.room_invoice_status.OptionsColumn.AllowFocus = false;
     this.room_invoice_status.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.room_invoice_status.OptionsColumn.AllowMove = false;
     this.room_invoice_status.SortMode = DevExpress.XtraGrid.ColumnSortMode.DisplayText;
     //
     // room_tenant_id
     //
     this.room_tenant_id.Caption = "gridColumn1";
     this.room_tenant_id.Name = "room_tenant_id";
     this.room_tenant_id.OptionsColumn.AllowEdit = false;
     this.room_tenant_id.OptionsColumn.AllowFocus = false;
     this.room_tenant_id.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.room_tenant_id.OptionsColumn.AllowMove = false;
     //
     // room_tenant_fullname
     //
     this.room_tenant_fullname.Caption = "gridColumn1";
     this.room_tenant_fullname.FieldName = "fullname";
     this.room_tenant_fullname.Name = "room_tenant_fullname";
     this.room_tenant_fullname.OptionsColumn.AllowEdit = false;
     this.room_tenant_fullname.OptionsColumn.AllowFocus = false;
     this.room_tenant_fullname.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.room_tenant_fullname.OptionsColumn.AllowMove = false;
     //
     // room_room_status
     //
     this.room_room_status.Caption = "gridColumn2";
     this.room_room_status.FieldName = "room_status";
     this.room_room_status.Name = "room_room_status";
     this.room_room_status.OptionsColumn.AllowEdit = false;
     this.room_room_status.OptionsColumn.AllowFocus = false;
     this.room_room_status.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.room_room_status.OptionsColumn.AllowMove = false;
     //
     // grid_rent_type
     //
     this.grid_rent_type.AppearanceCell.Options.UseTextOptions = true;
     this.grid_rent_type.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_rent_type.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_rent_type.AppearanceHeader.Options.UseFont = true;
     this.grid_rent_type.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_rent_type.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_rent_type.Caption = "ประเภทการเช่า";
     this.grid_rent_type.FieldName = "check_in_contracttype_text";
     this.grid_rent_type.Name = "grid_rent_type";
     this.grid_rent_type.OptionsColumn.AllowEdit = false;
     this.grid_rent_type.OptionsColumn.AllowFocus = false;
     this.grid_rent_type.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_rent_type.OptionsColumn.AllowMove = false;
     this.grid_rent_type.Visible = true;
     this.grid_rent_type.VisibleIndex = 5;
     //
     // room_floor_id
     //
     this.room_floor_id.Caption = "floor_id";
     this.room_floor_id.FieldName = "floor_id";
     this.room_floor_id.Name = "room_floor_id";
     this.room_floor_id.OptionsColumn.AllowEdit = false;
     this.room_floor_id.OptionsColumn.AllowFocus = false;
     this.room_floor_id.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.room_floor_id.OptionsColumn.AllowMove = false;
     //
     // room_building_id
     //
     this.room_building_id.Caption = "building_id";
     this.room_building_id.FieldName = "building_id";
     this.room_building_id.Name = "room_building_id";
     this.room_building_id.OptionsColumn.AllowEdit = false;
     this.room_building_id.OptionsColumn.AllowFocus = false;
     this.room_building_id.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.room_building_id.OptionsColumn.AllowMove = false;
     //
     // room_eletric_meter_id
     //
     this.room_eletric_meter_id.Caption = "room_eletric_meter_id";
     this.room_eletric_meter_id.FieldName = "current_electricity_id";
     this.room_eletric_meter_id.Name = "room_eletric_meter_id";
     this.room_eletric_meter_id.OptionsColumn.AllowEdit = false;
     this.room_eletric_meter_id.OptionsColumn.AllowFocus = false;
     this.room_eletric_meter_id.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.room_eletric_meter_id.OptionsColumn.AllowMove = false;
     //
     // room_water_meter_id
     //
     this.room_water_meter_id.Caption = "room_water_meter_id";
     this.room_water_meter_id.FieldName = "current_water_id";
     this.room_water_meter_id.Name = "room_water_meter_id";
     this.room_water_meter_id.OptionsColumn.AllowEdit = false;
     this.room_water_meter_id.OptionsColumn.AllowFocus = false;
     this.room_water_meter_id.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.room_water_meter_id.OptionsColumn.AllowMove = false;
     //
     // room_phone_meter_id
     //
     this.room_phone_meter_id.Caption = "room_phone_meter_id";
     this.room_phone_meter_id.FieldName = "current_phone_id";
     this.room_phone_meter_id.Name = "room_phone_meter_id";
     this.room_phone_meter_id.OptionsColumn.AllowEdit = false;
     this.room_phone_meter_id.OptionsColumn.AllowFocus = false;
     this.room_phone_meter_id.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.room_phone_meter_id.OptionsColumn.AllowMove = false;
     //
     // panelControl2
     //
     this.panelControl2.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl2.Controls.Add(this.xtraScrollableControl1);
     this.panelControl2.Controls.Add(this.panelControl1);
     this.panelControl2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panelControl2.Location = new System.Drawing.Point(0, 0);
     this.panelControl2.Name = "panelControl2";
     this.panelControl2.Size = new System.Drawing.Size(504, 587);
     this.panelControl2.TabIndex = 1;
     //
     // xtraScrollableControl1
     //
     this.xtraScrollableControl1.Controls.Add(this.groupExpense);
     this.xtraScrollableControl1.Controls.Add(this.groupRental);
     this.xtraScrollableControl1.Controls.Add(this.groupRoomType);
     this.xtraScrollableControl1.Controls.Add(this.groupRoomInfo);
     this.xtraScrollableControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.xtraScrollableControl1.Location = new System.Drawing.Point(0, 0);
     this.xtraScrollableControl1.Name = "xtraScrollableControl1";
     this.xtraScrollableControl1.Size = new System.Drawing.Size(504, 521);
     this.xtraScrollableControl1.TabIndex = 0;
     //
     // groupExpense
     //
     this.groupExpense.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupExpense.AppearanceCaption.Options.UseFont = true;
     this.groupExpense.Controls.Add(this.gridControlExpense);
     this.groupExpense.Controls.Add(this.bttAddExpense);
     this.groupExpense.Dock = System.Windows.Forms.DockStyle.Top;
     this.groupExpense.Location = new System.Drawing.Point(0, 608);
     this.groupExpense.Name = "groupExpense";
     this.groupExpense.Size = new System.Drawing.Size(488, 213);
     this.groupExpense.TabIndex = 308;
     this.groupExpense.Text = "ค่าใช้จ่ายเพิ่มเติม";
     //
     // gridControlExpense
     //
     this.gridControlExpense.Dock = System.Windows.Forms.DockStyle.Top;
     this.gridControlExpense.Enabled = false;
     this.gridControlExpense.Location = new System.Drawing.Point(2, 22);
     this.gridControlExpense.MainView = this.gridView3;
     this.gridControlExpense.Name = "gridControlExpense";
     this.gridControlExpense.Size = new System.Drawing.Size(484, 129);
     this.gridControlExpense.TabIndex = 308;
     this.gridControlExpense.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridView3});
     //
     // gridView3
     //
     this.gridView3.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.gridColumnOrder,
     this.gridColumnList,
     this.gridColumnDaily,
     this.gridColumnMonthly,
     this.gridColumnType,
     this.gridColumnStatus,
     this.gridColumn6,
     this.gridColumn7,
     this.gridColumn8,
     this.gridColumnflag});
     this.gridView3.GridControl = this.gridControlExpense;
     this.gridView3.Name = "gridView3";
     this.gridView3.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridView3.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridView3.OptionsFind.AllowFindPanel = false;
     this.gridView3.OptionsFind.ShowCloseButton = false;
     this.gridView3.OptionsSelection.MultiSelect = true;
     this.gridView3.OptionsView.ShowGroupPanel = false;
     //
     // gridColumnOrder
     //
     this.gridColumnOrder.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumnOrder.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumnOrder.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumnOrder.AppearanceHeader.Options.UseFont = true;
     this.gridColumnOrder.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumnOrder.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumnOrder.Caption = "ลำดับ";
     this.gridColumnOrder.FieldName = "item_order";
     this.gridColumnOrder.Name = "gridColumnOrder";
     this.gridColumnOrder.OptionsColumn.AllowEdit = false;
     this.gridColumnOrder.OptionsColumn.AllowFocus = false;
     this.gridColumnOrder.OptionsColumn.AllowIncrementalSearch = false;
     this.gridColumnOrder.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumnOrder.OptionsColumn.AllowMove = false;
     this.gridColumnOrder.Visible = true;
     this.gridColumnOrder.VisibleIndex = 0;
     this.gridColumnOrder.Width = 57;
     //
     // gridColumnList
     //
     this.gridColumnList.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumnList.AppearanceHeader.Options.UseFont = true;
     this.gridColumnList.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumnList.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumnList.Caption = "รายการ";
     this.gridColumnList.FieldName = "item_name";
     this.gridColumnList.Name = "gridColumnList";
     this.gridColumnList.OptionsColumn.AllowEdit = false;
     this.gridColumnList.OptionsColumn.AllowFocus = false;
     this.gridColumnList.OptionsColumn.AllowIncrementalSearch = false;
     this.gridColumnList.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumnList.OptionsColumn.AllowMove = false;
     this.gridColumnList.Visible = true;
     this.gridColumnList.VisibleIndex = 1;
     this.gridColumnList.Width = 129;
     //
     // gridColumnDaily
     //
     this.gridColumnDaily.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumnDaily.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.gridColumnDaily.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumnDaily.AppearanceHeader.Options.UseFont = true;
     this.gridColumnDaily.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumnDaily.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumnDaily.Caption = "จำนวนเงินรายวัน";
     this.gridColumnDaily.DisplayFormat.FormatString = "n2";
     this.gridColumnDaily.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.gridColumnDaily.FieldName = "item_price_daily";
     this.gridColumnDaily.Name = "gridColumnDaily";
     this.gridColumnDaily.OptionsColumn.AllowEdit = false;
     this.gridColumnDaily.OptionsColumn.AllowFocus = false;
     this.gridColumnDaily.OptionsColumn.AllowIncrementalSearch = false;
     this.gridColumnDaily.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumnDaily.OptionsColumn.AllowMove = false;
     this.gridColumnDaily.UnboundType = DevExpress.Data.UnboundColumnType.Decimal;
     this.gridColumnDaily.Visible = true;
     this.gridColumnDaily.VisibleIndex = 2;
     this.gridColumnDaily.Width = 102;
     //
     // gridColumnMonthly
     //
     this.gridColumnMonthly.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumnMonthly.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.gridColumnMonthly.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumnMonthly.AppearanceHeader.Options.UseFont = true;
     this.gridColumnMonthly.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumnMonthly.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumnMonthly.Caption = "จำนวนเงินรายเดือน";
     this.gridColumnMonthly.DisplayFormat.FormatString = "n2";
     this.gridColumnMonthly.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.gridColumnMonthly.FieldName = "item_price_monthly";
     this.gridColumnMonthly.Name = "gridColumnMonthly";
     this.gridColumnMonthly.OptionsColumn.AllowEdit = false;
     this.gridColumnMonthly.OptionsColumn.AllowFocus = false;
     this.gridColumnMonthly.OptionsColumn.AllowIncrementalSearch = false;
     this.gridColumnMonthly.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumnMonthly.OptionsColumn.AllowMove = false;
     this.gridColumnMonthly.UnboundType = DevExpress.Data.UnboundColumnType.Decimal;
     this.gridColumnMonthly.Visible = true;
     this.gridColumnMonthly.VisibleIndex = 3;
     this.gridColumnMonthly.Width = 106;
     //
     // gridColumnType
     //
     this.gridColumnType.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumnType.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumnType.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumnType.AppearanceHeader.Options.UseFont = true;
     this.gridColumnType.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumnType.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumnType.Caption = "รูปแบบค่าใช้จ่าย";
     this.gridColumnType.FieldName = "item_type_label";
     this.gridColumnType.Name = "gridColumnType";
     this.gridColumnType.OptionsColumn.AllowEdit = false;
     this.gridColumnType.OptionsColumn.AllowFocus = false;
     this.gridColumnType.OptionsColumn.AllowIncrementalSearch = false;
     this.gridColumnType.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumnType.OptionsColumn.AllowMove = false;
     this.gridColumnType.Visible = true;
     this.gridColumnType.VisibleIndex = 4;
     this.gridColumnType.Width = 116;
     //
     // gridColumnStatus
     //
     this.gridColumnStatus.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumnStatus.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumnStatus.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumnStatus.AppearanceHeader.Options.UseFont = true;
     this.gridColumnStatus.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumnStatus.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumnStatus.Caption = "สถานะ";
     this.gridColumnStatus.FieldName = "check_box";
     this.gridColumnStatus.Name = "gridColumnStatus";
     this.gridColumnStatus.OptionsColumn.AllowIncrementalSearch = false;
     this.gridColumnStatus.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumnStatus.OptionsColumn.AllowMove = false;
     this.gridColumnStatus.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
     this.gridColumnStatus.Visible = true;
     this.gridColumnStatus.VisibleIndex = 5;
     this.gridColumnStatus.Width = 60;
     //
     // gridColumn6
     //
     this.gridColumn6.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumn6.AppearanceHeader.Options.UseFont = true;
     this.gridColumn6.Caption = "สถานะการใช้งาน";
     this.gridColumn6.Name = "gridColumn6";
     this.gridColumn6.OptionsColumn.AllowEdit = false;
     this.gridColumn6.OptionsColumn.AllowFocus = false;
     this.gridColumn6.OptionsColumn.AllowIncrementalSearch = false;
     this.gridColumn6.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumn6.OptionsColumn.AllowMove = false;
     //
     // gridColumn7
     //
     this.gridColumn7.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumn7.AppearanceHeader.Options.UseFont = true;
     this.gridColumn7.Caption = "item_price_weekly";
     this.gridColumn7.FieldName = "item_price_weekly";
     this.gridColumn7.Name = "gridColumn7";
     this.gridColumn7.OptionsColumn.AllowEdit = false;
     this.gridColumn7.OptionsColumn.AllowFocus = false;
     this.gridColumn7.OptionsColumn.AllowIncrementalSearch = false;
     this.gridColumn7.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumn7.OptionsColumn.AllowMove = false;
     //
     // gridColumn8
     //
     this.gridColumn8.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumn8.AppearanceHeader.Options.UseFont = true;
     this.gridColumn8.Caption = "item_detail";
     this.gridColumn8.FieldName = "item_detail";
     this.gridColumn8.Name = "gridColumn8";
     this.gridColumn8.OptionsColumn.AllowEdit = false;
     this.gridColumn8.OptionsColumn.AllowFocus = false;
     this.gridColumn8.OptionsColumn.AllowIncrementalSearch = false;
     this.gridColumn8.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumn8.OptionsColumn.AllowMove = false;
     //
     // gridColumnflag
     //
     this.gridColumnflag.Caption = "item_flag";
     this.gridColumnflag.FieldName = "item_flag";
     this.gridColumnflag.Name = "gridColumnflag";
     //
     // bttAddExpense
     //
     this.bttAddExpense.Enabled = false;
     this.bttAddExpense.Location = new System.Drawing.Point(5, 157);
     this.bttAddExpense.Name = "bttAddExpense";
     this.bttAddExpense.Size = new System.Drawing.Size(57, 30);
     this.bttAddExpense.TabIndex = 307;
     this.bttAddExpense.Text = "เพิ่ม";
     //
     // groupRental
     //
     this.groupRental.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupRental.AppearanceCaption.Options.UseFont = true;
     this.groupRental.Controls.Add(this.groupOccupie);
     this.groupRental.Controls.Add(this.textEditTel);
     this.groupRental.Controls.Add(this.textEditLastName);
     this.groupRental.Controls.Add(this.textEditName);
     this.groupRental.Controls.Add(this.textEditPrefix);
     this.groupRental.Controls.Add(this.labelControlTel);
     this.groupRental.Controls.Add(this.labelControlSurname);
     this.groupRental.Controls.Add(this.labelControlName);
     this.groupRental.Controls.Add(this.labelControlNamePrefix);
     this.groupRental.Dock = System.Windows.Forms.DockStyle.Top;
     this.groupRental.Location = new System.Drawing.Point(0, 321);
     this.groupRental.Name = "groupRental";
     this.groupRental.Size = new System.Drawing.Size(488, 287);
     this.groupRental.TabIndex = 113;
     this.groupRental.Text = "ผู้เช่า";
     //
     // groupOccupie
     //
     this.groupOccupie.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupOccupie.AppearanceCaption.Options.UseFont = true;
     this.groupOccupie.Controls.Add(this.bttRemoveTenant);
     this.groupOccupie.Controls.Add(this.bttAddTenant);
     this.groupOccupie.Controls.Add(this.gridControlTenant);
     this.groupOccupie.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.groupOccupie.Location = new System.Drawing.Point(2, 145);
     this.groupOccupie.Name = "groupOccupie";
     this.groupOccupie.Size = new System.Drawing.Size(484, 140);
     this.groupOccupie.TabIndex = 450;
     this.groupOccupie.Text = "ผู้ร่วมอาศัย";
     //
     // bttRemoveTenant
     //
     this.bttRemoveTenant.Enabled = false;
     this.bttRemoveTenant.Location = new System.Drawing.Point(65, 104);
     this.bttRemoveTenant.Name = "bttRemoveTenant";
     this.bttRemoveTenant.Size = new System.Drawing.Size(57, 30);
     this.bttRemoveTenant.TabIndex = 312;
     this.bttRemoveTenant.Text = "ลบ";
     //
     // bttAddTenant
     //
     this.bttAddTenant.Enabled = false;
     this.bttAddTenant.Location = new System.Drawing.Point(5, 104);
     this.bttAddTenant.Name = "bttAddTenant";
     this.bttAddTenant.Size = new System.Drawing.Size(57, 30);
     this.bttAddTenant.TabIndex = 313;
     this.bttAddTenant.Text = "เพิ่ม";
     //
     // gridControlTenant
     //
     this.gridControlTenant.Dock = System.Windows.Forms.DockStyle.Top;
     this.gridControlTenant.Enabled = false;
     this.gridControlTenant.Location = new System.Drawing.Point(2, 22);
     this.gridControlTenant.MainView = this.gridView2;
     this.gridControlTenant.Name = "gridControlTenant";
     this.gridControlTenant.Size = new System.Drawing.Size(480, 76);
     this.gridControlTenant.TabIndex = 311;
     this.gridControlTenant.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridView2});
     //
     // gridView2
     //
     this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.grid_tenant_prefix,
     this.grid_tenant_firstname,
     this.grid_tenant_surname,
     this.grid_tenant_idcard,
     this.grid_tenant_tel});
     this.gridView2.GridControl = this.gridControlTenant;
     this.gridView2.Name = "gridView2";
     this.gridView2.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridView2.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridView2.OptionsFind.AllowFindPanel = false;
     this.gridView2.OptionsFind.ShowCloseButton = false;
     this.gridView2.OptionsSelection.MultiSelect = true;
     this.gridView2.OptionsView.ShowGroupPanel = false;
     //
     // grid_tenant_prefix
     //
     this.grid_tenant_prefix.AppearanceCell.Options.UseTextOptions = true;
     this.grid_tenant_prefix.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_tenant_prefix.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_tenant_prefix.AppearanceHeader.Options.UseFont = true;
     this.grid_tenant_prefix.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_tenant_prefix.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_tenant_prefix.Caption = "คำนำหน้า";
     this.grid_tenant_prefix.FieldName = "tenant_roomate_prefix_text";
     this.grid_tenant_prefix.Name = "grid_tenant_prefix";
     this.grid_tenant_prefix.OptionsColumn.AllowEdit = false;
     this.grid_tenant_prefix.OptionsColumn.AllowFocus = false;
     this.grid_tenant_prefix.OptionsColumn.AllowIncrementalSearch = false;
     this.grid_tenant_prefix.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_tenant_prefix.OptionsColumn.AllowMove = false;
     this.grid_tenant_prefix.Visible = true;
     this.grid_tenant_prefix.VisibleIndex = 0;
     this.grid_tenant_prefix.Width = 81;
     //
     // grid_tenant_firstname
     //
     this.grid_tenant_firstname.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_tenant_firstname.AppearanceHeader.Options.UseFont = true;
     this.grid_tenant_firstname.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_tenant_firstname.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_tenant_firstname.Caption = "ชื่อ";
     this.grid_tenant_firstname.FieldName = "tenant_roomate_firstname";
     this.grid_tenant_firstname.Name = "grid_tenant_firstname";
     this.grid_tenant_firstname.OptionsColumn.AllowEdit = false;
     this.grid_tenant_firstname.OptionsColumn.AllowFocus = false;
     this.grid_tenant_firstname.OptionsColumn.AllowIncrementalSearch = false;
     this.grid_tenant_firstname.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_tenant_firstname.OptionsColumn.AllowMove = false;
     this.grid_tenant_firstname.UnboundType = DevExpress.Data.UnboundColumnType.Decimal;
     this.grid_tenant_firstname.Visible = true;
     this.grid_tenant_firstname.VisibleIndex = 1;
     this.grid_tenant_firstname.Width = 133;
     //
     // grid_tenant_surname
     //
     this.grid_tenant_surname.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_tenant_surname.AppearanceHeader.Options.UseFont = true;
     this.grid_tenant_surname.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_tenant_surname.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_tenant_surname.Caption = "นามสกุล";
     this.grid_tenant_surname.FieldName = "tenant_roomate_lastname";
     this.grid_tenant_surname.Name = "grid_tenant_surname";
     this.grid_tenant_surname.OptionsColumn.AllowEdit = false;
     this.grid_tenant_surname.OptionsColumn.AllowFocus = false;
     this.grid_tenant_surname.OptionsColumn.AllowIncrementalSearch = false;
     this.grid_tenant_surname.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_tenant_surname.OptionsColumn.AllowMove = false;
     this.grid_tenant_surname.UnboundType = DevExpress.Data.UnboundColumnType.Decimal;
     this.grid_tenant_surname.Visible = true;
     this.grid_tenant_surname.VisibleIndex = 2;
     this.grid_tenant_surname.Width = 149;
     //
     // grid_tenant_idcard
     //
     this.grid_tenant_idcard.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_tenant_idcard.AppearanceHeader.Options.UseFont = true;
     this.grid_tenant_idcard.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_tenant_idcard.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_tenant_idcard.Caption = "บัตรประชาชน/เลขที่หนังสือเดินทาง";
     this.grid_tenant_idcard.FieldName = "tenant_roomate_idcard";
     this.grid_tenant_idcard.Name = "grid_tenant_idcard";
     this.grid_tenant_idcard.OptionsColumn.AllowEdit = false;
     this.grid_tenant_idcard.OptionsColumn.AllowFocus = false;
     this.grid_tenant_idcard.OptionsColumn.AllowIncrementalSearch = false;
     this.grid_tenant_idcard.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_tenant_idcard.OptionsColumn.AllowMove = false;
     this.grid_tenant_idcard.Visible = true;
     this.grid_tenant_idcard.VisibleIndex = 3;
     this.grid_tenant_idcard.Width = 127;
     //
     // grid_tenant_tel
     //
     this.grid_tenant_tel.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_tenant_tel.AppearanceHeader.Options.UseFont = true;
     this.grid_tenant_tel.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_tenant_tel.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_tenant_tel.Caption = "เบอร์ติดต่อ";
     this.grid_tenant_tel.FieldName = "tenant_roommatemobile_no";
     this.grid_tenant_tel.Name = "grid_tenant_tel";
     this.grid_tenant_tel.OptionsColumn.AllowEdit = false;
     this.grid_tenant_tel.OptionsColumn.AllowFocus = false;
     this.grid_tenant_tel.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False;
     this.grid_tenant_tel.OptionsColumn.AllowIncrementalSearch = false;
     this.grid_tenant_tel.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_tenant_tel.OptionsColumn.AllowMove = false;
     this.grid_tenant_tel.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
     this.grid_tenant_tel.Visible = true;
     this.grid_tenant_tel.VisibleIndex = 4;
     this.grid_tenant_tel.Width = 60;
     //
     // textEditTel
     //
     this.textEditTel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditTel.Enabled = false;
     this.textEditTel.Location = new System.Drawing.Point(107, 112);
     this.textEditTel.Name = "textEditTel";
     this.textEditTel.Properties.MaxLength = 200;
     this.textEditTel.Size = new System.Drawing.Size(248, 20);
     this.textEditTel.TabIndex = 95;
     //
     // textEditLastName
     //
     this.textEditLastName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditLastName.Enabled = false;
     this.textEditLastName.Location = new System.Drawing.Point(107, 86);
     this.textEditLastName.Name = "textEditLastName";
     this.textEditLastName.Properties.MaxLength = 200;
     this.textEditLastName.Size = new System.Drawing.Size(248, 20);
     this.textEditLastName.TabIndex = 95;
     //
     // textEditName
     //
     this.textEditName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditName.Enabled = false;
     this.textEditName.Location = new System.Drawing.Point(107, 60);
     this.textEditName.Name = "textEditName";
     this.textEditName.Properties.MaxLength = 200;
     this.textEditName.Size = new System.Drawing.Size(248, 20);
     this.textEditName.TabIndex = 95;
     //
     // textEditPrefix
     //
     this.textEditPrefix.Enabled = false;
     this.textEditPrefix.Location = new System.Drawing.Point(107, 34);
     this.textEditPrefix.Name = "textEditPrefix";
     this.textEditPrefix.Properties.MaxLength = 50;
     this.textEditPrefix.Size = new System.Drawing.Size(248, 20);
     this.textEditPrefix.TabIndex = 95;
     //
     // labelControlTel
     //
     this.labelControlTel.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlTel.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlTel.Location = new System.Drawing.Point(13, 119);
     this.labelControlTel.Name = "labelControlTel";
     this.labelControlTel.Size = new System.Drawing.Size(92, 13);
     this.labelControlTel.TabIndex = 94;
     this.labelControlTel.Text = "เบอร์ติดต่อ :";
     //
     // labelControlSurname
     //
     this.labelControlSurname.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlSurname.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlSurname.Location = new System.Drawing.Point(13, 93);
     this.labelControlSurname.Name = "labelControlSurname";
     this.labelControlSurname.Size = new System.Drawing.Size(92, 13);
     this.labelControlSurname.TabIndex = 94;
     this.labelControlSurname.Text = "นามสกุล :";
     //
     // labelControlName
     //
     this.labelControlName.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlName.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlName.Location = new System.Drawing.Point(13, 67);
     this.labelControlName.Name = "labelControlName";
     this.labelControlName.Size = new System.Drawing.Size(92, 13);
     this.labelControlName.TabIndex = 94;
     this.labelControlName.Text = "ชื่อ :";
     //
     // labelControlNamePrefix
     //
     this.labelControlNamePrefix.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlNamePrefix.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlNamePrefix.Location = new System.Drawing.Point(13, 41);
     this.labelControlNamePrefix.Name = "labelControlNamePrefix";
     this.labelControlNamePrefix.Size = new System.Drawing.Size(92, 13);
     this.labelControlNamePrefix.TabIndex = 94;
     this.labelControlNamePrefix.Text = "คำนำหน้า :";
     //
     // groupRoomType
     //
     this.groupRoomType.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupRoomType.AppearanceCaption.Options.UseFont = true;
     this.groupRoomType.Controls.Add(this.radioDaily);
     this.groupRoomType.Controls.Add(this.radioMonthly);
     this.groupRoomType.Controls.Add(this.textEditMonthlyRate);
     this.groupRoomType.Controls.Add(this.textEditDailyRate);
     this.groupRoomType.Controls.Add(this.labelControlBath3);
     this.groupRoomType.Controls.Add(this.labelControlBath2);
     this.groupRoomType.Controls.Add(this.labelControlMonth);
     this.groupRoomType.Controls.Add(this.labelControlBath1);
     this.groupRoomType.Controls.Add(this.textEditInsurance);
     this.groupRoomType.Controls.Add(this.textEditBeforeRent);
     this.groupRoomType.Controls.Add(this.labelControlDailyRate);
     this.groupRoomType.Controls.Add(this.labelControlInsurance);
     this.groupRoomType.Controls.Add(this.labelControlBeforeRent);
     this.groupRoomType.Controls.Add(this.labelControlMonthlyRate);
     this.groupRoomType.Dock = System.Windows.Forms.DockStyle.Top;
     this.groupRoomType.Location = new System.Drawing.Point(0, 161);
     this.groupRoomType.Name = "groupRoomType";
     this.groupRoomType.Size = new System.Drawing.Size(488, 160);
     this.groupRoomType.TabIndex = 112;
     this.groupRoomType.Text = "ประเภทการเช่า";
     //
     // radioDaily
     //
     this.radioDaily.AutoSize = true;
     this.radioDaily.Enabled = false;
     this.radioDaily.Location = new System.Drawing.Point(9, 119);
     this.radioDaily.Name = "radioDaily";
     this.radioDaily.Size = new System.Drawing.Size(53, 17);
     this.radioDaily.TabIndex = 0;
     this.radioDaily.TabStop = true;
     this.radioDaily.Text = "รายวัน";
     this.radioDaily.UseVisualStyleBackColor = true;
     //
     // radioMonthly
     //
     this.radioMonthly.AutoSize = true;
     this.radioMonthly.Enabled = false;
     this.radioMonthly.Location = new System.Drawing.Point(7, 25);
     this.radioMonthly.Name = "radioMonthly";
     this.radioMonthly.Size = new System.Drawing.Size(66, 17);
     this.radioMonthly.TabIndex = 0;
     this.radioMonthly.TabStop = true;
     this.radioMonthly.Text = "รายเดือน";
     this.radioMonthly.UseVisualStyleBackColor = true;
     //
     // textEditMonthlyRate
     //
     this.textEditMonthlyRate.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditMonthlyRate.EditValue = "0.00";
     this.textEditMonthlyRate.Enabled = false;
     this.textEditMonthlyRate.Location = new System.Drawing.Point(107, 41);
     this.textEditMonthlyRate.Name = "textEditMonthlyRate";
     this.textEditMonthlyRate.Properties.Appearance.Options.UseTextOptions = true;
     this.textEditMonthlyRate.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.textEditMonthlyRate.Size = new System.Drawing.Size(248, 20);
     this.textEditMonthlyRate.TabIndex = 109;
     //
     // textEditDailyRate
     //
     this.textEditDailyRate.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditDailyRate.EditValue = "0.00";
     this.textEditDailyRate.Enabled = false;
     this.textEditDailyRate.Location = new System.Drawing.Point(107, 134);
     this.textEditDailyRate.Name = "textEditDailyRate";
     this.textEditDailyRate.Properties.Appearance.Options.UseTextOptions = true;
     this.textEditDailyRate.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.textEditDailyRate.Size = new System.Drawing.Size(248, 20);
     this.textEditDailyRate.TabIndex = 109;
     //
     // labelControlBath3
     //
     this.labelControlBath3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControlBath3.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlBath3.Location = new System.Drawing.Point(361, 137);
     this.labelControlBath3.Name = "labelControlBath3";
     this.labelControlBath3.Size = new System.Drawing.Size(61, 10);
     this.labelControlBath3.TabIndex = 106;
     this.labelControlBath3.Text = "บาท";
     //
     // labelControlBath2
     //
     this.labelControlBath2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControlBath2.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlBath2.Location = new System.Drawing.Point(361, 96);
     this.labelControlBath2.Name = "labelControlBath2";
     this.labelControlBath2.Size = new System.Drawing.Size(61, 10);
     this.labelControlBath2.TabIndex = 106;
     this.labelControlBath2.Text = "บาท";
     //
     // labelControlMonth
     //
     this.labelControlMonth.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControlMonth.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlMonth.Location = new System.Drawing.Point(361, 70);
     this.labelControlMonth.Name = "labelControlMonth";
     this.labelControlMonth.Size = new System.Drawing.Size(61, 10);
     this.labelControlMonth.TabIndex = 106;
     this.labelControlMonth.Text = "เดือน";
     //
     // labelControlBath1
     //
     this.labelControlBath1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControlBath1.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlBath1.Location = new System.Drawing.Point(361, 44);
     this.labelControlBath1.Name = "labelControlBath1";
     this.labelControlBath1.Size = new System.Drawing.Size(61, 10);
     this.labelControlBath1.TabIndex = 106;
     this.labelControlBath1.Text = "บาท";
     //
     // textEditInsurance
     //
     this.textEditInsurance.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditInsurance.EditValue = "0.00";
     this.textEditInsurance.Enabled = false;
     this.textEditInsurance.Location = new System.Drawing.Point(107, 93);
     this.textEditInsurance.Name = "textEditInsurance";
     this.textEditInsurance.Properties.Appearance.Options.UseTextOptions = true;
     this.textEditInsurance.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.textEditInsurance.Size = new System.Drawing.Size(248, 20);
     this.textEditInsurance.TabIndex = 109;
     //
     // textEditBeforeRent
     //
     this.textEditBeforeRent.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditBeforeRent.EditValue = "0";
     this.textEditBeforeRent.Enabled = false;
     this.textEditBeforeRent.Location = new System.Drawing.Point(107, 67);
     this.textEditBeforeRent.Name = "textEditBeforeRent";
     this.textEditBeforeRent.Properties.Appearance.Options.UseTextOptions = true;
     this.textEditBeforeRent.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.textEditBeforeRent.Size = new System.Drawing.Size(248, 20);
     this.textEditBeforeRent.TabIndex = 109;
     //
     // labelControlDailyRate
     //
     this.labelControlDailyRate.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlDailyRate.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlDailyRate.Location = new System.Drawing.Point(13, 141);
     this.labelControlDailyRate.Name = "labelControlDailyRate";
     this.labelControlDailyRate.Size = new System.Drawing.Size(92, 13);
     this.labelControlDailyRate.TabIndex = 106;
     this.labelControlDailyRate.Text = "ค่าเช่า :";
     //
     // labelControlInsurance
     //
     this.labelControlInsurance.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlInsurance.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlInsurance.Location = new System.Drawing.Point(5, 100);
     this.labelControlInsurance.Name = "labelControlInsurance";
     this.labelControlInsurance.Size = new System.Drawing.Size(100, 13);
     this.labelControlInsurance.TabIndex = 106;
     this.labelControlInsurance.Text = "ค่าประกัน :";
     //
     // labelControlBeforeRent
     //
     this.labelControlBeforeRent.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlBeforeRent.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlBeforeRent.Location = new System.Drawing.Point(13, 74);
     this.labelControlBeforeRent.Name = "labelControlBeforeRent";
     this.labelControlBeforeRent.Size = new System.Drawing.Size(92, 13);
     this.labelControlBeforeRent.TabIndex = 106;
     this.labelControlBeforeRent.Text = "ค่าเช่าล่วงหน้า :";
     //
     // labelControlMonthlyRate
     //
     this.labelControlMonthlyRate.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlMonthlyRate.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlMonthlyRate.Location = new System.Drawing.Point(13, 48);
     this.labelControlMonthlyRate.Name = "labelControlMonthlyRate";
     this.labelControlMonthlyRate.Size = new System.Drawing.Size(92, 13);
     this.labelControlMonthlyRate.TabIndex = 106;
     this.labelControlMonthlyRate.Text = "ค่าเช่า :";
     //
     // groupRoomInfo
     //
     this.groupRoomInfo.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupRoomInfo.AppearanceCaption.Options.UseFont = true;
     this.groupRoomInfo.Controls.Add(this.lookUpEditFloorId);
     this.groupRoomInfo.Controls.Add(this.labelControlFloor);
     this.groupRoomInfo.Controls.Add(this.textEditRoomStatusInfo);
     this.groupRoomInfo.Controls.Add(this.labelControlRoomStatus);
     this.groupRoomInfo.Controls.Add(this.textEditRoomLabel);
     this.groupRoomInfo.Controls.Add(this.labelControlRoomName);
     this.groupRoomInfo.Controls.Add(this.lookUpEditRoomTypeId);
     this.groupRoomInfo.Controls.Add(this.lookUpEditBuildingId);
     this.groupRoomInfo.Controls.Add(this.labelControlRoomType);
     this.groupRoomInfo.Controls.Add(this.labelControlBuilding);
     this.groupRoomInfo.Dock = System.Windows.Forms.DockStyle.Top;
     this.groupRoomInfo.Location = new System.Drawing.Point(0, 0);
     this.groupRoomInfo.Name = "groupRoomInfo";
     this.groupRoomInfo.Size = new System.Drawing.Size(488, 161);
     this.groupRoomInfo.TabIndex = 0;
     this.groupRoomInfo.Text = "จัดการห้อง";
     //
     // lookUpEditFloorId
     //
     this.lookUpEditFloorId.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.lookUpEditFloorId.Enabled = false;
     this.lookUpEditFloorId.Location = new System.Drawing.Point(107, 81);
     this.lookUpEditFloorId.Name = "lookUpEditFloorId";
     this.lookUpEditFloorId.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lookUpEditFloorId.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("floor_id", "floor_id", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default),
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("floor_code", "ชั้น")});
     this.lookUpEditFloorId.Size = new System.Drawing.Size(248, 20);
     this.lookUpEditFloorId.TabIndex = 111;
     //
     // labelControlFloor
     //
     this.labelControlFloor.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlFloor.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlFloor.Location = new System.Drawing.Point(24, 88);
     this.labelControlFloor.Name = "labelControlFloor";
     this.labelControlFloor.Size = new System.Drawing.Size(81, 13);
     this.labelControlFloor.TabIndex = 110;
     this.labelControlFloor.Text = "ชั้น :";
     //
     // textEditRoomStatusInfo
     //
     this.textEditRoomStatusInfo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditRoomStatusInfo.Enabled = false;
     this.textEditRoomStatusInfo.Location = new System.Drawing.Point(107, 133);
     this.textEditRoomStatusInfo.Name = "textEditRoomStatusInfo";
     this.textEditRoomStatusInfo.Size = new System.Drawing.Size(248, 20);
     this.textEditRoomStatusInfo.TabIndex = 109;
     //
     // labelControlRoomStatus
     //
     this.labelControlRoomStatus.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlRoomStatus.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlRoomStatus.Location = new System.Drawing.Point(24, 140);
     this.labelControlRoomStatus.Name = "labelControlRoomStatus";
     this.labelControlRoomStatus.Size = new System.Drawing.Size(81, 13);
     this.labelControlRoomStatus.TabIndex = 108;
     this.labelControlRoomStatus.Text = "สถานะห้อง :";
     //
     // textEditRoomLabel
     //
     this.textEditRoomLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditRoomLabel.Enabled = false;
     this.textEditRoomLabel.Location = new System.Drawing.Point(107, 29);
     this.textEditRoomLabel.Name = "textEditRoomLabel";
     this.textEditRoomLabel.Size = new System.Drawing.Size(248, 20);
     this.textEditRoomLabel.TabIndex = 107;
     //
     // labelControlRoomName
     //
     this.labelControlRoomName.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlRoomName.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlRoomName.Location = new System.Drawing.Point(24, 36);
     this.labelControlRoomName.Name = "labelControlRoomName";
     this.labelControlRoomName.Size = new System.Drawing.Size(81, 13);
     this.labelControlRoomName.TabIndex = 106;
     this.labelControlRoomName.Text = "ชื่อห้อง :";
     //
     // lookUpEditRoomTypeId
     //
     this.lookUpEditRoomTypeId.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.lookUpEditRoomTypeId.Enabled = false;
     this.lookUpEditRoomTypeId.Location = new System.Drawing.Point(107, 107);
     this.lookUpEditRoomTypeId.Name = "lookUpEditRoomTypeId";
     this.lookUpEditRoomTypeId.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lookUpEditRoomTypeId.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("roomtype_label", "ประเภทห้อง"),
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("roomtype_id", "roomtype_id", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default)});
     this.lookUpEditRoomTypeId.Size = new System.Drawing.Size(248, 20);
     this.lookUpEditRoomTypeId.TabIndex = 105;
     //
     // lookUpEditBuildingId
     //
     this.lookUpEditBuildingId.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.lookUpEditBuildingId.Enabled = false;
     this.lookUpEditBuildingId.Location = new System.Drawing.Point(107, 55);
     this.lookUpEditBuildingId.Name = "lookUpEditBuildingId";
     this.lookUpEditBuildingId.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lookUpEditBuildingId.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("building_label", "ชื่ออาคาร"),
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("building_id", "building_id", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default)});
     this.lookUpEditBuildingId.Size = new System.Drawing.Size(248, 20);
     this.lookUpEditBuildingId.TabIndex = 104;
     //
     // labelControlRoomType
     //
     this.labelControlRoomType.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlRoomType.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlRoomType.Location = new System.Drawing.Point(24, 114);
     this.labelControlRoomType.Name = "labelControlRoomType";
     this.labelControlRoomType.Size = new System.Drawing.Size(81, 13);
     this.labelControlRoomType.TabIndex = 102;
     this.labelControlRoomType.Text = "ประเภทห้อง :";
     //
     // labelControlBuilding
     //
     this.labelControlBuilding.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlBuilding.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlBuilding.Location = new System.Drawing.Point(24, 62);
     this.labelControlBuilding.Name = "labelControlBuilding";
     this.labelControlBuilding.Size = new System.Drawing.Size(81, 13);
     this.labelControlBuilding.TabIndex = 101;
     this.labelControlBuilding.Text = "อาคาร :";
     //
     // panelControl1
     //
     this.panelControl1.Controls.Add(this.textEditRoomStatus);
     this.panelControl1.Controls.Add(this.textEditTenantId);
     this.panelControl1.Controls.Add(this.textEditRoomID);
     this.panelControl1.Controls.Add(this.textEditRoomCodeRef);
     this.panelControl1.Controls.Add(this.labelControl1);
     this.panelControl1.Controls.Add(this.bttEdit);
     this.panelControl1.Controls.Add(this.bttCancel);
     this.panelControl1.Controls.Add(this.bttSave);
     this.panelControl1.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.panelControl1.Location = new System.Drawing.Point(0, 521);
     this.panelControl1.Name = "panelControl1";
     this.panelControl1.Size = new System.Drawing.Size(504, 66);
     this.panelControl1.TabIndex = 74;
     //
     // textEditRoomStatus
     //
     this.textEditRoomStatus.Location = new System.Drawing.Point(232, 25);
     this.textEditRoomStatus.Name = "textEditRoomStatus";
     this.textEditRoomStatus.Size = new System.Drawing.Size(29, 20);
     this.textEditRoomStatus.TabIndex = 101;
     this.textEditRoomStatus.Visible = false;
     //
     // textEditTenantId
     //
     this.textEditTenantId.Location = new System.Drawing.Point(197, 25);
     this.textEditTenantId.Name = "textEditTenantId";
     this.textEditTenantId.Size = new System.Drawing.Size(29, 20);
     this.textEditTenantId.TabIndex = 100;
     this.textEditTenantId.Visible = false;
     //
     // textEditRoomID
     //
     this.textEditRoomID.Location = new System.Drawing.Point(162, 25);
     this.textEditRoomID.Name = "textEditRoomID";
     this.textEditRoomID.Size = new System.Drawing.Size(29, 20);
     this.textEditRoomID.TabIndex = 99;
     this.textEditRoomID.Visible = false;
     //
     // textEditRoomCodeRef
     //
     this.textEditRoomCodeRef.Enabled = false;
     this.textEditRoomCodeRef.Location = new System.Drawing.Point(70, 21);
     this.textEditRoomCodeRef.Name = "textEditRoomCodeRef";
     this.textEditRoomCodeRef.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textEditRoomCodeRef.Properties.Appearance.Options.UseFont = true;
     this.textEditRoomCodeRef.Size = new System.Drawing.Size(75, 29);
     this.textEditRoomCodeRef.TabIndex = 98;
     this.textEditRoomCodeRef.Visible = false;
     //
     // labelControl1
     //
     this.labelControl1.Location = new System.Drawing.Point(9, 28);
     this.labelControl1.Name = "labelControl1";
     this.labelControl1.Size = new System.Drawing.Size(45, 13);
     this.labelControl1.TabIndex = 97;
     this.labelControl1.Text = "รหัสห้อง :";
     this.labelControl1.Visible = false;
     //
     // bttEdit
     //
     this.bttEdit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttEdit.Image = global::DXWindowsApplication2.Properties.Resources.edit;
     this.bttEdit.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttEdit.Location = new System.Drawing.Point(277, 5);
     this.bttEdit.Name = "bttEdit";
     this.bttEdit.Size = new System.Drawing.Size(70, 55);
     this.bttEdit.TabIndex = 19;
     this.bttEdit.Text = "แก้ไขข้อมูล";
     //
     // bttCancel
     //
     this.bttCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttCancel.Enabled = false;
     this.bttCancel.Image = global::DXWindowsApplication2.Properties.Resources.Close;
     this.bttCancel.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttCancel.Location = new System.Drawing.Point(429, 5);
     this.bttCancel.Name = "bttCancel";
     this.bttCancel.Size = new System.Drawing.Size(70, 55);
     this.bttCancel.TabIndex = 22;
     this.bttCancel.Text = "ยกเลิก";
     //
     // bttSave
     //
     this.bttSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttSave.Enabled = false;
     this.bttSave.Image = global::DXWindowsApplication2.Properties.Resources.save;
     this.bttSave.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttSave.Location = new System.Drawing.Point(353, 5);
     this.bttSave.Name = "bttSave";
     this.bttSave.Size = new System.Drawing.Size(70, 55);
     this.bttSave.TabIndex = 21;
     this.bttSave.Text = "บันทึก";
     //
     // RoomList
     //
     this.Appearance.BackColor = System.Drawing.Color.White;
     this.Appearance.Options.UseBackColor = true;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.splitContainerControl1);
     this.Name = "RoomList";
     this.Padding = new System.Windows.Forms.Padding(7);
     this.Size = new System.Drawing.Size(1032, 601);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit();
     this.splitContainerControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupRoomList)).EndInit();
     this.groupRoomList.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlRoom)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit();
     this.panelControl2.ResumeLayout(false);
     this.xtraScrollableControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupExpense)).EndInit();
     this.groupExpense.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlExpense)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupRental)).EndInit();
     this.groupRental.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupOccupie)).EndInit();
     this.groupOccupie.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlTenant)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditTel.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditLastName.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditName.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditPrefix.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupRoomType)).EndInit();
     this.groupRoomType.ResumeLayout(false);
     this.groupRoomType.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditMonthlyRate.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditDailyRate.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditInsurance.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditBeforeRent.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupRoomInfo)).EndInit();
     this.groupRoomInfo.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditFloorId.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomStatusInfo.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomLabel.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditRoomTypeId.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditBuildingId.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
     this.panelControl1.ResumeLayout(false);
     this.panelControl1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomStatus.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditTenantId.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomID.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomCodeRef.Properties)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #16
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.splitContainerControl2 = new DevExpress.XtraEditors.SplitContainerControl();
     this.groupControl_BusinessList = new DevExpress.XtraEditors.GroupControl();
     this.gridControlCompany = new DevExpress.XtraGrid.GridControl();
     this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.grid_company_name = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_company_owner_name = new DevExpress.XtraGrid.Columns.GridColumn();
     this.company_company_address = new DevExpress.XtraGrid.Columns.GridColumn();
     this.company_company_telephone = new DevExpress.XtraGrid.Columns.GridColumn();
     this.company_company_fax = new DevExpress.XtraGrid.Columns.GridColumn();
     this.company_company_email = new DevExpress.XtraGrid.Columns.GridColumn();
     this.company_company_website = new DevExpress.XtraGrid.Columns.GridColumn();
     this.company_company_idcard = new DevExpress.XtraGrid.Columns.GridColumn();
     this.company_company_corporate = new DevExpress.XtraGrid.Columns.GridColumn();
     this.company_company_vision = new DevExpress.XtraGrid.Columns.GridColumn();
     this.company_id = new DevExpress.XtraGrid.Columns.GridColumn();
     this.groupControlDocInfo = new DevExpress.XtraEditors.GroupControl();
     this.xtraScrollableControl1 = new DevExpress.XtraEditors.XtraScrollableControl();
     this.groupControlReceiptFormat = new DevExpress.XtraEditors.GroupControl();
     this.labelControl23 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl22 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl21 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl20 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl14 = new DevExpress.XtraEditors.LabelControl();
     this.lookUpEditPaperReciept = new DevExpress.XtraEditors.LookUpEdit();
     this.bttExampleReciept = new DevExpress.XtraEditors.SimpleButton();
     this.labelHeader2 = new DevExpress.XtraEditors.LabelControl();
     this.groupBoxFormat3 = new System.Windows.Forms.GroupBox();
     this.labelControl13 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl11 = new DevExpress.XtraEditors.LabelControl();
     this.checkEditSaperateReciept = new DevExpress.XtraEditors.CheckEdit();
     this.labelControl18 = new DevExpress.XtraEditors.LabelControl();
     this.labelPrefix3 = new DevExpress.XtraEditors.LabelControl();
     this.textEditPrefixReceipt = new DevExpress.XtraEditors.TextEdit();
     this.textEditReceiptDateFormat = new DevExpress.XtraEditors.TextEdit();
     this.textEditExampleReceipt = new DevExpress.XtraEditors.TextEdit();
     this.textEditReceiptStart = new DevExpress.XtraEditors.TextEdit();
     this.labelDate3 = new DevExpress.XtraEditors.LabelControl();
     this.labelExample3 = new DevExpress.XtraEditors.LabelControl();
     this.labelStart3 = new DevExpress.XtraEditors.LabelControl();
     this.labelFooter2 = new DevExpress.XtraEditors.LabelControl();
     this.textEditUnderReciept2 = new DevExpress.XtraEditors.TextEdit();
     this.labelUnder21 = new DevExpress.XtraEditors.LabelControl();
     this.textEditUnderReciept1 = new DevExpress.XtraEditors.TextEdit();
     this.labelPaper2 = new DevExpress.XtraEditors.LabelControl();
     this.memoEditRecieptFooter = new DevExpress.XtraEditors.TextEdit();
     this.labelUnder22 = new DevExpress.XtraEditors.LabelControl();
     this.memoEditRecieptHeader = new DevExpress.XtraEditors.TextEdit();
     this.groupControlInvoiceFormat = new DevExpress.XtraEditors.GroupControl();
     this.labelControl19 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl17 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl16 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl15 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl10 = new DevExpress.XtraEditors.LabelControl();
     this.lookUpEditPaperInvoice = new DevExpress.XtraEditors.LookUpEdit();
     this.bttExampleInvoice = new DevExpress.XtraEditors.SimpleButton();
     this.groupBoxFormat2 = new System.Windows.Forms.GroupBox();
     this.labelControl9 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl6 = new DevExpress.XtraEditors.LabelControl();
     this.checkEditSaperateInvoice = new DevExpress.XtraEditors.CheckEdit();
     this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
     this.labelPrefix2 = new DevExpress.XtraEditors.LabelControl();
     this.textEditPrefixInvoice = new DevExpress.XtraEditors.TextEdit();
     this.textEditInvoiceDateFormat = new DevExpress.XtraEditors.TextEdit();
     this.textEditExampleInvoice = new DevExpress.XtraEditors.TextEdit();
     this.textEditInvoiceStart = new DevExpress.XtraEditors.TextEdit();
     this.labelDate2 = new DevExpress.XtraEditors.LabelControl();
     this.labelExample2 = new DevExpress.XtraEditors.LabelControl();
     this.labelStart2 = new DevExpress.XtraEditors.LabelControl();
     this.textEditUnderInvoice2 = new DevExpress.XtraEditors.TextEdit();
     this.textEditUnderInvoice1 = new DevExpress.XtraEditors.TextEdit();
     this.memoEditInvoiceFooter = new DevExpress.XtraEditors.TextEdit();
     this.memoEditInvoiceHeader = new DevExpress.XtraEditors.TextEdit();
     this.labelUnder12 = new DevExpress.XtraEditors.LabelControl();
     this.labelPaper1 = new DevExpress.XtraEditors.LabelControl();
     this.labelUnder11 = new DevExpress.XtraEditors.LabelControl();
     this.labelFooter1 = new DevExpress.XtraEditors.LabelControl();
     this.labelHeader1 = new DevExpress.XtraEditors.LabelControl();
     this.groupControlContractFormat = new DevExpress.XtraEditors.GroupControl();
     this.bttExampleContract = new DevExpress.XtraEditors.SimpleButton();
     this.groupBoxFormat1 = new System.Windows.Forms.GroupBox();
     this.labelControl7 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl5 = new DevExpress.XtraEditors.LabelControl();
     this.checkEditSaperateContract = new DevExpress.XtraEditors.CheckEdit();
     this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
     this.labelPrefix1 = new DevExpress.XtraEditors.LabelControl();
     this.textEditPrefixContract = new DevExpress.XtraEditors.TextEdit();
     this.textEditContractDateFormat = new DevExpress.XtraEditors.TextEdit();
     this.textEditExampleContract = new DevExpress.XtraEditors.TextEdit();
     this.textEditContractStart = new DevExpress.XtraEditors.TextEdit();
     this.labelDate1 = new DevExpress.XtraEditors.LabelControl();
     this.labelExample1 = new DevExpress.XtraEditors.LabelControl();
     this.labelStart1 = new DevExpress.XtraEditors.LabelControl();
     this.groupControlDocType = new DevExpress.XtraEditors.GroupControl();
     this.radioGroupLogoPosition = new DevExpress.XtraEditors.RadioGroup();
     this.textEditDocumentID = new DevExpress.XtraEditors.TextEdit();
     this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
     this.lookUpEditDateFormat = new DevExpress.XtraEditors.LookUpEdit();
     this.labelControlTop = new DevExpress.XtraEditors.LabelControl();
     this.labelControlLogo = new DevExpress.XtraEditors.LabelControl();
     this.labelControlDateFormat = new DevExpress.XtraEditors.LabelControl();
     this.groupControlVat = new DevExpress.XtraEditors.GroupControl();
     this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
     this.lookUpEditVatType = new DevExpress.XtraEditors.LookUpEdit();
     this.labelControl12 = new DevExpress.XtraEditors.LabelControl();
     this.labelVatType = new DevExpress.XtraEditors.LabelControl();
     this.textEditAmountVat = new DevExpress.XtraEditors.TextEdit();
     this.labelControl8 = new DevExpress.XtraEditors.LabelControl();
     this.labelVat = new DevExpress.XtraEditors.LabelControl();
     this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
     this.labelControlRequired = new DevExpress.XtraEditors.LabelControl();
     this.bttEdit = new DevExpress.XtraEditors.SimpleButton();
     this.bttCancel = new DevExpress.XtraEditors.SimpleButton();
     this.bttSave = new DevExpress.XtraEditors.SimpleButton();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).BeginInit();
     this.splitContainerControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl_BusinessList)).BeginInit();
     this.groupControl_BusinessList.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlCompany)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlDocInfo)).BeginInit();
     this.groupControlDocInfo.SuspendLayout();
     this.xtraScrollableControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlReceiptFormat)).BeginInit();
     this.groupControlReceiptFormat.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditPaperReciept.Properties)).BeginInit();
     this.groupBoxFormat3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditSaperateReciept.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditPrefixReceipt.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditReceiptDateFormat.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditExampleReceipt.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditReceiptStart.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditUnderReciept2.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditUnderReciept1.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.memoEditRecieptFooter.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.memoEditRecieptHeader.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlInvoiceFormat)).BeginInit();
     this.groupControlInvoiceFormat.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditPaperInvoice.Properties)).BeginInit();
     this.groupBoxFormat2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditSaperateInvoice.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditPrefixInvoice.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditInvoiceDateFormat.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditExampleInvoice.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditInvoiceStart.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditUnderInvoice2.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditUnderInvoice1.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.memoEditInvoiceFooter.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.memoEditInvoiceHeader.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlContractFormat)).BeginInit();
     this.groupControlContractFormat.SuspendLayout();
     this.groupBoxFormat1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditSaperateContract.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditPrefixContract.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditContractDateFormat.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditExampleContract.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditContractStart.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlDocType)).BeginInit();
     this.groupControlDocType.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radioGroupLogoPosition.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditDocumentID.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditDateFormat.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlVat)).BeginInit();
     this.groupControlVat.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditVatType.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditAmountVat.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
     this.panelControl1.SuspendLayout();
     this.SuspendLayout();
     //
     // splitContainerControl2
     //
     this.splitContainerControl2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerControl2.Location = new System.Drawing.Point(7, 7);
     this.splitContainerControl2.Name = "splitContainerControl2";
     this.splitContainerControl2.Panel1.Controls.Add(this.groupControl_BusinessList);
     this.splitContainerControl2.Panel1.Text = "Panel1";
     this.splitContainerControl2.Panel2.Controls.Add(this.groupControlDocInfo);
     this.splitContainerControl2.Panel2.Controls.Add(this.panelControl1);
     this.splitContainerControl2.Panel2.Text = "Panel2";
     this.splitContainerControl2.Size = new System.Drawing.Size(1080, 666);
     this.splitContainerControl2.SplitterPosition = 256;
     this.splitContainerControl2.TabIndex = 18;
     this.splitContainerControl2.Text = "splitContainerControl2";
     //
     // groupControl_BusinessList
     //
     this.groupControl_BusinessList.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControl_BusinessList.AppearanceCaption.Options.UseFont = true;
     this.groupControl_BusinessList.Controls.Add(this.gridControlCompany);
     this.groupControl_BusinessList.Dock = System.Windows.Forms.DockStyle.Fill;
     this.groupControl_BusinessList.Location = new System.Drawing.Point(0, 0);
     this.groupControl_BusinessList.Name = "groupControl_BusinessList";
     this.groupControl_BusinessList.Size = new System.Drawing.Size(256, 666);
     this.groupControl_BusinessList.TabIndex = 0;
     this.groupControl_BusinessList.Text = "รายการกิจการ";
     //
     // gridControlCompany
     //
     this.gridControlCompany.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlCompany.Location = new System.Drawing.Point(2, 22);
     this.gridControlCompany.MainView = this.gridView1;
     this.gridControlCompany.Name = "gridControlCompany";
     this.gridControlCompany.Size = new System.Drawing.Size(252, 642);
     this.gridControlCompany.TabIndex = 1;
     this.gridControlCompany.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridView1});
     //
     // gridView1
     //
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.grid_company_name,
     this.grid_company_owner_name,
     this.company_company_address,
     this.company_company_telephone,
     this.company_company_fax,
     this.company_company_email,
     this.company_company_website,
     this.company_company_idcard,
     this.company_company_corporate,
     this.company_company_vision,
     this.company_id});
     this.gridView1.GridControl = this.gridControlCompany;
     this.gridView1.Name = "gridView1";
     this.gridView1.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridView1.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridView1.OptionsFind.AlwaysVisible = true;
     this.gridView1.OptionsFind.ShowCloseButton = false;
     this.gridView1.OptionsView.ShowGroupPanel = false;
     //
     // grid_company_name
     //
     this.grid_company_name.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_company_name.AppearanceHeader.Options.UseFont = true;
     this.grid_company_name.Caption = "ชื่อกิจการ";
     this.grid_company_name.FieldName = "company_name";
     this.grid_company_name.Name = "grid_company_name";
     this.grid_company_name.OptionsColumn.AllowEdit = false;
     this.grid_company_name.OptionsColumn.AllowFocus = false;
     this.grid_company_name.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_company_name.OptionsColumn.AllowMove = false;
     this.grid_company_name.Visible = true;
     this.grid_company_name.VisibleIndex = 0;
     //
     // grid_company_owner_name
     //
     this.grid_company_owner_name.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_company_owner_name.AppearanceHeader.Options.UseFont = true;
     this.grid_company_owner_name.Caption = "ชื่อเจ้าของกิจการ";
     this.grid_company_owner_name.FieldName = "company_owner_name";
     this.grid_company_owner_name.Name = "grid_company_owner_name";
     this.grid_company_owner_name.OptionsColumn.AllowEdit = false;
     this.grid_company_owner_name.OptionsColumn.AllowFocus = false;
     this.grid_company_owner_name.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_company_owner_name.OptionsColumn.AllowMove = false;
     this.grid_company_owner_name.Visible = true;
     this.grid_company_owner_name.VisibleIndex = 1;
     //
     // company_company_address
     //
     this.company_company_address.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.company_company_address.AppearanceHeader.Options.UseFont = true;
     this.company_company_address.Caption = "ที่อยู่";
     this.company_company_address.FieldName = "company_address";
     this.company_company_address.Name = "company_company_address";
     this.company_company_address.OptionsColumn.AllowEdit = false;
     this.company_company_address.OptionsColumn.AllowFocus = false;
     this.company_company_address.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.company_company_address.OptionsColumn.AllowMove = false;
     //
     // company_company_telephone
     //
     this.company_company_telephone.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.company_company_telephone.AppearanceHeader.Options.UseFont = true;
     this.company_company_telephone.Caption = "โทรศัพท์";
     this.company_company_telephone.FieldName = "company_telephone";
     this.company_company_telephone.Name = "company_company_telephone";
     this.company_company_telephone.OptionsColumn.AllowEdit = false;
     this.company_company_telephone.OptionsColumn.AllowFocus = false;
     this.company_company_telephone.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.company_company_telephone.OptionsColumn.AllowMove = false;
     //
     // company_company_fax
     //
     this.company_company_fax.Caption = "แฟกซ์";
     this.company_company_fax.FieldName = "company_fax";
     this.company_company_fax.Name = "company_company_fax";
     this.company_company_fax.OptionsColumn.AllowEdit = false;
     this.company_company_fax.OptionsColumn.AllowFocus = false;
     this.company_company_fax.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.company_company_fax.OptionsColumn.AllowMove = false;
     //
     // company_company_email
     //
     this.company_company_email.Caption = "อีเมล์";
     this.company_company_email.FieldName = "company_email";
     this.company_company_email.Name = "company_company_email";
     this.company_company_email.OptionsColumn.AllowEdit = false;
     this.company_company_email.OptionsColumn.AllowFocus = false;
     this.company_company_email.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.company_company_email.OptionsColumn.AllowMove = false;
     //
     // company_company_website
     //
     this.company_company_website.Caption = "เว็บไซต์";
     this.company_company_website.FieldName = "company_website";
     this.company_company_website.Name = "company_company_website";
     this.company_company_website.OptionsColumn.AllowEdit = false;
     this.company_company_website.OptionsColumn.AllowFocus = false;
     this.company_company_website.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.company_company_website.OptionsColumn.AllowMove = false;
     //
     // company_company_idcard
     //
     this.company_company_idcard.Caption = "เลขประจำตัวผู้เสียภาษี";
     this.company_company_idcard.FieldName = "company_id_card";
     this.company_company_idcard.Name = "company_company_idcard";
     this.company_company_idcard.OptionsColumn.AllowEdit = false;
     this.company_company_idcard.OptionsColumn.AllowFocus = false;
     this.company_company_idcard.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.company_company_idcard.OptionsColumn.AllowMove = false;
     //
     // company_company_corporate
     //
     this.company_company_corporate.Caption = "เลขทะเบียนนิติบุคคล";
     this.company_company_corporate.FieldName = "company_corporate";
     this.company_company_corporate.Name = "company_company_corporate";
     this.company_company_corporate.OptionsColumn.AllowEdit = false;
     this.company_company_corporate.OptionsColumn.AllowFocus = false;
     this.company_company_corporate.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.company_company_corporate.OptionsColumn.AllowMove = false;
     //
     // company_company_vision
     //
     this.company_company_vision.Caption = "นโยบายอพาร์ทเม้นท์";
     this.company_company_vision.FieldName = "company_vision";
     this.company_company_vision.Name = "company_company_vision";
     this.company_company_vision.OptionsColumn.AllowEdit = false;
     this.company_company_vision.OptionsColumn.AllowFocus = false;
     this.company_company_vision.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.company_company_vision.OptionsColumn.AllowMove = false;
     //
     // company_id
     //
     this.company_id.Caption = "company_id";
     this.company_id.FieldName = "company_id";
     this.company_id.Name = "company_id";
     //
     // groupControlDocInfo
     //
     this.groupControlDocInfo.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlDocInfo.AppearanceCaption.Options.UseFont = true;
     this.groupControlDocInfo.Controls.Add(this.xtraScrollableControl1);
     this.groupControlDocInfo.Dock = System.Windows.Forms.DockStyle.Fill;
     this.groupControlDocInfo.Location = new System.Drawing.Point(0, 0);
     this.groupControlDocInfo.Name = "groupControlDocInfo";
     this.groupControlDocInfo.Size = new System.Drawing.Size(819, 600);
     this.groupControlDocInfo.TabIndex = 20;
     this.groupControlDocInfo.Text = "ข้อมูลเอกสาร";
     //
     // xtraScrollableControl1
     //
     this.xtraScrollableControl1.Controls.Add(this.groupControlReceiptFormat);
     this.xtraScrollableControl1.Controls.Add(this.groupControlInvoiceFormat);
     this.xtraScrollableControl1.Controls.Add(this.groupControlContractFormat);
     this.xtraScrollableControl1.Controls.Add(this.groupControlDocType);
     this.xtraScrollableControl1.Controls.Add(this.groupControlVat);
     this.xtraScrollableControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.xtraScrollableControl1.Location = new System.Drawing.Point(2, 22);
     this.xtraScrollableControl1.Name = "xtraScrollableControl1";
     this.xtraScrollableControl1.Size = new System.Drawing.Size(815, 576);
     this.xtraScrollableControl1.TabIndex = 0;
     //
     // groupControlReceiptFormat
     //
     this.groupControlReceiptFormat.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlReceiptFormat.AppearanceCaption.Options.UseFont = true;
     this.groupControlReceiptFormat.Controls.Add(this.labelControl23);
     this.groupControlReceiptFormat.Controls.Add(this.labelControl22);
     this.groupControlReceiptFormat.Controls.Add(this.labelControl21);
     this.groupControlReceiptFormat.Controls.Add(this.labelControl20);
     this.groupControlReceiptFormat.Controls.Add(this.labelControl14);
     this.groupControlReceiptFormat.Controls.Add(this.lookUpEditPaperReciept);
     this.groupControlReceiptFormat.Controls.Add(this.bttExampleReciept);
     this.groupControlReceiptFormat.Controls.Add(this.labelHeader2);
     this.groupControlReceiptFormat.Controls.Add(this.groupBoxFormat3);
     this.groupControlReceiptFormat.Controls.Add(this.labelFooter2);
     this.groupControlReceiptFormat.Controls.Add(this.textEditUnderReciept2);
     this.groupControlReceiptFormat.Controls.Add(this.labelUnder21);
     this.groupControlReceiptFormat.Controls.Add(this.textEditUnderReciept1);
     this.groupControlReceiptFormat.Controls.Add(this.labelPaper2);
     this.groupControlReceiptFormat.Controls.Add(this.memoEditRecieptFooter);
     this.groupControlReceiptFormat.Controls.Add(this.labelUnder22);
     this.groupControlReceiptFormat.Controls.Add(this.memoEditRecieptHeader);
     this.groupControlReceiptFormat.Dock = System.Windows.Forms.DockStyle.Top;
     this.groupControlReceiptFormat.Location = new System.Drawing.Point(0, 494);
     this.groupControlReceiptFormat.Margin = new System.Windows.Forms.Padding(20);
     this.groupControlReceiptFormat.Name = "groupControlReceiptFormat";
     this.groupControlReceiptFormat.Size = new System.Drawing.Size(799, 265);
     this.groupControlReceiptFormat.TabIndex = 16;
     this.groupControlReceiptFormat.Text = "รูปแบบเลขที่ใบเสร็จรับเงิน";
     //
     // labelControl23
     //
     this.labelControl23.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl23.Location = new System.Drawing.Point(16, 155);
     this.labelControl23.Name = "labelControl23";
     this.labelControl23.Size = new System.Drawing.Size(6, 13);
     this.labelControl23.TabIndex = 352;
     this.labelControl23.Text = "*";
     //
     // labelControl22
     //
     this.labelControl22.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl22.Location = new System.Drawing.Point(16, 129);
     this.labelControl22.Name = "labelControl22";
     this.labelControl22.Size = new System.Drawing.Size(6, 13);
     this.labelControl22.TabIndex = 351;
     this.labelControl22.Text = "*";
     //
     // labelControl21
     //
     this.labelControl21.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl21.Location = new System.Drawing.Point(16, 103);
     this.labelControl21.Name = "labelControl21";
     this.labelControl21.Size = new System.Drawing.Size(6, 13);
     this.labelControl21.TabIndex = 350;
     this.labelControl21.Text = "*";
     //
     // labelControl20
     //
     this.labelControl20.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl20.Location = new System.Drawing.Point(343, 155);
     this.labelControl20.Name = "labelControl20";
     this.labelControl20.Size = new System.Drawing.Size(6, 13);
     this.labelControl20.TabIndex = 349;
     this.labelControl20.Text = "*";
     //
     // labelControl14
     //
     this.labelControl14.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl14.Location = new System.Drawing.Point(386, 181);
     this.labelControl14.Name = "labelControl14";
     this.labelControl14.Size = new System.Drawing.Size(6, 13);
     this.labelControl14.TabIndex = 346;
     this.labelControl14.Text = "*";
     //
     // lookUpEditPaperReciept
     //
     this.lookUpEditPaperReciept.Location = new System.Drawing.Point(475, 178);
     this.lookUpEditPaperReciept.Name = "lookUpEditPaperReciept";
     this.lookUpEditPaperReciept.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lookUpEditPaperReciept.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("papersize_label", " "),
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("papersize_id", " ", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default)});
     this.lookUpEditPaperReciept.Size = new System.Drawing.Size(119, 20);
     this.lookUpEditPaperReciept.TabIndex = 319;
     //
     // bttExampleReciept
     //
     this.bttExampleReciept.Image = global::DXWindowsApplication2.Properties.Resources.preview;
     this.bttExampleReciept.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttExampleReciept.Location = new System.Drawing.Point(600, 174);
     this.bttExampleReciept.Name = "bttExampleReciept";
     this.bttExampleReciept.Size = new System.Drawing.Size(87, 60);
     this.bttExampleReciept.TabIndex = 322;
     this.bttExampleReciept.Text = "ตัวอย่างเอกสาร";
     this.bttExampleReciept.Click += new System.EventHandler(this.bttExampleReciept_Click);
     //
     // labelHeader2
     //
     this.labelHeader2.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelHeader2.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelHeader2.Location = new System.Drawing.Point(26, 103);
     this.labelHeader2.Name = "labelHeader2";
     this.labelHeader2.Size = new System.Drawing.Size(117, 13);
     this.labelHeader2.TabIndex = 336;
     this.labelHeader2.Text = "ข้อความหัวใบแจ้งหนี้ :";
     //
     // groupBoxFormat3
     //
     this.groupBoxFormat3.Controls.Add(this.labelControl13);
     this.groupBoxFormat3.Controls.Add(this.labelControl11);
     this.groupBoxFormat3.Controls.Add(this.checkEditSaperateReciept);
     this.groupBoxFormat3.Controls.Add(this.labelControl18);
     this.groupBoxFormat3.Controls.Add(this.labelPrefix3);
     this.groupBoxFormat3.Controls.Add(this.textEditPrefixReceipt);
     this.groupBoxFormat3.Controls.Add(this.textEditReceiptDateFormat);
     this.groupBoxFormat3.Controls.Add(this.textEditExampleReceipt);
     this.groupBoxFormat3.Controls.Add(this.textEditReceiptStart);
     this.groupBoxFormat3.Controls.Add(this.labelDate3);
     this.groupBoxFormat3.Controls.Add(this.labelExample3);
     this.groupBoxFormat3.Controls.Add(this.labelStart3);
     this.groupBoxFormat3.Location = new System.Drawing.Point(5, 23);
     this.groupBoxFormat3.Name = "groupBoxFormat3";
     this.groupBoxFormat3.Size = new System.Drawing.Size(589, 67);
     this.groupBoxFormat3.TabIndex = 344;
     this.groupBoxFormat3.TabStop = false;
     this.groupBoxFormat3.Text = "รูปแบบเลขที่สัญญา";
     //
     // labelControl13
     //
     this.labelControl13.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl13.Location = new System.Drawing.Point(339, 19);
     this.labelControl13.Name = "labelControl13";
     this.labelControl13.Size = new System.Drawing.Size(6, 13);
     this.labelControl13.TabIndex = 323;
     this.labelControl13.Text = "*";
     //
     // labelControl11
     //
     this.labelControl11.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl11.Location = new System.Drawing.Point(11, 20);
     this.labelControl11.Name = "labelControl11";
     this.labelControl11.Size = new System.Drawing.Size(6, 13);
     this.labelControl11.TabIndex = 322;
     this.labelControl11.Text = "*";
     //
     // checkEditSaperateReciept
     //
     this.checkEditSaperateReciept.Location = new System.Drawing.Point(96, 39);
     this.checkEditSaperateReciept.Name = "checkEditSaperateReciept";
     this.checkEditSaperateReciept.Properties.Caption = "แยกรายวัน(D)/รายเดือน(M)";
     this.checkEditSaperateReciept.Size = new System.Drawing.Size(152, 19);
     this.checkEditSaperateReciept.TabIndex = 315;
     this.checkEditSaperateReciept.CheckedChanged += new System.EventHandler(this.checkEditSaperateReciept_CheckedChanged);
     //
     // labelControl18
     //
     this.labelControl18.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.labelControl18.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControl18.Location = new System.Drawing.Point(439, 41);
     this.labelControl18.Name = "labelControl18";
     this.labelControl18.Size = new System.Drawing.Size(16, 16);
     this.labelControl18.TabIndex = 312;
     this.labelControl18.Text = "=";
     //
     // labelPrefix3
     //
     this.labelPrefix3.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.labelPrefix3.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelPrefix3.Location = new System.Drawing.Point(11, 20);
     this.labelPrefix3.Name = "labelPrefix3";
     this.labelPrefix3.Size = new System.Drawing.Size(78, 13);
     this.labelPrefix3.TabIndex = 307;
     this.labelPrefix3.Text = "อักษรนำหน้า";
     //
     // textEditPrefixReceipt
     //
     this.textEditPrefixReceipt.EditValue = "REC";
     this.textEditPrefixReceipt.Location = new System.Drawing.Point(11, 39);
     this.textEditPrefixReceipt.Name = "textEditPrefixReceipt";
     this.textEditPrefixReceipt.Properties.Appearance.BackColor = System.Drawing.Color.White;
     this.textEditPrefixReceipt.Properties.Appearance.Options.UseBackColor = true;
     this.textEditPrefixReceipt.Properties.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.textEditPrefixReceipt.Properties.Mask.EditMask = "([a-zA-Z0-9]{1,3})";
     this.textEditPrefixReceipt.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditPrefixReceipt.ShowToolTips = false;
     this.textEditPrefixReceipt.Size = new System.Drawing.Size(78, 20);
     this.textEditPrefixReceipt.TabIndex = 308;
     this.textEditPrefixReceipt.Tag = "";
     this.textEditPrefixReceipt.EditValueChanged += new System.EventHandler(this.textEditPrefixReceipt_EditValueChanged);
     //
     // textEditReceiptDateFormat
     //
     this.textEditReceiptDateFormat.EditValue = "";
     this.textEditReceiptDateFormat.Enabled = false;
     this.textEditReceiptDateFormat.Location = new System.Drawing.Point(254, 39);
     this.textEditReceiptDateFormat.Name = "textEditReceiptDateFormat";
     this.textEditReceiptDateFormat.Properties.Appearance.BackColor = System.Drawing.Color.White;
     this.textEditReceiptDateFormat.Properties.Appearance.Options.UseBackColor = true;
     this.textEditReceiptDateFormat.Properties.Mask.EditMask = "([0-9]*)";
     this.textEditReceiptDateFormat.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditReceiptDateFormat.ShowToolTips = false;
     this.textEditReceiptDateFormat.Size = new System.Drawing.Size(75, 20);
     this.textEditReceiptDateFormat.TabIndex = 311;
     this.textEditReceiptDateFormat.Tag = "";
     //
     // textEditExampleReceipt
     //
     this.textEditExampleReceipt.EditValue = "";
     this.textEditExampleReceipt.Location = new System.Drawing.Point(461, 39);
     this.textEditExampleReceipt.Name = "textEditExampleReceipt";
     this.textEditExampleReceipt.Properties.Appearance.BackColor = System.Drawing.Color.White;
     this.textEditExampleReceipt.Properties.Appearance.Options.UseBackColor = true;
     this.textEditExampleReceipt.Properties.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.textEditExampleReceipt.ShowToolTips = false;
     this.textEditExampleReceipt.Size = new System.Drawing.Size(122, 20);
     this.textEditExampleReceipt.TabIndex = 311;
     this.textEditExampleReceipt.Tag = "";
     //
     // textEditReceiptStart
     //
     this.textEditReceiptStart.EditValue = "000000";
     this.textEditReceiptStart.Location = new System.Drawing.Point(358, 38);
     this.textEditReceiptStart.Name = "textEditReceiptStart";
     this.textEditReceiptStart.Properties.Appearance.BackColor = System.Drawing.Color.White;
     this.textEditReceiptStart.Properties.Appearance.Options.UseBackColor = true;
     this.textEditReceiptStart.Properties.Mask.EditMask = "([0-9]{1,6})";
     this.textEditReceiptStart.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditReceiptStart.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditReceiptStart.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.textEditReceiptStart.ShowToolTips = false;
     this.textEditReceiptStart.Size = new System.Drawing.Size(75, 20);
     this.textEditReceiptStart.TabIndex = 311;
     this.textEditReceiptStart.Tag = "";
     //
     // labelDate3
     //
     this.labelDate3.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.labelDate3.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelDate3.Location = new System.Drawing.Point(242, 20);
     this.labelDate3.Name = "labelDate3";
     this.labelDate3.Size = new System.Drawing.Size(98, 13);
     this.labelDate3.TabIndex = 310;
     this.labelDate3.Text = "วันที่ YYYYMMDD";
     //
     // labelExample3
     //
     this.labelExample3.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.labelExample3.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelExample3.Location = new System.Drawing.Point(461, 20);
     this.labelExample3.Name = "labelExample3";
     this.labelExample3.Size = new System.Drawing.Size(98, 13);
     this.labelExample3.TabIndex = 310;
     this.labelExample3.Text = "ตัวอย่าง";
     //
     // labelStart3
     //
     this.labelStart3.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.labelStart3.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelStart3.Location = new System.Drawing.Point(358, 19);
     this.labelStart3.Name = "labelStart3";
     this.labelStart3.Size = new System.Drawing.Size(98, 13);
     this.labelStart3.TabIndex = 310;
     this.labelStart3.Text = "เลขที่เอกสารเริ่มต้น";
     //
     // labelFooter2
     //
     this.labelFooter2.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelFooter2.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelFooter2.Location = new System.Drawing.Point(26, 129);
     this.labelFooter2.Name = "labelFooter2";
     this.labelFooter2.Size = new System.Drawing.Size(117, 13);
     this.labelFooter2.TabIndex = 338;
     this.labelFooter2.Text = "ข้อความใต้ใบแจ้งหนี้ :";
     //
     // textEditUnderReciept2
     //
     this.textEditUnderReciept2.EditValue = "";
     this.textEditUnderReciept2.Location = new System.Drawing.Point(475, 148);
     this.textEditUnderReciept2.Name = "textEditUnderReciept2";
     this.textEditUnderReciept2.Properties.Appearance.BackColor = System.Drawing.Color.White;
     this.textEditUnderReciept2.Properties.Appearance.Options.UseBackColor = true;
     this.textEditUnderReciept2.Properties.DisplayFormat.FormatString = "#.##";
     this.textEditUnderReciept2.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditUnderReciept2.Properties.EditFormat.FormatString = "#.##";
     this.textEditUnderReciept2.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditUnderReciept2.Properties.Mask.EditMask = "([a-zA-Z0-9ก-๙\\ \\/\\-]){1,100}";
     this.textEditUnderReciept2.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditUnderReciept2.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditUnderReciept2.ShowToolTips = false;
     this.textEditUnderReciept2.Size = new System.Drawing.Size(212, 20);
     this.textEditUnderReciept2.TabIndex = 343;
     this.textEditUnderReciept2.Tag = "";
     //
     // labelUnder21
     //
     this.labelUnder21.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelUnder21.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelUnder21.Location = new System.Drawing.Point(24, 155);
     this.labelUnder21.Name = "labelUnder21";
     this.labelUnder21.Size = new System.Drawing.Size(119, 13);
     this.labelUnder21.TabIndex = 339;
     this.labelUnder21.Text = "ข้อความใต้ลายเซ็น 1 :";
     //
     // textEditUnderReciept1
     //
     this.textEditUnderReciept1.EditValue = "";
     this.textEditUnderReciept1.Location = new System.Drawing.Point(149, 152);
     this.textEditUnderReciept1.Name = "textEditUnderReciept1";
     this.textEditUnderReciept1.Properties.Appearance.BackColor = System.Drawing.Color.White;
     this.textEditUnderReciept1.Properties.Appearance.Options.UseBackColor = true;
     this.textEditUnderReciept1.Properties.Mask.EditMask = "([a-zA-Z0-9ก-๙\\ \\/\\-]){1,100}";
     this.textEditUnderReciept1.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditUnderReciept1.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditUnderReciept1.ShowToolTips = false;
     this.textEditUnderReciept1.Size = new System.Drawing.Size(185, 20);
     this.textEditUnderReciept1.TabIndex = 311;
     this.textEditUnderReciept1.Tag = "";
     //
     // labelPaper2
     //
     this.labelPaper2.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelPaper2.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelPaper2.Location = new System.Drawing.Point(352, 181);
     this.labelPaper2.Name = "labelPaper2";
     this.labelPaper2.Size = new System.Drawing.Size(119, 13);
     this.labelPaper2.TabIndex = 339;
     this.labelPaper2.Text = "ขนาดกระดาษ :";
     //
     // memoEditRecieptFooter
     //
     this.memoEditRecieptFooter.EditValue = "";
     this.memoEditRecieptFooter.Location = new System.Drawing.Point(149, 122);
     this.memoEditRecieptFooter.Name = "memoEditRecieptFooter";
     this.memoEditRecieptFooter.Properties.Appearance.BackColor = System.Drawing.Color.White;
     this.memoEditRecieptFooter.Properties.Appearance.Options.UseBackColor = true;
     this.memoEditRecieptFooter.Properties.Mask.EditMask = "([a-zA-Z0-9ก-๙\\ \\/\\-]){1,200}";
     this.memoEditRecieptFooter.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.memoEditRecieptFooter.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.memoEditRecieptFooter.ShowToolTips = false;
     this.memoEditRecieptFooter.Size = new System.Drawing.Size(538, 20);
     this.memoEditRecieptFooter.TabIndex = 311;
     this.memoEditRecieptFooter.Tag = "";
     //
     // labelUnder22
     //
     this.labelUnder22.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelUnder22.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelUnder22.Location = new System.Drawing.Point(350, 155);
     this.labelUnder22.Name = "labelUnder22";
     this.labelUnder22.Size = new System.Drawing.Size(119, 13);
     this.labelUnder22.TabIndex = 339;
     this.labelUnder22.Text = "ข้อความใต้ลายเซ็น 2 :";
     //
     // memoEditRecieptHeader
     //
     this.memoEditRecieptHeader.EditValue = "";
     this.memoEditRecieptHeader.Location = new System.Drawing.Point(149, 96);
     this.memoEditRecieptHeader.Name = "memoEditRecieptHeader";
     this.memoEditRecieptHeader.Properties.Appearance.BackColor = System.Drawing.Color.White;
     this.memoEditRecieptHeader.Properties.Appearance.Options.UseBackColor = true;
     this.memoEditRecieptHeader.Properties.Mask.EditMask = "([a-zA-Z0-9ก-๙\\ \\/\\-]){1,200}";
     this.memoEditRecieptHeader.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.memoEditRecieptHeader.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.memoEditRecieptHeader.ShowToolTips = false;
     this.memoEditRecieptHeader.Size = new System.Drawing.Size(538, 20);
     this.memoEditRecieptHeader.TabIndex = 311;
     this.memoEditRecieptHeader.Tag = "";
     //
     // groupControlInvoiceFormat
     //
     this.groupControlInvoiceFormat.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlInvoiceFormat.AppearanceCaption.Options.UseFont = true;
     this.groupControlInvoiceFormat.Controls.Add(this.labelControl19);
     this.groupControlInvoiceFormat.Controls.Add(this.labelControl17);
     this.groupControlInvoiceFormat.Controls.Add(this.labelControl16);
     this.groupControlInvoiceFormat.Controls.Add(this.labelControl15);
     this.groupControlInvoiceFormat.Controls.Add(this.labelControl10);
     this.groupControlInvoiceFormat.Controls.Add(this.lookUpEditPaperInvoice);
     this.groupControlInvoiceFormat.Controls.Add(this.bttExampleInvoice);
     this.groupControlInvoiceFormat.Controls.Add(this.groupBoxFormat2);
     this.groupControlInvoiceFormat.Controls.Add(this.textEditUnderInvoice2);
     this.groupControlInvoiceFormat.Controls.Add(this.textEditUnderInvoice1);
     this.groupControlInvoiceFormat.Controls.Add(this.memoEditInvoiceFooter);
     this.groupControlInvoiceFormat.Controls.Add(this.memoEditInvoiceHeader);
     this.groupControlInvoiceFormat.Controls.Add(this.labelUnder12);
     this.groupControlInvoiceFormat.Controls.Add(this.labelPaper1);
     this.groupControlInvoiceFormat.Controls.Add(this.labelUnder11);
     this.groupControlInvoiceFormat.Controls.Add(this.labelFooter1);
     this.groupControlInvoiceFormat.Controls.Add(this.labelHeader1);
     this.groupControlInvoiceFormat.Dock = System.Windows.Forms.DockStyle.Top;
     this.groupControlInvoiceFormat.Location = new System.Drawing.Point(0, 243);
     this.groupControlInvoiceFormat.Margin = new System.Windows.Forms.Padding(20);
     this.groupControlInvoiceFormat.Name = "groupControlInvoiceFormat";
     this.groupControlInvoiceFormat.Size = new System.Drawing.Size(799, 251);
     this.groupControlInvoiceFormat.TabIndex = 14;
     this.groupControlInvoiceFormat.Text = "รูปแบบใบแจ้งหนี้";
     //
     // labelControl19
     //
     this.labelControl19.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl19.Location = new System.Drawing.Point(343, 153);
     this.labelControl19.Name = "labelControl19";
     this.labelControl19.Size = new System.Drawing.Size(6, 13);
     this.labelControl19.TabIndex = 349;
     this.labelControl19.Text = "*";
     //
     // labelControl17
     //
     this.labelControl17.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl17.Location = new System.Drawing.Point(16, 157);
     this.labelControl17.Name = "labelControl17";
     this.labelControl17.Size = new System.Drawing.Size(6, 13);
     this.labelControl17.TabIndex = 348;
     this.labelControl17.Text = "*";
     //
     // labelControl16
     //
     this.labelControl16.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl16.Location = new System.Drawing.Point(16, 131);
     this.labelControl16.Name = "labelControl16";
     this.labelControl16.Size = new System.Drawing.Size(6, 13);
     this.labelControl16.TabIndex = 347;
     this.labelControl16.Text = "*";
     //
     // labelControl15
     //
     this.labelControl15.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl15.Location = new System.Drawing.Point(16, 105);
     this.labelControl15.Name = "labelControl15";
     this.labelControl15.Size = new System.Drawing.Size(6, 13);
     this.labelControl15.TabIndex = 346;
     this.labelControl15.Text = "*";
     //
     // labelControl10
     //
     this.labelControl10.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl10.Location = new System.Drawing.Point(386, 183);
     this.labelControl10.Name = "labelControl10";
     this.labelControl10.Size = new System.Drawing.Size(6, 13);
     this.labelControl10.TabIndex = 345;
     this.labelControl10.Text = "*";
     //
     // lookUpEditPaperInvoice
     //
     this.lookUpEditPaperInvoice.Location = new System.Drawing.Point(475, 180);
     this.lookUpEditPaperInvoice.Name = "lookUpEditPaperInvoice";
     this.lookUpEditPaperInvoice.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lookUpEditPaperInvoice.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("papersize_label", " "),
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("papersize_id", " ", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default)});
     this.lookUpEditPaperInvoice.Size = new System.Drawing.Size(119, 20);
     this.lookUpEditPaperInvoice.TabIndex = 319;
     //
     // bttExampleInvoice
     //
     this.bttExampleInvoice.Image = global::DXWindowsApplication2.Properties.Resources.preview;
     this.bttExampleInvoice.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttExampleInvoice.Location = new System.Drawing.Point(600, 176);
     this.bttExampleInvoice.Name = "bttExampleInvoice";
     this.bttExampleInvoice.Size = new System.Drawing.Size(87, 60);
     this.bttExampleInvoice.TabIndex = 322;
     this.bttExampleInvoice.Text = "ตัวอย่างเอกสาร";
     this.bttExampleInvoice.Click += new System.EventHandler(this.bttExampleInvoice_Click);
     //
     // groupBoxFormat2
     //
     this.groupBoxFormat2.Controls.Add(this.labelControl9);
     this.groupBoxFormat2.Controls.Add(this.labelControl6);
     this.groupBoxFormat2.Controls.Add(this.checkEditSaperateInvoice);
     this.groupBoxFormat2.Controls.Add(this.labelControl3);
     this.groupBoxFormat2.Controls.Add(this.labelPrefix2);
     this.groupBoxFormat2.Controls.Add(this.textEditPrefixInvoice);
     this.groupBoxFormat2.Controls.Add(this.textEditInvoiceDateFormat);
     this.groupBoxFormat2.Controls.Add(this.textEditExampleInvoice);
     this.groupBoxFormat2.Controls.Add(this.textEditInvoiceStart);
     this.groupBoxFormat2.Controls.Add(this.labelDate2);
     this.groupBoxFormat2.Controls.Add(this.labelExample2);
     this.groupBoxFormat2.Controls.Add(this.labelStart2);
     this.groupBoxFormat2.Location = new System.Drawing.Point(5, 25);
     this.groupBoxFormat2.Name = "groupBoxFormat2";
     this.groupBoxFormat2.Size = new System.Drawing.Size(589, 67);
     this.groupBoxFormat2.TabIndex = 344;
     this.groupBoxFormat2.TabStop = false;
     this.groupBoxFormat2.Text = "รูปแบบเลขที่สัญญา";
     //
     // labelControl9
     //
     this.labelControl9.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl9.Location = new System.Drawing.Point(338, 20);
     this.labelControl9.Name = "labelControl9";
     this.labelControl9.Size = new System.Drawing.Size(6, 13);
     this.labelControl9.TabIndex = 321;
     this.labelControl9.Text = "*";
     //
     // labelControl6
     //
     this.labelControl6.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl6.Location = new System.Drawing.Point(11, 20);
     this.labelControl6.Name = "labelControl6";
     this.labelControl6.Size = new System.Drawing.Size(6, 13);
     this.labelControl6.TabIndex = 320;
     this.labelControl6.Text = "*";
     //
     // checkEditSaperateInvoice
     //
     this.checkEditSaperateInvoice.Location = new System.Drawing.Point(96, 38);
     this.checkEditSaperateInvoice.Name = "checkEditSaperateInvoice";
     this.checkEditSaperateInvoice.Properties.Caption = "แยกรายวัน(D)/รายเดือน(M)";
     this.checkEditSaperateInvoice.Size = new System.Drawing.Size(152, 19);
     this.checkEditSaperateInvoice.TabIndex = 314;
     this.checkEditSaperateInvoice.CheckedChanged += new System.EventHandler(this.checkEditSaperateInvoice_CheckedChanged);
     //
     // labelControl3
     //
     this.labelControl3.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.labelControl3.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControl3.Location = new System.Drawing.Point(439, 41);
     this.labelControl3.Name = "labelControl3";
     this.labelControl3.Size = new System.Drawing.Size(16, 16);
     this.labelControl3.TabIndex = 312;
     this.labelControl3.Text = "=";
     //
     // labelPrefix2
     //
     this.labelPrefix2.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.labelPrefix2.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelPrefix2.Location = new System.Drawing.Point(23, 20);
     this.labelPrefix2.Name = "labelPrefix2";
     this.labelPrefix2.Size = new System.Drawing.Size(78, 13);
     this.labelPrefix2.TabIndex = 307;
     this.labelPrefix2.Text = "อักษรนำหน้า";
     //
     // textEditPrefixInvoice
     //
     this.textEditPrefixInvoice.EditValue = "INV";
     this.textEditPrefixInvoice.Location = new System.Drawing.Point(11, 39);
     this.textEditPrefixInvoice.Name = "textEditPrefixInvoice";
     this.textEditPrefixInvoice.Properties.Appearance.BackColor = System.Drawing.Color.White;
     this.textEditPrefixInvoice.Properties.Appearance.Options.UseBackColor = true;
     this.textEditPrefixInvoice.Properties.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.textEditPrefixInvoice.Properties.Mask.EditMask = "([a-zA-Z0-9]{1,3})";
     this.textEditPrefixInvoice.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditPrefixInvoice.ShowToolTips = false;
     this.textEditPrefixInvoice.Size = new System.Drawing.Size(78, 20);
     this.textEditPrefixInvoice.TabIndex = 308;
     this.textEditPrefixInvoice.Tag = "";
     this.textEditPrefixInvoice.EditValueChanged += new System.EventHandler(this.textEditPrefixInvoice_EditValueChanged);
     //
     // textEditInvoiceDateFormat
     //
     this.textEditInvoiceDateFormat.EditValue = "";
     this.textEditInvoiceDateFormat.Enabled = false;
     this.textEditInvoiceDateFormat.Location = new System.Drawing.Point(254, 39);
     this.textEditInvoiceDateFormat.Name = "textEditInvoiceDateFormat";
     this.textEditInvoiceDateFormat.Properties.Appearance.BackColor = System.Drawing.Color.White;
     this.textEditInvoiceDateFormat.Properties.Appearance.Options.UseBackColor = true;
     this.textEditInvoiceDateFormat.Properties.Mask.EditMask = "([0-9]*)";
     this.textEditInvoiceDateFormat.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditInvoiceDateFormat.ShowToolTips = false;
     this.textEditInvoiceDateFormat.Size = new System.Drawing.Size(75, 20);
     this.textEditInvoiceDateFormat.TabIndex = 311;
     this.textEditInvoiceDateFormat.Tag = "";
     //
     // textEditExampleInvoice
     //
     this.textEditExampleInvoice.EditValue = "";
     this.textEditExampleInvoice.Location = new System.Drawing.Point(461, 39);
     this.textEditExampleInvoice.Name = "textEditExampleInvoice";
     this.textEditExampleInvoice.Properties.Appearance.BackColor = System.Drawing.Color.White;
     this.textEditExampleInvoice.Properties.Appearance.Options.UseBackColor = true;
     this.textEditExampleInvoice.Properties.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.textEditExampleInvoice.Properties.ReadOnly = true;
     this.textEditExampleInvoice.ShowToolTips = false;
     this.textEditExampleInvoice.Size = new System.Drawing.Size(122, 20);
     this.textEditExampleInvoice.TabIndex = 311;
     this.textEditExampleInvoice.Tag = "";
     //
     // textEditInvoiceStart
     //
     this.textEditInvoiceStart.CausesValidation = false;
     this.textEditInvoiceStart.EditValue = "000000";
     this.textEditInvoiceStart.Location = new System.Drawing.Point(358, 39);
     this.textEditInvoiceStart.Name = "textEditInvoiceStart";
     this.textEditInvoiceStart.Properties.Appearance.BackColor = System.Drawing.Color.White;
     this.textEditInvoiceStart.Properties.Appearance.Options.UseBackColor = true;
     this.textEditInvoiceStart.Properties.Mask.EditMask = "\\d{6}";
     this.textEditInvoiceStart.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditInvoiceStart.Properties.Mask.ShowPlaceHolders = false;
     this.textEditInvoiceStart.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditInvoiceStart.Properties.NullText = "000000";
     this.textEditInvoiceStart.Properties.NullValuePrompt = "000000";
     this.textEditInvoiceStart.Properties.NullValuePromptShowForEmptyValue = true;
     this.textEditInvoiceStart.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.textEditInvoiceStart.ShowToolTips = false;
     this.textEditInvoiceStart.Size = new System.Drawing.Size(75, 20);
     this.textEditInvoiceStart.TabIndex = 311;
     this.textEditInvoiceStart.Tag = "";
     //
     // labelDate2
     //
     this.labelDate2.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.labelDate2.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelDate2.Location = new System.Drawing.Point(242, 20);
     this.labelDate2.Name = "labelDate2";
     this.labelDate2.Size = new System.Drawing.Size(98, 13);
     this.labelDate2.TabIndex = 310;
     this.labelDate2.Text = "วันที่ YYYYMMDD";
     //
     // labelExample2
     //
     this.labelExample2.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.labelExample2.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelExample2.Location = new System.Drawing.Point(461, 20);
     this.labelExample2.Name = "labelExample2";
     this.labelExample2.Size = new System.Drawing.Size(98, 13);
     this.labelExample2.TabIndex = 310;
     this.labelExample2.Text = "ตัวอย่าง";
     //
     // labelStart2
     //
     this.labelStart2.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.labelStart2.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelStart2.Location = new System.Drawing.Point(358, 20);
     this.labelStart2.Name = "labelStart2";
     this.labelStart2.Size = new System.Drawing.Size(98, 13);
     this.labelStart2.TabIndex = 310;
     this.labelStart2.Text = "เลขที่เอกสารเริ่มต้น";
     //
     // textEditUnderInvoice2
     //
     this.textEditUnderInvoice2.EditValue = "";
     this.textEditUnderInvoice2.Location = new System.Drawing.Point(475, 150);
     this.textEditUnderInvoice2.Name = "textEditUnderInvoice2";
     this.textEditUnderInvoice2.Properties.Appearance.BackColor = System.Drawing.Color.White;
     this.textEditUnderInvoice2.Properties.Appearance.Options.UseBackColor = true;
     this.textEditUnderInvoice2.Properties.DisplayFormat.FormatString = "#.##";
     this.textEditUnderInvoice2.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditUnderInvoice2.Properties.EditFormat.FormatString = "#.##";
     this.textEditUnderInvoice2.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditUnderInvoice2.Properties.Mask.EditMask = "([a-zA-Z0-9ก-๙\\ \\/\\-]){1,100}";
     this.textEditUnderInvoice2.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditUnderInvoice2.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditUnderInvoice2.ShowToolTips = false;
     this.textEditUnderInvoice2.Size = new System.Drawing.Size(212, 20);
     this.textEditUnderInvoice2.TabIndex = 343;
     this.textEditUnderInvoice2.Tag = "";
     //
     // textEditUnderInvoice1
     //
     this.textEditUnderInvoice1.EditValue = "";
     this.textEditUnderInvoice1.Location = new System.Drawing.Point(149, 150);
     this.textEditUnderInvoice1.Name = "textEditUnderInvoice1";
     this.textEditUnderInvoice1.Properties.Appearance.BackColor = System.Drawing.Color.White;
     this.textEditUnderInvoice1.Properties.Appearance.Options.UseBackColor = true;
     this.textEditUnderInvoice1.Properties.Mask.EditMask = "([a-zA-Z0-9ก-๙\\ \\/\\-]){1,100}";
     this.textEditUnderInvoice1.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditUnderInvoice1.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditUnderInvoice1.ShowToolTips = false;
     this.textEditUnderInvoice1.Size = new System.Drawing.Size(185, 20);
     this.textEditUnderInvoice1.TabIndex = 311;
     this.textEditUnderInvoice1.Tag = "";
     //
     // memoEditInvoiceFooter
     //
     this.memoEditInvoiceFooter.EditValue = "safsdfdsfdsfsdfddsfdsfdsfdsffffffffffffffffffffffffffffffffffffffffffffffffffffff" +
         "fffffffffffffffffffffsdee";
     this.memoEditInvoiceFooter.Location = new System.Drawing.Point(149, 124);
     this.memoEditInvoiceFooter.Name = "memoEditInvoiceFooter";
     this.memoEditInvoiceFooter.Properties.Appearance.BackColor = System.Drawing.Color.White;
     this.memoEditInvoiceFooter.Properties.Appearance.Options.UseBackColor = true;
     this.memoEditInvoiceFooter.Properties.Mask.EditMask = "([a-zA-Z0-9ก-๙\\ \\/\\-]){1,200}";
     this.memoEditInvoiceFooter.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.memoEditInvoiceFooter.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.memoEditInvoiceFooter.ShowToolTips = false;
     this.memoEditInvoiceFooter.Size = new System.Drawing.Size(538, 20);
     this.memoEditInvoiceFooter.TabIndex = 311;
     this.memoEditInvoiceFooter.Tag = "";
     //
     // memoEditInvoiceHeader
     //
     this.memoEditInvoiceHeader.EditValue = "ใบแจ้งหนี้ / Invoice -";
     this.memoEditInvoiceHeader.Location = new System.Drawing.Point(149, 98);
     this.memoEditInvoiceHeader.Name = "memoEditInvoiceHeader";
     this.memoEditInvoiceHeader.Properties.Appearance.BackColor = System.Drawing.Color.White;
     this.memoEditInvoiceHeader.Properties.Appearance.Options.UseBackColor = true;
     this.memoEditInvoiceHeader.Properties.Mask.BeepOnError = true;
     this.memoEditInvoiceHeader.Properties.Mask.EditMask = "([a-zA-Z0-9ก-๙\\ \\/\\-]){1,200}";
     this.memoEditInvoiceHeader.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.memoEditInvoiceHeader.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.memoEditInvoiceHeader.Properties.MaxLength = 20;
     this.memoEditInvoiceHeader.ShowToolTips = false;
     this.memoEditInvoiceHeader.Size = new System.Drawing.Size(538, 20);
     this.memoEditInvoiceHeader.TabIndex = 311;
     this.memoEditInvoiceHeader.Tag = "";
     //
     // labelUnder12
     //
     this.labelUnder12.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelUnder12.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelUnder12.Location = new System.Drawing.Point(352, 153);
     this.labelUnder12.Name = "labelUnder12";
     this.labelUnder12.Size = new System.Drawing.Size(119, 13);
     this.labelUnder12.TabIndex = 339;
     this.labelUnder12.Text = "ข้อความใต้ลายเซ็น 2 :";
     //
     // labelPaper1
     //
     this.labelPaper1.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelPaper1.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelPaper1.Location = new System.Drawing.Point(352, 183);
     this.labelPaper1.Name = "labelPaper1";
     this.labelPaper1.Size = new System.Drawing.Size(119, 13);
     this.labelPaper1.TabIndex = 339;
     this.labelPaper1.Text = "ขนาดกระดาษ :";
     //
     // labelUnder11
     //
     this.labelUnder11.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelUnder11.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelUnder11.Location = new System.Drawing.Point(24, 157);
     this.labelUnder11.Name = "labelUnder11";
     this.labelUnder11.Size = new System.Drawing.Size(119, 13);
     this.labelUnder11.TabIndex = 339;
     this.labelUnder11.Text = "ข้อความใต้ลายเซ็น 1 :";
     //
     // labelFooter1
     //
     this.labelFooter1.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelFooter1.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelFooter1.Location = new System.Drawing.Point(26, 131);
     this.labelFooter1.Name = "labelFooter1";
     this.labelFooter1.Size = new System.Drawing.Size(117, 13);
     this.labelFooter1.TabIndex = 338;
     this.labelFooter1.Text = "ข้อความใต้ใบแจ้งหนี้ :";
     //
     // labelHeader1
     //
     this.labelHeader1.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelHeader1.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelHeader1.Location = new System.Drawing.Point(26, 105);
     this.labelHeader1.Name = "labelHeader1";
     this.labelHeader1.Size = new System.Drawing.Size(117, 13);
     this.labelHeader1.TabIndex = 336;
     this.labelHeader1.Text = "ข้อความหัวใบแจ้งหนี้ :";
     //
     // groupControlContractFormat
     //
     this.groupControlContractFormat.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlContractFormat.AppearanceCaption.Options.UseFont = true;
     this.groupControlContractFormat.Controls.Add(this.bttExampleContract);
     this.groupControlContractFormat.Controls.Add(this.groupBoxFormat1);
     this.groupControlContractFormat.Dock = System.Windows.Forms.DockStyle.Top;
     this.groupControlContractFormat.Location = new System.Drawing.Point(0, 143);
     this.groupControlContractFormat.Margin = new System.Windows.Forms.Padding(20);
     this.groupControlContractFormat.Name = "groupControlContractFormat";
     this.groupControlContractFormat.Size = new System.Drawing.Size(799, 100);
     this.groupControlContractFormat.TabIndex = 12;
     this.groupControlContractFormat.Text = "รูปแบบสัญญา";
     //
     // bttExampleContract
     //
     this.bttExampleContract.Image = global::DXWindowsApplication2.Properties.Resources.preview;
     this.bttExampleContract.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttExampleContract.Location = new System.Drawing.Point(600, 32);
     this.bttExampleContract.Name = "bttExampleContract";
     this.bttExampleContract.Size = new System.Drawing.Size(87, 60);
     this.bttExampleContract.TabIndex = 322;
     this.bttExampleContract.Text = "ตัวอย่างเอกสาร";
     this.bttExampleContract.Click += new System.EventHandler(this.bttExampleContract_Click);
     //
     // groupBoxFormat1
     //
     this.groupBoxFormat1.Controls.Add(this.labelControl7);
     this.groupBoxFormat1.Controls.Add(this.labelControl5);
     this.groupBoxFormat1.Controls.Add(this.checkEditSaperateContract);
     this.groupBoxFormat1.Controls.Add(this.labelControl4);
     this.groupBoxFormat1.Controls.Add(this.labelPrefix1);
     this.groupBoxFormat1.Controls.Add(this.textEditPrefixContract);
     this.groupBoxFormat1.Controls.Add(this.textEditContractDateFormat);
     this.groupBoxFormat1.Controls.Add(this.textEditExampleContract);
     this.groupBoxFormat1.Controls.Add(this.textEditContractStart);
     this.groupBoxFormat1.Controls.Add(this.labelDate1);
     this.groupBoxFormat1.Controls.Add(this.labelExample1);
     this.groupBoxFormat1.Controls.Add(this.labelStart1);
     this.groupBoxFormat1.Location = new System.Drawing.Point(5, 25);
     this.groupBoxFormat1.Name = "groupBoxFormat1";
     this.groupBoxFormat1.Size = new System.Drawing.Size(589, 67);
     this.groupBoxFormat1.TabIndex = 320;
     this.groupBoxFormat1.TabStop = false;
     this.groupBoxFormat1.Text = "รูปแบบเลขที่สัญญา";
     //
     // labelControl7
     //
     this.labelControl7.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl7.Location = new System.Drawing.Point(339, 20);
     this.labelControl7.Name = "labelControl7";
     this.labelControl7.Size = new System.Drawing.Size(6, 13);
     this.labelControl7.TabIndex = 321;
     this.labelControl7.Text = "*";
     //
     // labelControl5
     //
     this.labelControl5.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl5.Location = new System.Drawing.Point(11, 20);
     this.labelControl5.Name = "labelControl5";
     this.labelControl5.Size = new System.Drawing.Size(6, 13);
     this.labelControl5.TabIndex = 320;
     this.labelControl5.Text = "*";
     //
     // checkEditSaperateContract
     //
     this.checkEditSaperateContract.Location = new System.Drawing.Point(96, 39);
     this.checkEditSaperateContract.Name = "checkEditSaperateContract";
     this.checkEditSaperateContract.Properties.Caption = "แยกรายวัน(D)/รายเดือน(M)";
     this.checkEditSaperateContract.Size = new System.Drawing.Size(152, 19);
     this.checkEditSaperateContract.TabIndex = 313;
     this.checkEditSaperateContract.CheckedChanged += new System.EventHandler(this.checkEditSaperateContract_CheckedChanged);
     //
     // labelControl4
     //
     this.labelControl4.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.labelControl4.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControl4.Location = new System.Drawing.Point(435, 42);
     this.labelControl4.Name = "labelControl4";
     this.labelControl4.Size = new System.Drawing.Size(16, 16);
     this.labelControl4.TabIndex = 312;
     this.labelControl4.Text = "=";
     //
     // labelPrefix1
     //
     this.labelPrefix1.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.labelPrefix1.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelPrefix1.Location = new System.Drawing.Point(23, 20);
     this.labelPrefix1.Name = "labelPrefix1";
     this.labelPrefix1.Size = new System.Drawing.Size(78, 13);
     this.labelPrefix1.TabIndex = 307;
     this.labelPrefix1.Text = "อักษรนำหน้า";
     //
     // textEditPrefixContract
     //
     this.textEditPrefixContract.EditValue = "CT";
     this.textEditPrefixContract.Location = new System.Drawing.Point(11, 39);
     this.textEditPrefixContract.Name = "textEditPrefixContract";
     this.textEditPrefixContract.Properties.Appearance.BackColor = System.Drawing.Color.White;
     this.textEditPrefixContract.Properties.Appearance.Options.UseBackColor = true;
     this.textEditPrefixContract.Properties.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.textEditPrefixContract.Properties.Mask.EditMask = "([a-zA-Z0-9]{1,3})";
     this.textEditPrefixContract.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditPrefixContract.ShowToolTips = false;
     this.textEditPrefixContract.Size = new System.Drawing.Size(78, 20);
     this.textEditPrefixContract.TabIndex = 308;
     this.textEditPrefixContract.Tag = "";
     this.textEditPrefixContract.EditValueChanged += new System.EventHandler(this.textEditPrefixContract_EditValueChanged);
     //
     // textEditContractDateFormat
     //
     this.textEditContractDateFormat.EditValue = "";
     this.textEditContractDateFormat.Enabled = false;
     this.textEditContractDateFormat.Location = new System.Drawing.Point(254, 39);
     this.textEditContractDateFormat.Name = "textEditContractDateFormat";
     this.textEditContractDateFormat.Properties.Appearance.BackColor = System.Drawing.Color.White;
     this.textEditContractDateFormat.Properties.Appearance.Options.UseBackColor = true;
     this.textEditContractDateFormat.Properties.Mask.EditMask = "([0-9]*)";
     this.textEditContractDateFormat.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditContractDateFormat.ShowToolTips = false;
     this.textEditContractDateFormat.Size = new System.Drawing.Size(75, 20);
     this.textEditContractDateFormat.TabIndex = 311;
     this.textEditContractDateFormat.Tag = "";
     //
     // textEditExampleContract
     //
     this.textEditExampleContract.EditValue = "";
     this.textEditExampleContract.Location = new System.Drawing.Point(461, 39);
     this.textEditExampleContract.Name = "textEditExampleContract";
     this.textEditExampleContract.Properties.Appearance.BackColor = System.Drawing.Color.White;
     this.textEditExampleContract.Properties.Appearance.Options.UseBackColor = true;
     this.textEditExampleContract.Properties.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.textEditExampleContract.Properties.ReadOnly = true;
     this.textEditExampleContract.ShowToolTips = false;
     this.textEditExampleContract.Size = new System.Drawing.Size(122, 20);
     this.textEditExampleContract.TabIndex = 311;
     this.textEditExampleContract.Tag = "";
     //
     // textEditContractStart
     //
     this.textEditContractStart.CausesValidation = false;
     this.textEditContractStart.EditValue = "000000";
     this.textEditContractStart.Location = new System.Drawing.Point(358, 38);
     this.textEditContractStart.Name = "textEditContractStart";
     this.textEditContractStart.Properties.Appearance.BackColor = System.Drawing.Color.White;
     this.textEditContractStart.Properties.Appearance.Options.UseBackColor = true;
     this.textEditContractStart.Properties.Mask.EditMask = "\\d{6}";
     this.textEditContractStart.Properties.Mask.IgnoreMaskBlank = false;
     this.textEditContractStart.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditContractStart.Properties.Mask.ShowPlaceHolders = false;
     this.textEditContractStart.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditContractStart.Properties.NullText = "000000";
     this.textEditContractStart.Properties.NullValuePrompt = "000000";
     this.textEditContractStart.Properties.NullValuePromptShowForEmptyValue = true;
     this.textEditContractStart.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.textEditContractStart.ShowToolTips = false;
     this.textEditContractStart.Size = new System.Drawing.Size(75, 20);
     this.textEditContractStart.TabIndex = 311;
     this.textEditContractStart.Tag = "";
     //
     // labelDate1
     //
     this.labelDate1.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.labelDate1.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelDate1.Location = new System.Drawing.Point(242, 19);
     this.labelDate1.Name = "labelDate1";
     this.labelDate1.Size = new System.Drawing.Size(98, 13);
     this.labelDate1.TabIndex = 310;
     this.labelDate1.Text = "วันที่ YYYYMMDD";
     //
     // labelExample1
     //
     this.labelExample1.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.labelExample1.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelExample1.Location = new System.Drawing.Point(461, 20);
     this.labelExample1.Name = "labelExample1";
     this.labelExample1.Size = new System.Drawing.Size(98, 13);
     this.labelExample1.TabIndex = 310;
     this.labelExample1.Text = "ตัวอย่าง";
     //
     // labelStart1
     //
     this.labelStart1.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.labelStart1.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelStart1.Location = new System.Drawing.Point(357, 19);
     this.labelStart1.Name = "labelStart1";
     this.labelStart1.Size = new System.Drawing.Size(98, 13);
     this.labelStart1.TabIndex = 310;
     this.labelStart1.Text = "เลขที่เอกสารเริ่มต้น";
     //
     // groupControlDocType
     //
     this.groupControlDocType.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlDocType.AppearanceCaption.Options.UseFont = true;
     this.groupControlDocType.Controls.Add(this.radioGroupLogoPosition);
     this.groupControlDocType.Controls.Add(this.textEditDocumentID);
     this.groupControlDocType.Controls.Add(this.labelControl2);
     this.groupControlDocType.Controls.Add(this.lookUpEditDateFormat);
     this.groupControlDocType.Controls.Add(this.labelControlTop);
     this.groupControlDocType.Controls.Add(this.labelControlLogo);
     this.groupControlDocType.Controls.Add(this.labelControlDateFormat);
     this.groupControlDocType.Dock = System.Windows.Forms.DockStyle.Top;
     this.groupControlDocType.Location = new System.Drawing.Point(0, 54);
     this.groupControlDocType.Margin = new System.Windows.Forms.Padding(20);
     this.groupControlDocType.Name = "groupControlDocType";
     this.groupControlDocType.Size = new System.Drawing.Size(799, 89);
     this.groupControlDocType.TabIndex = 19;
     this.groupControlDocType.Text = "รูปแบบเอกสาร";
     //
     // radioGroupLogoPosition
     //
     this.radioGroupLogoPosition.EditValue = 0F;
     this.radioGroupLogoPosition.Location = new System.Drawing.Point(200, 60);
     this.radioGroupLogoPosition.Name = "radioGroupLogoPosition";
     this.radioGroupLogoPosition.Properties.Appearance.BackColor = System.Drawing.Color.Transparent;
     this.radioGroupLogoPosition.Properties.Appearance.Options.UseBackColor = true;
     this.radioGroupLogoPosition.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.radioGroupLogoPosition.Size = new System.Drawing.Size(238, 24);
     this.radioGroupLogoPosition.TabIndex = 308;
     //
     // textEditDocumentID
     //
     this.textEditDocumentID.Location = new System.Drawing.Point(371, 29);
     this.textEditDocumentID.Name = "textEditDocumentID";
     this.textEditDocumentID.Size = new System.Drawing.Size(100, 20);
     this.textEditDocumentID.TabIndex = 319;
     this.textEditDocumentID.Visible = false;
     //
     // labelControl2
     //
     this.labelControl2.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl2.Location = new System.Drawing.Point(6, 33);
     this.labelControl2.Name = "labelControl2";
     this.labelControl2.Size = new System.Drawing.Size(6, 13);
     this.labelControl2.TabIndex = 318;
     this.labelControl2.Text = "*";
     //
     // lookUpEditDateFormat
     //
     this.lookUpEditDateFormat.Location = new System.Drawing.Point(200, 29);
     this.lookUpEditDateFormat.Name = "lookUpEditDateFormat";
     this.lookUpEditDateFormat.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lookUpEditDateFormat.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("datetype_label", " "),
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("datetype_id", " ", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default)});
     this.lookUpEditDateFormat.Size = new System.Drawing.Size(150, 20);
     this.lookUpEditDateFormat.TabIndex = 310;
     //
     // labelControlTop
     //
     this.labelControlTop.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlTop.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlTop.Location = new System.Drawing.Point(592, 67);
     this.labelControlTop.Name = "labelControlTop";
     this.labelControlTop.Size = new System.Drawing.Size(95, 13);
     this.labelControlTop.TabIndex = 309;
     this.labelControlTop.Text = "[ส่วนบนของเอกสาร]";
     //
     // labelControlLogo
     //
     this.labelControlLogo.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlLogo.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlLogo.Location = new System.Drawing.Point(58, 67);
     this.labelControlLogo.Name = "labelControlLogo";
     this.labelControlLogo.Size = new System.Drawing.Size(125, 13);
     this.labelControlLogo.TabIndex = 309;
     this.labelControlLogo.Text = "ตำแหน่ง Apartment Logo :";
     //
     // labelControlDateFormat
     //
     this.labelControlDateFormat.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlDateFormat.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlDateFormat.Location = new System.Drawing.Point(23, 32);
     this.labelControlDateFormat.Name = "labelControlDateFormat";
     this.labelControlDateFormat.Size = new System.Drawing.Size(160, 13);
     this.labelControlDateFormat.TabIndex = 266;
     this.labelControlDateFormat.Text = "รูปแบบการแสดงผลของวันที่ :";
     //
     // groupControlVat
     //
     this.groupControlVat.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlVat.AppearanceCaption.Options.UseFont = true;
     this.groupControlVat.Controls.Add(this.labelControl1);
     this.groupControlVat.Controls.Add(this.lookUpEditVatType);
     this.groupControlVat.Controls.Add(this.labelControl12);
     this.groupControlVat.Controls.Add(this.labelVatType);
     this.groupControlVat.Controls.Add(this.textEditAmountVat);
     this.groupControlVat.Controls.Add(this.labelControl8);
     this.groupControlVat.Controls.Add(this.labelVat);
     this.groupControlVat.Dock = System.Windows.Forms.DockStyle.Top;
     this.groupControlVat.Location = new System.Drawing.Point(0, 0);
     this.groupControlVat.Margin = new System.Windows.Forms.Padding(20);
     this.groupControlVat.Name = "groupControlVat";
     this.groupControlVat.Size = new System.Drawing.Size(799, 54);
     this.groupControlVat.TabIndex = 10;
     this.groupControlVat.Text = "การคิดภาษี";
     //
     // labelControl1
     //
     this.labelControl1.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl1.Location = new System.Drawing.Point(289, 32);
     this.labelControl1.Name = "labelControl1";
     this.labelControl1.Size = new System.Drawing.Size(6, 13);
     this.labelControl1.TabIndex = 319;
     this.labelControl1.Text = "*";
     //
     // lookUpEditVatType
     //
     this.lookUpEditVatType.Location = new System.Drawing.Point(398, 29);
     this.lookUpEditVatType.Name = "lookUpEditVatType";
     this.lookUpEditVatType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lookUpEditVatType.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("vattype_label", " ")});
     this.lookUpEditVatType.Size = new System.Drawing.Size(166, 20);
     this.lookUpEditVatType.TabIndex = 318;
     //
     // labelControl12
     //
     this.labelControl12.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl12.Location = new System.Drawing.Point(6, 32);
     this.labelControl12.Name = "labelControl12";
     this.labelControl12.Size = new System.Drawing.Size(6, 13);
     this.labelControl12.TabIndex = 317;
     this.labelControl12.Text = "*";
     //
     // labelVatType
     //
     this.labelVatType.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelVatType.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelVatType.Location = new System.Drawing.Point(301, 32);
     this.labelVatType.Name = "labelVatType";
     this.labelVatType.Size = new System.Drawing.Size(91, 13);
     this.labelVatType.TabIndex = 307;
     this.labelVatType.Text = "รูปแบบการคิดภาษี :";
     //
     // textEditAmountVat
     //
     this.textEditAmountVat.EditValue = "0000000000000000";
     this.textEditAmountVat.Location = new System.Drawing.Point(200, 29);
     this.textEditAmountVat.Name = "textEditAmountVat";
     this.textEditAmountVat.Properties.Appearance.BackColor = System.Drawing.Color.White;
     this.textEditAmountVat.Properties.Appearance.Options.UseBackColor = true;
     this.textEditAmountVat.Properties.Appearance.Options.UseTextOptions = true;
     this.textEditAmountVat.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.textEditAmountVat.Properties.DisplayFormat.FormatString = "n2";
     this.textEditAmountVat.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditAmountVat.Properties.EditFormat.FormatString = "n2";
     this.textEditAmountVat.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditAmountVat.Properties.Mask.EditMask = "(\\d){1,3}|(\\d){1,3}\\.([0-9]){2}";
     this.textEditAmountVat.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditAmountVat.Properties.Mask.ShowPlaceHolders = false;
     this.textEditAmountVat.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditAmountVat.Properties.MaxLength = 2;
     this.textEditAmountVat.Properties.NullText = "0.00";
     this.textEditAmountVat.Properties.NullValuePrompt = "0.00";
     this.textEditAmountVat.Properties.NullValuePromptShowForEmptyValue = true;
     this.textEditAmountVat.ShowToolTips = false;
     this.textEditAmountVat.Size = new System.Drawing.Size(53, 20);
     this.textEditAmountVat.TabIndex = 306;
     this.textEditAmountVat.Tag = "";
     //
     // labelControl8
     //
     this.labelControl8.Location = new System.Drawing.Point(259, 32);
     this.labelControl8.Name = "labelControl8";
     this.labelControl8.Size = new System.Drawing.Size(11, 13);
     this.labelControl8.TabIndex = 305;
     this.labelControl8.Text = "%";
     //
     // labelVat
     //
     this.labelVat.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelVat.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelVat.Location = new System.Drawing.Point(37, 32);
     this.labelVat.Name = "labelVat";
     this.labelVat.Size = new System.Drawing.Size(146, 13);
     this.labelVat.TabIndex = 266;
     this.labelVat.Text = "อัตราภาษีมูลค่าเพิ่ม :";
     //
     // panelControl1
     //
     this.panelControl1.Controls.Add(this.labelControlRequired);
     this.panelControl1.Controls.Add(this.bttEdit);
     this.panelControl1.Controls.Add(this.bttCancel);
     this.panelControl1.Controls.Add(this.bttSave);
     this.panelControl1.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.panelControl1.Location = new System.Drawing.Point(0, 600);
     this.panelControl1.Name = "panelControl1";
     this.panelControl1.Size = new System.Drawing.Size(819, 66);
     this.panelControl1.TabIndex = 21;
     //
     // labelControlRequired
     //
     this.labelControlRequired.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControlRequired.Location = new System.Drawing.Point(7, 5);
     this.labelControlRequired.Name = "labelControlRequired";
     this.labelControlRequired.Size = new System.Drawing.Size(50, 13);
     this.labelControlRequired.TabIndex = 347;
     this.labelControlRequired.Text = "* โปรดระบุ";
     //
     // bttEdit
     //
     this.bttEdit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttEdit.Image = global::DXWindowsApplication2.Properties.Resources.edit;
     this.bttEdit.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttEdit.Location = new System.Drawing.Point(592, 5);
     this.bttEdit.Name = "bttEdit";
     this.bttEdit.Size = new System.Drawing.Size(70, 55);
     this.bttEdit.TabIndex = 19;
     this.bttEdit.Text = "แก้ไขข้อมูล";
     this.bttEdit.Click += new System.EventHandler(this.bttEdit_Click);
     //
     // bttCancel
     //
     this.bttCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttCancel.Enabled = false;
     this.bttCancel.Image = global::DXWindowsApplication2.Properties.Resources.Close;
     this.bttCancel.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttCancel.Location = new System.Drawing.Point(744, 5);
     this.bttCancel.Name = "bttCancel";
     this.bttCancel.Size = new System.Drawing.Size(70, 55);
     this.bttCancel.TabIndex = 22;
     this.bttCancel.Text = "ยกเลิก";
     this.bttCancel.Click += new System.EventHandler(this.bttCancel_Click);
     //
     // bttSave
     //
     this.bttSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttSave.Enabled = false;
     this.bttSave.Image = global::DXWindowsApplication2.Properties.Resources.save;
     this.bttSave.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttSave.Location = new System.Drawing.Point(668, 5);
     this.bttSave.Name = "bttSave";
     this.bttSave.Size = new System.Drawing.Size(70, 55);
     this.bttSave.TabIndex = 21;
     this.bttSave.Text = "บันทึก";
     this.bttSave.Click += new System.EventHandler(this.bttSave_Click);
     //
     // BasicInfoDocument
     //
     this.Appearance.BackColor = System.Drawing.Color.White;
     this.Appearance.Options.UseBackColor = true;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.splitContainerControl2);
     this.Name = "BasicInfoDocument";
     this.Padding = new System.Windows.Forms.Padding(7);
     this.Size = new System.Drawing.Size(1094, 680);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).EndInit();
     this.splitContainerControl2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl_BusinessList)).EndInit();
     this.groupControl_BusinessList.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlCompany)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlDocInfo)).EndInit();
     this.groupControlDocInfo.ResumeLayout(false);
     this.xtraScrollableControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControlReceiptFormat)).EndInit();
     this.groupControlReceiptFormat.ResumeLayout(false);
     this.groupControlReceiptFormat.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditPaperReciept.Properties)).EndInit();
     this.groupBoxFormat3.ResumeLayout(false);
     this.groupBoxFormat3.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditSaperateReciept.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditPrefixReceipt.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditReceiptDateFormat.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditExampleReceipt.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditReceiptStart.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditUnderReciept2.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditUnderReciept1.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.memoEditRecieptFooter.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.memoEditRecieptHeader.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlInvoiceFormat)).EndInit();
     this.groupControlInvoiceFormat.ResumeLayout(false);
     this.groupControlInvoiceFormat.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditPaperInvoice.Properties)).EndInit();
     this.groupBoxFormat2.ResumeLayout(false);
     this.groupBoxFormat2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditSaperateInvoice.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditPrefixInvoice.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditInvoiceDateFormat.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditExampleInvoice.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditInvoiceStart.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditUnderInvoice2.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditUnderInvoice1.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.memoEditInvoiceFooter.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.memoEditInvoiceHeader.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlContractFormat)).EndInit();
     this.groupControlContractFormat.ResumeLayout(false);
     this.groupBoxFormat1.ResumeLayout(false);
     this.groupBoxFormat1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkEditSaperateContract.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditPrefixContract.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditContractDateFormat.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditExampleContract.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditContractStart.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlDocType)).EndInit();
     this.groupControlDocType.ResumeLayout(false);
     this.groupControlDocType.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radioGroupLogoPosition.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditDocumentID.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditDateFormat.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlVat)).EndInit();
     this.groupControlVat.ResumeLayout(false);
     this.groupControlVat.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditVatType.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditAmountVat.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
     this.panelControl1.ResumeLayout(false);
     this.panelControl1.PerformLayout();
     this.ResumeLayout(false);
 }
コード例 #17
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl();
     this.tabNghiepVu = new DevExpress.XtraTab.XtraTabControl();
     this.TabPageThietLapSoPhieu = new DevExpress.XtraTab.XtraTabPage();
     this.panelControlSoPhieu = new DevExpress.XtraEditors.PanelControl();
     this.groupControlExample = new DevExpress.XtraEditors.GroupControl();
     this.xtraScrollableControlExample = new DevExpress.XtraEditors.XtraScrollableControl();
     this.flowLayoutPanelDemo = new System.Windows.Forms.FlowLayoutPanel();
     this.groupControlConfig = new DevExpress.XtraEditors.GroupControl();
     this.xtraScrollableControlConfig = new DevExpress.XtraEditors.XtraScrollableControl();
     this.flowLayoutPanelLabel = new System.Windows.Forms.FlowLayoutPanel();
     this.flowLayoutPanelPattern = new System.Windows.Forms.FlowLayoutPanel();
     this.tabPageNghiepVu = new DevExpress.XtraTab.XtraTabPage();
     this.lblDescripNghiepVu = new DevExpress.XtraEditors.LabelControl();
     this.vGridMain = new DevExpress.XtraVerticalGrid.VGridControl();
     this.tabPageBaoCao = new DevExpress.XtraTab.XtraTabPage();
     this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
     this.lblDescripBaoCao = new DevExpress.XtraEditors.LabelControl();
     this.vGridMainBaoCao = new DevExpress.XtraVerticalGrid.VGridControl();
     this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
     this.btnXoaPic = new DevExpress.XtraEditors.SimpleButton();
     this.headerLetter = new DevExpress.XtraEditors.PictureEdit();
     this.btnChonPic = new DevExpress.XtraEditors.SimpleButton();
     this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
     this.ParamDescrip_lb = new DevExpress.XtraEditors.LabelControl();
     this.Param_lb = new DevExpress.XtraEditors.LabelControl();
     this.btnXemTruoc = new DevExpress.XtraEditors.SimpleButton();
     this.btnDong = new DevExpress.XtraEditors.SimpleButton();
     this.btnLuu = new DevExpress.XtraEditors.SimpleButton();
     this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
     this.splitContainerControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tabNghiepVu)).BeginInit();
     this.tabNghiepVu.SuspendLayout();
     this.TabPageThietLapSoPhieu.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.panelControlSoPhieu)).BeginInit();
     this.panelControlSoPhieu.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlExample)).BeginInit();
     this.groupControlExample.SuspendLayout();
     this.xtraScrollableControlExample.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlConfig)).BeginInit();
     this.groupControlConfig.SuspendLayout();
     this.xtraScrollableControlConfig.SuspendLayout();
     this.tabPageNghiepVu.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.vGridMain)).BeginInit();
     this.tabPageBaoCao.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
     this.panelControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.vGridMainBaoCao)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.headerLetter.Properties)).BeginInit();
     this.SuspendLayout();
     //
     // splitContainerControl1
     //
     this.splitContainerControl1.Horizontal = false;
     this.splitContainerControl1.Location = new System.Drawing.Point(0, 0);
     this.splitContainerControl1.Name = "splitContainerControl1";
     this.splitContainerControl1.Panel1.Controls.Add(this.tabNghiepVu);
     this.splitContainerControl1.Panel1.Text = "Panel1";
     this.splitContainerControl1.Panel2.Controls.Add(this.ParamDescrip_lb);
     this.splitContainerControl1.Panel2.Controls.Add(this.Param_lb);
     this.splitContainerControl1.Panel2.Text = "Panel2";
     this.splitContainerControl1.PanelVisibility = DevExpress.XtraEditors.SplitPanelVisibility.Panel1;
     this.splitContainerControl1.Size = new System.Drawing.Size(557, 335);
     this.splitContainerControl1.SplitterPosition = 311;
     this.splitContainerControl1.TabIndex = 0;
     this.splitContainerControl1.Text = "splitContainerControl1";
     //
     // tabNghiepVu
     //
     this.tabNghiepVu.Location = new System.Drawing.Point(0, 0);
     this.tabNghiepVu.Name = "tabNghiepVu";
     this.tabNghiepVu.SelectedTabPage = this.TabPageThietLapSoPhieu;
     this.tabNghiepVu.Size = new System.Drawing.Size(559, 336);
     this.tabNghiepVu.TabIndex = 0;
     this.tabNghiepVu.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
     this.TabPageThietLapSoPhieu,
     this.tabPageNghiepVu,
     this.tabPageBaoCao});
     this.tabNghiepVu.SelectedPageChanged += new DevExpress.XtraTab.TabPageChangedEventHandler(this.tabNghiepVu_SelectedPageChanged);
     //
     // TabPageThietLapSoPhieu
     //
     this.TabPageThietLapSoPhieu.Controls.Add(this.panelControlSoPhieu);
     this.TabPageThietLapSoPhieu.Name = "TabPageThietLapSoPhieu";
     this.TabPageThietLapSoPhieu.Size = new System.Drawing.Size(552, 307);
     this.TabPageThietLapSoPhieu.Text = "Thiết lập định dạng số phiếu";
     //
     // panelControlSoPhieu
     //
     this.panelControlSoPhieu.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControlSoPhieu.Controls.Add(this.groupControlExample);
     this.panelControlSoPhieu.Controls.Add(this.groupControlConfig);
     this.panelControlSoPhieu.Location = new System.Drawing.Point(0, 0);
     this.panelControlSoPhieu.Name = "panelControlSoPhieu";
     this.panelControlSoPhieu.Size = new System.Drawing.Size(544, 78);
     this.panelControlSoPhieu.TabIndex = 0;
     //
     // groupControlExample
     //
     this.groupControlExample.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.groupControlExample.Controls.Add(this.xtraScrollableControlExample);
     this.groupControlExample.Location = new System.Drawing.Point(397, 6);
     this.groupControlExample.Name = "groupControlExample";
     this.groupControlExample.Size = new System.Drawing.Size(141, 66);
     this.groupControlExample.TabIndex = 16;
     this.groupControlExample.Text = "Minh họa định dạng";
     //
     // xtraScrollableControlExample
     //
     this.xtraScrollableControlExample.Controls.Add(this.flowLayoutPanelDemo);
     this.xtraScrollableControlExample.Dock = System.Windows.Forms.DockStyle.Fill;
     this.xtraScrollableControlExample.FireScrollEventOnMouseWheel = true;
     this.xtraScrollableControlExample.Location = new System.Drawing.Point(2, 22);
     this.xtraScrollableControlExample.Name = "xtraScrollableControlExample";
     this.xtraScrollableControlExample.Size = new System.Drawing.Size(137, 42);
     this.xtraScrollableControlExample.TabIndex = 1;
     this.xtraScrollableControlExample.Scroll += new DevExpress.XtraEditors.XtraScrollEventHandler(this.xtraScrollableControlExample_Scroll);
     //
     // flowLayoutPanelDemo
     //
     this.flowLayoutPanelDemo.AutoSize = true;
     this.flowLayoutPanelDemo.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
     this.flowLayoutPanelDemo.Location = new System.Drawing.Point(3, 3);
     this.flowLayoutPanelDemo.Name = "flowLayoutPanelDemo";
     this.flowLayoutPanelDemo.Size = new System.Drawing.Size(132, 25);
     this.flowLayoutPanelDemo.TabIndex = 2;
     //
     // groupControlConfig
     //
     this.groupControlConfig.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.groupControlConfig.Controls.Add(this.xtraScrollableControlConfig);
     this.groupControlConfig.Location = new System.Drawing.Point(6, 6);
     this.groupControlConfig.Name = "groupControlConfig";
     this.groupControlConfig.Size = new System.Drawing.Size(388, 66);
     this.groupControlConfig.TabIndex = 15;
     this.groupControlConfig.Text = "Định dạng số phiếu phát sinh tự động";
     //
     // xtraScrollableControlConfig
     //
     this.xtraScrollableControlConfig.Controls.Add(this.flowLayoutPanelLabel);
     this.xtraScrollableControlConfig.Controls.Add(this.flowLayoutPanelPattern);
     this.xtraScrollableControlConfig.Dock = System.Windows.Forms.DockStyle.Fill;
     this.xtraScrollableControlConfig.FireScrollEventOnMouseWheel = true;
     this.xtraScrollableControlConfig.Location = new System.Drawing.Point(2, 22);
     this.xtraScrollableControlConfig.Name = "xtraScrollableControlConfig";
     this.xtraScrollableControlConfig.Size = new System.Drawing.Size(384, 42);
     this.xtraScrollableControlConfig.TabIndex = 2;
     this.xtraScrollableControlConfig.Scroll += new DevExpress.XtraEditors.XtraScrollEventHandler(this.xtraScrollableControlConfig_Scroll);
     //
     // flowLayoutPanelLabel
     //
     this.flowLayoutPanelLabel.AutoSize = true;
     this.flowLayoutPanelLabel.BackColor = System.Drawing.Color.Transparent;
     this.flowLayoutPanelLabel.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
     this.flowLayoutPanelLabel.Location = new System.Drawing.Point(1, 3);
     this.flowLayoutPanelLabel.Name = "flowLayoutPanelLabel";
     this.flowLayoutPanelLabel.Size = new System.Drawing.Size(145, 25);
     this.flowLayoutPanelLabel.TabIndex = 0;
     //
     // flowLayoutPanelPattern
     //
     this.flowLayoutPanelPattern.AutoSize = true;
     this.flowLayoutPanelPattern.BackColor = System.Drawing.Color.Transparent;
     this.flowLayoutPanelPattern.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
     this.flowLayoutPanelPattern.Location = new System.Drawing.Point(147, 3);
     this.flowLayoutPanelPattern.Name = "flowLayoutPanelPattern";
     this.flowLayoutPanelPattern.Size = new System.Drawing.Size(235, 25);
     this.flowLayoutPanelPattern.TabIndex = 1;
     //
     // tabPageNghiepVu
     //
     this.tabPageNghiepVu.Controls.Add(this.lblDescripNghiepVu);
     this.tabPageNghiepVu.Controls.Add(this.vGridMain);
     this.tabPageNghiepVu.Name = "tabPageNghiepVu";
     this.tabPageNghiepVu.Size = new System.Drawing.Size(552, 307);
     this.tabPageNghiepVu.Text = "Tham số nghiệp vụ";
     //
     // lblDescripNghiepVu
     //
     this.lblDescripNghiepVu.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.lblDescripNghiepVu.Appearance.ForeColor = System.Drawing.Color.Black;
     this.lblDescripNghiepVu.Appearance.Options.UseBackColor = true;
     this.lblDescripNghiepVu.Appearance.Options.UseForeColor = true;
     this.lblDescripNghiepVu.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.lblDescripNghiepVu.Location = new System.Drawing.Point(8, 272);
     this.lblDescripNghiepVu.Name = "lblDescripNghiepVu";
     this.lblDescripNghiepVu.Size = new System.Drawing.Size(537, 34);
     this.lblDescripNghiepVu.TabIndex = 3;
     //
     // vGridMain
     //
     this.vGridMain.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.vGridMain.Appearance.RowHeaderPanel.Options.UseBackColor = true;
     this.vGridMain.LayoutStyle = DevExpress.XtraVerticalGrid.LayoutViewStyle.SingleRecordView;
     this.vGridMain.Location = new System.Drawing.Point(0, 0);
     this.vGridMain.Name = "vGridMain";
     this.vGridMain.OptionsBehavior.Editable = false;
     this.vGridMain.OptionsBehavior.ResizeHeaderPanel = false;
     this.vGridMain.OptionsBehavior.ResizeRowHeaders = false;
     this.vGridMain.OptionsBehavior.ResizeRowValues = false;
     this.vGridMain.Size = new System.Drawing.Size(552, 271);
     this.vGridMain.TabIndex = 2;
     //
     // tabPageBaoCao
     //
     this.tabPageBaoCao.Controls.Add(this.panelControl1);
     this.tabPageBaoCao.Name = "tabPageBaoCao";
     this.tabPageBaoCao.Size = new System.Drawing.Size(552, 307);
     this.tabPageBaoCao.Text = "Tham số báo cáo";
     //
     // panelControl1
     //
     this.panelControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl1.Controls.Add(this.lblDescripBaoCao);
     this.panelControl1.Controls.Add(this.vGridMainBaoCao);
     this.panelControl1.Controls.Add(this.labelControl2);
     this.panelControl1.Controls.Add(this.btnXoaPic);
     this.panelControl1.Controls.Add(this.headerLetter);
     this.panelControl1.Controls.Add(this.btnChonPic);
     this.panelControl1.Controls.Add(this.labelControl3);
     this.panelControl1.Controls.Add(this.labelControl1);
     this.panelControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panelControl1.Location = new System.Drawing.Point(0, 0);
     this.panelControl1.Name = "panelControl1";
     this.panelControl1.Size = new System.Drawing.Size(552, 307);
     this.panelControl1.TabIndex = 2;
     //
     // lblDescripBaoCao
     //
     this.lblDescripBaoCao.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.lblDescripBaoCao.Appearance.Options.UseBackColor = true;
     this.lblDescripBaoCao.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.lblDescripBaoCao.Location = new System.Drawing.Point(8, 271);
     this.lblDescripBaoCao.Name = "lblDescripBaoCao";
     this.lblDescripBaoCao.Size = new System.Drawing.Size(538, 36);
     this.lblDescripBaoCao.TabIndex = 32;
     //
     // vGridMainBaoCao
     //
     this.vGridMainBaoCao.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.vGridMainBaoCao.Appearance.RowHeaderPanel.Options.UseBackColor = true;
     this.vGridMainBaoCao.LayoutStyle = DevExpress.XtraVerticalGrid.LayoutViewStyle.SingleRecordView;
     this.vGridMainBaoCao.Location = new System.Drawing.Point(6, 150);
     this.vGridMainBaoCao.MaxRowAutoHeight = 35;
     this.vGridMainBaoCao.Name = "vGridMainBaoCao";
     this.vGridMainBaoCao.OptionsBehavior.Editable = false;
     this.vGridMainBaoCao.OptionsBehavior.ResizeHeaderPanel = false;
     this.vGridMainBaoCao.OptionsBehavior.ResizeRowHeaders = false;
     this.vGridMainBaoCao.Size = new System.Drawing.Size(542, 120);
     this.vGridMainBaoCao.TabIndex = 31;
     //
     // labelControl2
     //
     this.labelControl2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     this.labelControl2.Location = new System.Drawing.Point(6, 130);
     this.labelControl2.Name = "labelControl2";
     this.labelControl2.Size = new System.Drawing.Size(88, 13);
     this.labelControl2.TabIndex = 0;
     this.labelControl2.Text = "Các thông số khác";
     //
     // btnXoaPic
     //
     this.btnXoaPic.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold);
     this.btnXoaPic.Appearance.Options.UseFont = true;
     this.btnXoaPic.Location = new System.Drawing.Point(128, 9);
     this.btnXoaPic.Name = "btnXoaPic";
     this.btnXoaPic.Size = new System.Drawing.Size(20, 20);
     this.btnXoaPic.TabIndex = 1;
     this.btnXoaPic.Text = "-";
     this.btnXoaPic.ToolTip = "Xóa đầu trang";
     this.btnXoaPic.Click += new System.EventHandler(this.btnXoaPic_Click);
     //
     // headerLetter
     //
     this.headerLetter.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.headerLetter.Location = new System.Drawing.Point(6, 37);
     this.headerLetter.Name = "headerLetter";
     this.headerLetter.Properties.ErrorImage = null;
     this.headerLetter.Properties.InitialImage = null;
     this.headerLetter.Properties.ShowMenu = false;
     this.headerLetter.Properties.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Stretch;
     this.headerLetter.Size = new System.Drawing.Size(542, 80);
     this.headerLetter.TabIndex = 30;
     this.headerLetter.ToolTip = "Hình ảnh sẽ hiện ở đầu trang báo cáo";
     this.headerLetter.ToolTipIconType = DevExpress.Utils.ToolTipIconType.Information;
     //
     // btnChonPic
     //
     this.btnChonPic.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold);
     this.btnChonPic.Appearance.Options.UseFont = true;
     this.btnChonPic.Location = new System.Drawing.Point(106, 9);
     this.btnChonPic.Name = "btnChonPic";
     this.btnChonPic.Size = new System.Drawing.Size(20, 20);
     this.btnChonPic.TabIndex = 1;
     this.btnChonPic.Text = "+";
     this.btnChonPic.ToolTip = "Thêm đầu trang";
     this.btnChonPic.Click += new System.EventHandler(this.btnChonPic_Click);
     //
     // labelControl3
     //
     this.labelControl3.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelControl3.Appearance.Options.UseFont = true;
     this.labelControl3.Location = new System.Drawing.Point(154, 12);
     this.labelControl3.Name = "labelControl3";
     this.labelControl3.Size = new System.Drawing.Size(124, 13);
     this.labelControl3.TabIndex = 0;
     this.labelControl3.Text = "(kích thước 650 x 100 px)";
     //
     // labelControl1
     //
     this.labelControl1.Location = new System.Drawing.Point(8, 12);
     this.labelControl1.Name = "labelControl1";
     this.labelControl1.Size = new System.Drawing.Size(90, 13);
     this.labelControl1.TabIndex = 0;
     this.labelControl1.Text = "Đầu trang báo cáo";
     //
     // ParamDescrip_lb
     //
     this.ParamDescrip_lb.Location = new System.Drawing.Point(10, 10);
     this.ParamDescrip_lb.Name = "ParamDescrip_lb";
     this.ParamDescrip_lb.Size = new System.Drawing.Size(0, 13);
     this.ParamDescrip_lb.TabIndex = 47;
     //
     // Param_lb
     //
     this.Param_lb.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Param_lb.Appearance.Options.UseFont = true;
     this.Param_lb.Location = new System.Drawing.Point(10, 10);
     this.Param_lb.Name = "Param_lb";
     this.Param_lb.Size = new System.Drawing.Size(0, 13);
     this.Param_lb.TabIndex = 46;
     //
     // btnXemTruoc
     //
     this.btnXemTruoc.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnXemTruoc.Location = new System.Drawing.Point(340, 342);
     this.btnXemTruoc.Name = "btnXemTruoc";
     this.btnXemTruoc.Size = new System.Drawing.Size(75, 23);
     this.btnXemTruoc.TabIndex = 10;
     this.btnXemTruoc.Text = "&Xem trước";
     this.btnXemTruoc.Click += new System.EventHandler(this.btnXemTruoc_Click);
     //
     // btnDong
     //
     this.btnDong.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnDong.Location = new System.Drawing.Point(487, 342);
     this.btnDong.Name = "btnDong";
     this.btnDong.Size = new System.Drawing.Size(60, 23);
     this.btnDong.TabIndex = 1;
     this.btnDong.Text = "Đón&g";
     this.btnDong.Click += new System.EventHandler(this.btnDong_Click);
     //
     // btnLuu
     //
     this.btnLuu.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnLuu.Location = new System.Drawing.Point(421, 342);
     this.btnLuu.Name = "btnLuu";
     this.btnLuu.Size = new System.Drawing.Size(60, 23);
     this.btnLuu.TabIndex = 0;
     this.btnLuu.Text = "&Lưu";
     this.btnLuu.Click += new System.EventHandler(this.btnLuu_Click);
     //
     // openFileDialog1
     //
     this.openFileDialog1.FileName = "openFileDialog1";
     //
     // frmCauHinhNghiepVu
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(557, 375);
     this.Controls.Add(this.btnXemTruoc);
     this.Controls.Add(this.btnLuu);
     this.Controls.Add(this.btnDong);
     this.Controls.Add(this.splitContainerControl1);
     this.Name = "frmCauHinhNghiepVu";
     this.Text = "Cấu hình nghiệp vụ";
     this.Load += new System.EventHandler(this.frmCauHinhNghiepVu_Load);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit();
     this.splitContainerControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.tabNghiepVu)).EndInit();
     this.tabNghiepVu.ResumeLayout(false);
     this.TabPageThietLapSoPhieu.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.panelControlSoPhieu)).EndInit();
     this.panelControlSoPhieu.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControlExample)).EndInit();
     this.groupControlExample.ResumeLayout(false);
     this.xtraScrollableControlExample.ResumeLayout(false);
     this.xtraScrollableControlExample.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlConfig)).EndInit();
     this.groupControlConfig.ResumeLayout(false);
     this.xtraScrollableControlConfig.ResumeLayout(false);
     this.xtraScrollableControlConfig.PerformLayout();
     this.tabPageNghiepVu.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.vGridMain)).EndInit();
     this.tabPageBaoCao.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
     this.panelControl1.ResumeLayout(false);
     this.panelControl1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.vGridMainBaoCao)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.headerLetter.Properties)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #18
0
 /// <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(RoomCheckOut));
     this.splitContainerControl2 = new DevExpress.XtraEditors.SplitContainerControl();
     this.groupControlList = new DevExpress.XtraEditors.GroupControl();
     this.gridControlRoom = new DevExpress.XtraGrid.GridControl();
     this.gridViewRoom = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.check_out_room_code = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_check_out_room_name = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_check_out_building_label = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_check_out_floor_code = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_check_out_roomtype_label = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_check_out_room_status = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_check_out_tenant_name = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_check_out_tenant_surname = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_check_out_leave_date = new DevExpress.XtraGrid.Columns.GridColumn();
     this.check_out_room_id = new DevExpress.XtraGrid.Columns.GridColumn();
     this.check_out_tenant_id = new DevExpress.XtraGrid.Columns.GridColumn();
     this.check_out_check_in_id = new DevExpress.XtraGrid.Columns.GridColumn();
     this.check_out_insurerate_rate_monthly = new DevExpress.XtraGrid.Columns.GridColumn();
     this.check_out_insurerate_rate_weekly = new DevExpress.XtraGrid.Columns.GridColumn();
     this.check_out_insurerate_rate_daily = new DevExpress.XtraGrid.Columns.GridColumn();
     this.check_out_deposite_rate_monthly = new DevExpress.XtraGrid.Columns.GridColumn();
     this.check_out_deposite_rate_weekly = new DevExpress.XtraGrid.Columns.GridColumn();
     this.check_out_deposite_rate_daily = new DevExpress.XtraGrid.Columns.GridColumn();
     this.electricity_unit_rate_monthly = new DevExpress.XtraGrid.Columns.GridColumn();
     this.electricity_unit_rate_weekly = new DevExpress.XtraGrid.Columns.GridColumn();
     this.electricity_unit_rate_daily = new DevExpress.XtraGrid.Columns.GridColumn();
     this.electricity_unit_rate_min = new DevExpress.XtraGrid.Columns.GridColumn();
     this.electricity_price_rate_min = new DevExpress.XtraGrid.Columns.GridColumn();
     this.water_unit_rate_monthly = new DevExpress.XtraGrid.Columns.GridColumn();
     this.water_unit_rate_weekly = new DevExpress.XtraGrid.Columns.GridColumn();
     this.water_unit_rate_daily = new DevExpress.XtraGrid.Columns.GridColumn();
     this.water_unit_rate_min = new DevExpress.XtraGrid.Columns.GridColumn();
     this.water_price_rate_min = new DevExpress.XtraGrid.Columns.GridColumn();
     this.panelControl3 = new DevExpress.XtraEditors.PanelControl();
     this.xtraScrollableControl1 = new DevExpress.XtraEditors.XtraScrollableControl();
     this.groupExpense = new DevExpress.XtraEditors.GroupControl();
     this.groupControlItem = new DevExpress.XtraEditors.GroupControl();
     this.gridControlItem = new DevExpress.XtraGrid.GridControl();
     this.gridViewItemList = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumNo = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colInvoiceItemName = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnAmount = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnAmountPerUnit = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colInvoiceItemPrice = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnVat = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnVating = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colInvoiceItemId = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnItemNetPrice = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemCheckEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
     this.panelControl4 = new DevExpress.XtraEditors.PanelControl();
     this.bttRemoveItem = new DevExpress.XtraEditors.SimpleButton();
     this.bttAddItem = new DevExpress.XtraEditors.SimpleButton();
     this.labelControlBaht3 = new DevExpress.XtraEditors.LabelControl();
     this.textEditRefund = new DevExpress.XtraEditors.TextEdit();
     this.labelControlRefund = new DevExpress.XtraEditors.LabelControl();
     this.panelControl2 = new DevExpress.XtraEditors.PanelControl();
     this.gridControlGeneralCost = new DevExpress.XtraGrid.GridControl();
     this.gridViewGeneralCost = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnNetPrice = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemCheckEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
     this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.panelControlCalculate = new DevExpress.XtraEditors.PanelControl();
     this.dateEditInvoiceDueDate = new DevExpress.XtraEditors.DateEdit();
     this.panelControlPricePerDay = new DevExpress.XtraEditors.PanelControl();
     this.textEditChargePrice = new DevExpress.XtraEditors.TextEdit();
     this.labelControlPrice = new DevExpress.XtraEditors.LabelControl();
     this.labelControlBaht2 = new DevExpress.XtraEditors.LabelControl();
     this.labelControlTipMSG = new DevExpress.XtraEditors.LabelControl();
     this.dateEditLeaveDate = new DevExpress.XtraEditors.DateEdit();
     this.bttCalculate = new DevExpress.XtraEditors.SimpleButton();
     this.labelControlRentalPrice = new DevExpress.XtraEditors.LabelControl();
     this.labelControlCheckOutDate = new DevExpress.XtraEditors.LabelControl();
     this.lookUpEditCharge = new DevExpress.XtraEditors.LookUpEdit();
     this.groupControlMeter = new DevExpress.XtraEditors.GroupControl();
     this.textEditPhonePrice = new DevExpress.XtraEditors.TextEdit();
     this.groupControlEndMeter = new DevExpress.XtraEditors.GroupControl();
     this.textEditWMeterPresent = new DevExpress.XtraEditors.TextEdit();
     this.textEditEMeterPresent = new DevExpress.XtraEditors.TextEdit();
     this.groupControlEndDate = new DevExpress.XtraEditors.GroupControl();
     this.dateEditWMeterPresentDate = new DevExpress.XtraEditors.DateEdit();
     this.dateEditEMeterPresentDate = new DevExpress.XtraEditors.DateEdit();
     this.dateEditPhoneStart = new DevExpress.XtraEditors.DateEdit();
     this.dateEditPhoneEnd = new DevExpress.XtraEditors.DateEdit();
     this.textEditWaterMeterId = new DevExpress.XtraEditors.TextEdit();
     this.textEditElectricMeterId = new DevExpress.XtraEditors.TextEdit();
     this.groupControlStartMeter = new DevExpress.XtraEditors.GroupControl();
     this.textEditWMeterPreviousUnit = new DevExpress.XtraEditors.TextEdit();
     this.textEditEMeterPreviousUnit = new DevExpress.XtraEditors.TextEdit();
     this.labelControlPhoneMeter = new DevExpress.XtraEditors.LabelControl();
     this.labelControlTelAmount = new DevExpress.XtraEditors.LabelControl();
     this.labelControlTelEnd = new DevExpress.XtraEditors.LabelControl();
     this.labelControlTelStart = new DevExpress.XtraEditors.LabelControl();
     this.labelControlWaterMeter = new DevExpress.XtraEditors.LabelControl();
     this.labelControlElectricMeter = new DevExpress.XtraEditors.LabelControl();
     this.groupControlStartDate = new DevExpress.XtraEditors.GroupControl();
     this.dateEditWMeterPreviousDate = new DevExpress.XtraEditors.DateEdit();
     this.dateEditEMeterPreviousDate = new DevExpress.XtraEditors.DateEdit();
     this.groupRoomInfo = new DevExpress.XtraEditors.GroupControl();
     this.textEditRoomPrice = new DevExpress.XtraEditors.TextEdit();
     this.labelControlBaht0 = new DevExpress.XtraEditors.LabelControl();
     this.labelControlMonth2 = new DevExpress.XtraEditors.LabelControl();
     this.labelControlBaht1 = new DevExpress.XtraEditors.LabelControl();
     this.textEditInsurerate = new DevExpress.XtraEditors.TextEdit();
     this.textEditAdvance = new DevExpress.XtraEditors.TextEdit();
     this.labelControlInsurance = new DevExpress.XtraEditors.LabelControl();
     this.labelControlDeposit = new DevExpress.XtraEditors.LabelControl();
     this.labelControlMonthlyRate = new DevExpress.XtraEditors.LabelControl();
     this.lookUpEditFloorId = new DevExpress.XtraEditors.LookUpEdit();
     this.labelControlFloor = new DevExpress.XtraEditors.LabelControl();
     this.textEditRoomLabel = new DevExpress.XtraEditors.TextEdit();
     this.labelControlRoomName = new DevExpress.XtraEditors.LabelControl();
     this.lookUpEditRoomTypeId = new DevExpress.XtraEditors.LookUpEdit();
     this.lookUpEditBuildingId = new DevExpress.XtraEditors.LookUpEdit();
     this.labelControlRoomType = new DevExpress.XtraEditors.LabelControl();
     this.labelControlBuilding = new DevExpress.XtraEditors.LabelControl();
     this.groupControlRental = new DevExpress.XtraEditors.GroupControl();
     this.labelControl5 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl23 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl22 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl21 = new DevExpress.XtraEditors.LabelControl();
     this.textEditTenantName = new DevExpress.XtraEditors.TextEdit();
     this.labelControlSurname = new DevExpress.XtraEditors.LabelControl();
     this.labelControlName = new DevExpress.XtraEditors.LabelControl();
     this.textEditTenantSurname = new DevExpress.XtraEditors.TextEdit();
     this.labelControlTitle = new DevExpress.XtraEditors.LabelControl();
     this.textEditPrefix = new DevExpress.XtraEditors.TextEdit();
     this.groupControlCheckOut = new DevExpress.XtraEditors.GroupControl();
     this.lookUpEditContractType = new DevExpress.XtraEditors.LookUpEdit();
     this.dateEditCheckInDate = new DevExpress.XtraEditors.DateEdit();
     this.labelControlMonth = new DevExpress.XtraEditors.LabelControl();
     this.labelControlMinimum = new DevExpress.XtraEditors.LabelControl();
     this.labelControlRentType = new DevExpress.XtraEditors.LabelControl();
     this.labelControlContractDate = new DevExpress.XtraEditors.LabelControl();
     this.labelControlContractNo = new DevExpress.XtraEditors.LabelControl();
     this.textEditMinimum = new DevExpress.XtraEditors.TextEdit();
     this.textEditContractNo = new DevExpress.XtraEditors.TextEdit();
     this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
     this.bttPrintInvoice = new DevExpress.XtraEditors.SimpleButton();
     this.bttPrintInsurance = new DevExpress.XtraEditors.SimpleButton();
     this.textEditRoomStatus = new DevExpress.XtraEditors.TextEdit();
     this.textEditCheckInId = new DevExpress.XtraEditors.TextEdit();
     this.textEditTenantId = new DevExpress.XtraEditors.TextEdit();
     this.textEditRoomId = new DevExpress.XtraEditors.TextEdit();
     this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
     this.textEditRoomCode = new DevExpress.XtraEditors.TextEdit();
     this.bttEdit = new DevExpress.XtraEditors.SimpleButton();
     this.bttCancel = new DevExpress.XtraEditors.SimpleButton();
     this.bttSave = new DevExpress.XtraEditors.SimpleButton();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).BeginInit();
     this.splitContainerControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlList)).BeginInit();
     this.groupControlList.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlRoom)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewRoom)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit();
     this.panelControl3.SuspendLayout();
     this.xtraScrollableControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupExpense)).BeginInit();
     this.groupExpense.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlItem)).BeginInit();
     this.groupControlItem.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlItem)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewItemList)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).BeginInit();
     this.panelControl4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRefund.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit();
     this.panelControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlGeneralCost)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewGeneralCost)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControlCalculate)).BeginInit();
     this.panelControlCalculate.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditInvoiceDueDate.Properties.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditInvoiceDueDate.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControlPricePerDay)).BeginInit();
     this.panelControlPricePerDay.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditChargePrice.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditLeaveDate.Properties.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditLeaveDate.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditCharge.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlMeter)).BeginInit();
     this.groupControlMeter.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditPhonePrice.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlEndMeter)).BeginInit();
     this.groupControlEndMeter.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditWMeterPresent.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditEMeterPresent.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlEndDate)).BeginInit();
     this.groupControlEndDate.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditWMeterPresentDate.Properties.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditWMeterPresentDate.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditEMeterPresentDate.Properties.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditEMeterPresentDate.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditPhoneStart.Properties.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditPhoneStart.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditPhoneEnd.Properties.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditPhoneEnd.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditWaterMeterId.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditElectricMeterId.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlStartMeter)).BeginInit();
     this.groupControlStartMeter.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditWMeterPreviousUnit.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditEMeterPreviousUnit.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlStartDate)).BeginInit();
     this.groupControlStartDate.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditWMeterPreviousDate.Properties.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditWMeterPreviousDate.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditEMeterPreviousDate.Properties.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditEMeterPreviousDate.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupRoomInfo)).BeginInit();
     this.groupRoomInfo.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomPrice.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditInsurerate.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditAdvance.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditFloorId.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomLabel.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditRoomTypeId.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditBuildingId.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlRental)).BeginInit();
     this.groupControlRental.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditTenantName.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditTenantSurname.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditPrefix.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlCheckOut)).BeginInit();
     this.groupControlCheckOut.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditContractType.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditCheckInDate.Properties.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditCheckInDate.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditMinimum.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditContractNo.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
     this.panelControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomStatus.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditCheckInId.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditTenantId.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomId.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomCode.Properties)).BeginInit();
     this.SuspendLayout();
     //
     // splitContainerControl2
     //
     this.splitContainerControl2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerControl2.Location = new System.Drawing.Point(7, 7);
     this.splitContainerControl2.Name = "splitContainerControl2";
     this.splitContainerControl2.Panel1.Controls.Add(this.groupControlList);
     this.splitContainerControl2.Panel1.Text = "Panel1";
     this.splitContainerControl2.Panel2.Controls.Add(this.panelControl3);
     this.splitContainerControl2.Panel2.Controls.Add(this.panelControl1);
     this.splitContainerControl2.Panel2.Text = "Panel2";
     this.splitContainerControl2.Size = new System.Drawing.Size(1296, 634);
     this.splitContainerControl2.SplitterPosition = 667;
     this.splitContainerControl2.TabIndex = 17;
     this.splitContainerControl2.Text = "splitContainerControl2";
     //
     // groupControlList
     //
     this.groupControlList.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlList.AppearanceCaption.Options.UseFont = true;
     this.groupControlList.Controls.Add(this.gridControlRoom);
     this.groupControlList.Dock = System.Windows.Forms.DockStyle.Fill;
     this.groupControlList.Location = new System.Drawing.Point(0, 0);
     this.groupControlList.Name = "groupControlList";
     this.groupControlList.Size = new System.Drawing.Size(667, 634);
     this.groupControlList.TabIndex = 0;
     this.groupControlList.Text = "รายการห้องที่มี่ผู้เช่าและแจ้งย้ายออก";
     //
     // gridControlRoom
     //
     this.gridControlRoom.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlRoom.Location = new System.Drawing.Point(2, 22);
     this.gridControlRoom.MainView = this.gridViewRoom;
     this.gridControlRoom.Name = "gridControlRoom";
     this.gridControlRoom.Size = new System.Drawing.Size(663, 610);
     this.gridControlRoom.TabIndex = 1;
     this.gridControlRoom.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewRoom});
     //
     // gridViewRoom
     //
     this.gridViewRoom.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.check_out_room_code,
     this.grid_check_out_room_name,
     this.grid_check_out_building_label,
     this.grid_check_out_floor_code,
     this.grid_check_out_roomtype_label,
     this.grid_check_out_room_status,
     this.grid_check_out_tenant_name,
     this.grid_check_out_tenant_surname,
     this.grid_check_out_leave_date,
     this.check_out_room_id,
     this.check_out_tenant_id,
     this.check_out_check_in_id,
     this.check_out_insurerate_rate_monthly,
     this.check_out_insurerate_rate_weekly,
     this.check_out_insurerate_rate_daily,
     this.check_out_deposite_rate_monthly,
     this.check_out_deposite_rate_weekly,
     this.check_out_deposite_rate_daily,
     this.electricity_unit_rate_monthly,
     this.electricity_unit_rate_weekly,
     this.electricity_unit_rate_daily,
     this.electricity_unit_rate_min,
     this.electricity_price_rate_min,
     this.water_unit_rate_monthly,
     this.water_unit_rate_weekly,
     this.water_unit_rate_daily,
     this.water_unit_rate_min,
     this.water_price_rate_min});
     this.gridViewRoom.GridControl = this.gridControlRoom;
     this.gridViewRoom.Name = "gridViewRoom";
     this.gridViewRoom.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridViewRoom.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridViewRoom.OptionsFind.AlwaysVisible = true;
     this.gridViewRoom.OptionsFind.ShowCloseButton = false;
     this.gridViewRoom.OptionsView.ShowGroupPanel = false;
     //
     // check_out_room_code
     //
     this.check_out_room_code.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.check_out_room_code.AppearanceHeader.Options.UseFont = true;
     this.check_out_room_code.Caption = "รหัสห้อง";
     this.check_out_room_code.FieldName = "coderef";
     this.check_out_room_code.Name = "check_out_room_code";
     this.check_out_room_code.OptionsColumn.AllowEdit = false;
     this.check_out_room_code.OptionsColumn.AllowFocus = false;
     this.check_out_room_code.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.check_out_room_code.OptionsColumn.AllowMove = false;
     //
     // grid_check_out_room_name
     //
     this.grid_check_out_room_name.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_check_out_room_name.AppearanceHeader.Options.UseFont = true;
     this.grid_check_out_room_name.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_check_out_room_name.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_check_out_room_name.Caption = "ชื่อห้อง";
     this.grid_check_out_room_name.FieldName = "room_label";
     this.grid_check_out_room_name.Name = "grid_check_out_room_name";
     this.grid_check_out_room_name.OptionsColumn.AllowEdit = false;
     this.grid_check_out_room_name.OptionsColumn.AllowFocus = false;
     this.grid_check_out_room_name.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_check_out_room_name.OptionsColumn.AllowMove = false;
     this.grid_check_out_room_name.Visible = true;
     this.grid_check_out_room_name.VisibleIndex = 0;
     this.grid_check_out_room_name.Width = 70;
     //
     // grid_check_out_building_label
     //
     this.grid_check_out_building_label.AppearanceCell.Options.UseTextOptions = true;
     this.grid_check_out_building_label.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_check_out_building_label.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_check_out_building_label.AppearanceHeader.Options.UseFont = true;
     this.grid_check_out_building_label.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_check_out_building_label.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_check_out_building_label.Caption = "อาคาร";
     this.grid_check_out_building_label.FieldName = "building_label";
     this.grid_check_out_building_label.Name = "grid_check_out_building_label";
     this.grid_check_out_building_label.OptionsColumn.AllowEdit = false;
     this.grid_check_out_building_label.OptionsColumn.AllowFocus = false;
     this.grid_check_out_building_label.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_check_out_building_label.OptionsColumn.AllowMove = false;
     this.grid_check_out_building_label.Visible = true;
     this.grid_check_out_building_label.VisibleIndex = 1;
     this.grid_check_out_building_label.Width = 50;
     //
     // grid_check_out_floor_code
     //
     this.grid_check_out_floor_code.AppearanceCell.Options.UseTextOptions = true;
     this.grid_check_out_floor_code.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_check_out_floor_code.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_check_out_floor_code.AppearanceHeader.Options.UseFont = true;
     this.grid_check_out_floor_code.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_check_out_floor_code.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_check_out_floor_code.Caption = "ชั้น";
     this.grid_check_out_floor_code.FieldName = "floor_code";
     this.grid_check_out_floor_code.Name = "grid_check_out_floor_code";
     this.grid_check_out_floor_code.OptionsColumn.AllowEdit = false;
     this.grid_check_out_floor_code.OptionsColumn.AllowFocus = false;
     this.grid_check_out_floor_code.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_check_out_floor_code.OptionsColumn.AllowMove = false;
     this.grid_check_out_floor_code.Visible = true;
     this.grid_check_out_floor_code.VisibleIndex = 2;
     this.grid_check_out_floor_code.Width = 48;
     //
     // grid_check_out_roomtype_label
     //
     this.grid_check_out_roomtype_label.AppearanceCell.Options.UseTextOptions = true;
     this.grid_check_out_roomtype_label.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_check_out_roomtype_label.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_check_out_roomtype_label.AppearanceHeader.Options.UseFont = true;
     this.grid_check_out_roomtype_label.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_check_out_roomtype_label.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_check_out_roomtype_label.Caption = "ประเภท";
     this.grid_check_out_roomtype_label.FieldName = "roomtype_label";
     this.grid_check_out_roomtype_label.Name = "grid_check_out_roomtype_label";
     this.grid_check_out_roomtype_label.OptionsColumn.AllowEdit = false;
     this.grid_check_out_roomtype_label.OptionsColumn.AllowFocus = false;
     this.grid_check_out_roomtype_label.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_check_out_roomtype_label.OptionsColumn.AllowMove = false;
     this.grid_check_out_roomtype_label.Visible = true;
     this.grid_check_out_roomtype_label.VisibleIndex = 3;
     this.grid_check_out_roomtype_label.Width = 60;
     //
     // grid_check_out_room_status
     //
     this.grid_check_out_room_status.AppearanceCell.Options.UseTextOptions = true;
     this.grid_check_out_room_status.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_check_out_room_status.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_check_out_room_status.AppearanceHeader.Options.UseFont = true;
     this.grid_check_out_room_status.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_check_out_room_status.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_check_out_room_status.Caption = "สถานะห้อง";
     this.grid_check_out_room_status.FieldName = "room_status_label";
     this.grid_check_out_room_status.Name = "grid_check_out_room_status";
     this.grid_check_out_room_status.OptionsColumn.AllowEdit = false;
     this.grid_check_out_room_status.OptionsColumn.AllowFocus = false;
     this.grid_check_out_room_status.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_check_out_room_status.OptionsColumn.AllowMove = false;
     this.grid_check_out_room_status.Visible = true;
     this.grid_check_out_room_status.VisibleIndex = 4;
     this.grid_check_out_room_status.Width = 64;
     //
     // grid_check_out_tenant_name
     //
     this.grid_check_out_tenant_name.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_check_out_tenant_name.AppearanceHeader.Options.UseFont = true;
     this.grid_check_out_tenant_name.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_check_out_tenant_name.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_check_out_tenant_name.Caption = "ชื่อ";
     this.grid_check_out_tenant_name.FieldName = "tenant_name";
     this.grid_check_out_tenant_name.Name = "grid_check_out_tenant_name";
     this.grid_check_out_tenant_name.OptionsColumn.AllowEdit = false;
     this.grid_check_out_tenant_name.OptionsColumn.AllowFocus = false;
     this.grid_check_out_tenant_name.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_check_out_tenant_name.OptionsColumn.AllowMove = false;
     this.grid_check_out_tenant_name.Visible = true;
     this.grid_check_out_tenant_name.VisibleIndex = 5;
     this.grid_check_out_tenant_name.Width = 82;
     //
     // grid_check_out_tenant_surname
     //
     this.grid_check_out_tenant_surname.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_check_out_tenant_surname.AppearanceHeader.Options.UseFont = true;
     this.grid_check_out_tenant_surname.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_check_out_tenant_surname.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_check_out_tenant_surname.Caption = "นามสกุล";
     this.grid_check_out_tenant_surname.FieldName = "tenant_surname";
     this.grid_check_out_tenant_surname.Name = "grid_check_out_tenant_surname";
     this.grid_check_out_tenant_surname.OptionsColumn.AllowEdit = false;
     this.grid_check_out_tenant_surname.OptionsColumn.AllowFocus = false;
     this.grid_check_out_tenant_surname.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_check_out_tenant_surname.OptionsColumn.AllowMove = false;
     this.grid_check_out_tenant_surname.Visible = true;
     this.grid_check_out_tenant_surname.VisibleIndex = 6;
     this.grid_check_out_tenant_surname.Width = 82;
     //
     // grid_check_out_leave_date
     //
     this.grid_check_out_leave_date.AppearanceCell.Options.UseTextOptions = true;
     this.grid_check_out_leave_date.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_check_out_leave_date.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_check_out_leave_date.AppearanceHeader.Options.UseFont = true;
     this.grid_check_out_leave_date.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_check_out_leave_date.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_check_out_leave_date.Caption = "วันที่ต้องการย้ายออก";
     this.grid_check_out_leave_date.DisplayFormat.FormatString = "{0:dd/MM/yyyy}";
     this.grid_check_out_leave_date.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.grid_check_out_leave_date.FieldName = "leave_date";
     this.grid_check_out_leave_date.Name = "grid_check_out_leave_date";
     this.grid_check_out_leave_date.OptionsColumn.AllowEdit = false;
     this.grid_check_out_leave_date.OptionsColumn.AllowFocus = false;
     this.grid_check_out_leave_date.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_check_out_leave_date.OptionsColumn.AllowMove = false;
     this.grid_check_out_leave_date.Visible = true;
     this.grid_check_out_leave_date.VisibleIndex = 7;
     this.grid_check_out_leave_date.Width = 111;
     //
     // check_out_room_id
     //
     this.check_out_room_id.Caption = "room_id";
     this.check_out_room_id.FieldName = "room_id";
     this.check_out_room_id.Name = "check_out_room_id";
     //
     // check_out_tenant_id
     //
     this.check_out_tenant_id.Caption = "tenant_id";
     this.check_out_tenant_id.FieldName = "tenant_id";
     this.check_out_tenant_id.Name = "check_out_tenant_id";
     //
     // check_out_check_in_id
     //
     this.check_out_check_in_id.Caption = "check_in_id";
     this.check_out_check_in_id.FieldName = "check_in_id";
     this.check_out_check_in_id.Name = "check_out_check_in_id";
     //
     // check_out_insurerate_rate_monthly
     //
     this.check_out_insurerate_rate_monthly.Caption = "insurerate_rate_monthly";
     this.check_out_insurerate_rate_monthly.FieldName = "insurerate_rate_monthly";
     this.check_out_insurerate_rate_monthly.Name = "check_out_insurerate_rate_monthly";
     //
     // check_out_insurerate_rate_weekly
     //
     this.check_out_insurerate_rate_weekly.Caption = "check_out_insurerate_rate_weekly";
     this.check_out_insurerate_rate_weekly.FieldName = "insurerate_rate_weekly";
     this.check_out_insurerate_rate_weekly.Name = "check_out_insurerate_rate_weekly";
     //
     // check_out_insurerate_rate_daily
     //
     this.check_out_insurerate_rate_daily.Caption = "check_out_insurerate_rate_daily";
     this.check_out_insurerate_rate_daily.FieldName = "insurerate_rate_daily";
     this.check_out_insurerate_rate_daily.Name = "check_out_insurerate_rate_daily";
     //
     // check_out_deposite_rate_monthly
     //
     this.check_out_deposite_rate_monthly.Caption = "check_out_deposite_rate_monthly";
     this.check_out_deposite_rate_monthly.FieldName = "deposite_rate_monthly";
     this.check_out_deposite_rate_monthly.Name = "check_out_deposite_rate_monthly";
     //
     // check_out_deposite_rate_weekly
     //
     this.check_out_deposite_rate_weekly.Caption = "check_out_deposite_rate_weekly";
     this.check_out_deposite_rate_weekly.FieldName = "deposite_rate_weekly";
     this.check_out_deposite_rate_weekly.Name = "check_out_deposite_rate_weekly";
     //
     // check_out_deposite_rate_daily
     //
     this.check_out_deposite_rate_daily.Caption = "check_out_deposite_rate_daily";
     this.check_out_deposite_rate_daily.FieldName = "deposite_rate_daily";
     this.check_out_deposite_rate_daily.Name = "check_out_deposite_rate_daily";
     //
     // electricity_unit_rate_monthly
     //
     this.electricity_unit_rate_monthly.Caption = "electricity_unit_rate_monthly";
     this.electricity_unit_rate_monthly.FieldName = "electricity_unit_rate_monthly";
     this.electricity_unit_rate_monthly.Name = "electricity_unit_rate_monthly";
     //
     // electricity_unit_rate_weekly
     //
     this.electricity_unit_rate_weekly.Caption = "electricity_unit_rate_weekly";
     this.electricity_unit_rate_weekly.FieldName = "electricity_unit_rate_weekly";
     this.electricity_unit_rate_weekly.Name = "electricity_unit_rate_weekly";
     //
     // electricity_unit_rate_daily
     //
     this.electricity_unit_rate_daily.Caption = "electricity_unit_rate_daily";
     this.electricity_unit_rate_daily.FieldName = "electricity_unit_rate_daily";
     this.electricity_unit_rate_daily.Name = "electricity_unit_rate_daily";
     //
     // electricity_unit_rate_min
     //
     this.electricity_unit_rate_min.Caption = "electricity_unit_rate_min";
     this.electricity_unit_rate_min.FieldName = "electricity_unit_rate_min";
     this.electricity_unit_rate_min.Name = "electricity_unit_rate_min";
     //
     // electricity_price_rate_min
     //
     this.electricity_price_rate_min.Caption = "electricity_price_rate_min";
     this.electricity_price_rate_min.FieldName = "electricity_price_rate_min";
     this.electricity_price_rate_min.Name = "electricity_price_rate_min";
     //
     // water_unit_rate_monthly
     //
     this.water_unit_rate_monthly.Caption = "water_unit_rate_monthly";
     this.water_unit_rate_monthly.FieldName = "water_unit_rate_monthly";
     this.water_unit_rate_monthly.Name = "water_unit_rate_monthly";
     //
     // water_unit_rate_weekly
     //
     this.water_unit_rate_weekly.Caption = "water_unit_rate_weekly";
     this.water_unit_rate_weekly.FieldName = "water_unit_rate_weekly";
     this.water_unit_rate_weekly.Name = "water_unit_rate_weekly";
     //
     // water_unit_rate_daily
     //
     this.water_unit_rate_daily.Caption = "water_unit_rate_daily";
     this.water_unit_rate_daily.FieldName = "water_unit_rate_daily";
     this.water_unit_rate_daily.Name = "water_unit_rate_daily";
     //
     // water_unit_rate_min
     //
     this.water_unit_rate_min.Caption = "water_unit_rate_min";
     this.water_unit_rate_min.FieldName = "water_unit_rate_min";
     this.water_unit_rate_min.Name = "water_unit_rate_min";
     //
     // water_price_rate_min
     //
     this.water_price_rate_min.Caption = "water_price_rate_min";
     this.water_price_rate_min.FieldName = "water_price_rate_min";
     this.water_price_rate_min.Name = "water_price_rate_min";
     //
     // panelControl3
     //
     this.panelControl3.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl3.Controls.Add(this.xtraScrollableControl1);
     this.panelControl3.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panelControl3.Location = new System.Drawing.Point(0, 0);
     this.panelControl3.Name = "panelControl3";
     this.panelControl3.Size = new System.Drawing.Size(624, 568);
     this.panelControl3.TabIndex = 12;
     //
     // xtraScrollableControl1
     //
     this.xtraScrollableControl1.Controls.Add(this.groupExpense);
     this.xtraScrollableControl1.Controls.Add(this.panelControlCalculate);
     this.xtraScrollableControl1.Controls.Add(this.groupControlMeter);
     this.xtraScrollableControl1.Controls.Add(this.groupRoomInfo);
     this.xtraScrollableControl1.Controls.Add(this.groupControlRental);
     this.xtraScrollableControl1.Controls.Add(this.groupControlCheckOut);
     this.xtraScrollableControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.xtraScrollableControl1.Location = new System.Drawing.Point(0, 0);
     this.xtraScrollableControl1.Name = "xtraScrollableControl1";
     this.xtraScrollableControl1.Size = new System.Drawing.Size(624, 568);
     this.xtraScrollableControl1.TabIndex = 0;
     //
     // groupExpense
     //
     this.groupExpense.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupExpense.AppearanceCaption.Options.UseFont = true;
     this.groupExpense.Controls.Add(this.groupControlItem);
     this.groupExpense.Controls.Add(this.panelControl4);
     this.groupExpense.Controls.Add(this.panelControl2);
     this.groupExpense.Dock = System.Windows.Forms.DockStyle.Top;
     this.groupExpense.Location = new System.Drawing.Point(0, 612);
     this.groupExpense.Name = "groupExpense";
     this.groupExpense.Size = new System.Drawing.Size(607, 347);
     this.groupExpense.TabIndex = 367;
     this.groupExpense.Text = "รายการค่าใช้จ่ายประจำเดือน";
     //
     // groupControlItem
     //
     this.groupControlItem.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlItem.AppearanceCaption.Options.UseFont = true;
     this.groupControlItem.Controls.Add(this.gridControlItem);
     this.groupControlItem.Dock = System.Windows.Forms.DockStyle.Top;
     this.groupControlItem.Location = new System.Drawing.Point(2, 138);
     this.groupControlItem.Name = "groupControlItem";
     this.groupControlItem.Size = new System.Drawing.Size(603, 147);
     this.groupControlItem.TabIndex = 316;
     this.groupControlItem.Text = "รายการค่าใช้จ่ายเพิ่มเติม";
     //
     // gridControlItem
     //
     this.gridControlItem.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlItem.Location = new System.Drawing.Point(2, 22);
     this.gridControlItem.MainView = this.gridViewItemList;
     this.gridControlItem.Name = "gridControlItem";
     this.gridControlItem.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemCheckEdit1});
     this.gridControlItem.Size = new System.Drawing.Size(599, 123);
     this.gridControlItem.TabIndex = 284;
     this.gridControlItem.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewItemList});
     //
     // gridViewItemList
     //
     this.gridViewItemList.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.gridViewItemList.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.gridColumNo,
     this.colInvoiceItemName,
     this.gridColumnAmount,
     this.gridColumnAmountPerUnit,
     this.colInvoiceItemPrice,
     this.gridColumnVat,
     this.gridColumnVating,
     this.colInvoiceItemId,
     this.gridColumnItemNetPrice});
     this.gridViewItemList.GridControl = this.gridControlItem;
     this.gridViewItemList.Name = "gridViewItemList";
     this.gridViewItemList.OptionsView.ShowGroupPanel = false;
     //
     // gridColumNo
     //
     this.gridColumNo.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumNo.AppearanceHeader.Options.UseFont = true;
     this.gridColumNo.Caption = "ลำดับ";
     this.gridColumNo.FieldName = "order";
     this.gridColumNo.Name = "gridColumNo";
     this.gridColumNo.OptionsColumn.AllowEdit = false;
     this.gridColumNo.OptionsColumn.AllowFocus = false;
     this.gridColumNo.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumNo.OptionsColumn.AllowMove = false;
     this.gridColumNo.OptionsColumn.FixedWidth = true;
     this.gridColumNo.OptionsColumn.ReadOnly = true;
     this.gridColumNo.OptionsColumn.ShowCaption = false;
     this.gridColumNo.Visible = true;
     this.gridColumNo.VisibleIndex = 0;
     this.gridColumNo.Width = 39;
     //
     // colInvoiceItemName
     //
     this.colInvoiceItemName.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.colInvoiceItemName.AppearanceHeader.Options.UseFont = true;
     this.colInvoiceItemName.Caption = "รายการ";
     this.colInvoiceItemName.FieldName = "item_name";
     this.colInvoiceItemName.Name = "colInvoiceItemName";
     this.colInvoiceItemName.OptionsColumn.AllowEdit = false;
     this.colInvoiceItemName.OptionsColumn.AllowFocus = false;
     this.colInvoiceItemName.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.colInvoiceItemName.OptionsColumn.AllowMove = false;
     this.colInvoiceItemName.OptionsColumn.FixedWidth = true;
     this.colInvoiceItemName.OptionsColumn.ReadOnly = true;
     this.colInvoiceItemName.OptionsColumn.ShowCaption = false;
     this.colInvoiceItemName.Visible = true;
     this.colInvoiceItemName.VisibleIndex = 1;
     this.colInvoiceItemName.Width = 63;
     //
     // gridColumnAmount
     //
     this.gridColumnAmount.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumnAmount.AppearanceHeader.Options.UseFont = true;
     this.gridColumnAmount.Caption = "จำนวน";
     this.gridColumnAmount.DisplayFormat.FormatString = "n2";
     this.gridColumnAmount.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.gridColumnAmount.FieldName = "item_amount";
     this.gridColumnAmount.Name = "gridColumnAmount";
     this.gridColumnAmount.OptionsColumn.AllowEdit = false;
     this.gridColumnAmount.OptionsColumn.AllowFocus = false;
     this.gridColumnAmount.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumnAmount.OptionsColumn.AllowMove = false;
     this.gridColumnAmount.OptionsColumn.FixedWidth = true;
     this.gridColumnAmount.OptionsColumn.ReadOnly = true;
     this.gridColumnAmount.OptionsColumn.ShowCaption = false;
     this.gridColumnAmount.Visible = true;
     this.gridColumnAmount.VisibleIndex = 2;
     this.gridColumnAmount.Width = 63;
     //
     // gridColumnAmountPerUnit
     //
     this.gridColumnAmountPerUnit.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumnAmountPerUnit.AppearanceHeader.Options.UseFont = true;
     this.gridColumnAmountPerUnit.Caption = "จำนวนเงินต่อหน่วย";
     this.gridColumnAmountPerUnit.DisplayFormat.FormatString = "n2";
     this.gridColumnAmountPerUnit.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.gridColumnAmountPerUnit.FieldName = "item_priceperunit";
     this.gridColumnAmountPerUnit.Name = "gridColumnAmountPerUnit";
     this.gridColumnAmountPerUnit.OptionsColumn.AllowEdit = false;
     this.gridColumnAmountPerUnit.OptionsColumn.AllowFocus = false;
     this.gridColumnAmountPerUnit.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumnAmountPerUnit.OptionsColumn.AllowMove = false;
     this.gridColumnAmountPerUnit.OptionsColumn.FixedWidth = true;
     this.gridColumnAmountPerUnit.OptionsColumn.ReadOnly = true;
     this.gridColumnAmountPerUnit.OptionsColumn.ShowCaption = false;
     this.gridColumnAmountPerUnit.Visible = true;
     this.gridColumnAmountPerUnit.VisibleIndex = 3;
     this.gridColumnAmountPerUnit.Width = 134;
     //
     // colInvoiceItemPrice
     //
     this.colInvoiceItemPrice.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.colInvoiceItemPrice.AppearanceHeader.Options.UseFont = true;
     this.colInvoiceItemPrice.Caption = "จำนวนเงินรวม";
     this.colInvoiceItemPrice.DisplayFormat.FormatString = "n2";
     this.colInvoiceItemPrice.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.colInvoiceItemPrice.FieldName = "item_sumprice";
     this.colInvoiceItemPrice.Name = "colInvoiceItemPrice";
     this.colInvoiceItemPrice.OptionsColumn.AllowEdit = false;
     this.colInvoiceItemPrice.OptionsColumn.AllowFocus = false;
     this.colInvoiceItemPrice.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.colInvoiceItemPrice.OptionsColumn.AllowMove = false;
     this.colInvoiceItemPrice.OptionsColumn.FixedWidth = true;
     this.colInvoiceItemPrice.OptionsColumn.ReadOnly = true;
     this.colInvoiceItemPrice.OptionsColumn.ShowCaption = false;
     this.colInvoiceItemPrice.Visible = true;
     this.colInvoiceItemPrice.VisibleIndex = 4;
     this.colInvoiceItemPrice.Width = 134;
     //
     // gridColumnVat
     //
     this.gridColumnVat.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumnVat.AppearanceHeader.Options.UseFont = true;
     this.gridColumnVat.Caption = "ภาษี";
     this.gridColumnVat.DisplayFormat.FormatString = "n2";
     this.gridColumnVat.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.gridColumnVat.FieldName = "item_vatprice";
     this.gridColumnVat.Name = "gridColumnVat";
     this.gridColumnVat.OptionsColumn.AllowEdit = false;
     this.gridColumnVat.OptionsColumn.AllowFocus = false;
     this.gridColumnVat.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumnVat.OptionsColumn.AllowMove = false;
     this.gridColumnVat.OptionsColumn.FixedWidth = true;
     this.gridColumnVat.OptionsColumn.ReadOnly = true;
     this.gridColumnVat.OptionsColumn.ShowCaption = false;
     this.gridColumnVat.Visible = true;
     this.gridColumnVat.VisibleIndex = 5;
     this.gridColumnVat.Width = 63;
     //
     // gridColumnVating
     //
     this.gridColumnVating.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumnVating.AppearanceHeader.Options.UseFont = true;
     this.gridColumnVating.Caption = "คิดภาษี";
     this.gridColumnVating.FieldName = "item_vat_bool";
     this.gridColumnVating.Name = "gridColumnVating";
     this.gridColumnVating.OptionsColumn.AllowEdit = false;
     this.gridColumnVating.OptionsColumn.AllowFocus = false;
     this.gridColumnVating.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumnVating.OptionsColumn.AllowMove = false;
     this.gridColumnVating.OptionsColumn.FixedWidth = true;
     this.gridColumnVating.OptionsColumn.ReadOnly = true;
     this.gridColumnVating.OptionsColumn.ShowCaption = false;
     this.gridColumnVating.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
     this.gridColumnVating.Visible = true;
     this.gridColumnVating.VisibleIndex = 7;
     this.gridColumnVating.Width = 67;
     //
     // colInvoiceItemId
     //
     this.colInvoiceItemId.Caption = "ItemId";
     this.colInvoiceItemId.FieldName = "item_id";
     this.colInvoiceItemId.Name = "colInvoiceItemId";
     this.colInvoiceItemId.OptionsColumn.AllowEdit = false;
     this.colInvoiceItemId.OptionsColumn.AllowFocus = false;
     //
     // gridColumnItemNetPrice
     //
     this.gridColumnItemNetPrice.Caption = "จำนวนเงินสุทธิ";
     this.gridColumnItemNetPrice.DisplayFormat.FormatString = "n2";
     this.gridColumnItemNetPrice.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.gridColumnItemNetPrice.FieldName = "item_netprice";
     this.gridColumnItemNetPrice.Name = "gridColumnItemNetPrice";
     this.gridColumnItemNetPrice.OptionsColumn.AllowEdit = false;
     this.gridColumnItemNetPrice.OptionsColumn.AllowFocus = false;
     this.gridColumnItemNetPrice.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumnItemNetPrice.OptionsColumn.AllowMove = false;
     this.gridColumnItemNetPrice.OptionsColumn.AllowSize = false;
     this.gridColumnItemNetPrice.OptionsColumn.FixedWidth = true;
     this.gridColumnItemNetPrice.OptionsColumn.ReadOnly = true;
     this.gridColumnItemNetPrice.OptionsColumn.ShowCaption = false;
     this.gridColumnItemNetPrice.Visible = true;
     this.gridColumnItemNetPrice.VisibleIndex = 6;
     //
     // repositoryItemCheckEdit1
     //
     this.repositoryItemCheckEdit1.AutoHeight = false;
     this.repositoryItemCheckEdit1.Name = "repositoryItemCheckEdit1";
     //
     // panelControl4
     //
     this.panelControl4.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl4.Controls.Add(this.bttRemoveItem);
     this.panelControl4.Controls.Add(this.bttAddItem);
     this.panelControl4.Controls.Add(this.labelControlBaht3);
     this.panelControl4.Controls.Add(this.textEditRefund);
     this.panelControl4.Controls.Add(this.labelControlRefund);
     this.panelControl4.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.panelControl4.Location = new System.Drawing.Point(2, 289);
     this.panelControl4.Name = "panelControl4";
     this.panelControl4.Size = new System.Drawing.Size(603, 56);
     this.panelControl4.TabIndex = 315;
     //
     // bttRemoveItem
     //
     this.bttRemoveItem.Location = new System.Drawing.Point(105, 19);
     this.bttRemoveItem.Name = "bttRemoveItem";
     this.bttRemoveItem.Size = new System.Drawing.Size(90, 25);
     this.bttRemoveItem.TabIndex = 311;
     this.bttRemoveItem.Text = "ลบ";
     //
     // bttAddItem
     //
     this.bttAddItem.Location = new System.Drawing.Point(9, 19);
     this.bttAddItem.Name = "bttAddItem";
     this.bttAddItem.Size = new System.Drawing.Size(90, 25);
     this.bttAddItem.TabIndex = 310;
     this.bttAddItem.Text = "เพิ่ม";
     //
     // labelControlBaht3
     //
     this.labelControlBaht3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControlBaht3.Location = new System.Drawing.Point(570, 31);
     this.labelControlBaht3.Name = "labelControlBaht3";
     this.labelControlBaht3.Size = new System.Drawing.Size(20, 13);
     this.labelControlBaht3.TabIndex = 313;
     this.labelControlBaht3.Text = "บาท";
     //
     // textEditRefund
     //
     this.textEditRefund.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditRefund.EditValue = "";
     this.textEditRefund.Enabled = false;
     this.textEditRefund.Location = new System.Drawing.Point(359, 24);
     this.textEditRefund.Name = "textEditRefund";
     this.textEditRefund.Properties.Mask.EditMask = "n2";
     this.textEditRefund.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.textEditRefund.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditRefund.Size = new System.Drawing.Size(205, 20);
     this.textEditRefund.TabIndex = 309;
     //
     // labelControlRefund
     //
     this.labelControlRefund.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControlRefund.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlRefund.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlRefund.Location = new System.Drawing.Point(267, 31);
     this.labelControlRefund.Name = "labelControlRefund";
     this.labelControlRefund.Size = new System.Drawing.Size(86, 13);
     this.labelControlRefund.TabIndex = 312;
     this.labelControlRefund.Text = "จำนวนเงินคืน :";
     //
     // panelControl2
     //
     this.panelControl2.Controls.Add(this.gridControlGeneralCost);
     this.panelControl2.Dock = System.Windows.Forms.DockStyle.Top;
     this.panelControl2.Location = new System.Drawing.Point(2, 22);
     this.panelControl2.Name = "panelControl2";
     this.panelControl2.Size = new System.Drawing.Size(603, 116);
     this.panelControl2.TabIndex = 314;
     //
     // gridControlGeneralCost
     //
     this.gridControlGeneralCost.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlGeneralCost.Enabled = false;
     this.gridControlGeneralCost.Location = new System.Drawing.Point(2, 2);
     this.gridControlGeneralCost.MainView = this.gridViewGeneralCost;
     this.gridControlGeneralCost.Name = "gridControlGeneralCost";
     this.gridControlGeneralCost.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemCheckEdit2});
     this.gridControlGeneralCost.Size = new System.Drawing.Size(599, 112);
     this.gridControlGeneralCost.TabIndex = 285;
     this.gridControlGeneralCost.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewGeneralCost,
     this.gridView1});
     //
     // gridViewGeneralCost
     //
     this.gridViewGeneralCost.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.gridViewGeneralCost.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.gridColumn1,
     this.gridColumn2,
     this.gridColumn3,
     this.gridColumn4,
     this.gridColumn5,
     this.gridColumn6,
     this.gridColumn7,
     this.gridColumn8,
     this.gridColumnNetPrice});
     this.gridViewGeneralCost.GridControl = this.gridControlGeneralCost;
     this.gridViewGeneralCost.Name = "gridViewGeneralCost";
     this.gridViewGeneralCost.OptionsView.ShowGroupPanel = false;
     //
     // gridColumn1
     //
     this.gridColumn1.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumn1.AppearanceHeader.Options.UseFont = true;
     this.gridColumn1.Caption = "ลำดับ";
     this.gridColumn1.FieldName = "order";
     this.gridColumn1.Name = "gridColumn1";
     this.gridColumn1.OptionsColumn.AllowEdit = false;
     this.gridColumn1.OptionsColumn.AllowFocus = false;
     this.gridColumn1.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumn1.OptionsColumn.AllowMove = false;
     this.gridColumn1.OptionsColumn.FixedWidth = true;
     this.gridColumn1.OptionsColumn.ReadOnly = true;
     this.gridColumn1.Visible = true;
     this.gridColumn1.VisibleIndex = 0;
     this.gridColumn1.Width = 39;
     //
     // gridColumn2
     //
     this.gridColumn2.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumn2.AppearanceHeader.Options.UseFont = true;
     this.gridColumn2.Caption = "รายการ";
     this.gridColumn2.FieldName = "item_name";
     this.gridColumn2.Name = "gridColumn2";
     this.gridColumn2.OptionsColumn.AllowEdit = false;
     this.gridColumn2.OptionsColumn.AllowFocus = false;
     this.gridColumn2.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumn2.OptionsColumn.AllowMove = false;
     this.gridColumn2.OptionsColumn.FixedWidth = true;
     this.gridColumn2.OptionsColumn.ReadOnly = true;
     this.gridColumn2.Visible = true;
     this.gridColumn2.VisibleIndex = 1;
     this.gridColumn2.Width = 63;
     //
     // gridColumn3
     //
     this.gridColumn3.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumn3.AppearanceHeader.Options.UseFont = true;
     this.gridColumn3.Caption = "จำนวน";
     this.gridColumn3.DisplayFormat.FormatString = "n2";
     this.gridColumn3.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.gridColumn3.FieldName = "item_amount";
     this.gridColumn3.Name = "gridColumn3";
     this.gridColumn3.OptionsColumn.AllowEdit = false;
     this.gridColumn3.OptionsColumn.AllowFocus = false;
     this.gridColumn3.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumn3.OptionsColumn.AllowMove = false;
     this.gridColumn3.OptionsColumn.FixedWidth = true;
     this.gridColumn3.OptionsColumn.ReadOnly = true;
     this.gridColumn3.Visible = true;
     this.gridColumn3.VisibleIndex = 2;
     this.gridColumn3.Width = 63;
     //
     // gridColumn4
     //
     this.gridColumn4.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumn4.AppearanceHeader.Options.UseFont = true;
     this.gridColumn4.Caption = "จำนวนเงินต่อหน่วย";
     this.gridColumn4.DisplayFormat.FormatString = "n2";
     this.gridColumn4.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.gridColumn4.FieldName = "item_priceperunit";
     this.gridColumn4.Name = "gridColumn4";
     this.gridColumn4.OptionsColumn.AllowEdit = false;
     this.gridColumn4.OptionsColumn.AllowFocus = false;
     this.gridColumn4.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumn4.OptionsColumn.AllowMove = false;
     this.gridColumn4.OptionsColumn.FixedWidth = true;
     this.gridColumn4.OptionsColumn.ReadOnly = true;
     this.gridColumn4.Visible = true;
     this.gridColumn4.VisibleIndex = 3;
     this.gridColumn4.Width = 134;
     //
     // gridColumn5
     //
     this.gridColumn5.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumn5.AppearanceHeader.Options.UseFont = true;
     this.gridColumn5.Caption = "จำนวนเงินรวม";
     this.gridColumn5.DisplayFormat.FormatString = "n2";
     this.gridColumn5.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.gridColumn5.FieldName = "item_sumprice";
     this.gridColumn5.Name = "gridColumn5";
     this.gridColumn5.OptionsColumn.AllowEdit = false;
     this.gridColumn5.OptionsColumn.AllowFocus = false;
     this.gridColumn5.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumn5.OptionsColumn.AllowMove = false;
     this.gridColumn5.OptionsColumn.FixedWidth = true;
     this.gridColumn5.OptionsColumn.ReadOnly = true;
     this.gridColumn5.Visible = true;
     this.gridColumn5.VisibleIndex = 4;
     this.gridColumn5.Width = 134;
     //
     // gridColumn6
     //
     this.gridColumn6.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumn6.AppearanceHeader.Options.UseFont = true;
     this.gridColumn6.Caption = "ภาษี";
     this.gridColumn6.DisplayFormat.FormatString = "n2";
     this.gridColumn6.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.gridColumn6.FieldName = "item_vatprice";
     this.gridColumn6.Name = "gridColumn6";
     this.gridColumn6.OptionsColumn.AllowEdit = false;
     this.gridColumn6.OptionsColumn.AllowFocus = false;
     this.gridColumn6.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumn6.OptionsColumn.AllowMove = false;
     this.gridColumn6.OptionsColumn.FixedWidth = true;
     this.gridColumn6.OptionsColumn.ReadOnly = true;
     this.gridColumn6.Visible = true;
     this.gridColumn6.VisibleIndex = 5;
     this.gridColumn6.Width = 63;
     //
     // gridColumn7
     //
     this.gridColumn7.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumn7.AppearanceHeader.Options.UseFont = true;
     this.gridColumn7.Caption = "คิดภาษี";
     this.gridColumn7.FieldName = "item_vat_bool";
     this.gridColumn7.Name = "gridColumn7";
     this.gridColumn7.OptionsColumn.AllowEdit = false;
     this.gridColumn7.OptionsColumn.AllowFocus = false;
     this.gridColumn7.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumn7.OptionsColumn.AllowMove = false;
     this.gridColumn7.OptionsColumn.FixedWidth = true;
     this.gridColumn7.OptionsColumn.ReadOnly = true;
     this.gridColumn7.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
     this.gridColumn7.Visible = true;
     this.gridColumn7.VisibleIndex = 7;
     this.gridColumn7.Width = 67;
     //
     // gridColumn8
     //
     this.gridColumn8.Caption = "ItemId";
     this.gridColumn8.FieldName = "item_id";
     this.gridColumn8.Name = "gridColumn8";
     this.gridColumn8.OptionsColumn.AllowEdit = false;
     this.gridColumn8.OptionsColumn.AllowFocus = false;
     //
     // gridColumnNetPrice
     //
     this.gridColumnNetPrice.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumnNetPrice.AppearanceHeader.Options.UseFont = true;
     this.gridColumnNetPrice.Caption = "จำนวนเงินสุทธิ";
     this.gridColumnNetPrice.DisplayFormat.FormatString = "n2";
     this.gridColumnNetPrice.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.gridColumnNetPrice.FieldName = "item_netprice";
     this.gridColumnNetPrice.Name = "gridColumnNetPrice";
     this.gridColumnNetPrice.OptionsColumn.AllowEdit = false;
     this.gridColumnNetPrice.OptionsColumn.AllowFocus = false;
     this.gridColumnNetPrice.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumnNetPrice.OptionsColumn.AllowMove = false;
     this.gridColumnNetPrice.OptionsColumn.AllowSize = false;
     this.gridColumnNetPrice.OptionsColumn.FixedWidth = true;
     this.gridColumnNetPrice.OptionsColumn.ReadOnly = true;
     this.gridColumnNetPrice.Visible = true;
     this.gridColumnNetPrice.VisibleIndex = 6;
     //
     // repositoryItemCheckEdit2
     //
     this.repositoryItemCheckEdit2.AutoHeight = false;
     this.repositoryItemCheckEdit2.Name = "repositoryItemCheckEdit2";
     //
     // gridView1
     //
     this.gridView1.GridControl = this.gridControlGeneralCost;
     this.gridView1.Name = "gridView1";
     //
     // panelControlCalculate
     //
     this.panelControlCalculate.Controls.Add(this.dateEditInvoiceDueDate);
     this.panelControlCalculate.Controls.Add(this.panelControlPricePerDay);
     this.panelControlCalculate.Controls.Add(this.labelControlTipMSG);
     this.panelControlCalculate.Controls.Add(this.dateEditLeaveDate);
     this.panelControlCalculate.Controls.Add(this.bttCalculate);
     this.panelControlCalculate.Controls.Add(this.labelControlRentalPrice);
     this.panelControlCalculate.Controls.Add(this.labelControlCheckOutDate);
     this.panelControlCalculate.Controls.Add(this.lookUpEditCharge);
     this.panelControlCalculate.Dock = System.Windows.Forms.DockStyle.Top;
     this.panelControlCalculate.Location = new System.Drawing.Point(0, 470);
     this.panelControlCalculate.Name = "panelControlCalculate";
     this.panelControlCalculate.Size = new System.Drawing.Size(607, 142);
     this.panelControlCalculate.TabIndex = 366;
     //
     // dateEditInvoiceDueDate
     //
     this.dateEditInvoiceDueDate.EditValue = new System.DateTime(2013, 3, 15, 0, 0, 0, 0);
     this.dateEditInvoiceDueDate.Enabled = false;
     this.dateEditInvoiceDueDate.Location = new System.Drawing.Point(457, 72);
     this.dateEditInvoiceDueDate.Name = "dateEditInvoiceDueDate";
     this.dateEditInvoiceDueDate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.dateEditInvoiceDueDate.Properties.DisplayFormat.FormatString = "dd MMMM yyyy";
     this.dateEditInvoiceDueDate.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dateEditInvoiceDueDate.Properties.EditFormat.FormatString = "dd MMMM yyyy";
     this.dateEditInvoiceDueDate.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dateEditInvoiceDueDate.Properties.Mask.EditMask = "dd/MM/yyyy";
     this.dateEditInvoiceDueDate.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.dateEditInvoiceDueDate.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.dateEditInvoiceDueDate.Size = new System.Drawing.Size(86, 20);
     this.dateEditInvoiceDueDate.TabIndex = 458;
     this.dateEditInvoiceDueDate.Visible = false;
     //
     // panelControlPricePerDay
     //
     this.panelControlPricePerDay.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControlPricePerDay.Controls.Add(this.textEditChargePrice);
     this.panelControlPricePerDay.Controls.Add(this.labelControlPrice);
     this.panelControlPricePerDay.Controls.Add(this.labelControlBaht2);
     this.panelControlPricePerDay.Location = new System.Drawing.Point(11, 63);
     this.panelControlPricePerDay.Name = "panelControlPricePerDay";
     this.panelControlPricePerDay.Size = new System.Drawing.Size(323, 30);
     this.panelControlPricePerDay.TabIndex = 457;
     this.panelControlPricePerDay.Visible = false;
     //
     // textEditChargePrice
     //
     this.textEditChargePrice.EditValue = "0.00";
     this.textEditChargePrice.Enabled = false;
     this.textEditChargePrice.Location = new System.Drawing.Point(94, 5);
     this.textEditChargePrice.Name = "textEditChargePrice";
     this.textEditChargePrice.Properties.Appearance.Options.UseTextOptions = true;
     this.textEditChargePrice.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.textEditChargePrice.Properties.Mask.BeepOnError = true;
     this.textEditChargePrice.Properties.Mask.EditMask = "0*([0-9]{1,7}|1000000)|0*([0-9]{1,7}|1000000)\\.([0-9]){2}";
     this.textEditChargePrice.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditChargePrice.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditChargePrice.Size = new System.Drawing.Size(156, 20);
     this.textEditChargePrice.TabIndex = 455;
     //
     // labelControlPrice
     //
     this.labelControlPrice.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlPrice.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlPrice.Location = new System.Drawing.Point(0, 12);
     this.labelControlPrice.Name = "labelControlPrice";
     this.labelControlPrice.Size = new System.Drawing.Size(92, 13);
     this.labelControlPrice.TabIndex = 454;
     this.labelControlPrice.Text = "ราคา :";
     //
     // labelControlBaht2
     //
     this.labelControlBaht2.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlBaht2.Location = new System.Drawing.Point(256, 12);
     this.labelControlBaht2.Name = "labelControlBaht2";
     this.labelControlBaht2.Size = new System.Drawing.Size(53, 13);
     this.labelControlBaht2.TabIndex = 453;
     this.labelControlBaht2.Text = "บาท/วัน";
     //
     // labelControlTipMSG
     //
     this.labelControlTipMSG.Appearance.ForeColor = System.Drawing.Color.Green;
     this.labelControlTipMSG.Location = new System.Drawing.Point(109, 78);
     this.labelControlTipMSG.Name = "labelControlTipMSG";
     this.labelControlTipMSG.Padding = new System.Windows.Forms.Padding(10);
     this.labelControlTipMSG.Size = new System.Drawing.Size(151, 33);
     this.labelControlTipMSG.TabIndex = 456;
     this.labelControlTipMSG.Text = "คิดเต็มเดือนตามประเภทห้อง";
     //
     // dateEditLeaveDate
     //
     this.dateEditLeaveDate.EditValue = new System.DateTime(2013, 3, 3, 23, 51, 3, 0);
     this.dateEditLeaveDate.Enabled = false;
     this.dateEditLeaveDate.Location = new System.Drawing.Point(107, 11);
     this.dateEditLeaveDate.Name = "dateEditLeaveDate";
     this.dateEditLeaveDate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.dateEditLeaveDate.Properties.DisplayFormat.FormatString = "dd MMMM yyyy";
     this.dateEditLeaveDate.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dateEditLeaveDate.Properties.EditFormat.FormatString = "dd MMMM yyyy";
     this.dateEditLeaveDate.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dateEditLeaveDate.Properties.Mask.EditMask = "dd/MM/yyyy";
     this.dateEditLeaveDate.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.dateEditLeaveDate.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.dateEditLeaveDate.Size = new System.Drawing.Size(157, 20);
     this.dateEditLeaveDate.TabIndex = 448;
     //
     // bttCalculate
     //
     this.bttCalculate.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.bttCalculate.Appearance.Options.UseFont = true;
     this.bttCalculate.Enabled = false;
     this.bttCalculate.Location = new System.Drawing.Point(448, 14);
     this.bttCalculate.Name = "bttCalculate";
     this.bttCalculate.Size = new System.Drawing.Size(105, 39);
     this.bttCalculate.TabIndex = 449;
     this.bttCalculate.Text = "คำนวนค่าใช้จ่าย";
     //
     // labelControlRentalPrice
     //
     this.labelControlRentalPrice.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlRentalPrice.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlRentalPrice.Location = new System.Drawing.Point(20, 44);
     this.labelControlRentalPrice.Name = "labelControlRentalPrice";
     this.labelControlRentalPrice.Size = new System.Drawing.Size(84, 13);
     this.labelControlRentalPrice.TabIndex = 452;
     this.labelControlRentalPrice.Text = "คิดค่าห้อง :";
     //
     // labelControlCheckOutDate
     //
     this.labelControlCheckOutDate.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlCheckOutDate.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlCheckOutDate.Location = new System.Drawing.Point(20, 18);
     this.labelControlCheckOutDate.Name = "labelControlCheckOutDate";
     this.labelControlCheckOutDate.Size = new System.Drawing.Size(84, 13);
     this.labelControlCheckOutDate.TabIndex = 451;
     this.labelControlCheckOutDate.Text = "วันที่ย้ายออก :";
     //
     // lookUpEditCharge
     //
     this.lookUpEditCharge.Enabled = false;
     this.lookUpEditCharge.Location = new System.Drawing.Point(107, 37);
     this.lookUpEditCharge.Name = "lookUpEditCharge";
     this.lookUpEditCharge.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lookUpEditCharge.Size = new System.Drawing.Size(156, 20);
     this.lookUpEditCharge.TabIndex = 105;
     //
     // groupControlMeter
     //
     this.groupControlMeter.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlMeter.AppearanceCaption.Options.UseFont = true;
     this.groupControlMeter.Controls.Add(this.textEditPhonePrice);
     this.groupControlMeter.Controls.Add(this.groupControlEndMeter);
     this.groupControlMeter.Controls.Add(this.groupControlEndDate);
     this.groupControlMeter.Controls.Add(this.dateEditPhoneStart);
     this.groupControlMeter.Controls.Add(this.dateEditPhoneEnd);
     this.groupControlMeter.Controls.Add(this.textEditWaterMeterId);
     this.groupControlMeter.Controls.Add(this.textEditElectricMeterId);
     this.groupControlMeter.Controls.Add(this.groupControlStartMeter);
     this.groupControlMeter.Controls.Add(this.labelControlPhoneMeter);
     this.groupControlMeter.Controls.Add(this.labelControlTelAmount);
     this.groupControlMeter.Controls.Add(this.labelControlTelEnd);
     this.groupControlMeter.Controls.Add(this.labelControlTelStart);
     this.groupControlMeter.Controls.Add(this.labelControlWaterMeter);
     this.groupControlMeter.Controls.Add(this.labelControlElectricMeter);
     this.groupControlMeter.Controls.Add(this.groupControlStartDate);
     this.groupControlMeter.Dock = System.Windows.Forms.DockStyle.Top;
     this.groupControlMeter.Location = new System.Drawing.Point(0, 304);
     this.groupControlMeter.Name = "groupControlMeter";
     this.groupControlMeter.Size = new System.Drawing.Size(607, 166);
     this.groupControlMeter.TabIndex = 354;
     this.groupControlMeter.Text = "บันทึกค่าสาธารณูปโภค";
     //
     // textEditPhonePrice
     //
     this.textEditPhonePrice.EditValue = "0.000";
     this.textEditPhonePrice.Enabled = false;
     this.textEditPhonePrice.Location = new System.Drawing.Point(337, 125);
     this.textEditPhonePrice.Name = "textEditPhonePrice";
     this.textEditPhonePrice.Properties.DisplayFormat.FormatString = "n2";
     this.textEditPhonePrice.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditPhonePrice.Properties.EditFormat.FormatString = "n2";
     this.textEditPhonePrice.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditPhonePrice.Properties.Mask.EditMask = "n2";
     this.textEditPhonePrice.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.textEditPhonePrice.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditPhonePrice.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.textEditPhonePrice.Size = new System.Drawing.Size(94, 20);
     this.textEditPhonePrice.TabIndex = 357;
     //
     // groupControlEndMeter
     //
     this.groupControlEndMeter.AppearanceCaption.Options.UseTextOptions = true;
     this.groupControlEndMeter.AppearanceCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.groupControlEndMeter.Controls.Add(this.textEditWMeterPresent);
     this.groupControlEndMeter.Controls.Add(this.textEditEMeterPresent);
     this.groupControlEndMeter.Location = new System.Drawing.Point(331, 25);
     this.groupControlEndMeter.Name = "groupControlEndMeter";
     this.groupControlEndMeter.Size = new System.Drawing.Size(111, 82);
     this.groupControlEndMeter.TabIndex = 389;
     this.groupControlEndMeter.Text = "เลขมิเตอร์ล่าสุด";
     //
     // textEditWMeterPresent
     //
     this.textEditWMeterPresent.EditValue = "0.000";
     this.textEditWMeterPresent.Enabled = false;
     this.textEditWMeterPresent.Location = new System.Drawing.Point(6, 51);
     this.textEditWMeterPresent.Name = "textEditWMeterPresent";
     this.textEditWMeterPresent.Properties.DisplayFormat.FormatString = "n3";
     this.textEditWMeterPresent.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditWMeterPresent.Properties.EditFormat.FormatString = "n3";
     this.textEditWMeterPresent.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditWMeterPresent.Properties.Mask.EditMask = "n2";
     this.textEditWMeterPresent.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.textEditWMeterPresent.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditWMeterPresent.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.textEditWMeterPresent.Size = new System.Drawing.Size(94, 20);
     this.textEditWMeterPresent.TabIndex = 357;
     //
     // textEditEMeterPresent
     //
     this.textEditEMeterPresent.EditValue = "0.000";
     this.textEditEMeterPresent.Enabled = false;
     this.textEditEMeterPresent.Location = new System.Drawing.Point(6, 25);
     this.textEditEMeterPresent.Name = "textEditEMeterPresent";
     this.textEditEMeterPresent.Properties.DisplayFormat.FormatString = "n3";
     this.textEditEMeterPresent.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditEMeterPresent.Properties.EditFormat.FormatString = "n3";
     this.textEditEMeterPresent.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditEMeterPresent.Properties.Mask.EditMask = "n2";
     this.textEditEMeterPresent.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.textEditEMeterPresent.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditEMeterPresent.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.textEditEMeterPresent.Size = new System.Drawing.Size(94, 20);
     this.textEditEMeterPresent.TabIndex = 356;
     //
     // groupControlEndDate
     //
     this.groupControlEndDate.AppearanceCaption.Options.UseTextOptions = true;
     this.groupControlEndDate.AppearanceCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.groupControlEndDate.Controls.Add(this.dateEditWMeterPresentDate);
     this.groupControlEndDate.Controls.Add(this.dateEditEMeterPresentDate);
     this.groupControlEndDate.Location = new System.Drawing.Point(448, 25);
     this.groupControlEndDate.Name = "groupControlEndDate";
     this.groupControlEndDate.Size = new System.Drawing.Size(105, 82);
     this.groupControlEndDate.TabIndex = 388;
     this.groupControlEndDate.Text = "วันที่บันทึก";
     //
     // dateEditWMeterPresentDate
     //
     this.dateEditWMeterPresentDate.EditValue = new System.DateTime(2013, 3, 3, 23, 56, 50, 0);
     this.dateEditWMeterPresentDate.Enabled = false;
     this.dateEditWMeterPresentDate.Location = new System.Drawing.Point(5, 51);
     this.dateEditWMeterPresentDate.Name = "dateEditWMeterPresentDate";
     this.dateEditWMeterPresentDate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.dateEditWMeterPresentDate.Properties.DisplayFormat.FormatString = "dd MMM yyyy";
     this.dateEditWMeterPresentDate.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dateEditWMeterPresentDate.Properties.EditFormat.FormatString = "dd MMM yyyy";
     this.dateEditWMeterPresentDate.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dateEditWMeterPresentDate.Properties.Mask.EditMask = "dd/MM/yyyy";
     this.dateEditWMeterPresentDate.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.dateEditWMeterPresentDate.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.dateEditWMeterPresentDate.Size = new System.Drawing.Size(91, 20);
     this.dateEditWMeterPresentDate.TabIndex = 371;
     //
     // dateEditEMeterPresentDate
     //
     this.dateEditEMeterPresentDate.EditValue = new System.DateTime(2013, 3, 3, 23, 56, 50, 0);
     this.dateEditEMeterPresentDate.Enabled = false;
     this.dateEditEMeterPresentDate.Location = new System.Drawing.Point(5, 25);
     this.dateEditEMeterPresentDate.Name = "dateEditEMeterPresentDate";
     this.dateEditEMeterPresentDate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.dateEditEMeterPresentDate.Properties.DisplayFormat.FormatString = "dd MMM yyyy";
     this.dateEditEMeterPresentDate.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dateEditEMeterPresentDate.Properties.EditFormat.FormatString = "dd MMM yyyy";
     this.dateEditEMeterPresentDate.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dateEditEMeterPresentDate.Properties.Mask.EditMask = "dd/MM/yyyy";
     this.dateEditEMeterPresentDate.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.dateEditEMeterPresentDate.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.dateEditEMeterPresentDate.Size = new System.Drawing.Size(91, 20);
     this.dateEditEMeterPresentDate.TabIndex = 370;
     //
     // dateEditPhoneStart
     //
     this.dateEditPhoneStart.EditValue = new System.DateTime(2013, 3, 3, 0, 0, 0, 0);
     this.dateEditPhoneStart.Enabled = false;
     this.dateEditPhoneStart.Location = new System.Drawing.Point(113, 125);
     this.dateEditPhoneStart.Name = "dateEditPhoneStart";
     this.dateEditPhoneStart.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.dateEditPhoneStart.Properties.DisplayFormat.FormatString = "dd MMM yyyy";
     this.dateEditPhoneStart.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dateEditPhoneStart.Properties.EditFormat.FormatString = "dd MMM yyyy";
     this.dateEditPhoneStart.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dateEditPhoneStart.Properties.Mask.EditMask = "dd/MM/yyyy";
     this.dateEditPhoneStart.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.dateEditPhoneStart.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.dateEditPhoneStart.Size = new System.Drawing.Size(94, 20);
     this.dateEditPhoneStart.TabIndex = 372;
     //
     // dateEditPhoneEnd
     //
     this.dateEditPhoneEnd.EditValue = new System.DateTime(2013, 3, 3, 0, 0, 0, 0);
     this.dateEditPhoneEnd.Enabled = false;
     this.dateEditPhoneEnd.Location = new System.Drawing.Point(224, 125);
     this.dateEditPhoneEnd.Name = "dateEditPhoneEnd";
     this.dateEditPhoneEnd.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.dateEditPhoneEnd.Properties.DisplayFormat.FormatString = "dd MMM yyyy";
     this.dateEditPhoneEnd.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dateEditPhoneEnd.Properties.EditFormat.FormatString = "dd MMM yyyy";
     this.dateEditPhoneEnd.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dateEditPhoneEnd.Properties.Mask.EditMask = "dd/MM/yyyy";
     this.dateEditPhoneEnd.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.dateEditPhoneEnd.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.dateEditPhoneEnd.Size = new System.Drawing.Size(91, 20);
     this.dateEditPhoneEnd.TabIndex = 372;
     //
     // textEditWaterMeterId
     //
     this.textEditWaterMeterId.EditValue = 0;
     this.textEditWaterMeterId.Enabled = false;
     this.textEditWaterMeterId.Location = new System.Drawing.Point(58, 25);
     this.textEditWaterMeterId.Name = "textEditWaterMeterId";
     this.textEditWaterMeterId.Properties.Mask.EditMask = "([0-9]*)";
     this.textEditWaterMeterId.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditWaterMeterId.Size = new System.Drawing.Size(21, 20);
     this.textEditWaterMeterId.TabIndex = 389;
     this.textEditWaterMeterId.Visible = false;
     //
     // textEditElectricMeterId
     //
     this.textEditElectricMeterId.EditValue = 0;
     this.textEditElectricMeterId.Enabled = false;
     this.textEditElectricMeterId.Location = new System.Drawing.Point(85, 25);
     this.textEditElectricMeterId.Name = "textEditElectricMeterId";
     this.textEditElectricMeterId.Properties.Mask.EditMask = "([0-9]*)";
     this.textEditElectricMeterId.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditElectricMeterId.Size = new System.Drawing.Size(20, 20);
     this.textEditElectricMeterId.TabIndex = 388;
     this.textEditElectricMeterId.Visible = false;
     //
     // groupControlStartMeter
     //
     this.groupControlStartMeter.AppearanceCaption.Options.UseTextOptions = true;
     this.groupControlStartMeter.AppearanceCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.groupControlStartMeter.Controls.Add(this.textEditWMeterPreviousUnit);
     this.groupControlStartMeter.Controls.Add(this.textEditEMeterPreviousUnit);
     this.groupControlStartMeter.Location = new System.Drawing.Point(107, 25);
     this.groupControlStartMeter.Name = "groupControlStartMeter";
     this.groupControlStartMeter.Size = new System.Drawing.Size(111, 82);
     this.groupControlStartMeter.TabIndex = 387;
     this.groupControlStartMeter.Text = "เลขมิเตอร์ครั้งก่อน";
     //
     // textEditWMeterPreviousUnit
     //
     this.textEditWMeterPreviousUnit.EditValue = "0.000";
     this.textEditWMeterPreviousUnit.Enabled = false;
     this.textEditWMeterPreviousUnit.Location = new System.Drawing.Point(6, 51);
     this.textEditWMeterPreviousUnit.Name = "textEditWMeterPreviousUnit";
     this.textEditWMeterPreviousUnit.Properties.DisplayFormat.FormatString = "n3";
     this.textEditWMeterPreviousUnit.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditWMeterPreviousUnit.Properties.EditFormat.FormatString = "n3";
     this.textEditWMeterPreviousUnit.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditWMeterPreviousUnit.Properties.Mask.EditMask = "n2";
     this.textEditWMeterPreviousUnit.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.textEditWMeterPreviousUnit.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditWMeterPreviousUnit.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.textEditWMeterPreviousUnit.Size = new System.Drawing.Size(94, 20);
     this.textEditWMeterPreviousUnit.TabIndex = 357;
     //
     // textEditEMeterPreviousUnit
     //
     this.textEditEMeterPreviousUnit.EditValue = "0.000";
     this.textEditEMeterPreviousUnit.Enabled = false;
     this.textEditEMeterPreviousUnit.Location = new System.Drawing.Point(6, 25);
     this.textEditEMeterPreviousUnit.Name = "textEditEMeterPreviousUnit";
     this.textEditEMeterPreviousUnit.Properties.DisplayFormat.FormatString = "n3";
     this.textEditEMeterPreviousUnit.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditEMeterPreviousUnit.Properties.EditFormat.FormatString = "n3";
     this.textEditEMeterPreviousUnit.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditEMeterPreviousUnit.Properties.Mask.EditMask = "n2";
     this.textEditEMeterPreviousUnit.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.textEditEMeterPreviousUnit.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditEMeterPreviousUnit.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.textEditEMeterPreviousUnit.Size = new System.Drawing.Size(94, 20);
     this.textEditEMeterPreviousUnit.TabIndex = 356;
     //
     // labelControlPhoneMeter
     //
     this.labelControlPhoneMeter.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlPhoneMeter.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlPhoneMeter.Location = new System.Drawing.Point(46, 128);
     this.labelControlPhoneMeter.Margin = new System.Windows.Forms.Padding(0);
     this.labelControlPhoneMeter.Name = "labelControlPhoneMeter";
     this.labelControlPhoneMeter.Size = new System.Drawing.Size(59, 13);
     this.labelControlPhoneMeter.TabIndex = 386;
     this.labelControlPhoneMeter.Text = "โทรศัพท์ :";
     //
     // labelControlTelAmount
     //
     this.labelControlTelAmount.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.labelControlTelAmount.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlTelAmount.Location = new System.Drawing.Point(337, 109);
     this.labelControlTelAmount.Margin = new System.Windows.Forms.Padding(0);
     this.labelControlTelAmount.Name = "labelControlTelAmount";
     this.labelControlTelAmount.Size = new System.Drawing.Size(94, 13);
     this.labelControlTelAmount.TabIndex = 385;
     this.labelControlTelAmount.Text = "ค่าโทร";
     //
     // labelControlTelEnd
     //
     this.labelControlTelEnd.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.labelControlTelEnd.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlTelEnd.Location = new System.Drawing.Point(224, 110);
     this.labelControlTelEnd.Margin = new System.Windows.Forms.Padding(0);
     this.labelControlTelEnd.Name = "labelControlTelEnd";
     this.labelControlTelEnd.Size = new System.Drawing.Size(91, 13);
     this.labelControlTelEnd.TabIndex = 385;
     this.labelControlTelEnd.Text = "วันที่สิ้นสุด";
     //
     // labelControlTelStart
     //
     this.labelControlTelStart.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.labelControlTelStart.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlTelStart.Location = new System.Drawing.Point(113, 110);
     this.labelControlTelStart.Margin = new System.Windows.Forms.Padding(0);
     this.labelControlTelStart.Name = "labelControlTelStart";
     this.labelControlTelStart.Size = new System.Drawing.Size(94, 13);
     this.labelControlTelStart.TabIndex = 385;
     this.labelControlTelStart.Text = "วันที่เริ่ม";
     //
     // labelControlWaterMeter
     //
     this.labelControlWaterMeter.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlWaterMeter.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlWaterMeter.Location = new System.Drawing.Point(58, 79);
     this.labelControlWaterMeter.Margin = new System.Windows.Forms.Padding(0);
     this.labelControlWaterMeter.Name = "labelControlWaterMeter";
     this.labelControlWaterMeter.Size = new System.Drawing.Size(46, 13);
     this.labelControlWaterMeter.TabIndex = 385;
     this.labelControlWaterMeter.Text = "น้ำ :";
     //
     // labelControlElectricMeter
     //
     this.labelControlElectricMeter.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlElectricMeter.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlElectricMeter.Location = new System.Drawing.Point(58, 53);
     this.labelControlElectricMeter.Margin = new System.Windows.Forms.Padding(0);
     this.labelControlElectricMeter.Name = "labelControlElectricMeter";
     this.labelControlElectricMeter.Size = new System.Drawing.Size(46, 13);
     this.labelControlElectricMeter.TabIndex = 384;
     this.labelControlElectricMeter.Text = "ไฟฟ้า :";
     //
     // groupControlStartDate
     //
     this.groupControlStartDate.AppearanceCaption.Options.UseTextOptions = true;
     this.groupControlStartDate.AppearanceCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.groupControlStartDate.Controls.Add(this.dateEditWMeterPreviousDate);
     this.groupControlStartDate.Controls.Add(this.dateEditEMeterPreviousDate);
     this.groupControlStartDate.Location = new System.Drawing.Point(220, 25);
     this.groupControlStartDate.Name = "groupControlStartDate";
     this.groupControlStartDate.Size = new System.Drawing.Size(105, 82);
     this.groupControlStartDate.TabIndex = 382;
     this.groupControlStartDate.Text = "วันที่บันทึก";
     //
     // dateEditWMeterPreviousDate
     //
     this.dateEditWMeterPreviousDate.EditValue = new System.DateTime(2013, 3, 3, 23, 56, 23, 0);
     this.dateEditWMeterPreviousDate.Enabled = false;
     this.dateEditWMeterPreviousDate.Location = new System.Drawing.Point(5, 51);
     this.dateEditWMeterPreviousDate.Name = "dateEditWMeterPreviousDate";
     this.dateEditWMeterPreviousDate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.dateEditWMeterPreviousDate.Properties.DisplayFormat.FormatString = "dd MMM yyyy";
     this.dateEditWMeterPreviousDate.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dateEditWMeterPreviousDate.Properties.EditFormat.FormatString = "dd MMM yyyy";
     this.dateEditWMeterPreviousDate.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dateEditWMeterPreviousDate.Properties.Mask.EditMask = "dd/MM/yyyy";
     this.dateEditWMeterPreviousDate.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.dateEditWMeterPreviousDate.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.dateEditWMeterPreviousDate.Size = new System.Drawing.Size(91, 20);
     this.dateEditWMeterPreviousDate.TabIndex = 371;
     //
     // dateEditEMeterPreviousDate
     //
     this.dateEditEMeterPreviousDate.EditValue = new System.DateTime(2013, 3, 3, 0, 0, 0, 0);
     this.dateEditEMeterPreviousDate.Enabled = false;
     this.dateEditEMeterPreviousDate.Location = new System.Drawing.Point(5, 25);
     this.dateEditEMeterPreviousDate.Name = "dateEditEMeterPreviousDate";
     this.dateEditEMeterPreviousDate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.dateEditEMeterPreviousDate.Properties.DisplayFormat.FormatString = "dd MMM yyyy";
     this.dateEditEMeterPreviousDate.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dateEditEMeterPreviousDate.Properties.EditFormat.FormatString = "dd MMM yyyy";
     this.dateEditEMeterPreviousDate.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dateEditEMeterPreviousDate.Properties.Mask.EditMask = "dd/MM/yyyy";
     this.dateEditEMeterPreviousDate.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.dateEditEMeterPreviousDate.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.dateEditEMeterPreviousDate.Size = new System.Drawing.Size(91, 20);
     this.dateEditEMeterPreviousDate.TabIndex = 370;
     //
     // groupRoomInfo
     //
     this.groupRoomInfo.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupRoomInfo.AppearanceCaption.Options.UseFont = true;
     this.groupRoomInfo.Controls.Add(this.textEditRoomPrice);
     this.groupRoomInfo.Controls.Add(this.labelControlBaht0);
     this.groupRoomInfo.Controls.Add(this.labelControlMonth2);
     this.groupRoomInfo.Controls.Add(this.labelControlBaht1);
     this.groupRoomInfo.Controls.Add(this.textEditInsurerate);
     this.groupRoomInfo.Controls.Add(this.textEditAdvance);
     this.groupRoomInfo.Controls.Add(this.labelControlInsurance);
     this.groupRoomInfo.Controls.Add(this.labelControlDeposit);
     this.groupRoomInfo.Controls.Add(this.labelControlMonthlyRate);
     this.groupRoomInfo.Controls.Add(this.lookUpEditFloorId);
     this.groupRoomInfo.Controls.Add(this.labelControlFloor);
     this.groupRoomInfo.Controls.Add(this.textEditRoomLabel);
     this.groupRoomInfo.Controls.Add(this.labelControlRoomName);
     this.groupRoomInfo.Controls.Add(this.lookUpEditRoomTypeId);
     this.groupRoomInfo.Controls.Add(this.lookUpEditBuildingId);
     this.groupRoomInfo.Controls.Add(this.labelControlRoomType);
     this.groupRoomInfo.Controls.Add(this.labelControlBuilding);
     this.groupRoomInfo.Dock = System.Windows.Forms.DockStyle.Top;
     this.groupRoomInfo.Location = new System.Drawing.Point(0, 169);
     this.groupRoomInfo.Name = "groupRoomInfo";
     this.groupRoomInfo.Size = new System.Drawing.Size(607, 135);
     this.groupRoomInfo.TabIndex = 353;
     this.groupRoomInfo.Text = "ห้อง";
     //
     // textEditRoomPrice
     //
     this.textEditRoomPrice.EditValue = "";
     this.textEditRoomPrice.Enabled = false;
     this.textEditRoomPrice.Location = new System.Drawing.Point(397, 29);
     this.textEditRoomPrice.Name = "textEditRoomPrice";
     this.textEditRoomPrice.Properties.Appearance.Options.UseTextOptions = true;
     this.textEditRoomPrice.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.textEditRoomPrice.Properties.Mask.EditMask = "n2";
     this.textEditRoomPrice.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.textEditRoomPrice.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditRoomPrice.Size = new System.Drawing.Size(163, 20);
     this.textEditRoomPrice.TabIndex = 118;
     //
     // labelControlBaht0
     //
     this.labelControlBaht0.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlBaht0.Location = new System.Drawing.Point(563, 62);
     this.labelControlBaht0.Name = "labelControlBaht0";
     this.labelControlBaht0.Size = new System.Drawing.Size(33, 13);
     this.labelControlBaht0.TabIndex = 115;
     this.labelControlBaht0.Text = "บาท";
     //
     // labelControlMonth2
     //
     this.labelControlMonth2.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlMonth2.Location = new System.Drawing.Point(563, 84);
     this.labelControlMonth2.Name = "labelControlMonth2";
     this.labelControlMonth2.Size = new System.Drawing.Size(33, 13);
     this.labelControlMonth2.TabIndex = 117;
     this.labelControlMonth2.Text = "เดือน";
     //
     // labelControlBaht1
     //
     this.labelControlBaht1.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlBaht1.Location = new System.Drawing.Point(563, 36);
     this.labelControlBaht1.Name = "labelControlBaht1";
     this.labelControlBaht1.Size = new System.Drawing.Size(33, 13);
     this.labelControlBaht1.TabIndex = 112;
     this.labelControlBaht1.Text = "บาท";
     //
     // textEditInsurerate
     //
     this.textEditInsurerate.EditValue = "0.00";
     this.textEditInsurerate.Enabled = false;
     this.textEditInsurerate.Location = new System.Drawing.Point(397, 55);
     this.textEditInsurerate.Name = "textEditInsurerate";
     this.textEditInsurerate.Properties.Appearance.Options.UseTextOptions = true;
     this.textEditInsurerate.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.textEditInsurerate.Properties.Mask.EditMask = "n2";
     this.textEditInsurerate.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.textEditInsurerate.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditInsurerate.Size = new System.Drawing.Size(163, 20);
     this.textEditInsurerate.TabIndex = 119;
     //
     // textEditAdvance
     //
     this.textEditAdvance.EditValue = "0";
     this.textEditAdvance.Enabled = false;
     this.textEditAdvance.Location = new System.Drawing.Point(397, 81);
     this.textEditAdvance.Name = "textEditAdvance";
     this.textEditAdvance.Properties.Appearance.Options.UseTextOptions = true;
     this.textEditAdvance.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.textEditAdvance.Size = new System.Drawing.Size(163, 20);
     this.textEditAdvance.TabIndex = 120;
     //
     // labelControlInsurance
     //
     this.labelControlInsurance.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlInsurance.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlInsurance.Location = new System.Drawing.Point(302, 62);
     this.labelControlInsurance.Name = "labelControlInsurance";
     this.labelControlInsurance.Size = new System.Drawing.Size(92, 13);
     this.labelControlInsurance.TabIndex = 114;
     this.labelControlInsurance.Text = "ค่าประกัน :";
     //
     // labelControlDeposit
     //
     this.labelControlDeposit.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlDeposit.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlDeposit.Location = new System.Drawing.Point(280, 84);
     this.labelControlDeposit.Name = "labelControlDeposit";
     this.labelControlDeposit.Size = new System.Drawing.Size(114, 13);
     this.labelControlDeposit.TabIndex = 113;
     this.labelControlDeposit.Text = "ค่าเช่าล่วงหน้า :";
     //
     // labelControlMonthlyRate
     //
     this.labelControlMonthlyRate.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlMonthlyRate.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlMonthlyRate.Location = new System.Drawing.Point(302, 36);
     this.labelControlMonthlyRate.Name = "labelControlMonthlyRate";
     this.labelControlMonthlyRate.Size = new System.Drawing.Size(92, 13);
     this.labelControlMonthlyRate.TabIndex = 116;
     this.labelControlMonthlyRate.Text = "ค่าเช่า :";
     //
     // lookUpEditFloorId
     //
     this.lookUpEditFloorId.Enabled = false;
     this.lookUpEditFloorId.Location = new System.Drawing.Point(107, 81);
     this.lookUpEditFloorId.Name = "lookUpEditFloorId";
     this.lookUpEditFloorId.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lookUpEditFloorId.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("floor_id", "floor_id", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default),
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("floor_code", "ชั้น")});
     this.lookUpEditFloorId.Size = new System.Drawing.Size(133, 20);
     this.lookUpEditFloorId.TabIndex = 111;
     //
     // labelControlFloor
     //
     this.labelControlFloor.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlFloor.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlFloor.Location = new System.Drawing.Point(23, 88);
     this.labelControlFloor.Name = "labelControlFloor";
     this.labelControlFloor.Size = new System.Drawing.Size(81, 13);
     this.labelControlFloor.TabIndex = 110;
     this.labelControlFloor.Text = "ชั้น :";
     //
     // textEditRoomLabel
     //
     this.textEditRoomLabel.Enabled = false;
     this.textEditRoomLabel.Location = new System.Drawing.Point(107, 29);
     this.textEditRoomLabel.Name = "textEditRoomLabel";
     this.textEditRoomLabel.Size = new System.Drawing.Size(133, 20);
     this.textEditRoomLabel.TabIndex = 107;
     //
     // labelControlRoomName
     //
     this.labelControlRoomName.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlRoomName.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlRoomName.Location = new System.Drawing.Point(23, 36);
     this.labelControlRoomName.Name = "labelControlRoomName";
     this.labelControlRoomName.Size = new System.Drawing.Size(81, 13);
     this.labelControlRoomName.TabIndex = 106;
     this.labelControlRoomName.Text = "ชื่อห้อง :";
     //
     // lookUpEditRoomTypeId
     //
     this.lookUpEditRoomTypeId.Enabled = false;
     this.lookUpEditRoomTypeId.Location = new System.Drawing.Point(107, 107);
     this.lookUpEditRoomTypeId.Name = "lookUpEditRoomTypeId";
     this.lookUpEditRoomTypeId.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lookUpEditRoomTypeId.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("roomtype_label", "ประเภทห้อง"),
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("roomtype_id", "roomtype_id", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default)});
     this.lookUpEditRoomTypeId.Size = new System.Drawing.Size(133, 20);
     this.lookUpEditRoomTypeId.TabIndex = 105;
     //
     // lookUpEditBuildingId
     //
     this.lookUpEditBuildingId.Enabled = false;
     this.lookUpEditBuildingId.Location = new System.Drawing.Point(107, 55);
     this.lookUpEditBuildingId.Name = "lookUpEditBuildingId";
     this.lookUpEditBuildingId.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lookUpEditBuildingId.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("building_label", "ชื่ออาคาร"),
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("building_id", "building_id", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default)});
     this.lookUpEditBuildingId.Size = new System.Drawing.Size(133, 20);
     this.lookUpEditBuildingId.TabIndex = 104;
     //
     // labelControlRoomType
     //
     this.labelControlRoomType.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlRoomType.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlRoomType.Location = new System.Drawing.Point(23, 114);
     this.labelControlRoomType.Name = "labelControlRoomType";
     this.labelControlRoomType.Size = new System.Drawing.Size(81, 13);
     this.labelControlRoomType.TabIndex = 102;
     this.labelControlRoomType.Text = "ประเภทห้อง :";
     //
     // labelControlBuilding
     //
     this.labelControlBuilding.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlBuilding.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlBuilding.Location = new System.Drawing.Point(23, 62);
     this.labelControlBuilding.Name = "labelControlBuilding";
     this.labelControlBuilding.Size = new System.Drawing.Size(81, 13);
     this.labelControlBuilding.TabIndex = 101;
     this.labelControlBuilding.Text = "อาคาร :";
     //
     // groupControlRental
     //
     this.groupControlRental.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlRental.AppearanceCaption.Options.UseFont = true;
     this.groupControlRental.Controls.Add(this.labelControl5);
     this.groupControlRental.Controls.Add(this.labelControl23);
     this.groupControlRental.Controls.Add(this.labelControl22);
     this.groupControlRental.Controls.Add(this.labelControl21);
     this.groupControlRental.Controls.Add(this.textEditTenantName);
     this.groupControlRental.Controls.Add(this.labelControlSurname);
     this.groupControlRental.Controls.Add(this.labelControlName);
     this.groupControlRental.Controls.Add(this.textEditTenantSurname);
     this.groupControlRental.Controls.Add(this.labelControlTitle);
     this.groupControlRental.Controls.Add(this.textEditPrefix);
     this.groupControlRental.Dock = System.Windows.Forms.DockStyle.Top;
     this.groupControlRental.Location = new System.Drawing.Point(0, 85);
     this.groupControlRental.Name = "groupControlRental";
     this.groupControlRental.Size = new System.Drawing.Size(607, 84);
     this.groupControlRental.TabIndex = 352;
     this.groupControlRental.Text = "ผู้เช่า";
     //
     // labelControl5
     //
     this.labelControl5.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl5.Location = new System.Drawing.Point(605, 298);
     this.labelControl5.Name = "labelControl5";
     this.labelControl5.Size = new System.Drawing.Size(6, 13);
     this.labelControl5.TabIndex = 444;
     this.labelControl5.Text = "*";
     //
     // labelControl23
     //
     this.labelControl23.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl23.Location = new System.Drawing.Point(605, 167);
     this.labelControl23.Name = "labelControl23";
     this.labelControl23.Size = new System.Drawing.Size(6, 13);
     this.labelControl23.TabIndex = 443;
     this.labelControl23.Text = "*";
     //
     // labelControl22
     //
     this.labelControl22.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl22.Location = new System.Drawing.Point(605, 120);
     this.labelControl22.Name = "labelControl22";
     this.labelControl22.Size = new System.Drawing.Size(6, 13);
     this.labelControl22.TabIndex = 441;
     this.labelControl22.Text = "*";
     //
     // labelControl21
     //
     this.labelControl21.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl21.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControl21.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControl21.Location = new System.Drawing.Point(605, 94);
     this.labelControl21.Name = "labelControl21";
     this.labelControl21.Size = new System.Drawing.Size(6, 13);
     this.labelControl21.TabIndex = 440;
     this.labelControl21.Text = "*";
     //
     // textEditTenantName
     //
     this.textEditTenantName.EditValue = "";
     this.textEditTenantName.Enabled = false;
     this.textEditTenantName.Location = new System.Drawing.Point(107, 57);
     this.textEditTenantName.Name = "textEditTenantName";
     this.textEditTenantName.Properties.MaxLength = 200;
     this.textEditTenantName.Size = new System.Drawing.Size(133, 20);
     this.textEditTenantName.TabIndex = 412;
     //
     // labelControlSurname
     //
     this.labelControlSurname.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlSurname.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlSurname.Location = new System.Drawing.Point(310, 64);
     this.labelControlSurname.Name = "labelControlSurname";
     this.labelControlSurname.Size = new System.Drawing.Size(84, 13);
     this.labelControlSurname.TabIndex = 424;
     this.labelControlSurname.Text = "นามสกุล :";
     //
     // labelControlName
     //
     this.labelControlName.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlName.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlName.Location = new System.Drawing.Point(20, 64);
     this.labelControlName.Name = "labelControlName";
     this.labelControlName.Size = new System.Drawing.Size(84, 13);
     this.labelControlName.TabIndex = 423;
     this.labelControlName.Text = "ชื่อ :";
     //
     // textEditTenantSurname
     //
     this.textEditTenantSurname.EditValue = "";
     this.textEditTenantSurname.Enabled = false;
     this.textEditTenantSurname.Location = new System.Drawing.Point(397, 57);
     this.textEditTenantSurname.Name = "textEditTenantSurname";
     this.textEditTenantSurname.Properties.MaxLength = 200;
     this.textEditTenantSurname.Size = new System.Drawing.Size(163, 20);
     this.textEditTenantSurname.TabIndex = 413;
     //
     // labelControlTitle
     //
     this.labelControlTitle.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlTitle.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlTitle.Location = new System.Drawing.Point(20, 38);
     this.labelControlTitle.Name = "labelControlTitle";
     this.labelControlTitle.Size = new System.Drawing.Size(84, 13);
     this.labelControlTitle.TabIndex = 422;
     this.labelControlTitle.Text = "คำนำหน้า :";
     //
     // textEditPrefix
     //
     this.textEditPrefix.EditValue = "";
     this.textEditPrefix.Enabled = false;
     this.textEditPrefix.Location = new System.Drawing.Point(107, 31);
     this.textEditPrefix.Name = "textEditPrefix";
     this.textEditPrefix.Properties.MaxLength = 50;
     this.textEditPrefix.Size = new System.Drawing.Size(133, 20);
     this.textEditPrefix.TabIndex = 411;
     //
     // groupControlCheckOut
     //
     this.groupControlCheckOut.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlCheckOut.AppearanceCaption.Options.UseFont = true;
     this.groupControlCheckOut.Controls.Add(this.lookUpEditContractType);
     this.groupControlCheckOut.Controls.Add(this.dateEditCheckInDate);
     this.groupControlCheckOut.Controls.Add(this.labelControlMonth);
     this.groupControlCheckOut.Controls.Add(this.labelControlMinimum);
     this.groupControlCheckOut.Controls.Add(this.labelControlRentType);
     this.groupControlCheckOut.Controls.Add(this.labelControlContractDate);
     this.groupControlCheckOut.Controls.Add(this.labelControlContractNo);
     this.groupControlCheckOut.Controls.Add(this.textEditMinimum);
     this.groupControlCheckOut.Controls.Add(this.textEditContractNo);
     this.groupControlCheckOut.Dock = System.Windows.Forms.DockStyle.Top;
     this.groupControlCheckOut.Location = new System.Drawing.Point(0, 0);
     this.groupControlCheckOut.Name = "groupControlCheckOut";
     this.groupControlCheckOut.Size = new System.Drawing.Size(607, 85);
     this.groupControlCheckOut.TabIndex = 3;
     this.groupControlCheckOut.Text = "ย้ายออก";
     //
     // lookUpEditContractType
     //
     this.lookUpEditContractType.Enabled = false;
     this.lookUpEditContractType.Location = new System.Drawing.Point(107, 56);
     this.lookUpEditContractType.Name = "lookUpEditContractType";
     this.lookUpEditContractType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lookUpEditContractType.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("contracttype_id", "รหัสประเภทสัญญา", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default),
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("contracttype_label", "ประเภทสัญญา")});
     this.lookUpEditContractType.Size = new System.Drawing.Size(133, 20);
     this.lookUpEditContractType.TabIndex = 444;
     //
     // dateEditCheckInDate
     //
     this.dateEditCheckInDate.EditValue = new System.DateTime(2013, 3, 8, 0, 0, 0, 0);
     this.dateEditCheckInDate.Enabled = false;
     this.dateEditCheckInDate.Location = new System.Drawing.Point(398, 31);
     this.dateEditCheckInDate.Name = "dateEditCheckInDate";
     this.dateEditCheckInDate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.dateEditCheckInDate.Properties.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.dateEditCheckInDate.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dateEditCheckInDate.Properties.EditFormat.FormatString = "dd/MM/yyyy";
     this.dateEditCheckInDate.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dateEditCheckInDate.Properties.Mask.EditMask = "dd/MM/yyyy";
     this.dateEditCheckInDate.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.dateEditCheckInDate.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.dateEditCheckInDate.Size = new System.Drawing.Size(162, 20);
     this.dateEditCheckInDate.TabIndex = 443;
     //
     // labelControlMonth
     //
     this.labelControlMonth.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlMonth.Location = new System.Drawing.Point(563, 63);
     this.labelControlMonth.Margin = new System.Windows.Forms.Padding(0);
     this.labelControlMonth.Name = "labelControlMonth";
     this.labelControlMonth.Size = new System.Drawing.Size(37, 13);
     this.labelControlMonth.TabIndex = 441;
     this.labelControlMonth.Text = "เดือน";
     //
     // labelControlMinimum
     //
     this.labelControlMinimum.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlMinimum.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlMinimum.Location = new System.Drawing.Point(261, 59);
     this.labelControlMinimum.Margin = new System.Windows.Forms.Padding(0);
     this.labelControlMinimum.Name = "labelControlMinimum";
     this.labelControlMinimum.Size = new System.Drawing.Size(134, 13);
     this.labelControlMinimum.TabIndex = 442;
     this.labelControlMinimum.Text = "ระยะเวลาเช่าขั้นต่ำ :";
     //
     // labelControlRentType
     //
     this.labelControlRentType.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlRentType.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlRentType.Location = new System.Drawing.Point(5, 63);
     this.labelControlRentType.Margin = new System.Windows.Forms.Padding(0);
     this.labelControlRentType.Name = "labelControlRentType";
     this.labelControlRentType.Size = new System.Drawing.Size(99, 13);
     this.labelControlRentType.TabIndex = 440;
     this.labelControlRentType.Text = "ประเภทการเช่า :";
     //
     // labelControlContractDate
     //
     this.labelControlContractDate.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlContractDate.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlContractDate.Location = new System.Drawing.Point(296, 38);
     this.labelControlContractDate.Margin = new System.Windows.Forms.Padding(0);
     this.labelControlContractDate.Name = "labelControlContractDate";
     this.labelControlContractDate.Size = new System.Drawing.Size(99, 13);
     this.labelControlContractDate.TabIndex = 438;
     this.labelControlContractDate.Text = "วันที่ทำสัญญา :";
     //
     // labelControlContractNo
     //
     this.labelControlContractNo.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlContractNo.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlContractNo.Location = new System.Drawing.Point(5, 38);
     this.labelControlContractNo.Margin = new System.Windows.Forms.Padding(0);
     this.labelControlContractNo.Name = "labelControlContractNo";
     this.labelControlContractNo.Size = new System.Drawing.Size(99, 13);
     this.labelControlContractNo.TabIndex = 439;
     this.labelControlContractNo.Text = "เลขที่สัญญา :";
     //
     // textEditMinimum
     //
     this.textEditMinimum.EditValue = "0";
     this.textEditMinimum.Enabled = false;
     this.textEditMinimum.Location = new System.Drawing.Point(398, 56);
     this.textEditMinimum.Name = "textEditMinimum";
     this.textEditMinimum.Properties.Appearance.Options.UseTextOptions = true;
     this.textEditMinimum.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.textEditMinimum.Properties.MaxLength = 2;
     this.textEditMinimum.Size = new System.Drawing.Size(162, 20);
     this.textEditMinimum.TabIndex = 436;
     //
     // textEditContractNo
     //
     this.textEditContractNo.EditValue = "";
     this.textEditContractNo.Enabled = false;
     this.textEditContractNo.Location = new System.Drawing.Point(107, 31);
     this.textEditContractNo.Name = "textEditContractNo";
     this.textEditContractNo.Size = new System.Drawing.Size(133, 20);
     this.textEditContractNo.TabIndex = 437;
     //
     // panelControl1
     //
     this.panelControl1.Controls.Add(this.bttPrintInvoice);
     this.panelControl1.Controls.Add(this.bttPrintInsurance);
     this.panelControl1.Controls.Add(this.textEditRoomStatus);
     this.panelControl1.Controls.Add(this.textEditCheckInId);
     this.panelControl1.Controls.Add(this.textEditTenantId);
     this.panelControl1.Controls.Add(this.textEditRoomId);
     this.panelControl1.Controls.Add(this.labelControl4);
     this.panelControl1.Controls.Add(this.textEditRoomCode);
     this.panelControl1.Controls.Add(this.bttEdit);
     this.panelControl1.Controls.Add(this.bttCancel);
     this.panelControl1.Controls.Add(this.bttSave);
     this.panelControl1.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.panelControl1.Location = new System.Drawing.Point(0, 568);
     this.panelControl1.Name = "panelControl1";
     this.panelControl1.Size = new System.Drawing.Size(624, 66);
     this.panelControl1.TabIndex = 77;
     //
     // bttPrintInvoice
     //
     this.bttPrintInvoice.Image = ((System.Drawing.Image)(resources.GetObject("bttPrintInvoice.Image")));
     this.bttPrintInvoice.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttPrintInvoice.Location = new System.Drawing.Point(5, 5);
     this.bttPrintInvoice.Name = "bttPrintInvoice";
     this.bttPrintInvoice.Size = new System.Drawing.Size(123, 55);
     this.bttPrintInvoice.TabIndex = 364;
     this.bttPrintInvoice.Text = "สร้างใบแจ้งหนี้";
     //
     // bttPrintInsurance
     //
     this.bttPrintInsurance.Image = ((System.Drawing.Image)(resources.GetObject("bttPrintInsurance.Image")));
     this.bttPrintInsurance.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttPrintInsurance.Location = new System.Drawing.Point(134, 5);
     this.bttPrintInsurance.Name = "bttPrintInsurance";
     this.bttPrintInsurance.Size = new System.Drawing.Size(127, 55);
     this.bttPrintInsurance.TabIndex = 363;
     this.bttPrintInsurance.Text = "สร้างใบคืนเงินประกัน";
     //
     // textEditRoomStatus
     //
     this.textEditRoomStatus.EditValue = "";
     this.textEditRoomStatus.Enabled = false;
     this.textEditRoomStatus.Location = new System.Drawing.Point(324, 19);
     this.textEditRoomStatus.Name = "textEditRoomStatus";
     this.textEditRoomStatus.Size = new System.Drawing.Size(10, 20);
     this.textEditRoomStatus.TabIndex = 362;
     this.textEditRoomStatus.Visible = false;
     //
     // textEditCheckInId
     //
     this.textEditCheckInId.EditValue = "";
     this.textEditCheckInId.Enabled = false;
     this.textEditCheckInId.Location = new System.Drawing.Point(308, 19);
     this.textEditCheckInId.Name = "textEditCheckInId";
     this.textEditCheckInId.Size = new System.Drawing.Size(10, 20);
     this.textEditCheckInId.TabIndex = 362;
     this.textEditCheckInId.Visible = false;
     //
     // textEditTenantId
     //
     this.textEditTenantId.EditValue = "";
     this.textEditTenantId.Enabled = false;
     this.textEditTenantId.Location = new System.Drawing.Point(345, 19);
     this.textEditTenantId.Name = "textEditTenantId";
     this.textEditTenantId.Size = new System.Drawing.Size(39, 20);
     this.textEditTenantId.TabIndex = 361;
     this.textEditTenantId.Visible = false;
     //
     // textEditRoomId
     //
     this.textEditRoomId.EditValue = "";
     this.textEditRoomId.Enabled = false;
     this.textEditRoomId.Location = new System.Drawing.Point(292, 19);
     this.textEditRoomId.Name = "textEditRoomId";
     this.textEditRoomId.Size = new System.Drawing.Size(10, 20);
     this.textEditRoomId.TabIndex = 360;
     this.textEditRoomId.Visible = false;
     //
     // labelControl4
     //
     this.labelControl4.Location = new System.Drawing.Point(273, 44);
     this.labelControl4.Name = "labelControl4";
     this.labelControl4.Size = new System.Drawing.Size(45, 13);
     this.labelControl4.TabIndex = 359;
     this.labelControl4.Text = "รหัสห้อง :";
     this.labelControl4.Visible = false;
     //
     // textEditRoomCode
     //
     this.textEditRoomCode.EditValue = "";
     this.textEditRoomCode.Enabled = false;
     this.textEditRoomCode.Location = new System.Drawing.Point(260, 19);
     this.textEditRoomCode.Name = "textEditRoomCode";
     this.textEditRoomCode.Size = new System.Drawing.Size(13, 20);
     this.textEditRoomCode.TabIndex = 358;
     this.textEditRoomCode.Visible = false;
     //
     // bttEdit
     //
     this.bttEdit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttEdit.Image = global::DXWindowsApplication2.Properties.Resources.edit;
     this.bttEdit.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttEdit.Location = new System.Drawing.Point(397, 5);
     this.bttEdit.Name = "bttEdit";
     this.bttEdit.Size = new System.Drawing.Size(70, 55);
     this.bttEdit.TabIndex = 19;
     this.bttEdit.Text = "แก้ไขข้อมูล";
     //
     // bttCancel
     //
     this.bttCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttCancel.Enabled = false;
     this.bttCancel.Image = global::DXWindowsApplication2.Properties.Resources.Close;
     this.bttCancel.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttCancel.Location = new System.Drawing.Point(549, 5);
     this.bttCancel.Name = "bttCancel";
     this.bttCancel.Size = new System.Drawing.Size(70, 55);
     this.bttCancel.TabIndex = 22;
     this.bttCancel.Text = "ยกเลิก";
     //
     // bttSave
     //
     this.bttSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttSave.Enabled = false;
     this.bttSave.Image = global::DXWindowsApplication2.Properties.Resources.preview;
     this.bttSave.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttSave.Location = new System.Drawing.Point(473, 5);
     this.bttSave.Name = "bttSave";
     this.bttSave.Size = new System.Drawing.Size(70, 55);
     this.bttSave.TabIndex = 21;
     this.bttSave.Text = "ปิดสัญญา";
     this.bttSave.Click += new System.EventHandler(this.bttSave_Click);
     //
     // RoomCheckOut
     //
     this.Appearance.BackColor = System.Drawing.Color.White;
     this.Appearance.Options.UseBackColor = true;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.splitContainerControl2);
     this.Name = "RoomCheckOut";
     this.Padding = new System.Windows.Forms.Padding(7);
     this.Size = new System.Drawing.Size(1310, 648);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).EndInit();
     this.splitContainerControl2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControlList)).EndInit();
     this.groupControlList.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlRoom)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewRoom)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit();
     this.panelControl3.ResumeLayout(false);
     this.xtraScrollableControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupExpense)).EndInit();
     this.groupExpense.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControlItem)).EndInit();
     this.groupControlItem.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlItem)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewItemList)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).EndInit();
     this.panelControl4.ResumeLayout(false);
     this.panelControl4.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRefund.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit();
     this.panelControl2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlGeneralCost)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewGeneralCost)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControlCalculate)).EndInit();
     this.panelControlCalculate.ResumeLayout(false);
     this.panelControlCalculate.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditInvoiceDueDate.Properties.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditInvoiceDueDate.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControlPricePerDay)).EndInit();
     this.panelControlPricePerDay.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.textEditChargePrice.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditLeaveDate.Properties.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditLeaveDate.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditCharge.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlMeter)).EndInit();
     this.groupControlMeter.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.textEditPhonePrice.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlEndMeter)).EndInit();
     this.groupControlEndMeter.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.textEditWMeterPresent.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditEMeterPresent.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlEndDate)).EndInit();
     this.groupControlEndDate.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dateEditWMeterPresentDate.Properties.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditWMeterPresentDate.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditEMeterPresentDate.Properties.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditEMeterPresentDate.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditPhoneStart.Properties.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditPhoneStart.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditPhoneEnd.Properties.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditPhoneEnd.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditWaterMeterId.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditElectricMeterId.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlStartMeter)).EndInit();
     this.groupControlStartMeter.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.textEditWMeterPreviousUnit.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditEMeterPreviousUnit.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlStartDate)).EndInit();
     this.groupControlStartDate.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dateEditWMeterPreviousDate.Properties.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditWMeterPreviousDate.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditEMeterPreviousDate.Properties.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditEMeterPreviousDate.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupRoomInfo)).EndInit();
     this.groupRoomInfo.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomPrice.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditInsurerate.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditAdvance.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditFloorId.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomLabel.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditRoomTypeId.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditBuildingId.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlRental)).EndInit();
     this.groupControlRental.ResumeLayout(false);
     this.groupControlRental.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditTenantName.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditTenantSurname.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditPrefix.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlCheckOut)).EndInit();
     this.groupControlCheckOut.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditContractType.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditCheckInDate.Properties.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditCheckInDate.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditMinimum.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditContractNo.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
     this.panelControl1.ResumeLayout(false);
     this.panelControl1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomStatus.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditCheckInId.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditTenantId.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomId.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomCode.Properties)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #19
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.groupControlList = new DevExpress.XtraEditors.GroupControl();
     this.gridControlRoom = new DevExpress.XtraGrid.GridControl();
     this.gridViewRoom = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.room_room_id = new DevExpress.XtraGrid.Columns.GridColumn();
     this.room_coderef = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_building = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_room_name = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_roomtype_label = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_floor_code = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_room_status_label = new DevExpress.XtraGrid.Columns.GridColumn();
     this.splitContainerControl2 = new DevExpress.XtraEditors.SplitContainerControl();
     this.panelControl3 = new DevExpress.XtraEditors.PanelControl();
     this.xtraScrollableControl1 = new DevExpress.XtraEditors.XtraScrollableControl();
     this.groupExpense = new DevExpress.XtraEditors.GroupControl();
     this.gridControlExpense = new DevExpress.XtraGrid.GridControl();
     this.gridView3 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumnOrder = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnList = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnDaily = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnMonthly = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnType = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnStatus = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnflag = new DevExpress.XtraGrid.Columns.GridColumn();
     this.bttAddExpense = new DevExpress.XtraEditors.SimpleButton();
     this.groupRoomInfo = new DevExpress.XtraEditors.GroupControl();
     this.groupBoxValue = new System.Windows.Forms.GroupBox();
     this.bttReadMeter = new DevExpress.XtraEditors.SimpleButton();
     this.textEditWaterMeterId = new DevExpress.XtraEditors.TextEdit();
     this.textEditElectricMeterId = new DevExpress.XtraEditors.TextEdit();
     this.groupControlStartMeter = new DevExpress.XtraEditors.GroupControl();
     this.bttRecordManual = new DevExpress.XtraEditors.SimpleButton();
     this.textEditWaterMeter = new DevExpress.XtraEditors.TextEdit();
     this.textEditElectricMeter = new DevExpress.XtraEditors.TextEdit();
     this.labelControlPhoneMeter = new DevExpress.XtraEditors.LabelControl();
     this.labelControlWaterMeter = new DevExpress.XtraEditors.LabelControl();
     this.labelControlElectricMeter = new DevExpress.XtraEditors.LabelControl();
     this.groupControlStartDate = new DevExpress.XtraEditors.GroupControl();
     this.dateEditPhoneMeter = new DevExpress.XtraEditors.DateEdit();
     this.dateEditWaterMeter = new DevExpress.XtraEditors.DateEdit();
     this.dateEditElectricMeter = new DevExpress.XtraEditors.DateEdit();
     this.textEditMonthlyRate = new DevExpress.XtraEditors.TextEdit();
     this.labelControlBath2 = new DevExpress.XtraEditors.LabelControl();
     this.labelControlMonth2 = new DevExpress.XtraEditors.LabelControl();
     this.labelControlBath1 = new DevExpress.XtraEditors.LabelControl();
     this.textEditInsurance = new DevExpress.XtraEditors.TextEdit();
     this.textEditAdvance = new DevExpress.XtraEditors.TextEdit();
     this.labelControlInsurance = new DevExpress.XtraEditors.LabelControl();
     this.labelControlBeforeRent = new DevExpress.XtraEditors.LabelControl();
     this.labelControlMonthlyRate = new DevExpress.XtraEditors.LabelControl();
     this.lookUpEditFloorId = new DevExpress.XtraEditors.LookUpEdit();
     this.labelControlFloor = new DevExpress.XtraEditors.LabelControl();
     this.textEditRoomLabel = new DevExpress.XtraEditors.TextEdit();
     this.labelControlRoomName = new DevExpress.XtraEditors.LabelControl();
     this.lookUpEditRoomTypeId = new DevExpress.XtraEditors.LookUpEdit();
     this.lookUpEditBuildingId = new DevExpress.XtraEditors.LookUpEdit();
     this.labelControlRoomType = new DevExpress.XtraEditors.LabelControl();
     this.labelControlBuilding = new DevExpress.XtraEditors.LabelControl();
     this.groupControlRental = new DevExpress.XtraEditors.GroupControl();
     this.textEditDistrict = new DevExpress.XtraEditors.TextEdit();
     this.textEditProvince = new DevExpress.XtraEditors.TextEdit();
     this.groupOccupie = new DevExpress.XtraEditors.GroupControl();
     this.bttRemoveTenant = new DevExpress.XtraEditors.SimpleButton();
     this.bttAddTenant = new DevExpress.XtraEditors.SimpleButton();
     this.gridControlRoommate = new DevExpress.XtraGrid.GridControl();
     this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.grid_tenant_prefix = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_tenant_firstname = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_tenant_surname = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_tenant_idcard = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grid_tenant_tel = new DevExpress.XtraGrid.Columns.GridColumn();
     this.lookUpEditPrefix = new DevExpress.XtraEditors.LookUpEdit();
     this.bttSelectTenant = new DevExpress.XtraEditors.SimpleButton();
     this.labelControl26 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl6 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl8 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl20 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl18 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl7 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
     this.dateEditBirthDay = new DevExpress.XtraEditors.DateEdit();
     this.labelControlBirthday = new DevExpress.XtraEditors.LabelControl();
     this.labelControlDistrict = new DevExpress.XtraEditors.LabelControl();
     this.labelControlProvince = new DevExpress.XtraEditors.LabelControl();
     this.labelControlRequired = new DevExpress.XtraEditors.LabelControl();
     this.labelControlPhone = new DevExpress.XtraEditors.LabelControl();
     this.textEditPhone = new DevExpress.XtraEditors.TextEdit();
     this.textEditName = new DevExpress.XtraEditors.TextEdit();
     this.textEditRemark = new DevExpress.XtraEditors.MemoEdit();
     this.textEditAddress = new DevExpress.XtraEditors.MemoEdit();
     this.labelControlCarLicence = new DevExpress.XtraEditors.LabelControl();
     this.labelControlRemark = new DevExpress.XtraEditors.LabelControl();
     this.textEditCarLicence = new DevExpress.XtraEditors.TextEdit();
     this.labelControlAddress = new DevExpress.XtraEditors.LabelControl();
     this.labelControlIDCard = new DevExpress.XtraEditors.LabelControl();
     this.labelControlSurname = new DevExpress.XtraEditors.LabelControl();
     this.textEditIDCard = new DevExpress.XtraEditors.TextEdit();
     this.labelControlName = new DevExpress.XtraEditors.LabelControl();
     this.textEditSurname = new DevExpress.XtraEditors.TextEdit();
     this.labelControlPostcode = new DevExpress.XtraEditors.LabelControl();
     this.labelControlTitle = new DevExpress.XtraEditors.LabelControl();
     this.textEditPostcode = new DevExpress.XtraEditors.TextEdit();
     this.groupControlMoveIn = new DevExpress.XtraEditors.GroupControl();
     this.labelControl9 = new DevExpress.XtraEditors.LabelControl();
     this.lookUpEditContractType = new DevExpress.XtraEditors.LookUpEdit();
     this.dateEditCheckInDate = new DevExpress.XtraEditors.DateEdit();
     this.labelControlReservePrice = new DevExpress.XtraEditors.LabelControl();
     this.labelControlMonth = new DevExpress.XtraEditors.LabelControl();
     this.labelDaily = new DevExpress.XtraEditors.LabelControl();
     this.labelControlMinimum = new DevExpress.XtraEditors.LabelControl();
     this.labelControlRentType = new DevExpress.XtraEditors.LabelControl();
     this.labelControlContractDate = new DevExpress.XtraEditors.LabelControl();
     this.textEditDaily = new DevExpress.XtraEditors.TextEdit();
     this.labelControlContractNo = new DevExpress.XtraEditors.LabelControl();
     this.textEditMinimum = new DevExpress.XtraEditors.TextEdit();
     this.textEditBooking = new DevExpress.XtraEditors.TextEdit();
     this.textEditContractNo = new DevExpress.XtraEditors.TextEdit();
     this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
     this.textEditTenantID = new DevExpress.XtraEditors.TextEdit();
     this.textEditRoomId = new DevExpress.XtraEditors.TextEdit();
     this.textEditRoomCode = new DevExpress.XtraEditors.TextEdit();
     this.bttPrint = new DevExpress.XtraEditors.SimpleButton();
     this.bttEdit = new DevExpress.XtraEditors.SimpleButton();
     this.bttCancel = new DevExpress.XtraEditors.SimpleButton();
     this.bttSave = new DevExpress.XtraEditors.SimpleButton();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlList)).BeginInit();
     this.groupControlList.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlRoom)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewRoom)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).BeginInit();
     this.splitContainerControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit();
     this.panelControl3.SuspendLayout();
     this.xtraScrollableControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupExpense)).BeginInit();
     this.groupExpense.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlExpense)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupRoomInfo)).BeginInit();
     this.groupRoomInfo.SuspendLayout();
     this.groupBoxValue.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditWaterMeterId.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditElectricMeterId.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlStartMeter)).BeginInit();
     this.groupControlStartMeter.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditWaterMeter.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditElectricMeter.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlStartDate)).BeginInit();
     this.groupControlStartDate.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditPhoneMeter.Properties.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditPhoneMeter.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditWaterMeter.Properties.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditWaterMeter.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditElectricMeter.Properties.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditElectricMeter.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditMonthlyRate.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditInsurance.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditAdvance.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditFloorId.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomLabel.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditRoomTypeId.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditBuildingId.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlRental)).BeginInit();
     this.groupControlRental.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditDistrict.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditProvince.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupOccupie)).BeginInit();
     this.groupOccupie.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlRoommate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditPrefix.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditBirthDay.Properties.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditBirthDay.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditPhone.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditName.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRemark.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditAddress.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditCarLicence.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditIDCard.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditSurname.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditPostcode.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlMoveIn)).BeginInit();
     this.groupControlMoveIn.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditContractType.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditCheckInDate.Properties.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditCheckInDate.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditDaily.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditMinimum.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditBooking.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditContractNo.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
     this.panelControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditTenantID.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomId.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomCode.Properties)).BeginInit();
     this.SuspendLayout();
     //
     // groupControlList
     //
     this.groupControlList.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlList.AppearanceCaption.Options.UseFont = true;
     this.groupControlList.Controls.Add(this.gridControlRoom);
     this.groupControlList.Dock = System.Windows.Forms.DockStyle.Fill;
     this.groupControlList.Location = new System.Drawing.Point(0, 0);
     this.groupControlList.Name = "groupControlList";
     this.groupControlList.Size = new System.Drawing.Size(544, 534);
     this.groupControlList.TabIndex = 0;
     this.groupControlList.Text = "รายการห้องว่างและถูกจอง";
     //
     // gridControlRoom
     //
     this.gridControlRoom.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlRoom.Location = new System.Drawing.Point(2, 22);
     this.gridControlRoom.MainView = this.gridViewRoom;
     this.gridControlRoom.Name = "gridControlRoom";
     this.gridControlRoom.Size = new System.Drawing.Size(540, 510);
     this.gridControlRoom.TabIndex = 1;
     this.gridControlRoom.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewRoom});
     //
     // gridViewRoom
     //
     this.gridViewRoom.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.room_room_id,
     this.room_coderef,
     this.grid_building,
     this.grid_room_name,
     this.grid_roomtype_label,
     this.grid_floor_code,
     this.grid_room_status_label});
     this.gridViewRoom.GridControl = this.gridControlRoom;
     this.gridViewRoom.Name = "gridViewRoom";
     this.gridViewRoom.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridViewRoom.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridViewRoom.OptionsFind.AlwaysVisible = true;
     this.gridViewRoom.OptionsFind.ShowCloseButton = false;
     this.gridViewRoom.OptionsView.ShowGroupPanel = false;
     this.gridViewRoom.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.gridView1_FocusedRowChanged);
     //
     // room_room_id
     //
     this.room_room_id.Caption = "ไอดีห้อง";
     this.room_room_id.FieldName = "room_id";
     this.room_room_id.Name = "room_room_id";
     this.room_room_id.OptionsColumn.AllowEdit = false;
     this.room_room_id.OptionsColumn.AllowFocus = false;
     this.room_room_id.OptionsColumn.AllowIncrementalSearch = false;
     this.room_room_id.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.room_room_id.OptionsColumn.AllowMove = false;
     //
     // room_coderef
     //
     this.room_coderef.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.room_coderef.AppearanceHeader.Options.UseFont = true;
     this.room_coderef.Caption = "รหัสห้อง";
     this.room_coderef.FieldName = "coderef";
     this.room_coderef.Name = "room_coderef";
     this.room_coderef.OptionsColumn.AllowEdit = false;
     this.room_coderef.OptionsColumn.AllowFocus = false;
     this.room_coderef.OptionsColumn.AllowIncrementalSearch = false;
     this.room_coderef.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.room_coderef.OptionsColumn.AllowMove = false;
     //
     // grid_building
     //
     this.grid_building.AppearanceCell.Options.UseTextOptions = true;
     this.grid_building.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_building.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_building.AppearanceHeader.Options.UseFont = true;
     this.grid_building.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_building.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_building.Caption = "อาคาร";
     this.grid_building.FieldName = "building_label";
     this.grid_building.Name = "grid_building";
     this.grid_building.OptionsColumn.AllowEdit = false;
     this.grid_building.OptionsColumn.AllowFocus = false;
     this.grid_building.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False;
     this.grid_building.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_building.OptionsColumn.AllowMove = false;
     this.grid_building.Visible = true;
     this.grid_building.VisibleIndex = 1;
     //
     // grid_room_name
     //
     this.grid_room_name.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_room_name.AppearanceHeader.Options.UseFont = true;
     this.grid_room_name.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_room_name.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_room_name.Caption = "ชื่อห้อง";
     this.grid_room_name.FieldName = "room_label";
     this.grid_room_name.Name = "grid_room_name";
     this.grid_room_name.OptionsColumn.AllowEdit = false;
     this.grid_room_name.OptionsColumn.AllowFocus = false;
     this.grid_room_name.OptionsColumn.AllowIncrementalSearch = false;
     this.grid_room_name.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_room_name.OptionsColumn.AllowMove = false;
     this.grid_room_name.Visible = true;
     this.grid_room_name.VisibleIndex = 0;
     //
     // grid_roomtype_label
     //
     this.grid_roomtype_label.AppearanceCell.Options.UseTextOptions = true;
     this.grid_roomtype_label.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_roomtype_label.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_roomtype_label.AppearanceHeader.Options.UseFont = true;
     this.grid_roomtype_label.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_roomtype_label.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_roomtype_label.Caption = "ประเภทห้อง";
     this.grid_roomtype_label.FieldName = "roomtype_label";
     this.grid_roomtype_label.Name = "grid_roomtype_label";
     this.grid_roomtype_label.OptionsColumn.AllowEdit = false;
     this.grid_roomtype_label.OptionsColumn.AllowFocus = false;
     this.grid_roomtype_label.OptionsColumn.AllowIncrementalSearch = false;
     this.grid_roomtype_label.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_roomtype_label.OptionsColumn.AllowMove = false;
     this.grid_roomtype_label.Visible = true;
     this.grid_roomtype_label.VisibleIndex = 3;
     //
     // grid_floor_code
     //
     this.grid_floor_code.AppearanceCell.Options.UseTextOptions = true;
     this.grid_floor_code.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_floor_code.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_floor_code.AppearanceHeader.Options.UseFont = true;
     this.grid_floor_code.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_floor_code.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_floor_code.Caption = "ชั้น";
     this.grid_floor_code.FieldName = "floor_code";
     this.grid_floor_code.Name = "grid_floor_code";
     this.grid_floor_code.OptionsColumn.AllowEdit = false;
     this.grid_floor_code.OptionsColumn.AllowFocus = false;
     this.grid_floor_code.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_floor_code.OptionsColumn.AllowMove = false;
     this.grid_floor_code.Visible = true;
     this.grid_floor_code.VisibleIndex = 2;
     //
     // grid_room_status_label
     //
     this.grid_room_status_label.AppearanceCell.Options.UseTextOptions = true;
     this.grid_room_status_label.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_room_status_label.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_room_status_label.AppearanceHeader.Options.UseFont = true;
     this.grid_room_status_label.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_room_status_label.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_room_status_label.Caption = "สถานะห้อง";
     this.grid_room_status_label.FieldName = "room_status_label";
     this.grid_room_status_label.Name = "grid_room_status_label";
     this.grid_room_status_label.OptionsColumn.AllowEdit = false;
     this.grid_room_status_label.OptionsColumn.AllowFocus = false;
     this.grid_room_status_label.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_room_status_label.OptionsColumn.AllowMove = false;
     this.grid_room_status_label.Visible = true;
     this.grid_room_status_label.VisibleIndex = 4;
     //
     // splitContainerControl2
     //
     this.splitContainerControl2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerControl2.Location = new System.Drawing.Point(7, 7);
     this.splitContainerControl2.Name = "splitContainerControl2";
     this.splitContainerControl2.Panel1.Controls.Add(this.groupControlList);
     this.splitContainerControl2.Panel1.Text = "Panel1";
     this.splitContainerControl2.Panel2.Controls.Add(this.panelControl3);
     this.splitContainerControl2.Panel2.Controls.Add(this.panelControl1);
     this.splitContainerControl2.Panel2.Text = "Panel2";
     this.splitContainerControl2.Size = new System.Drawing.Size(1159, 534);
     this.splitContainerControl2.SplitterPosition = 544;
     this.splitContainerControl2.TabIndex = 15;
     this.splitContainerControl2.Text = "splitContainerControl2";
     //
     // panelControl3
     //
     this.panelControl3.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl3.Controls.Add(this.xtraScrollableControl1);
     this.panelControl3.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panelControl3.Location = new System.Drawing.Point(0, 0);
     this.panelControl3.Name = "panelControl3";
     this.panelControl3.Size = new System.Drawing.Size(610, 468);
     this.panelControl3.TabIndex = 12;
     //
     // xtraScrollableControl1
     //
     this.xtraScrollableControl1.Controls.Add(this.groupExpense);
     this.xtraScrollableControl1.Controls.Add(this.groupRoomInfo);
     this.xtraScrollableControl1.Controls.Add(this.groupControlRental);
     this.xtraScrollableControl1.Controls.Add(this.groupControlMoveIn);
     this.xtraScrollableControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.xtraScrollableControl1.Location = new System.Drawing.Point(0, 0);
     this.xtraScrollableControl1.Name = "xtraScrollableControl1";
     this.xtraScrollableControl1.Size = new System.Drawing.Size(610, 468);
     this.xtraScrollableControl1.TabIndex = 0;
     //
     // groupExpense
     //
     this.groupExpense.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupExpense.AppearanceCaption.Options.UseFont = true;
     this.groupExpense.Controls.Add(this.gridControlExpense);
     this.groupExpense.Controls.Add(this.bttAddExpense);
     this.groupExpense.Dock = System.Windows.Forms.DockStyle.Top;
     this.groupExpense.Location = new System.Drawing.Point(0, 861);
     this.groupExpense.Name = "groupExpense";
     this.groupExpense.Size = new System.Drawing.Size(593, 192);
     this.groupExpense.TabIndex = 353;
     this.groupExpense.Text = "ค่าใช้จ่ายเพิ่มเติม";
     //
     // gridControlExpense
     //
     this.gridControlExpense.Dock = System.Windows.Forms.DockStyle.Top;
     this.gridControlExpense.Enabled = false;
     this.gridControlExpense.Location = new System.Drawing.Point(2, 22);
     this.gridControlExpense.MainView = this.gridView3;
     this.gridControlExpense.Name = "gridControlExpense";
     this.gridControlExpense.Size = new System.Drawing.Size(589, 128);
     this.gridControlExpense.TabIndex = 105;
     this.gridControlExpense.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridView3});
     //
     // gridView3
     //
     this.gridView3.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.gridColumnOrder,
     this.gridColumnList,
     this.gridColumnDaily,
     this.gridColumnMonthly,
     this.gridColumnType,
     this.gridColumnStatus,
     this.gridColumn6,
     this.gridColumn7,
     this.gridColumn8,
     this.gridColumnflag});
     this.gridView3.GridControl = this.gridControlExpense;
     this.gridView3.Name = "gridView3";
     this.gridView3.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridView3.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridView3.OptionsFind.AllowFindPanel = false;
     this.gridView3.OptionsFind.ShowCloseButton = false;
     this.gridView3.OptionsSelection.MultiSelect = true;
     this.gridView3.OptionsView.ShowGroupPanel = false;
     //
     // gridColumnOrder
     //
     this.gridColumnOrder.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumnOrder.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumnOrder.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumnOrder.AppearanceHeader.Options.UseFont = true;
     this.gridColumnOrder.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumnOrder.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumnOrder.Caption = "ลำดับ";
     this.gridColumnOrder.FieldName = "item_order";
     this.gridColumnOrder.Name = "gridColumnOrder";
     this.gridColumnOrder.OptionsColumn.AllowEdit = false;
     this.gridColumnOrder.OptionsColumn.AllowFocus = false;
     this.gridColumnOrder.OptionsColumn.AllowIncrementalSearch = false;
     this.gridColumnOrder.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumnOrder.OptionsColumn.AllowMove = false;
     this.gridColumnOrder.Visible = true;
     this.gridColumnOrder.VisibleIndex = 0;
     this.gridColumnOrder.Width = 57;
     //
     // gridColumnList
     //
     this.gridColumnList.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumnList.AppearanceHeader.Options.UseFont = true;
     this.gridColumnList.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumnList.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumnList.Caption = "รายการ";
     this.gridColumnList.FieldName = "item_name";
     this.gridColumnList.Name = "gridColumnList";
     this.gridColumnList.OptionsColumn.AllowEdit = false;
     this.gridColumnList.OptionsColumn.AllowFocus = false;
     this.gridColumnList.OptionsColumn.AllowIncrementalSearch = false;
     this.gridColumnList.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumnList.OptionsColumn.AllowMove = false;
     this.gridColumnList.Visible = true;
     this.gridColumnList.VisibleIndex = 1;
     this.gridColumnList.Width = 129;
     //
     // gridColumnDaily
     //
     this.gridColumnDaily.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumnDaily.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.gridColumnDaily.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumnDaily.AppearanceHeader.Options.UseFont = true;
     this.gridColumnDaily.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumnDaily.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumnDaily.Caption = "จำนวนเงินรายวัน";
     this.gridColumnDaily.DisplayFormat.FormatString = "n2";
     this.gridColumnDaily.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.gridColumnDaily.FieldName = "item_price_daily";
     this.gridColumnDaily.Name = "gridColumnDaily";
     this.gridColumnDaily.OptionsColumn.AllowEdit = false;
     this.gridColumnDaily.OptionsColumn.AllowFocus = false;
     this.gridColumnDaily.OptionsColumn.AllowIncrementalSearch = false;
     this.gridColumnDaily.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumnDaily.OptionsColumn.AllowMove = false;
     this.gridColumnDaily.UnboundType = DevExpress.Data.UnboundColumnType.Decimal;
     this.gridColumnDaily.Visible = true;
     this.gridColumnDaily.VisibleIndex = 2;
     this.gridColumnDaily.Width = 102;
     //
     // gridColumnMonthly
     //
     this.gridColumnMonthly.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumnMonthly.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.gridColumnMonthly.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumnMonthly.AppearanceHeader.Options.UseFont = true;
     this.gridColumnMonthly.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumnMonthly.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumnMonthly.Caption = "จำนวนเงินรายเดือน";
     this.gridColumnMonthly.DisplayFormat.FormatString = "n2";
     this.gridColumnMonthly.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.gridColumnMonthly.FieldName = "item_price_monthly";
     this.gridColumnMonthly.Name = "gridColumnMonthly";
     this.gridColumnMonthly.OptionsColumn.AllowEdit = false;
     this.gridColumnMonthly.OptionsColumn.AllowFocus = false;
     this.gridColumnMonthly.OptionsColumn.AllowIncrementalSearch = false;
     this.gridColumnMonthly.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumnMonthly.OptionsColumn.AllowMove = false;
     this.gridColumnMonthly.UnboundType = DevExpress.Data.UnboundColumnType.Decimal;
     this.gridColumnMonthly.Visible = true;
     this.gridColumnMonthly.VisibleIndex = 3;
     this.gridColumnMonthly.Width = 106;
     //
     // gridColumnType
     //
     this.gridColumnType.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumnType.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumnType.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumnType.AppearanceHeader.Options.UseFont = true;
     this.gridColumnType.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumnType.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumnType.Caption = "รูปแบบค่าใช้จ่าย";
     this.gridColumnType.FieldName = "item_type_label";
     this.gridColumnType.Name = "gridColumnType";
     this.gridColumnType.OptionsColumn.AllowEdit = false;
     this.gridColumnType.OptionsColumn.AllowFocus = false;
     this.gridColumnType.OptionsColumn.AllowIncrementalSearch = false;
     this.gridColumnType.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumnType.OptionsColumn.AllowMove = false;
     this.gridColumnType.Visible = true;
     this.gridColumnType.VisibleIndex = 4;
     this.gridColumnType.Width = 116;
     //
     // gridColumnStatus
     //
     this.gridColumnStatus.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumnStatus.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumnStatus.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumnStatus.AppearanceHeader.Options.UseFont = true;
     this.gridColumnStatus.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumnStatus.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumnStatus.Caption = "สถานะ";
     this.gridColumnStatus.FieldName = "check_box";
     this.gridColumnStatus.Name = "gridColumnStatus";
     this.gridColumnStatus.OptionsColumn.AllowIncrementalSearch = false;
     this.gridColumnStatus.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumnStatus.OptionsColumn.AllowMove = false;
     this.gridColumnStatus.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
     this.gridColumnStatus.Visible = true;
     this.gridColumnStatus.VisibleIndex = 5;
     this.gridColumnStatus.Width = 60;
     //
     // gridColumn6
     //
     this.gridColumn6.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumn6.AppearanceHeader.Options.UseFont = true;
     this.gridColumn6.Caption = "สถานะการใช้งาน";
     this.gridColumn6.Name = "gridColumn6";
     this.gridColumn6.OptionsColumn.AllowEdit = false;
     this.gridColumn6.OptionsColumn.AllowFocus = false;
     this.gridColumn6.OptionsColumn.AllowIncrementalSearch = false;
     this.gridColumn6.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumn6.OptionsColumn.AllowMove = false;
     //
     // gridColumn7
     //
     this.gridColumn7.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumn7.AppearanceHeader.Options.UseFont = true;
     this.gridColumn7.Caption = "item_price_weekly";
     this.gridColumn7.FieldName = "item_price_weekly";
     this.gridColumn7.Name = "gridColumn7";
     this.gridColumn7.OptionsColumn.AllowEdit = false;
     this.gridColumn7.OptionsColumn.AllowFocus = false;
     this.gridColumn7.OptionsColumn.AllowIncrementalSearch = false;
     this.gridColumn7.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumn7.OptionsColumn.AllowMove = false;
     //
     // gridColumn8
     //
     this.gridColumn8.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.gridColumn8.AppearanceHeader.Options.UseFont = true;
     this.gridColumn8.Caption = "item_detail";
     this.gridColumn8.FieldName = "item_detail";
     this.gridColumn8.Name = "gridColumn8";
     this.gridColumn8.OptionsColumn.AllowEdit = false;
     this.gridColumn8.OptionsColumn.AllowFocus = false;
     this.gridColumn8.OptionsColumn.AllowIncrementalSearch = false;
     this.gridColumn8.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumn8.OptionsColumn.AllowMove = false;
     //
     // gridColumnflag
     //
     this.gridColumnflag.Caption = "item_flag";
     this.gridColumnflag.FieldName = "item_flag";
     this.gridColumnflag.Name = "gridColumnflag";
     //
     // bttAddExpense
     //
     this.bttAddExpense.Enabled = false;
     this.bttAddExpense.Location = new System.Drawing.Point(5, 156);
     this.bttAddExpense.Name = "bttAddExpense";
     this.bttAddExpense.Size = new System.Drawing.Size(57, 30);
     this.bttAddExpense.TabIndex = 307;
     this.bttAddExpense.Text = "เพิ่ม";
     //
     // groupRoomInfo
     //
     this.groupRoomInfo.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupRoomInfo.AppearanceCaption.Options.UseFont = true;
     this.groupRoomInfo.Controls.Add(this.groupBoxValue);
     this.groupRoomInfo.Controls.Add(this.textEditMonthlyRate);
     this.groupRoomInfo.Controls.Add(this.labelControlBath2);
     this.groupRoomInfo.Controls.Add(this.labelControlMonth2);
     this.groupRoomInfo.Controls.Add(this.labelControlBath1);
     this.groupRoomInfo.Controls.Add(this.textEditInsurance);
     this.groupRoomInfo.Controls.Add(this.textEditAdvance);
     this.groupRoomInfo.Controls.Add(this.labelControlInsurance);
     this.groupRoomInfo.Controls.Add(this.labelControlBeforeRent);
     this.groupRoomInfo.Controls.Add(this.labelControlMonthlyRate);
     this.groupRoomInfo.Controls.Add(this.lookUpEditFloorId);
     this.groupRoomInfo.Controls.Add(this.labelControlFloor);
     this.groupRoomInfo.Controls.Add(this.textEditRoomLabel);
     this.groupRoomInfo.Controls.Add(this.labelControlRoomName);
     this.groupRoomInfo.Controls.Add(this.lookUpEditRoomTypeId);
     this.groupRoomInfo.Controls.Add(this.lookUpEditBuildingId);
     this.groupRoomInfo.Controls.Add(this.labelControlRoomType);
     this.groupRoomInfo.Controls.Add(this.labelControlBuilding);
     this.groupRoomInfo.Dock = System.Windows.Forms.DockStyle.Top;
     this.groupRoomInfo.Location = new System.Drawing.Point(0, 642);
     this.groupRoomInfo.Name = "groupRoomInfo";
     this.groupRoomInfo.Size = new System.Drawing.Size(593, 219);
     this.groupRoomInfo.TabIndex = 352;
     this.groupRoomInfo.Text = "ห้อง";
     //
     // groupBoxValue
     //
     this.groupBoxValue.Controls.Add(this.bttReadMeter);
     this.groupBoxValue.Controls.Add(this.textEditWaterMeterId);
     this.groupBoxValue.Controls.Add(this.textEditElectricMeterId);
     this.groupBoxValue.Controls.Add(this.groupControlStartMeter);
     this.groupBoxValue.Controls.Add(this.labelControlPhoneMeter);
     this.groupBoxValue.Controls.Add(this.labelControlWaterMeter);
     this.groupBoxValue.Controls.Add(this.labelControlElectricMeter);
     this.groupBoxValue.Controls.Add(this.groupControlStartDate);
     this.groupBoxValue.Dock = System.Windows.Forms.DockStyle.Right;
     this.groupBoxValue.Location = new System.Drawing.Point(284, 22);
     this.groupBoxValue.Name = "groupBoxValue";
     this.groupBoxValue.Size = new System.Drawing.Size(307, 195);
     this.groupBoxValue.TabIndex = 121;
     this.groupBoxValue.TabStop = false;
     this.groupBoxValue.Text = "อัตราค่าสาธารณูปโภค";
     //
     // bttReadMeter
     //
     this.bttReadMeter.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.bttReadMeter.Appearance.Options.UseFont = true;
     this.bttReadMeter.Enabled = false;
     this.bttReadMeter.Location = new System.Drawing.Point(196, 139);
     this.bttReadMeter.Name = "bttReadMeter";
     this.bttReadMeter.Size = new System.Drawing.Size(96, 31);
     this.bttReadMeter.TabIndex = 358;
     this.bttReadMeter.Text = "อ่านค่าปัจจุบัน";
     this.bttReadMeter.Click += new System.EventHandler(this.bttReadMeter_Click);
     //
     // textEditWaterMeterId
     //
     this.textEditWaterMeterId.EditValue = 0;
     this.textEditWaterMeterId.Enabled = false;
     this.textEditWaterMeterId.Location = new System.Drawing.Point(35, 164);
     this.textEditWaterMeterId.Name = "textEditWaterMeterId";
     this.textEditWaterMeterId.Properties.Mask.EditMask = "([0-9]*)";
     this.textEditWaterMeterId.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditWaterMeterId.Size = new System.Drawing.Size(21, 20);
     this.textEditWaterMeterId.TabIndex = 381;
     this.textEditWaterMeterId.Visible = false;
     //
     // textEditElectricMeterId
     //
     this.textEditElectricMeterId.EditValue = 0;
     this.textEditElectricMeterId.Enabled = false;
     this.textEditElectricMeterId.Location = new System.Drawing.Point(62, 164);
     this.textEditElectricMeterId.Name = "textEditElectricMeterId";
     this.textEditElectricMeterId.Properties.Mask.EditMask = "([0-9]*)";
     this.textEditElectricMeterId.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditElectricMeterId.Size = new System.Drawing.Size(20, 20);
     this.textEditElectricMeterId.TabIndex = 380;
     this.textEditElectricMeterId.Visible = false;
     //
     // groupControlStartMeter
     //
     this.groupControlStartMeter.AppearanceCaption.Options.UseTextOptions = true;
     this.groupControlStartMeter.AppearanceCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.groupControlStartMeter.Controls.Add(this.bttRecordManual);
     this.groupControlStartMeter.Controls.Add(this.textEditWaterMeter);
     this.groupControlStartMeter.Controls.Add(this.textEditElectricMeter);
     this.groupControlStartMeter.Location = new System.Drawing.Point(191, 20);
     this.groupControlStartMeter.Name = "groupControlStartMeter";
     this.groupControlStartMeter.Size = new System.Drawing.Size(106, 113);
     this.groupControlStartMeter.TabIndex = 379;
     this.groupControlStartMeter.Text = "เลขมิเตอร์เริ่มต้น";
     //
     // bttRecordManual
     //
     this.bttRecordManual.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.bttRecordManual.Appearance.Options.UseFont = true;
     this.bttRecordManual.Enabled = false;
     this.bttRecordManual.Location = new System.Drawing.Point(6, 76);
     this.bttRecordManual.Name = "bttRecordManual";
     this.bttRecordManual.Size = new System.Drawing.Size(94, 31);
     this.bttRecordManual.TabIndex = 382;
     this.bttRecordManual.Text = "ตั้งค่าเริ่มต้นเอง";
     this.bttRecordManual.Click += new System.EventHandler(this.bttRecordManual_Click);
     //
     // textEditWaterMeter
     //
     this.textEditWaterMeter.EditValue = "0.00";
     this.textEditWaterMeter.Enabled = false;
     this.textEditWaterMeter.Location = new System.Drawing.Point(6, 51);
     this.textEditWaterMeter.Name = "textEditWaterMeter";
     this.textEditWaterMeter.Properties.Appearance.Options.UseTextOptions = true;
     this.textEditWaterMeter.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.textEditWaterMeter.Properties.AppearanceDisabled.Options.UseTextOptions = true;
     this.textEditWaterMeter.Properties.AppearanceDisabled.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.textEditWaterMeter.Properties.DisplayFormat.FormatString = "n3";
     this.textEditWaterMeter.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditWaterMeter.Properties.EditFormat.FormatString = "n3";
     this.textEditWaterMeter.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditWaterMeter.Properties.Mask.BeepOnError = true;
     this.textEditWaterMeter.Properties.Mask.EditMask = "0*([0-9]{1,5})|0*([0-9]{1,5})\\.([0-9]){2}";
     this.textEditWaterMeter.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditWaterMeter.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditWaterMeter.Properties.NullText = "0.00";
     this.textEditWaterMeter.Properties.NullValuePrompt = "0.00";
     this.textEditWaterMeter.Size = new System.Drawing.Size(95, 20);
     this.textEditWaterMeter.TabIndex = 357;
     //
     // textEditElectricMeter
     //
     this.textEditElectricMeter.EditValue = "0.00";
     this.textEditElectricMeter.Enabled = false;
     this.textEditElectricMeter.Location = new System.Drawing.Point(5, 25);
     this.textEditElectricMeter.Name = "textEditElectricMeter";
     this.textEditElectricMeter.Properties.Appearance.Options.UseTextOptions = true;
     this.textEditElectricMeter.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.textEditElectricMeter.Properties.AppearanceDisabled.Options.UseTextOptions = true;
     this.textEditElectricMeter.Properties.AppearanceDisabled.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.textEditElectricMeter.Properties.DisplayFormat.FormatString = "n2";
     this.textEditElectricMeter.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditElectricMeter.Properties.EditFormat.FormatString = "n2";
     this.textEditElectricMeter.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditElectricMeter.Properties.Mask.BeepOnError = true;
     this.textEditElectricMeter.Properties.Mask.EditMask = "0*([0-9]{1,5})|0*([0-9]{1,5})\\.([0-9]){2}";
     this.textEditElectricMeter.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditElectricMeter.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditElectricMeter.Properties.NullText = "0.00";
     this.textEditElectricMeter.Properties.NullValuePrompt = "0.00";
     this.textEditElectricMeter.Size = new System.Drawing.Size(95, 20);
     this.textEditElectricMeter.TabIndex = 356;
     //
     // labelControlPhoneMeter
     //
     this.labelControlPhoneMeter.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlPhoneMeter.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlPhoneMeter.Location = new System.Drawing.Point(22, 100);
     this.labelControlPhoneMeter.Margin = new System.Windows.Forms.Padding(0);
     this.labelControlPhoneMeter.Name = "labelControlPhoneMeter";
     this.labelControlPhoneMeter.Size = new System.Drawing.Size(59, 13);
     this.labelControlPhoneMeter.TabIndex = 378;
     this.labelControlPhoneMeter.Text = "โทรศัพท์";
     //
     // labelControlWaterMeter
     //
     this.labelControlWaterMeter.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlWaterMeter.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlWaterMeter.Location = new System.Drawing.Point(35, 74);
     this.labelControlWaterMeter.Margin = new System.Windows.Forms.Padding(0);
     this.labelControlWaterMeter.Name = "labelControlWaterMeter";
     this.labelControlWaterMeter.Size = new System.Drawing.Size(46, 13);
     this.labelControlWaterMeter.TabIndex = 377;
     this.labelControlWaterMeter.Text = "น้ำ";
     //
     // labelControlElectricMeter
     //
     this.labelControlElectricMeter.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlElectricMeter.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlElectricMeter.Location = new System.Drawing.Point(35, 48);
     this.labelControlElectricMeter.Margin = new System.Windows.Forms.Padding(0);
     this.labelControlElectricMeter.Name = "labelControlElectricMeter";
     this.labelControlElectricMeter.Size = new System.Drawing.Size(46, 13);
     this.labelControlElectricMeter.TabIndex = 376;
     this.labelControlElectricMeter.Text = "ไฟฟ้า";
     //
     // groupControlStartDate
     //
     this.groupControlStartDate.AppearanceCaption.Options.UseTextOptions = true;
     this.groupControlStartDate.AppearanceCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.groupControlStartDate.Controls.Add(this.dateEditPhoneMeter);
     this.groupControlStartDate.Controls.Add(this.dateEditWaterMeter);
     this.groupControlStartDate.Controls.Add(this.dateEditElectricMeter);
     this.groupControlStartDate.Location = new System.Drawing.Point(84, 20);
     this.groupControlStartDate.Name = "groupControlStartDate";
     this.groupControlStartDate.Size = new System.Drawing.Size(101, 113);
     this.groupControlStartDate.TabIndex = 0;
     this.groupControlStartDate.Text = "วันที่บันทึก";
     //
     // dateEditPhoneMeter
     //
     this.dateEditPhoneMeter.EditValue = new System.DateTime(2013, 3, 3, 23, 57, 27, 0);
     this.dateEditPhoneMeter.Enabled = false;
     this.dateEditPhoneMeter.Location = new System.Drawing.Point(5, 77);
     this.dateEditPhoneMeter.Name = "dateEditPhoneMeter";
     this.dateEditPhoneMeter.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.dateEditPhoneMeter.Properties.Mask.EditMask = "dd/MM/yyyy";
     this.dateEditPhoneMeter.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.dateEditPhoneMeter.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.dateEditPhoneMeter.Size = new System.Drawing.Size(91, 20);
     this.dateEditPhoneMeter.TabIndex = 372;
     //
     // dateEditWaterMeter
     //
     this.dateEditWaterMeter.EditValue = new System.DateTime(2013, 3, 3, 23, 57, 27, 0);
     this.dateEditWaterMeter.Enabled = false;
     this.dateEditWaterMeter.Location = new System.Drawing.Point(5, 51);
     this.dateEditWaterMeter.Name = "dateEditWaterMeter";
     this.dateEditWaterMeter.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.dateEditWaterMeter.Properties.Mask.EditMask = "dd/MM/yyyy";
     this.dateEditWaterMeter.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.dateEditWaterMeter.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.dateEditWaterMeter.Size = new System.Drawing.Size(91, 20);
     this.dateEditWaterMeter.TabIndex = 371;
     //
     // dateEditElectricMeter
     //
     this.dateEditElectricMeter.EditValue = new System.DateTime(2013, 3, 3, 23, 57, 27, 0);
     this.dateEditElectricMeter.Enabled = false;
     this.dateEditElectricMeter.Location = new System.Drawing.Point(5, 25);
     this.dateEditElectricMeter.Name = "dateEditElectricMeter";
     this.dateEditElectricMeter.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.dateEditElectricMeter.Properties.Mask.EditMask = "dd/MM/yyyy";
     this.dateEditElectricMeter.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.dateEditElectricMeter.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.dateEditElectricMeter.Size = new System.Drawing.Size(91, 20);
     this.dateEditElectricMeter.TabIndex = 370;
     //
     // textEditMonthlyRate
     //
     this.textEditMonthlyRate.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditMonthlyRate.EditValue = "0.00";
     this.textEditMonthlyRate.Enabled = false;
     this.textEditMonthlyRate.Location = new System.Drawing.Point(103, 133);
     this.textEditMonthlyRate.Name = "textEditMonthlyRate";
     this.textEditMonthlyRate.Properties.Appearance.Options.UseTextOptions = true;
     this.textEditMonthlyRate.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.textEditMonthlyRate.Properties.DisplayFormat.FormatString = "n2";
     this.textEditMonthlyRate.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditMonthlyRate.Size = new System.Drawing.Size(108, 20);
     this.textEditMonthlyRate.TabIndex = 118;
     //
     // labelControlBath2
     //
     this.labelControlBath2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControlBath2.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlBath2.Location = new System.Drawing.Point(217, 189);
     this.labelControlBath2.Name = "labelControlBath2";
     this.labelControlBath2.Size = new System.Drawing.Size(61, 13);
     this.labelControlBath2.TabIndex = 115;
     this.labelControlBath2.Text = "บาท";
     //
     // labelControlMonth2
     //
     this.labelControlMonth2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControlMonth2.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlMonth2.Location = new System.Drawing.Point(217, 163);
     this.labelControlMonth2.Name = "labelControlMonth2";
     this.labelControlMonth2.Size = new System.Drawing.Size(61, 13);
     this.labelControlMonth2.TabIndex = 117;
     this.labelControlMonth2.Text = "เดือน";
     //
     // labelControlBath1
     //
     this.labelControlBath1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControlBath1.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlBath1.Location = new System.Drawing.Point(217, 137);
     this.labelControlBath1.Name = "labelControlBath1";
     this.labelControlBath1.Size = new System.Drawing.Size(61, 13);
     this.labelControlBath1.TabIndex = 112;
     this.labelControlBath1.Text = "บาท";
     //
     // textEditInsurance
     //
     this.textEditInsurance.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditInsurance.EditValue = "0";
     this.textEditInsurance.Enabled = false;
     this.textEditInsurance.Location = new System.Drawing.Point(103, 185);
     this.textEditInsurance.Name = "textEditInsurance";
     this.textEditInsurance.Properties.Appearance.Options.UseTextOptions = true;
     this.textEditInsurance.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.textEditInsurance.Properties.DisplayFormat.FormatString = "n2";
     this.textEditInsurance.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditInsurance.Size = new System.Drawing.Size(108, 20);
     this.textEditInsurance.TabIndex = 119;
     //
     // textEditAdvance
     //
     this.textEditAdvance.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditAdvance.EditValue = "0";
     this.textEditAdvance.Enabled = false;
     this.textEditAdvance.Location = new System.Drawing.Point(103, 159);
     this.textEditAdvance.Name = "textEditAdvance";
     this.textEditAdvance.Properties.Appearance.Options.UseTextOptions = true;
     this.textEditAdvance.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.textEditAdvance.Size = new System.Drawing.Size(108, 20);
     this.textEditAdvance.TabIndex = 120;
     //
     // labelControlInsurance
     //
     this.labelControlInsurance.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlInsurance.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlInsurance.Location = new System.Drawing.Point(5, 192);
     this.labelControlInsurance.Name = "labelControlInsurance";
     this.labelControlInsurance.Size = new System.Drawing.Size(92, 13);
     this.labelControlInsurance.TabIndex = 114;
     this.labelControlInsurance.Text = "ค่าประกัน :";
     //
     // labelControlBeforeRent
     //
     this.labelControlBeforeRent.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlBeforeRent.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlBeforeRent.Location = new System.Drawing.Point(5, 166);
     this.labelControlBeforeRent.Name = "labelControlBeforeRent";
     this.labelControlBeforeRent.Size = new System.Drawing.Size(92, 13);
     this.labelControlBeforeRent.TabIndex = 113;
     this.labelControlBeforeRent.Text = "ค่าเช่าล่วงหน้า :";
     //
     // labelControlMonthlyRate
     //
     this.labelControlMonthlyRate.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlMonthlyRate.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlMonthlyRate.Location = new System.Drawing.Point(5, 140);
     this.labelControlMonthlyRate.Name = "labelControlMonthlyRate";
     this.labelControlMonthlyRate.Size = new System.Drawing.Size(92, 13);
     this.labelControlMonthlyRate.TabIndex = 116;
     this.labelControlMonthlyRate.Text = "ค่าเช่า :";
     //
     // lookUpEditFloorId
     //
     this.lookUpEditFloorId.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.lookUpEditFloorId.Enabled = false;
     this.lookUpEditFloorId.Location = new System.Drawing.Point(103, 81);
     this.lookUpEditFloorId.Name = "lookUpEditFloorId";
     this.lookUpEditFloorId.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lookUpEditFloorId.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("floor_id", "floor_id", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default),
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("floor_code", "ชั้น")});
     this.lookUpEditFloorId.Size = new System.Drawing.Size(108, 20);
     this.lookUpEditFloorId.TabIndex = 111;
     //
     // labelControlFloor
     //
     this.labelControlFloor.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlFloor.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlFloor.Location = new System.Drawing.Point(16, 88);
     this.labelControlFloor.Name = "labelControlFloor";
     this.labelControlFloor.Size = new System.Drawing.Size(81, 13);
     this.labelControlFloor.TabIndex = 110;
     this.labelControlFloor.Text = "ชั้น :";
     //
     // textEditRoomLabel
     //
     this.textEditRoomLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditRoomLabel.Enabled = false;
     this.textEditRoomLabel.Location = new System.Drawing.Point(103, 29);
     this.textEditRoomLabel.Name = "textEditRoomLabel";
     this.textEditRoomLabel.Size = new System.Drawing.Size(108, 20);
     this.textEditRoomLabel.TabIndex = 107;
     //
     // labelControlRoomName
     //
     this.labelControlRoomName.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlRoomName.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlRoomName.Location = new System.Drawing.Point(16, 36);
     this.labelControlRoomName.Name = "labelControlRoomName";
     this.labelControlRoomName.Size = new System.Drawing.Size(81, 13);
     this.labelControlRoomName.TabIndex = 106;
     this.labelControlRoomName.Text = "ชื่อห้อง :";
     //
     // lookUpEditRoomTypeId
     //
     this.lookUpEditRoomTypeId.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.lookUpEditRoomTypeId.Enabled = false;
     this.lookUpEditRoomTypeId.Location = new System.Drawing.Point(103, 107);
     this.lookUpEditRoomTypeId.Name = "lookUpEditRoomTypeId";
     this.lookUpEditRoomTypeId.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lookUpEditRoomTypeId.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("roomtype_label", "ประเภทห้อง"),
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("roomtype_id", "roomtype_id", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default)});
     this.lookUpEditRoomTypeId.Size = new System.Drawing.Size(108, 20);
     this.lookUpEditRoomTypeId.TabIndex = 105;
     //
     // lookUpEditBuildingId
     //
     this.lookUpEditBuildingId.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.lookUpEditBuildingId.Enabled = false;
     this.lookUpEditBuildingId.Location = new System.Drawing.Point(103, 55);
     this.lookUpEditBuildingId.Name = "lookUpEditBuildingId";
     this.lookUpEditBuildingId.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lookUpEditBuildingId.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("building_label", "ชื่ออาคาร"),
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("building_id", "building_id", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default)});
     this.lookUpEditBuildingId.Size = new System.Drawing.Size(108, 20);
     this.lookUpEditBuildingId.TabIndex = 104;
     //
     // labelControlRoomType
     //
     this.labelControlRoomType.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlRoomType.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlRoomType.Location = new System.Drawing.Point(16, 114);
     this.labelControlRoomType.Name = "labelControlRoomType";
     this.labelControlRoomType.Size = new System.Drawing.Size(81, 13);
     this.labelControlRoomType.TabIndex = 102;
     this.labelControlRoomType.Text = "ประเภทห้อง :";
     //
     // labelControlBuilding
     //
     this.labelControlBuilding.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlBuilding.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlBuilding.Location = new System.Drawing.Point(16, 62);
     this.labelControlBuilding.Name = "labelControlBuilding";
     this.labelControlBuilding.Size = new System.Drawing.Size(81, 13);
     this.labelControlBuilding.TabIndex = 101;
     this.labelControlBuilding.Text = "อาคาร :";
     //
     // groupControlRental
     //
     this.groupControlRental.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlRental.AppearanceCaption.Options.UseFont = true;
     this.groupControlRental.Controls.Add(this.textEditDistrict);
     this.groupControlRental.Controls.Add(this.textEditProvince);
     this.groupControlRental.Controls.Add(this.groupOccupie);
     this.groupControlRental.Controls.Add(this.lookUpEditPrefix);
     this.groupControlRental.Controls.Add(this.bttSelectTenant);
     this.groupControlRental.Controls.Add(this.labelControl26);
     this.groupControlRental.Controls.Add(this.labelControl2);
     this.groupControlRental.Controls.Add(this.labelControl6);
     this.groupControlRental.Controls.Add(this.labelControl4);
     this.groupControlRental.Controls.Add(this.labelControl1);
     this.groupControlRental.Controls.Add(this.labelControl8);
     this.groupControlRental.Controls.Add(this.labelControl20);
     this.groupControlRental.Controls.Add(this.labelControl18);
     this.groupControlRental.Controls.Add(this.labelControl7);
     this.groupControlRental.Controls.Add(this.labelControl3);
     this.groupControlRental.Controls.Add(this.dateEditBirthDay);
     this.groupControlRental.Controls.Add(this.labelControlBirthday);
     this.groupControlRental.Controls.Add(this.labelControlDistrict);
     this.groupControlRental.Controls.Add(this.labelControlProvince);
     this.groupControlRental.Controls.Add(this.labelControlRequired);
     this.groupControlRental.Controls.Add(this.labelControlPhone);
     this.groupControlRental.Controls.Add(this.textEditPhone);
     this.groupControlRental.Controls.Add(this.textEditName);
     this.groupControlRental.Controls.Add(this.textEditRemark);
     this.groupControlRental.Controls.Add(this.textEditAddress);
     this.groupControlRental.Controls.Add(this.labelControlCarLicence);
     this.groupControlRental.Controls.Add(this.labelControlRemark);
     this.groupControlRental.Controls.Add(this.textEditCarLicence);
     this.groupControlRental.Controls.Add(this.labelControlAddress);
     this.groupControlRental.Controls.Add(this.labelControlIDCard);
     this.groupControlRental.Controls.Add(this.labelControlSurname);
     this.groupControlRental.Controls.Add(this.textEditIDCard);
     this.groupControlRental.Controls.Add(this.labelControlName);
     this.groupControlRental.Controls.Add(this.textEditSurname);
     this.groupControlRental.Controls.Add(this.labelControlPostcode);
     this.groupControlRental.Controls.Add(this.labelControlTitle);
     this.groupControlRental.Controls.Add(this.textEditPostcode);
     this.groupControlRental.Dock = System.Windows.Forms.DockStyle.Top;
     this.groupControlRental.Location = new System.Drawing.Point(0, 104);
     this.groupControlRental.Name = "groupControlRental";
     this.groupControlRental.Size = new System.Drawing.Size(593, 538);
     this.groupControlRental.TabIndex = 351;
     this.groupControlRental.Text = "ผู้เช่า";
     //
     // textEditDistrict
     //
     this.textEditDistrict.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditDistrict.EditValue = "";
     this.textEditDistrict.Enabled = false;
     this.textEditDistrict.Location = new System.Drawing.Point(213, 213);
     this.textEditDistrict.Name = "textEditDistrict";
     this.textEditDistrict.Properties.Mask.EditMask = "([a-zA-Z0-9|ก-๙|\\\' \']){1,200}";
     this.textEditDistrict.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditDistrict.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditDistrict.Properties.MaxLength = 200;
     this.textEditDistrict.Size = new System.Drawing.Size(263, 20);
     this.textEditDistrict.TabIndex = 451;
     //
     // textEditProvince
     //
     this.textEditProvince.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditProvince.EditValue = "";
     this.textEditProvince.Enabled = false;
     this.textEditProvince.Location = new System.Drawing.Point(213, 239);
     this.textEditProvince.Name = "textEditProvince";
     this.textEditProvince.Properties.Mask.EditMask = "([a-zA-Z0-9|ก-๙|\\\' \']){1,200}";
     this.textEditProvince.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditProvince.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditProvince.Properties.MaxLength = 200;
     this.textEditProvince.Size = new System.Drawing.Size(263, 20);
     this.textEditProvince.TabIndex = 450;
     //
     // groupOccupie
     //
     this.groupOccupie.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupOccupie.AppearanceCaption.Options.UseFont = true;
     this.groupOccupie.Controls.Add(this.bttRemoveTenant);
     this.groupOccupie.Controls.Add(this.bttAddTenant);
     this.groupOccupie.Controls.Add(this.gridControlRoommate);
     this.groupOccupie.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.groupOccupie.Location = new System.Drawing.Point(2, 395);
     this.groupOccupie.Name = "groupOccupie";
     this.groupOccupie.Size = new System.Drawing.Size(589, 141);
     this.groupOccupie.TabIndex = 449;
     this.groupOccupie.Text = "ผู้ร่วมอาศัย";
     //
     // bttRemoveTenant
     //
     this.bttRemoveTenant.Enabled = false;
     this.bttRemoveTenant.Location = new System.Drawing.Point(65, 104);
     this.bttRemoveTenant.Name = "bttRemoveTenant";
     this.bttRemoveTenant.Size = new System.Drawing.Size(57, 30);
     this.bttRemoveTenant.TabIndex = 312;
     this.bttRemoveTenant.Text = "ลบ";
     //
     // bttAddTenant
     //
     this.bttAddTenant.Enabled = false;
     this.bttAddTenant.Location = new System.Drawing.Point(5, 104);
     this.bttAddTenant.Name = "bttAddTenant";
     this.bttAddTenant.Size = new System.Drawing.Size(57, 30);
     this.bttAddTenant.TabIndex = 313;
     this.bttAddTenant.Text = "เพิ่ม";
     //
     // gridControlRoommate
     //
     this.gridControlRoommate.Dock = System.Windows.Forms.DockStyle.Top;
     this.gridControlRoommate.Enabled = false;
     this.gridControlRoommate.Location = new System.Drawing.Point(2, 22);
     this.gridControlRoommate.MainView = this.gridView2;
     this.gridControlRoommate.Name = "gridControlRoommate";
     this.gridControlRoommate.Size = new System.Drawing.Size(585, 76);
     this.gridControlRoommate.TabIndex = 311;
     this.gridControlRoommate.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridView2});
     //
     // gridView2
     //
     this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.grid_tenant_prefix,
     this.grid_tenant_firstname,
     this.grid_tenant_surname,
     this.grid_tenant_idcard,
     this.grid_tenant_tel});
     this.gridView2.GridControl = this.gridControlRoommate;
     this.gridView2.Name = "gridView2";
     this.gridView2.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridView2.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridView2.OptionsFind.AllowFindPanel = false;
     this.gridView2.OptionsFind.ShowCloseButton = false;
     this.gridView2.OptionsSelection.MultiSelect = true;
     this.gridView2.OptionsView.ShowGroupPanel = false;
     //
     // grid_tenant_prefix
     //
     this.grid_tenant_prefix.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_tenant_prefix.AppearanceHeader.Options.UseFont = true;
     this.grid_tenant_prefix.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_tenant_prefix.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_tenant_prefix.Caption = "คำนำหน้า";
     this.grid_tenant_prefix.FieldName = "tenant_roomate_prefix_text";
     this.grid_tenant_prefix.Name = "grid_tenant_prefix";
     this.grid_tenant_prefix.OptionsColumn.AllowEdit = false;
     this.grid_tenant_prefix.OptionsColumn.AllowFocus = false;
     this.grid_tenant_prefix.OptionsColumn.AllowIncrementalSearch = false;
     this.grid_tenant_prefix.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_tenant_prefix.OptionsColumn.AllowMove = false;
     this.grid_tenant_prefix.Visible = true;
     this.grid_tenant_prefix.VisibleIndex = 0;
     this.grid_tenant_prefix.Width = 81;
     //
     // grid_tenant_firstname
     //
     this.grid_tenant_firstname.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_tenant_firstname.AppearanceHeader.Options.UseFont = true;
     this.grid_tenant_firstname.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_tenant_firstname.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_tenant_firstname.Caption = "ชื่อ";
     this.grid_tenant_firstname.FieldName = "tenant_roomate_firstname";
     this.grid_tenant_firstname.Name = "grid_tenant_firstname";
     this.grid_tenant_firstname.OptionsColumn.AllowEdit = false;
     this.grid_tenant_firstname.OptionsColumn.AllowFocus = false;
     this.grid_tenant_firstname.OptionsColumn.AllowIncrementalSearch = false;
     this.grid_tenant_firstname.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_tenant_firstname.OptionsColumn.AllowMove = false;
     this.grid_tenant_firstname.UnboundType = DevExpress.Data.UnboundColumnType.Decimal;
     this.grid_tenant_firstname.Visible = true;
     this.grid_tenant_firstname.VisibleIndex = 1;
     this.grid_tenant_firstname.Width = 133;
     //
     // grid_tenant_surname
     //
     this.grid_tenant_surname.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_tenant_surname.AppearanceHeader.Options.UseFont = true;
     this.grid_tenant_surname.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_tenant_surname.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_tenant_surname.Caption = "นามสกุล";
     this.grid_tenant_surname.FieldName = "tenant_roomate_lastname";
     this.grid_tenant_surname.Name = "grid_tenant_surname";
     this.grid_tenant_surname.OptionsColumn.AllowEdit = false;
     this.grid_tenant_surname.OptionsColumn.AllowFocus = false;
     this.grid_tenant_surname.OptionsColumn.AllowIncrementalSearch = false;
     this.grid_tenant_surname.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_tenant_surname.OptionsColumn.AllowMove = false;
     this.grid_tenant_surname.UnboundType = DevExpress.Data.UnboundColumnType.Decimal;
     this.grid_tenant_surname.Visible = true;
     this.grid_tenant_surname.VisibleIndex = 2;
     this.grid_tenant_surname.Width = 149;
     //
     // grid_tenant_idcard
     //
     this.grid_tenant_idcard.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_tenant_idcard.AppearanceHeader.Options.UseFont = true;
     this.grid_tenant_idcard.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_tenant_idcard.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_tenant_idcard.Caption = "บัตรประชาชน/เลขที่หนังสือเดินทาง";
     this.grid_tenant_idcard.FieldName = "tenant_roomate_idcard";
     this.grid_tenant_idcard.Name = "grid_tenant_idcard";
     this.grid_tenant_idcard.OptionsColumn.AllowEdit = false;
     this.grid_tenant_idcard.OptionsColumn.AllowFocus = false;
     this.grid_tenant_idcard.OptionsColumn.AllowIncrementalSearch = false;
     this.grid_tenant_idcard.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_tenant_idcard.OptionsColumn.AllowMove = false;
     this.grid_tenant_idcard.Visible = true;
     this.grid_tenant_idcard.VisibleIndex = 3;
     this.grid_tenant_idcard.Width = 127;
     //
     // grid_tenant_tel
     //
     this.grid_tenant_tel.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.grid_tenant_tel.AppearanceHeader.Options.UseFont = true;
     this.grid_tenant_tel.AppearanceHeader.Options.UseTextOptions = true;
     this.grid_tenant_tel.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.grid_tenant_tel.Caption = "เบอร์ติดต่อ";
     this.grid_tenant_tel.FieldName = "tenant_roommatemobile_no";
     this.grid_tenant_tel.Name = "grid_tenant_tel";
     this.grid_tenant_tel.OptionsColumn.AllowEdit = false;
     this.grid_tenant_tel.OptionsColumn.AllowFocus = false;
     this.grid_tenant_tel.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False;
     this.grid_tenant_tel.OptionsColumn.AllowIncrementalSearch = false;
     this.grid_tenant_tel.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.grid_tenant_tel.OptionsColumn.AllowMove = false;
     this.grid_tenant_tel.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
     this.grid_tenant_tel.Visible = true;
     this.grid_tenant_tel.VisibleIndex = 4;
     this.grid_tenant_tel.Width = 60;
     //
     // lookUpEditPrefix
     //
     this.lookUpEditPrefix.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.lookUpEditPrefix.Enabled = false;
     this.lookUpEditPrefix.Location = new System.Drawing.Point(213, 31);
     this.lookUpEditPrefix.Name = "lookUpEditPrefix";
     this.lookUpEditPrefix.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lookUpEditPrefix.Size = new System.Drawing.Size(263, 20);
     this.lookUpEditPrefix.TabIndex = 448;
     //
     // bttSelectTenant
     //
     this.bttSelectTenant.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttSelectTenant.Enabled = false;
     this.bttSelectTenant.Image = global::DXWindowsApplication2.Properties.Resources.User32x32;
     this.bttSelectTenant.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttSelectTenant.Location = new System.Drawing.Point(494, 34);
     this.bttSelectTenant.Name = "bttSelectTenant";
     this.bttSelectTenant.Size = new System.Drawing.Size(86, 55);
     this.bttSelectTenant.TabIndex = 446;
     this.bttSelectTenant.Text = "เลือกผู้เช่า";
     //
     // labelControl26
     //
     this.labelControl26.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl26.Location = new System.Drawing.Point(8, 246);
     this.labelControl26.Name = "labelControl26";
     this.labelControl26.Size = new System.Drawing.Size(6, 13);
     this.labelControl26.TabIndex = 445;
     this.labelControl26.Text = "*";
     //
     // labelControl2
     //
     this.labelControl2.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl2.Location = new System.Drawing.Point(8, 220);
     this.labelControl2.Name = "labelControl2";
     this.labelControl2.Size = new System.Drawing.Size(6, 13);
     this.labelControl2.TabIndex = 442;
     this.labelControl2.Text = "*";
     //
     // labelControl6
     //
     this.labelControl6.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl6.Location = new System.Drawing.Point(8, 64);
     this.labelControl6.Name = "labelControl6";
     this.labelControl6.Size = new System.Drawing.Size(6, 13);
     this.labelControl6.TabIndex = 439;
     this.labelControl6.Text = "*";
     //
     // labelControl4
     //
     this.labelControl4.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl4.Location = new System.Drawing.Point(8, 90);
     this.labelControl4.Name = "labelControl4";
     this.labelControl4.Size = new System.Drawing.Size(6, 13);
     this.labelControl4.TabIndex = 439;
     this.labelControl4.Text = "*";
     //
     // labelControl1
     //
     this.labelControl1.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl1.Location = new System.Drawing.Point(8, 116);
     this.labelControl1.Name = "labelControl1";
     this.labelControl1.Size = new System.Drawing.Size(6, 13);
     this.labelControl1.TabIndex = 439;
     this.labelControl1.Text = "*";
     //
     // labelControl8
     //
     this.labelControl8.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl8.Location = new System.Drawing.Point(8, 167);
     this.labelControl8.Name = "labelControl8";
     this.labelControl8.Size = new System.Drawing.Size(6, 13);
     this.labelControl8.TabIndex = 439;
     this.labelControl8.Text = "*";
     //
     // labelControl20
     //
     this.labelControl20.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl20.Location = new System.Drawing.Point(8, 142);
     this.labelControl20.Name = "labelControl20";
     this.labelControl20.Size = new System.Drawing.Size(6, 13);
     this.labelControl20.TabIndex = 439;
     this.labelControl20.Text = "*";
     //
     // labelControl18
     //
     this.labelControl18.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl18.Location = new System.Drawing.Point(8, 38);
     this.labelControl18.Name = "labelControl18";
     this.labelControl18.Size = new System.Drawing.Size(6, 13);
     this.labelControl18.TabIndex = 437;
     this.labelControl18.Text = "*";
     //
     // labelControl7
     //
     this.labelControl7.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl7.Location = new System.Drawing.Point(8, 298);
     this.labelControl7.Name = "labelControl7";
     this.labelControl7.Size = new System.Drawing.Size(6, 13);
     this.labelControl7.TabIndex = 435;
     this.labelControl7.Text = "*";
     //
     // labelControl3
     //
     this.labelControl3.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl3.Location = new System.Drawing.Point(8, 272);
     this.labelControl3.Name = "labelControl3";
     this.labelControl3.Size = new System.Drawing.Size(6, 13);
     this.labelControl3.TabIndex = 435;
     this.labelControl3.Text = "*";
     //
     // dateEditBirthDay
     //
     this.dateEditBirthDay.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.dateEditBirthDay.EditValue = new System.DateTime(2011, 7, 18, 10, 11, 22, 586);
     this.dateEditBirthDay.Enabled = false;
     this.dateEditBirthDay.Location = new System.Drawing.Point(213, 135);
     this.dateEditBirthDay.Name = "dateEditBirthDay";
     this.dateEditBirthDay.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.dateEditBirthDay.Properties.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.dateEditBirthDay.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dateEditBirthDay.Properties.EditFormat.FormatString = "dd/MM/yyyy";
     this.dateEditBirthDay.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dateEditBirthDay.Properties.Mask.EditMask = "dd/MM/yyyy";
     this.dateEditBirthDay.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.dateEditBirthDay.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.dateEditBirthDay.Size = new System.Drawing.Size(263, 20);
     this.dateEditBirthDay.TabIndex = 433;
     //
     // labelControlBirthday
     //
     this.labelControlBirthday.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlBirthday.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlBirthday.Location = new System.Drawing.Point(88, 142);
     this.labelControlBirthday.Name = "labelControlBirthday";
     this.labelControlBirthday.Size = new System.Drawing.Size(115, 13);
     this.labelControlBirthday.TabIndex = 434;
     this.labelControlBirthday.Text = "วันเกิด :";
     //
     // labelControlDistrict
     //
     this.labelControlDistrict.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlDistrict.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlDistrict.Location = new System.Drawing.Point(60, 220);
     this.labelControlDistrict.Name = "labelControlDistrict";
     this.labelControlDistrict.Size = new System.Drawing.Size(143, 13);
     this.labelControlDistrict.TabIndex = 431;
     this.labelControlDistrict.Text = "อำเภอ / เขต :";
     //
     // labelControlProvince
     //
     this.labelControlProvince.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlProvince.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlProvince.Location = new System.Drawing.Point(88, 246);
     this.labelControlProvince.Name = "labelControlProvince";
     this.labelControlProvince.Size = new System.Drawing.Size(115, 13);
     this.labelControlProvince.TabIndex = 432;
     this.labelControlProvince.Text = "จังหวัด :";
     //
     // labelControlRequired
     //
     this.labelControlRequired.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControlRequired.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlRequired.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlRequired.Location = new System.Drawing.Point(84, 365);
     this.labelControlRequired.Name = "labelControlRequired";
     this.labelControlRequired.Size = new System.Drawing.Size(119, 13);
     this.labelControlRequired.TabIndex = 429;
     this.labelControlRequired.Text = "โปรดระบุ";
     //
     // labelControlPhone
     //
     this.labelControlPhone.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlPhone.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlPhone.Location = new System.Drawing.Point(67, 298);
     this.labelControlPhone.Name = "labelControlPhone";
     this.labelControlPhone.Size = new System.Drawing.Size(136, 13);
     this.labelControlPhone.TabIndex = 430;
     this.labelControlPhone.Text = "เบอร์ติดต่อ :";
     //
     // textEditPhone
     //
     this.textEditPhone.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditPhone.EditValue = "";
     this.textEditPhone.Enabled = false;
     this.textEditPhone.Location = new System.Drawing.Point(213, 291);
     this.textEditPhone.Name = "textEditPhone";
     this.textEditPhone.Properties.MaxLength = 50;
     this.textEditPhone.Size = new System.Drawing.Size(263, 20);
     this.textEditPhone.TabIndex = 420;
     //
     // textEditName
     //
     this.textEditName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditName.EditValue = "";
     this.textEditName.Enabled = false;
     this.textEditName.Location = new System.Drawing.Point(213, 57);
     this.textEditName.Name = "textEditName";
     this.textEditName.Properties.Mask.EditMask = "([a-zA-Z0-9|ก-๙|\\\' \']){1,200}";
     this.textEditName.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditName.Properties.MaxLength = 200;
     this.textEditName.Size = new System.Drawing.Size(263, 20);
     this.textEditName.TabIndex = 412;
     //
     // textEditRemark
     //
     this.textEditRemark.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditRemark.Enabled = false;
     this.textEditRemark.Location = new System.Drawing.Point(213, 343);
     this.textEditRemark.Name = "textEditRemark";
     this.textEditRemark.Properties.MaxLength = 500;
     this.textEditRemark.Size = new System.Drawing.Size(263, 46);
     this.textEditRemark.TabIndex = 415;
     //
     // textEditAddress
     //
     this.textEditAddress.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditAddress.EditValue = "";
     this.textEditAddress.Enabled = false;
     this.textEditAddress.Location = new System.Drawing.Point(213, 161);
     this.textEditAddress.Name = "textEditAddress";
     this.textEditAddress.Properties.MaxLength = 300;
     this.textEditAddress.Size = new System.Drawing.Size(263, 46);
     this.textEditAddress.TabIndex = 416;
     //
     // labelControlCarLicence
     //
     this.labelControlCarLicence.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlCarLicence.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlCarLicence.Location = new System.Drawing.Point(70, 324);
     this.labelControlCarLicence.Name = "labelControlCarLicence";
     this.labelControlCarLicence.Size = new System.Drawing.Size(133, 13);
     this.labelControlCarLicence.TabIndex = 428;
     this.labelControlCarLicence.Text = "ทะเบียนรถ :";
     //
     // labelControlRemark
     //
     this.labelControlRemark.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlRemark.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlRemark.Location = new System.Drawing.Point(75, 346);
     this.labelControlRemark.Name = "labelControlRemark";
     this.labelControlRemark.Size = new System.Drawing.Size(128, 13);
     this.labelControlRemark.TabIndex = 426;
     this.labelControlRemark.Text = "หมายเหตุ :";
     //
     // textEditCarLicence
     //
     this.textEditCarLicence.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditCarLicence.EditValue = "";
     this.textEditCarLicence.Enabled = false;
     this.textEditCarLicence.Location = new System.Drawing.Point(213, 317);
     this.textEditCarLicence.Name = "textEditCarLicence";
     this.textEditCarLicence.Properties.Mask.EditMask = "([a-zA-Z0-9|ก-๙|\\\' \']){0,20}";
     this.textEditCarLicence.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditCarLicence.Properties.MaxLength = 20;
     this.textEditCarLicence.Size = new System.Drawing.Size(263, 20);
     this.textEditCarLicence.TabIndex = 419;
     //
     // labelControlAddress
     //
     this.labelControlAddress.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlAddress.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlAddress.Location = new System.Drawing.Point(97, 164);
     this.labelControlAddress.Name = "labelControlAddress";
     this.labelControlAddress.Size = new System.Drawing.Size(106, 13);
     this.labelControlAddress.TabIndex = 427;
     this.labelControlAddress.Text = "ที่อยู่ :";
     //
     // labelControlIDCard
     //
     this.labelControlIDCard.AllowHtmlString = true;
     this.labelControlIDCard.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlIDCard.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlIDCard.Location = new System.Drawing.Point(17, 115);
     this.labelControlIDCard.Name = "labelControlIDCard";
     this.labelControlIDCard.Size = new System.Drawing.Size(186, 14);
     this.labelControlIDCard.TabIndex = 425;
     this.labelControlIDCard.Text = "บัตรประชาชน / เลขที่หนังสือเดินทาง :";
     //
     // labelControlSurname
     //
     this.labelControlSurname.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlSurname.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlSurname.Location = new System.Drawing.Point(78, 90);
     this.labelControlSurname.Name = "labelControlSurname";
     this.labelControlSurname.Size = new System.Drawing.Size(125, 13);
     this.labelControlSurname.TabIndex = 424;
     this.labelControlSurname.Text = "นามสกุล :";
     //
     // textEditIDCard
     //
     this.textEditIDCard.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditIDCard.EditValue = "";
     this.textEditIDCard.Enabled = false;
     this.textEditIDCard.Location = new System.Drawing.Point(213, 109);
     this.textEditIDCard.Name = "textEditIDCard";
     this.textEditIDCard.Properties.Mask.EditMask = "([0-9]){1,13}";
     this.textEditIDCard.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditIDCard.Properties.MaxLength = 13;
     this.textEditIDCard.Size = new System.Drawing.Size(263, 20);
     this.textEditIDCard.TabIndex = 414;
     //
     // labelControlName
     //
     this.labelControlName.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlName.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlName.Location = new System.Drawing.Point(104, 64);
     this.labelControlName.Name = "labelControlName";
     this.labelControlName.Size = new System.Drawing.Size(99, 13);
     this.labelControlName.TabIndex = 423;
     this.labelControlName.Text = "ชื่อ :";
     //
     // textEditSurname
     //
     this.textEditSurname.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditSurname.EditValue = "";
     this.textEditSurname.Enabled = false;
     this.textEditSurname.Location = new System.Drawing.Point(213, 83);
     this.textEditSurname.Name = "textEditSurname";
     this.textEditSurname.Properties.Mask.EditMask = "([a-zA-Z0-9|ก-๙|\\\' \']){1,200}";
     this.textEditSurname.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditSurname.Properties.MaxLength = 200;
     this.textEditSurname.Size = new System.Drawing.Size(263, 20);
     this.textEditSurname.TabIndex = 413;
     //
     // labelControlPostcode
     //
     this.labelControlPostcode.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlPostcode.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlPostcode.Location = new System.Drawing.Point(58, 272);
     this.labelControlPostcode.Name = "labelControlPostcode";
     this.labelControlPostcode.Size = new System.Drawing.Size(145, 13);
     this.labelControlPostcode.TabIndex = 421;
     this.labelControlPostcode.Text = "รหัสไปรษณีย์ :";
     //
     // labelControlTitle
     //
     this.labelControlTitle.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlTitle.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlTitle.Location = new System.Drawing.Point(39, 38);
     this.labelControlTitle.Name = "labelControlTitle";
     this.labelControlTitle.Size = new System.Drawing.Size(164, 13);
     this.labelControlTitle.TabIndex = 422;
     this.labelControlTitle.Text = "คำนำหน้า :";
     //
     // textEditPostcode
     //
     this.textEditPostcode.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textEditPostcode.EditValue = "";
     this.textEditPostcode.Enabled = false;
     this.textEditPostcode.Location = new System.Drawing.Point(213, 265);
     this.textEditPostcode.Name = "textEditPostcode";
     this.textEditPostcode.Properties.Mask.EditMask = "([0-9]){10}";
     this.textEditPostcode.Properties.MaxLength = 10;
     this.textEditPostcode.Size = new System.Drawing.Size(263, 20);
     this.textEditPostcode.TabIndex = 410;
     //
     // groupControlMoveIn
     //
     this.groupControlMoveIn.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlMoveIn.AppearanceCaption.Options.UseFont = true;
     this.groupControlMoveIn.Controls.Add(this.labelControl9);
     this.groupControlMoveIn.Controls.Add(this.lookUpEditContractType);
     this.groupControlMoveIn.Controls.Add(this.dateEditCheckInDate);
     this.groupControlMoveIn.Controls.Add(this.labelControlReservePrice);
     this.groupControlMoveIn.Controls.Add(this.labelControlMonth);
     this.groupControlMoveIn.Controls.Add(this.labelDaily);
     this.groupControlMoveIn.Controls.Add(this.labelControlMinimum);
     this.groupControlMoveIn.Controls.Add(this.labelControlRentType);
     this.groupControlMoveIn.Controls.Add(this.labelControlContractDate);
     this.groupControlMoveIn.Controls.Add(this.textEditDaily);
     this.groupControlMoveIn.Controls.Add(this.labelControlContractNo);
     this.groupControlMoveIn.Controls.Add(this.textEditMinimum);
     this.groupControlMoveIn.Controls.Add(this.textEditBooking);
     this.groupControlMoveIn.Controls.Add(this.textEditContractNo);
     this.groupControlMoveIn.Dock = System.Windows.Forms.DockStyle.Top;
     this.groupControlMoveIn.Location = new System.Drawing.Point(0, 0);
     this.groupControlMoveIn.Name = "groupControlMoveIn";
     this.groupControlMoveIn.Size = new System.Drawing.Size(593, 104);
     this.groupControlMoveIn.TabIndex = 350;
     this.groupControlMoveIn.Text = "ย้ายเข้า";
     //
     // labelControl9
     //
     this.labelControl9.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl9.Location = new System.Drawing.Point(5, 61);
     this.labelControl9.Name = "labelControl9";
     this.labelControl9.Size = new System.Drawing.Size(6, 13);
     this.labelControl9.TabIndex = 450;
     this.labelControl9.Text = "*";
     //
     // lookUpEditContractType
     //
     this.lookUpEditContractType.Enabled = false;
     this.lookUpEditContractType.Location = new System.Drawing.Point(107, 54);
     this.lookUpEditContractType.Name = "lookUpEditContractType";
     this.lookUpEditContractType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lookUpEditContractType.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("contracttype_id", "Name1", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default),
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("contracttype_label", " ")});
     this.lookUpEditContractType.Size = new System.Drawing.Size(123, 20);
     this.lookUpEditContractType.TabIndex = 435;
     //
     // dateEditCheckInDate
     //
     this.dateEditCheckInDate.EditValue = new System.DateTime(2013, 3, 3, 0, 0, 0, 0);
     this.dateEditCheckInDate.Enabled = false;
     this.dateEditCheckInDate.Location = new System.Drawing.Point(380, 29);
     this.dateEditCheckInDate.Name = "dateEditCheckInDate";
     this.dateEditCheckInDate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.dateEditCheckInDate.Properties.Mask.EditMask = "dd/MM/yyyy";
     this.dateEditCheckInDate.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.dateEditCheckInDate.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.dateEditCheckInDate.Size = new System.Drawing.Size(156, 20);
     this.dateEditCheckInDate.TabIndex = 434;
     //
     // labelControlReservePrice
     //
     this.labelControlReservePrice.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlReservePrice.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlReservePrice.Location = new System.Drawing.Point(5, 86);
     this.labelControlReservePrice.Margin = new System.Windows.Forms.Padding(0);
     this.labelControlReservePrice.Name = "labelControlReservePrice";
     this.labelControlReservePrice.Size = new System.Drawing.Size(99, 13);
     this.labelControlReservePrice.TabIndex = 354;
     this.labelControlReservePrice.Text = "จำนวนเงินจอง :";
     //
     // labelControlMonth
     //
     this.labelControlMonth.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlMonth.Location = new System.Drawing.Point(539, 61);
     this.labelControlMonth.Margin = new System.Windows.Forms.Padding(0);
     this.labelControlMonth.Name = "labelControlMonth";
     this.labelControlMonth.Size = new System.Drawing.Size(50, 13);
     this.labelControlMonth.TabIndex = 354;
     this.labelControlMonth.Text = "เดือน";
     //
     // labelDaily
     //
     this.labelDaily.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelDaily.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelDaily.Location = new System.Drawing.Point(233, 86);
     this.labelDaily.Margin = new System.Windows.Forms.Padding(0);
     this.labelDaily.Name = "labelDaily";
     this.labelDaily.Size = new System.Drawing.Size(144, 13);
     this.labelDaily.TabIndex = 354;
     this.labelDaily.Text = "จำนวนวัน :";
     //
     // labelControlMinimum
     //
     this.labelControlMinimum.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlMinimum.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlMinimum.Location = new System.Drawing.Point(233, 61);
     this.labelControlMinimum.Margin = new System.Windows.Forms.Padding(0);
     this.labelControlMinimum.Name = "labelControlMinimum";
     this.labelControlMinimum.Size = new System.Drawing.Size(144, 13);
     this.labelControlMinimum.TabIndex = 354;
     this.labelControlMinimum.Text = "ระยะเวลาเช่าขั้นต่ำ :";
     //
     // labelControlRentType
     //
     this.labelControlRentType.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlRentType.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlRentType.Location = new System.Drawing.Point(5, 61);
     this.labelControlRentType.Margin = new System.Windows.Forms.Padding(0);
     this.labelControlRentType.Name = "labelControlRentType";
     this.labelControlRentType.Size = new System.Drawing.Size(99, 13);
     this.labelControlRentType.TabIndex = 354;
     this.labelControlRentType.Text = "ประเภทการเช่า :";
     //
     // labelControlContractDate
     //
     this.labelControlContractDate.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlContractDate.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlContractDate.Location = new System.Drawing.Point(233, 36);
     this.labelControlContractDate.Margin = new System.Windows.Forms.Padding(0);
     this.labelControlContractDate.Name = "labelControlContractDate";
     this.labelControlContractDate.Size = new System.Drawing.Size(144, 13);
     this.labelControlContractDate.TabIndex = 354;
     this.labelControlContractDate.Text = "วันที่ทำสัญญา :";
     //
     // textEditDaily
     //
     this.textEditDaily.EditValue = "";
     this.textEditDaily.Enabled = false;
     this.textEditDaily.Location = new System.Drawing.Point(380, 79);
     this.textEditDaily.Name = "textEditDaily";
     this.textEditDaily.Properties.Appearance.Options.UseTextOptions = true;
     this.textEditDaily.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.textEditDaily.Properties.Mask.BeepOnError = true;
     this.textEditDaily.Properties.Mask.EditMask = "([0-9]){1,2}";
     this.textEditDaily.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditDaily.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditDaily.Properties.MaxLength = 2;
     this.textEditDaily.Properties.NullText = "0";
     this.textEditDaily.Properties.NullValuePrompt = "0";
     this.textEditDaily.Properties.NullValuePromptShowForEmptyValue = true;
     this.textEditDaily.Size = new System.Drawing.Size(156, 20);
     this.textEditDaily.TabIndex = 353;
     //
     // labelControlContractNo
     //
     this.labelControlContractNo.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.labelControlContractNo.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.labelControlContractNo.Location = new System.Drawing.Point(5, 36);
     this.labelControlContractNo.Margin = new System.Windows.Forms.Padding(0);
     this.labelControlContractNo.Name = "labelControlContractNo";
     this.labelControlContractNo.Size = new System.Drawing.Size(99, 13);
     this.labelControlContractNo.TabIndex = 354;
     this.labelControlContractNo.Text = "เลขที่สัญญา :";
     //
     // textEditMinimum
     //
     this.textEditMinimum.EditValue = "0";
     this.textEditMinimum.Enabled = false;
     this.textEditMinimum.Location = new System.Drawing.Point(380, 54);
     this.textEditMinimum.Name = "textEditMinimum";
     this.textEditMinimum.Properties.Appearance.Options.UseTextOptions = true;
     this.textEditMinimum.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.textEditMinimum.Properties.Mask.BeepOnError = true;
     this.textEditMinimum.Properties.Mask.EditMask = "([0-9]){1,2}";
     this.textEditMinimum.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditMinimum.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditMinimum.Properties.MaxLength = 2;
     this.textEditMinimum.Properties.NullText = "0";
     this.textEditMinimum.Properties.NullValuePrompt = "0";
     this.textEditMinimum.Properties.NullValuePromptShowForEmptyValue = true;
     this.textEditMinimum.Size = new System.Drawing.Size(156, 20);
     this.textEditMinimum.TabIndex = 353;
     //
     // textEditBooking
     //
     this.textEditBooking.EditValue = "0.00";
     this.textEditBooking.Enabled = false;
     this.textEditBooking.Location = new System.Drawing.Point(107, 79);
     this.textEditBooking.Name = "textEditBooking";
     this.textEditBooking.Properties.Appearance.Options.UseTextOptions = true;
     this.textEditBooking.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.textEditBooking.Properties.DisplayFormat.FormatString = "n2";
     this.textEditBooking.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditBooking.Properties.EditFormat.FormatString = "n2";
     this.textEditBooking.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.textEditBooking.Properties.Mask.BeepOnError = true;
     this.textEditBooking.Properties.Mask.EditMask = "0*([0-9]{1,6}|1000000)|0*([0-9]{1,6}|100000)\\.([0-9]){2}";
     this.textEditBooking.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.textEditBooking.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.textEditBooking.Properties.NullText = "0.00";
     this.textEditBooking.Properties.NullValuePrompt = "0.00";
     this.textEditBooking.Properties.NullValuePromptShowForEmptyValue = true;
     this.textEditBooking.Size = new System.Drawing.Size(123, 20);
     this.textEditBooking.TabIndex = 353;
     //
     // textEditContractNo
     //
     this.textEditContractNo.EditValue = "";
     this.textEditContractNo.Enabled = false;
     this.textEditContractNo.Location = new System.Drawing.Point(107, 29);
     this.textEditContractNo.Name = "textEditContractNo";
     this.textEditContractNo.Size = new System.Drawing.Size(123, 20);
     this.textEditContractNo.TabIndex = 353;
     //
     // panelControl1
     //
     this.panelControl1.Controls.Add(this.textEditTenantID);
     this.panelControl1.Controls.Add(this.textEditRoomId);
     this.panelControl1.Controls.Add(this.textEditRoomCode);
     this.panelControl1.Controls.Add(this.bttPrint);
     this.panelControl1.Controls.Add(this.bttEdit);
     this.panelControl1.Controls.Add(this.bttCancel);
     this.panelControl1.Controls.Add(this.bttSave);
     this.panelControl1.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.panelControl1.Location = new System.Drawing.Point(0, 468);
     this.panelControl1.Name = "panelControl1";
     this.panelControl1.Size = new System.Drawing.Size(610, 66);
     this.panelControl1.TabIndex = 76;
     //
     // textEditTenantID
     //
     this.textEditTenantID.EditValue = "";
     this.textEditTenantID.Enabled = false;
     this.textEditTenantID.Location = new System.Drawing.Point(135, 32);
     this.textEditTenantID.Name = "textEditTenantID";
     this.textEditTenantID.Size = new System.Drawing.Size(28, 20);
     this.textEditTenantID.TabIndex = 365;
     this.textEditTenantID.Visible = false;
     //
     // textEditRoomId
     //
     this.textEditRoomId.EditValue = "";
     this.textEditRoomId.Enabled = false;
     this.textEditRoomId.Location = new System.Drawing.Point(101, 32);
     this.textEditRoomId.Name = "textEditRoomId";
     this.textEditRoomId.Size = new System.Drawing.Size(28, 20);
     this.textEditRoomId.TabIndex = 365;
     this.textEditRoomId.Visible = false;
     //
     // textEditRoomCode
     //
     this.textEditRoomCode.EditValue = "";
     this.textEditRoomCode.Enabled = false;
     this.textEditRoomCode.Location = new System.Drawing.Point(101, 6);
     this.textEditRoomCode.Name = "textEditRoomCode";
     this.textEditRoomCode.Size = new System.Drawing.Size(50, 20);
     this.textEditRoomCode.TabIndex = 360;
     this.textEditRoomCode.Visible = false;
     //
     // bttPrint
     //
     this.bttPrint.Enabled = false;
     this.bttPrint.Image = global::DXWindowsApplication2.Properties.Resources.print;
     this.bttPrint.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttPrint.Location = new System.Drawing.Point(5, 6);
     this.bttPrint.Name = "bttPrint";
     this.bttPrint.Size = new System.Drawing.Size(90, 54);
     this.bttPrint.TabIndex = 357;
     this.bttPrint.Text = "พิมพ์สัญญาเช่า";
     //
     // bttEdit
     //
     this.bttEdit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttEdit.Image = global::DXWindowsApplication2.Properties.Resources.edit;
     this.bttEdit.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttEdit.Location = new System.Drawing.Point(383, 5);
     this.bttEdit.Name = "bttEdit";
     this.bttEdit.Size = new System.Drawing.Size(70, 55);
     this.bttEdit.TabIndex = 19;
     this.bttEdit.Text = "แก้ไขข้อมูล";
     //
     // bttCancel
     //
     this.bttCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttCancel.Enabled = false;
     this.bttCancel.Image = global::DXWindowsApplication2.Properties.Resources.Close;
     this.bttCancel.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttCancel.Location = new System.Drawing.Point(535, 5);
     this.bttCancel.Name = "bttCancel";
     this.bttCancel.Size = new System.Drawing.Size(70, 55);
     this.bttCancel.TabIndex = 22;
     this.bttCancel.Text = "ยกเลิก";
     //
     // bttSave
     //
     this.bttSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.bttSave.Enabled = false;
     this.bttSave.Image = global::DXWindowsApplication2.Properties.Resources.save;
     this.bttSave.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttSave.Location = new System.Drawing.Point(459, 5);
     this.bttSave.Name = "bttSave";
     this.bttSave.Size = new System.Drawing.Size(70, 55);
     this.bttSave.TabIndex = 21;
     this.bttSave.Text = "บันทึก";
     //
     // RoomCheckin
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.splitContainerControl2);
     this.Name = "RoomCheckin";
     this.Padding = new System.Windows.Forms.Padding(7);
     this.Size = new System.Drawing.Size(1173, 548);
     ((System.ComponentModel.ISupportInitialize)(this.groupControlList)).EndInit();
     this.groupControlList.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlRoom)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewRoom)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).EndInit();
     this.splitContainerControl2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit();
     this.panelControl3.ResumeLayout(false);
     this.xtraScrollableControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupExpense)).EndInit();
     this.groupExpense.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlExpense)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupRoomInfo)).EndInit();
     this.groupRoomInfo.ResumeLayout(false);
     this.groupBoxValue.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.textEditWaterMeterId.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditElectricMeterId.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlStartMeter)).EndInit();
     this.groupControlStartMeter.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.textEditWaterMeter.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditElectricMeter.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlStartDate)).EndInit();
     this.groupControlStartDate.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dateEditPhoneMeter.Properties.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditPhoneMeter.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditWaterMeter.Properties.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditWaterMeter.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditElectricMeter.Properties.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditElectricMeter.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditMonthlyRate.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditInsurance.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditAdvance.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditFloorId.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomLabel.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditRoomTypeId.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditBuildingId.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlRental)).EndInit();
     this.groupControlRental.ResumeLayout(false);
     this.groupControlRental.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEditDistrict.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditProvince.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupOccupie)).EndInit();
     this.groupOccupie.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlRoommate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditPrefix.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditBirthDay.Properties.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditBirthDay.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditPhone.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditName.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRemark.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditAddress.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditCarLicence.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditIDCard.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditSurname.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditPostcode.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlMoveIn)).EndInit();
     this.groupControlMoveIn.ResumeLayout(false);
     this.groupControlMoveIn.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditContractType.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditCheckInDate.Properties.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEditCheckInDate.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditDaily.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditMinimum.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditBooking.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditContractNo.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
     this.panelControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.textEditTenantID.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomId.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEditRoomCode.Properties)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #20
0
 /// <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();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmChuongTrinh));
     DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject();
     DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject();
     DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject();
     DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject();
     DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject5 = new DevExpress.Utils.SerializableAppearanceObject();
     this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
     this.btnClose = new DevExpress.XtraEditors.SimpleButton();
     this.btnDelete = new DevExpress.XtraEditors.SimpleButton();
     this.btnDeleteRealy = new DevExpress.XtraEditors.SimpleButton();
     this.btnRestore = new DevExpress.XtraEditors.SimpleButton();
     this.btnSave = new DevExpress.XtraEditors.SimpleButton();
     this.InPhieu = new DevExpress.XtraEditors.DropDownButton();
     this.ctMnuInPhieu = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.NghiepVu = new DevExpress.XtraEditors.DropDownButton();
     this.ctMnuNghiepVu = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.Duyet = new ProtocolVN.Framework.Win.PLDuyetCombobox();
     this.flowLayoutPanel2 = new System.Windows.Forms.FlowLayoutPanel();
     this.label7 = new DevExpress.XtraEditors.LabelControl();
     this.label8 = new DevExpress.XtraEditors.LabelControl();
     this.KyHieuPhanLoai = new DevExpress.XtraEditors.TextEdit();
     this.label21 = new DevExpress.XtraEditors.LabelControl();
     this.label22 = new DevExpress.XtraEditors.LabelControl();
     this.label2 = new DevExpress.XtraEditors.LabelControl();
     this.label4 = new DevExpress.XtraEditors.LabelControl();
     this.label5 = new DevExpress.XtraEditors.LabelControl();
     this.label15 = new DevExpress.XtraEditors.LabelControl();
     this.lblTitle = new DevExpress.XtraEditors.LabelControl();
     this.KyHieuXepKho_KHPL = new DevExpress.XtraEditors.TextEdit();
     this.groupControlThongTinPhatSong = new DevExpress.XtraEditors.GroupControl();
     this.ReleaseDate = new DevExpress.XtraEditors.DateEdit();
     this.SoRunConlai = new DevExpress.XtraEditors.SpinEdit();
     this.ReleaseRun = new DevExpress.XtraEditors.SpinEdit();
     this.Release = new DevExpress.XtraEditors.SpinEdit();
     this.SoDaRun = new DevExpress.XtraEditors.SpinEdit();
     this.gridControlPhatSongKhac = new DevExpress.XtraGrid.GridControl();
     this.gridviewPhatSongKhac = new DevExpress.XtraGrid.Views.Grid.PLGridView();
     this.ColPSK_Kenh = new DevExpress.XtraGrid.Columns.GridColumn();
     this.ColPSK_TuNgay = new DevExpress.XtraGrid.Columns.GridColumn();
     this.ColPSK_DenNgay = new DevExpress.XtraGrid.Columns.GridColumn();
     this.ColPSK_LanPhat = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridControlNgayPhatDauTien = new DevExpress.XtraGrid.GridControl();
     this.gridViewNgayPhatDauTien = new DevExpress.XtraGrid.Views.Grid.PLGridView();
     this.ColKenhPhatSong = new DevExpress.XtraGrid.Columns.GridColumn();
     this.ColIsPhatLai = new DevExpress.XtraGrid.Columns.GridColumn();
     this.ColNgayPhatStart = new DevExpress.XtraGrid.Columns.GridColumn();
     this.ColNgayPhatEnd = new DevExpress.XtraGrid.Columns.GridColumn();
     this.ColTimeSlot = new DevExpress.XtraGrid.Columns.GridColumn();
     this.ColLanPhat = new DevExpress.XtraGrid.Columns.GridColumn();
     this.labelControl8 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl9 = new DevExpress.XtraEditors.LabelControl();
     this.RunThu = new DevExpress.XtraEditors.SpinEdit();
     this.TongSoRun = new DevExpress.XtraEditors.SpinEdit();
     this.labelControl20 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl19 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl6 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl24 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl21 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl15 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl10 = new DevExpress.XtraEditors.LabelControl();
     this.ReleaseRule = new DevExpress.XtraEditors.MemoEdit();
     this.MuaKem = new DevExpress.XtraEditors.MemoEdit();
     this.Rating = new DevExpress.XtraEditors.CalcEdit();
     this.DoiTuongKhanGia = new ProtocolVN.Framework.Win.PLMultiCombobox();
     this.label14 = new DevExpress.XtraEditors.LabelControl();
     this.groupControlNguonGoc = new DevExpress.XtraEditors.GroupControl();
     this.NoteBQ = new DevExpress.XtraEditors.MemoEdit();
     this.gridControlThongTinBan = new DevExpress.XtraGrid.GridControl();
     this.gridViewThongTinBan = new DevExpress.XtraGrid.Views.Grid.PLGridView();
     this.ColKenhBan = new DevExpress.XtraGrid.Columns.GridColumn();
     this.ColNgayBanTu = new DevExpress.XtraGrid.Columns.GridColumn();
     this.ColNgayBanDen = new DevExpress.XtraGrid.Columns.GridColumn();
     this.groupControl7 = new DevExpress.XtraEditors.GroupControl();
     this.DonViHauKy = new ProtocolVN.App.VideoLibrary.PLTextEditAutocomplete();
     this.HangSanXuat = new ProtocolVN.Framework.Win.PLDMGrid();
     this.DonViSoHuu = new ProtocolVN.Framework.Win.PLDMGrid();
     this.NamSanXuat = new DevExpress.XtraEditors.PLSpinEdit();
     this.labelControl33 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl32 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl7 = new DevExpress.XtraEditors.LabelControl();
     this.QuocGia = new ProtocolVN.Framework.Win.PLMultiCombobox();
     this.label25 = new DevExpress.XtraEditors.LabelControl();
     this.KenhHanCheBan = new ProtocolVN.Framework.Win.PLMultiCombobox();
     this.DonViCungCap = new ProtocolVN.Framework.Win.PLDMGrid();
     this.labelControl17 = new DevExpress.XtraEditors.LabelControl();
     this.groupControl1 = new DevExpress.XtraEditors.GroupControl();
     this.BanQuyenHTV = new DevExpress.XtraEditors.DateEdit();
     this.BanQuyenDIDEnd = new DevExpress.XtraEditors.DateEdit();
     this.BanQuyenDTNNEnd = new DevExpress.XtraEditors.DateEdit();
     this.BanQuyenDIDStart = new DevExpress.XtraEditors.DateEdit();
     this.BanQuyenDTNNStart = new DevExpress.XtraEditors.DateEdit();
     this.ChanelRight = new ProtocolVN.Framework.Win.PLMultiCombobox();
     this.labelControl25 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl26 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl27 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl28 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl29 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl30 = new DevExpress.XtraEditors.LabelControl();
     this.BanQuyenThuoc = new ProtocolVN.Framework.Win.PLDMGrid();
     this.labelControl31 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl14 = new DevExpress.XtraEditors.LabelControl();
     this.DaoDien = new ProtocolVN.Framework.Win.PLMultiCombobox();
     this.groupControlThongTin = new DevExpress.XtraEditors.GroupControl();
     this.gridControlGhiChu = new DevExpress.XtraGrid.GridControl();
     this.gridViewGhiChu = new DevExpress.XtraGrid.Views.Grid.PLGridView();
     this.colLoaiGhiChu = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colNoiDungGhiChu = new DevExpress.XtraGrid.Columns.GridColumn();
     this.labelControl34 = new DevExpress.XtraEditors.LabelControl();
     this.PhanLoaiDrama = new ProtocolVN.App.VideoLibrary.PLTextEditAutocomplete();
     this.barManager1 = new DevExpress.XtraBars.BarManager(this.components);
     this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
     this.labelControl18 = new DevExpress.XtraEditors.LabelControl();
     this.NguonTrading = new ProtocolVN.App.VideoLibrary.PLTextEditAutocomplete();
     this.ClassName = new ProtocolVN.App.VideoLibrary.PLTextEditAutocomplete();
     this.labelControl23 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl13 = new DevExpress.XtraEditors.LabelControl();
     this.Code = new DevExpress.XtraEditors.TextEdit();
     this.TenGoc = new ProtocolVN.App.VideoLibrary.PLTextEditAutocomplete();
     this.NoiDung = new ProtocolVN.App.VideoLibrary.PLTextEditAutocomplete();
     this.Period = new ProtocolVN.App.VideoLibrary.PLTextEditAutocomplete();
     this.Category = new ProtocolVN.App.VideoLibrary.PLTextEditAutocomplete();
     this.TrailerGoc = new DevExpress.XtraEditors.CheckEdit();
     this.Photos = new DevExpress.XtraEditors.CheckEdit();
     this.Script = new DevExpress.XtraEditors.CheckEdit();
     this.ckcMoiTrenThiTruong = new DevExpress.XtraEditors.CheckEdit();
     this.ckcTrongKho = new DevExpress.XtraEditors.CheckEdit();
     this.ThanhLy = new DevExpress.XtraEditors.CheckEdit();
     this.groupControl8 = new DevExpress.XtraEditors.GroupControl();
     this.KyHieuXepKho_NoiDung = new DevExpress.XtraEditors.TextEdit();
     this.textEdit1 = new DevExpress.XtraEditors.TextEdit();
     this.Ranking = new ProtocolVN.Framework.Win.PLDMGrid();
     this.DienVien = new ProtocolVN.Framework.Win.PLMultiCombobox();
     this.labelControl22 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl16 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl12 = new DevExpress.XtraEditors.LabelControl();
     this.label24 = new DevExpress.XtraEditors.LabelControl();
     this.TuKhoaSelect = new ProtocolVN.Framework.Win.PLMultiCombobox();
     this.labelControl11 = new DevExpress.XtraEditors.LabelControl();
     this.NgayAWB = new DevExpress.XtraEditors.DateEdit();
     this.TomTatNoiDung = new DevExpress.XtraEditors.MemoEdit();
     this.GhiChu = new DevExpress.XtraEditors.MemoEdit();
     this.TuKhoaText = new DevExpress.XtraEditors.MemoEdit();
     this.label20 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
     this.label33 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl5 = new DevExpress.XtraEditors.LabelControl();
     this.label36 = new DevExpress.XtraEditors.LabelControl();
     this.Info = new ProtocolVN.Framework.Win.PLInfoBoxEtx();
     this.TinhTrangBang = new ProtocolVN.Framework.Win.PLDMGrid();
     this.TietMuc = new ProtocolVN.Framework.Win.PLDMGrid();
     this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
     this.MaChuongTrinh = new DevExpress.XtraEditors.TextEdit();
     this.label42 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
     this.xtraTabControlMain = new DevExpress.XtraTab.XtraTabControl();
     this.xtraTabPageChuongTrinh = new DevExpress.XtraTab.XtraTabPage();
     this.xtraScrollableControl1 = new DevExpress.XtraEditors.XtraScrollableControl();
     this.xtraTabPageAdd = new DevExpress.XtraTab.XtraTabPage();
     this.popupMenuTab = new DevExpress.XtraBars.PopupMenu(this.components);
     this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
     this.flowLayoutPanel1.SuspendLayout();
     this.flowLayoutPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.KyHieuPhanLoai.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.KyHieuXepKho_KHPL.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlThongTinPhatSong)).BeginInit();
     this.groupControlThongTinPhatSong.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ReleaseDate.Properties.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ReleaseDate.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.SoRunConlai.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ReleaseRun.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.Release.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.SoDaRun.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlPhatSongKhac)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridviewPhatSongKhac)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlNgayPhatDauTien)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewNgayPhatDauTien)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.RunThu.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.TongSoRun.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ReleaseRule.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.MuaKem.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.Rating.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.DoiTuongKhanGia.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlNguonGoc)).BeginInit();
     this.groupControlNguonGoc.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.NoteBQ.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlThongTinBan)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewThongTinBan)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl7)).BeginInit();
     this.groupControl7.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.DonViHauKy.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.NamSanXuat.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.QuocGia.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.KenhHanCheBan.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit();
     this.groupControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.BanQuyenHTV.Properties.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.BanQuyenHTV.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.BanQuyenDIDEnd.Properties.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.BanQuyenDIDEnd.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.BanQuyenDTNNEnd.Properties.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.BanQuyenDTNNEnd.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.BanQuyenDIDStart.Properties.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.BanQuyenDIDStart.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.BanQuyenDTNNStart.Properties.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.BanQuyenDTNNStart.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ChanelRight.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.DaoDien.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlThongTin)).BeginInit();
     this.groupControlThongTin.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlGhiChu)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewGhiChu)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.PhanLoaiDrama.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.NguonTrading.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ClassName.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.Code.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.TenGoc.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.NoiDung.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.Period.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.Category.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.TrailerGoc.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.Photos.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.Script.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ckcMoiTrenThiTruong.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ckcTrongKho.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ThanhLy.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl8)).BeginInit();
     this.groupControl8.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.KyHieuXepKho_NoiDung.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.DienVien.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.TuKhoaSelect.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.NgayAWB.Properties.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.NgayAWB.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.TomTatNoiDung.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.GhiChu.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.TuKhoaText.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.MaChuongTrinh.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabControlMain)).BeginInit();
     this.xtraTabControlMain.SuspendLayout();
     this.xtraTabPageChuongTrinh.SuspendLayout();
     this.xtraScrollableControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenuTab)).BeginInit();
     this.SuspendLayout();
     //
     // flowLayoutPanel1
     //
     this.flowLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.flowLayoutPanel1.Controls.Add(this.btnClose);
     this.flowLayoutPanel1.Controls.Add(this.btnDelete);
     this.flowLayoutPanel1.Controls.Add(this.btnDeleteRealy);
     this.flowLayoutPanel1.Controls.Add(this.btnRestore);
     this.flowLayoutPanel1.Controls.Add(this.btnSave);
     this.flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
     this.flowLayoutPanel1.Location = new System.Drawing.Point(626, 716);
     this.flowLayoutPanel1.Name = "flowLayoutPanel1";
     this.flowLayoutPanel1.Size = new System.Drawing.Size(415, 31);
     this.flowLayoutPanel1.TabIndex = 4;
     //
     // btnClose
     //
     this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnClose.Location = new System.Drawing.Point(337, 3);
     this.btnClose.Name = "btnClose";
     this.btnClose.Size = new System.Drawing.Size(75, 23);
     this.btnClose.TabIndex = 2;
     this.btnClose.Text = "Đ&óng";
     this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
     //
     // btnDelete
     //
     this.btnDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnDelete.Location = new System.Drawing.Point(256, 3);
     this.btnDelete.Name = "btnDelete";
     this.btnDelete.Size = new System.Drawing.Size(75, 23);
     this.btnDelete.TabIndex = 1;
     this.btnDelete.Text = "&Xóa";
     this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
     //
     // btnDeleteRealy
     //
     this.btnDeleteRealy.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnDeleteRealy.Location = new System.Drawing.Point(175, 3);
     this.btnDeleteRealy.Name = "btnDeleteRealy";
     this.btnDeleteRealy.Size = new System.Drawing.Size(75, 23);
     this.btnDeleteRealy.TabIndex = 1;
     this.btnDeleteRealy.Text = "&Xóa hẳn";
     this.btnDeleteRealy.Visible = false;
     this.btnDeleteRealy.Click += new System.EventHandler(this.btnDeleteRealy_Click);
     //
     // btnRestore
     //
     this.btnRestore.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnRestore.Location = new System.Drawing.Point(94, 3);
     this.btnRestore.Name = "btnRestore";
     this.btnRestore.Size = new System.Drawing.Size(75, 23);
     this.btnRestore.TabIndex = 1;
     this.btnRestore.Text = "&Phục hồi";
     this.btnRestore.Visible = false;
     this.btnRestore.Click += new System.EventHandler(this.btnRestore_Click);
     //
     // btnSave
     //
     this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnSave.Location = new System.Drawing.Point(13, 3);
     this.btnSave.Name = "btnSave";
     this.btnSave.Size = new System.Drawing.Size(75, 23);
     this.btnSave.TabIndex = 0;
     this.btnSave.Text = "&Lưu";
     this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
     //
     // InPhieu
     //
     this.InPhieu.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.InPhieu.Location = new System.Drawing.Point(30, 3);
     this.InPhieu.Name = "InPhieu";
     this.InPhieu.Size = new System.Drawing.Size(81, 23);
     this.InPhieu.TabIndex = 1;
     this.InPhieu.Text = "&In nhãn";
     //
     // ctMnuInPhieu
     //
     this.ctMnuInPhieu.Name = "contextMenuStrip2";
     this.ctMnuInPhieu.Size = new System.Drawing.Size(61, 4);
     //
     // NghiepVu
     //
     this.NghiepVu.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.NghiepVu.Location = new System.Drawing.Point(117, 3);
     this.NghiepVu.Name = "NghiepVu";
     this.NghiepVu.Size = new System.Drawing.Size(81, 23);
     this.NghiepVu.TabIndex = 2;
     this.NghiepVu.Text = "Nghiệp vụ";
     this.NghiepVu.Visible = false;
     //
     // ctMnuNghiepVu
     //
     this.ctMnuNghiepVu.Name = "contextMenuStrip3";
     this.ctMnuNghiepVu.Size = new System.Drawing.Size(61, 4);
     //
     // Duyet
     //
     this.Duyet.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.Duyet.Enabled = false;
     this.Duyet.Location = new System.Drawing.Point(3, 6);
     this.Duyet.Name = "Duyet";
     this.Duyet.Size = new System.Drawing.Size(21, 20);
     this.Duyet.TabIndex = 0;
     this.Duyet.Visible = false;
     //
     // flowLayoutPanel2
     //
     this.flowLayoutPanel2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.flowLayoutPanel2.Controls.Add(this.Duyet);
     this.flowLayoutPanel2.Controls.Add(this.InPhieu);
     this.flowLayoutPanel2.Controls.Add(this.NghiepVu);
     this.flowLayoutPanel2.Location = new System.Drawing.Point(6, 716);
     this.flowLayoutPanel2.Name = "flowLayoutPanel2";
     this.flowLayoutPanel2.Size = new System.Drawing.Size(218, 31);
     this.flowLayoutPanel2.TabIndex = 3;
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(638, 52);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(40, 13);
     this.label7.TabIndex = 0;
     this.label7.Text = "Tiết mục";
     //
     // label8
     //
     this.label8.Location = new System.Drawing.Point(9, 76);
     this.label8.Name = "label8";
     this.label8.Size = new System.Drawing.Size(82, 13);
     this.label8.TabIndex = 0;
     this.label8.Text = "Tên chương trình";
     //
     // KyHieuPhanLoai
     //
     this.KyHieuPhanLoai.Location = new System.Drawing.Point(405, 165);
     this.KyHieuPhanLoai.Name = "KyHieuPhanLoai";
     this.KyHieuPhanLoai.Properties.Appearance.Options.UseTextOptions = true;
     this.KyHieuPhanLoai.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.KyHieuPhanLoai.Size = new System.Drawing.Size(227, 20);
     this.KyHieuPhanLoai.TabIndex = 11;
     this.KyHieuPhanLoai.Validated += new System.EventHandler(this.KyHieuPhanLoai_Validated);
     //
     // label21
     //
     this.label21.Location = new System.Drawing.Point(343, 168);
     this.label21.Name = "label21";
     this.label21.Size = new System.Drawing.Size(24, 13);
     this.label21.TabIndex = 0;
     this.label21.Text = "KHPL";
     this.label21.ToolTip = "Ký hiệu phân loại";
     //
     // label22
     //
     this.label22.Appearance.ForeColor = System.Drawing.Color.Blue;
     this.label22.Appearance.Options.UseForeColor = true;
     this.label22.Location = new System.Drawing.Point(345, 191);
     this.label22.Name = "label22";
     this.label22.Size = new System.Drawing.Size(25, 13);
     this.label22.TabIndex = 0;
     this.label22.Text = "KHXK";
     this.label22.ToolTip = "Ký hiệu xếp kho";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(5, 33);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(67, 13);
     this.label2.TabIndex = 0;
     this.label2.Text = "Đơn vị sở hữu";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(5, 10);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(77, 13);
     this.label4.TabIndex = 0;
     this.label4.Text = "Đơn vị cung cấp";
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(9, 100);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(43, 13);
     this.label5.TabIndex = 0;
     this.label5.Text = "Đạo diễn";
     //
     // label15
     //
     this.label15.Location = new System.Drawing.Point(639, 122);
     this.label15.Name = "label15";
     this.label15.Size = new System.Drawing.Size(46, 13);
     this.label15.TabIndex = 0;
     this.label15.Text = "Rating TB";
     this.label15.ToolTip = "Rating trung bình";
     //
     // lblTitle
     //
     this.lblTitle.Appearance.Font = new System.Drawing.Font("Tahoma", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblTitle.Appearance.Options.UseFont = true;
     this.lblTitle.Appearance.Options.UseTextOptions = true;
     this.lblTitle.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.lblTitle.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.lblTitle.Dock = System.Windows.Forms.DockStyle.Top;
     this.lblTitle.Location = new System.Drawing.Point(0, 0);
     this.lblTitle.Name = "lblTitle";
     this.lblTitle.Size = new System.Drawing.Size(1049, 38);
     this.lblTitle.TabIndex = 0;
     this.lblTitle.Text = "CHƯƠNG TRÌNH";
     //
     // KyHieuXepKho_KHPL
     //
     this.KyHieuXepKho_KHPL.Location = new System.Drawing.Point(3, 1);
     this.KyHieuXepKho_KHPL.Name = "KyHieuXepKho_KHPL";
     this.KyHieuXepKho_KHPL.Properties.AppearanceReadOnly.Options.UseTextOptions = true;
     this.KyHieuXepKho_KHPL.Properties.AppearanceReadOnly.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.KyHieuXepKho_KHPL.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.KyHieuXepKho_KHPL.Properties.ReadOnly = true;
     this.KyHieuXepKho_KHPL.Size = new System.Drawing.Size(221, 18);
     this.KyHieuXepKho_KHPL.TabIndex = 0;
     this.KyHieuXepKho_KHPL.TabStop = false;
     //
     // groupControlThongTinPhatSong
     //
     this.groupControlThongTinPhatSong.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.groupControlThongTinPhatSong.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlThongTinPhatSong.AppearanceCaption.Options.UseFont = true;
     this.groupControlThongTinPhatSong.Controls.Add(this.ReleaseDate);
     this.groupControlThongTinPhatSong.Controls.Add(this.SoRunConlai);
     this.groupControlThongTinPhatSong.Controls.Add(this.ReleaseRun);
     this.groupControlThongTinPhatSong.Controls.Add(this.Release);
     this.groupControlThongTinPhatSong.Controls.Add(this.SoDaRun);
     this.groupControlThongTinPhatSong.Controls.Add(this.gridControlPhatSongKhac);
     this.groupControlThongTinPhatSong.Controls.Add(this.gridControlNgayPhatDauTien);
     this.groupControlThongTinPhatSong.Controls.Add(this.labelControl8);
     this.groupControlThongTinPhatSong.Controls.Add(this.labelControl9);
     this.groupControlThongTinPhatSong.Controls.Add(this.RunThu);
     this.groupControlThongTinPhatSong.Controls.Add(this.TongSoRun);
     this.groupControlThongTinPhatSong.Controls.Add(this.labelControl20);
     this.groupControlThongTinPhatSong.Controls.Add(this.labelControl19);
     this.groupControlThongTinPhatSong.Controls.Add(this.labelControl6);
     this.groupControlThongTinPhatSong.Controls.Add(this.labelControl24);
     this.groupControlThongTinPhatSong.Controls.Add(this.labelControl21);
     this.groupControlThongTinPhatSong.Controls.Add(this.labelControl15);
     this.groupControlThongTinPhatSong.Controls.Add(this.labelControl10);
     this.groupControlThongTinPhatSong.Controls.Add(this.ReleaseRule);
     this.groupControlThongTinPhatSong.Controls.Add(this.MuaKem);
     this.groupControlThongTinPhatSong.Location = new System.Drawing.Point(3, 672);
     this.groupControlThongTinPhatSong.Name = "groupControlThongTinPhatSong";
     this.groupControlThongTinPhatSong.Size = new System.Drawing.Size(1000, 351);
     this.groupControlThongTinPhatSong.TabIndex = 2;
     this.groupControlThongTinPhatSong.Text = "Thông tin phát sóng";
     //
     // ReleaseDate
     //
     this.ReleaseDate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.ReleaseDate.EditValue = null;
     this.ReleaseDate.Location = new System.Drawing.Point(840, 150);
     this.ReleaseDate.Name = "ReleaseDate";
     this.ReleaseDate.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True;
     this.ReleaseDate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.ReleaseDate.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.ReleaseDate.Size = new System.Drawing.Size(155, 20);
     this.ReleaseDate.TabIndex = 5;
     //
     // SoRunConlai
     //
     this.SoRunConlai.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.SoRunConlai.EditValue = new decimal(new int[] {
     0,
     0,
     0,
     0});
     this.SoRunConlai.Location = new System.Drawing.Point(840, 102);
     this.SoRunConlai.Name = "SoRunConlai";
     this.SoRunConlai.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True;
     this.SoRunConlai.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.SoRunConlai.Properties.ReadOnly = true;
     this.SoRunConlai.Size = new System.Drawing.Size(155, 20);
     this.SoRunConlai.TabIndex = 4;
     this.SoRunConlai.TabStop = false;
     //
     // ReleaseRun
     //
     this.ReleaseRun.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.ReleaseRun.EditValue = new decimal(new int[] {
     0,
     0,
     0,
     0});
     this.ReleaseRun.Location = new System.Drawing.Point(841, 175);
     this.ReleaseRun.Name = "ReleaseRun";
     this.ReleaseRun.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True;
     this.ReleaseRun.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.ReleaseRun.Size = new System.Drawing.Size(154, 20);
     this.ReleaseRun.TabIndex = 5;
     //
     // Release
     //
     this.Release.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.Release.EditValue = new decimal(new int[] {
     0,
     0,
     0,
     0});
     this.Release.Location = new System.Drawing.Point(840, 125);
     this.Release.Name = "Release";
     this.Release.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True;
     this.Release.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.Release.Size = new System.Drawing.Size(155, 20);
     this.Release.TabIndex = 5;
     //
     // SoDaRun
     //
     this.SoDaRun.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.SoDaRun.EditValue = new decimal(new int[] {
     0,
     0,
     0,
     0});
     this.SoDaRun.Location = new System.Drawing.Point(840, 78);
     this.SoDaRun.Name = "SoDaRun";
     this.SoDaRun.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True;
     this.SoDaRun.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.SoDaRun.Size = new System.Drawing.Size(155, 20);
     this.SoDaRun.TabIndex = 3;
     this.SoDaRun.TabStop = false;
     this.SoDaRun.EditValueChanged += new System.EventHandler(this.TongSoRun_EditValueChanged);
     //
     // gridControlPhatSongKhac
     //
     this.gridControlPhatSongKhac.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.gridControlPhatSongKhac.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("gridControlPhatSongKhac.BackgroundImage")));
     this.gridControlPhatSongKhac.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
     this.gridControlPhatSongKhac.Location = new System.Drawing.Point(450, 32);
     this.gridControlPhatSongKhac.MainView = this.gridviewPhatSongKhac;
     this.gridControlPhatSongKhac.Name = "gridControlPhatSongKhac";
     this.gridControlPhatSongKhac.Size = new System.Drawing.Size(305, 314);
     this.gridControlPhatSongKhac.TabIndex = 1;
     this.gridControlPhatSongKhac.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridviewPhatSongKhac});
     //
     // gridviewPhatSongKhac
     //
     this.gridviewPhatSongKhac.Appearance.HeaderPanel.Options.UseTextOptions = true;
     this.gridviewPhatSongKhac.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridviewPhatSongKhac.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.ColPSK_Kenh,
     this.ColPSK_TuNgay,
     this.ColPSK_DenNgay,
     this.ColPSK_LanPhat});
     this.gridviewPhatSongKhac.GridControl = this.gridControlPhatSongKhac;
     this.gridviewPhatSongKhac.GroupCount = 1;
     this.gridviewPhatSongKhac.IndicatorWidth = 40;
     this.gridviewPhatSongKhac.Name = "gridviewPhatSongKhac";
     this.gridviewPhatSongKhac.OptionsLayout.Columns.AddNewColumns = false;
     this.gridviewPhatSongKhac.OptionsNavigation.AutoFocusNewRow = true;
     this.gridviewPhatSongKhac.OptionsNavigation.EnterMoveNextColumn = true;
     this.gridviewPhatSongKhac.OptionsPrint.UsePrintStyles = true;
     this.gridviewPhatSongKhac.OptionsView.EnableAppearanceEvenRow = true;
     this.gridviewPhatSongKhac.OptionsView.EnableAppearanceOddRow = true;
     this.gridviewPhatSongKhac.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Top;
     this.gridviewPhatSongKhac.OptionsView.ShowFilterPanelMode = DevExpress.XtraGrid.Views.Base.ShowFilterPanelMode.Never;
     this.gridviewPhatSongKhac.OptionsView.ShowFooter = true;
     this.gridviewPhatSongKhac.OptionsView.ShowGroupedColumns = true;
     this.gridviewPhatSongKhac.OptionsView.ShowGroupPanel = false;
     this.gridviewPhatSongKhac.OptionsView.ShowIndicator = false;
     this.gridviewPhatSongKhac.OptionsView.ShowViewCaption = true;
     this.gridviewPhatSongKhac.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
     new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.ColPSK_Kenh, DevExpress.Data.ColumnSortOrder.Ascending)});
     this.gridviewPhatSongKhac.ViewCaption = "Thời gian phát sóng trên các kênh khác";
     this.gridviewPhatSongKhac.ValidateRow += new DevExpress.XtraGrid.Views.Base.ValidateRowEventHandler(this.gridViewPhatSongKhac_ValidateRow);
     //
     // ColPSK_Kenh
     //
     this.ColPSK_Kenh.Caption = "Kênh phát sóng";
     this.ColPSK_Kenh.Name = "ColPSK_Kenh";
     this.ColPSK_Kenh.SummaryItem.DisplayFormat = "Số lần đã phát {0}";
     this.ColPSK_Kenh.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Count;
     this.ColPSK_Kenh.Visible = true;
     this.ColPSK_Kenh.VisibleIndex = 0;
     this.ColPSK_Kenh.Width = 100;
     //
     // ColPSK_TuNgay
     //
     this.ColPSK_TuNgay.Caption = "Từ ngày";
     this.ColPSK_TuNgay.Name = "ColPSK_TuNgay";
     this.ColPSK_TuNgay.Visible = true;
     this.ColPSK_TuNgay.VisibleIndex = 1;
     this.ColPSK_TuNgay.Width = 52;
     //
     // ColPSK_DenNgay
     //
     this.ColPSK_DenNgay.Caption = "Đến ngày";
     this.ColPSK_DenNgay.Name = "ColPSK_DenNgay";
     this.ColPSK_DenNgay.Visible = true;
     this.ColPSK_DenNgay.VisibleIndex = 2;
     this.ColPSK_DenNgay.Width = 59;
     //
     // ColPSK_LanPhat
     //
     this.ColPSK_LanPhat.Caption = "Run thứ";
     this.ColPSK_LanPhat.Name = "ColPSK_LanPhat";
     this.ColPSK_LanPhat.SummaryItem.DisplayFormat = "Run thứ:{0}";
     this.ColPSK_LanPhat.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Sum;
     this.ColPSK_LanPhat.Visible = true;
     this.ColPSK_LanPhat.VisibleIndex = 3;
     this.ColPSK_LanPhat.Width = 52;
     //
     // gridControlNgayPhatDauTien
     //
     this.gridControlNgayPhatDauTien.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.gridControlNgayPhatDauTien.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("gridControlNgayPhatDauTien.BackgroundImage")));
     this.gridControlNgayPhatDauTien.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
     this.gridControlNgayPhatDauTien.Location = new System.Drawing.Point(6, 32);
     this.gridControlNgayPhatDauTien.MainView = this.gridViewNgayPhatDauTien;
     this.gridControlNgayPhatDauTien.Name = "gridControlNgayPhatDauTien";
     this.gridControlNgayPhatDauTien.Size = new System.Drawing.Size(436, 314);
     this.gridControlNgayPhatDauTien.TabIndex = 0;
     this.gridControlNgayPhatDauTien.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewNgayPhatDauTien});
     //
     // gridViewNgayPhatDauTien
     //
     this.gridViewNgayPhatDauTien.Appearance.HeaderPanel.Options.UseTextOptions = true;
     this.gridViewNgayPhatDauTien.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridViewNgayPhatDauTien.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.ColKenhPhatSong,
     this.ColIsPhatLai,
     this.ColNgayPhatStart,
     this.ColNgayPhatEnd,
     this.ColTimeSlot,
     this.ColLanPhat});
     this.gridViewNgayPhatDauTien.GridControl = this.gridControlNgayPhatDauTien;
     this.gridViewNgayPhatDauTien.GroupCount = 1;
     this.gridViewNgayPhatDauTien.IndicatorWidth = 40;
     this.gridViewNgayPhatDauTien.Name = "gridViewNgayPhatDauTien";
     this.gridViewNgayPhatDauTien.OptionsLayout.Columns.AddNewColumns = false;
     this.gridViewNgayPhatDauTien.OptionsMenu.EnableFooterMenu = false;
     this.gridViewNgayPhatDauTien.OptionsNavigation.AutoFocusNewRow = true;
     this.gridViewNgayPhatDauTien.OptionsNavigation.EnterMoveNextColumn = true;
     this.gridViewNgayPhatDauTien.OptionsPrint.UsePrintStyles = true;
     this.gridViewNgayPhatDauTien.OptionsView.EnableAppearanceEvenRow = true;
     this.gridViewNgayPhatDauTien.OptionsView.EnableAppearanceOddRow = true;
     this.gridViewNgayPhatDauTien.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Top;
     this.gridViewNgayPhatDauTien.OptionsView.ShowFilterPanelMode = DevExpress.XtraGrid.Views.Base.ShowFilterPanelMode.Never;
     this.gridViewNgayPhatDauTien.OptionsView.ShowFooter = true;
     this.gridViewNgayPhatDauTien.OptionsView.ShowGroupedColumns = true;
     this.gridViewNgayPhatDauTien.OptionsView.ShowGroupPanel = false;
     this.gridViewNgayPhatDauTien.OptionsView.ShowIndicator = false;
     this.gridViewNgayPhatDauTien.OptionsView.ShowViewCaption = true;
     this.gridViewNgayPhatDauTien.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
     new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.ColKenhPhatSong, DevExpress.Data.ColumnSortOrder.Ascending)});
     this.gridViewNgayPhatDauTien.ViewCaption = "Ngày phát sóng đầu tiên";
     this.gridViewNgayPhatDauTien.CustomDrawGroupRow += new DevExpress.XtraGrid.Views.Base.RowObjectCustomDrawEventHandler(this.gridViewNgayPhatDauTien_CustomDrawGroupRow);
     this.gridViewNgayPhatDauTien.RowUpdated += new DevExpress.XtraGrid.Views.Base.RowObjectEventHandler(this.gridViewNgayPhatDauTien_RowUpdated);
     this.gridViewNgayPhatDauTien.ValidateRow += new DevExpress.XtraGrid.Views.Base.ValidateRowEventHandler(this.gridViewNgayPhatDauTien_ValidateRow);
     //
     // ColKenhPhatSong
     //
     this.ColKenhPhatSong.Caption = "Kênh";
     this.ColKenhPhatSong.Name = "ColKenhPhatSong";
     this.ColKenhPhatSong.SummaryItem.DisplayFormat = "Phát chính: {0} lần";
     this.ColKenhPhatSong.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Count;
     this.ColKenhPhatSong.Visible = true;
     this.ColKenhPhatSong.VisibleIndex = 0;
     this.ColKenhPhatSong.Width = 83;
     //
     // ColIsPhatLai
     //
     this.ColIsPhatLai.Caption = "Phát lại";
     this.ColIsPhatLai.Name = "ColIsPhatLai";
     this.ColIsPhatLai.SummaryItem.DisplayFormat = "Phát lại: {0} lần";
     this.ColIsPhatLai.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Count;
     this.ColIsPhatLai.Visible = true;
     this.ColIsPhatLai.VisibleIndex = 1;
     this.ColIsPhatLai.Width = 68;
     //
     // ColNgayPhatStart
     //
     this.ColNgayPhatStart.Caption = "Từ ngày";
     this.ColNgayPhatStart.Name = "ColNgayPhatStart";
     this.ColNgayPhatStart.Visible = true;
     this.ColNgayPhatStart.VisibleIndex = 2;
     this.ColNgayPhatStart.Width = 52;
     //
     // ColNgayPhatEnd
     //
     this.ColNgayPhatEnd.Caption = "Đến ngày";
     this.ColNgayPhatEnd.Name = "ColNgayPhatEnd";
     this.ColNgayPhatEnd.Visible = true;
     this.ColNgayPhatEnd.VisibleIndex = 3;
     this.ColNgayPhatEnd.Width = 59;
     //
     // ColTimeSlot
     //
     this.ColTimeSlot.Caption = "Timeslot";
     this.ColTimeSlot.Name = "ColTimeSlot";
     this.ColTimeSlot.Visible = true;
     this.ColTimeSlot.VisibleIndex = 4;
     this.ColTimeSlot.Width = 51;
     //
     // ColLanPhat
     //
     this.ColLanPhat.Caption = "Run thứ";
     this.ColLanPhat.Name = "ColLanPhat";
     this.ColLanPhat.SummaryItem.DisplayFormat = "Run thứ:{0}";
     this.ColLanPhat.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Sum;
     this.ColLanPhat.Visible = true;
     this.ColLanPhat.VisibleIndex = 5;
     this.ColLanPhat.Width = 52;
     //
     // labelControl8
     //
     this.labelControl8.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControl8.Location = new System.Drawing.Point(760, 105);
     this.labelControl8.Name = "labelControl8";
     this.labelControl8.Size = new System.Drawing.Size(52, 13);
     this.labelControl8.TabIndex = 137;
     this.labelControl8.Text = "Run còn lại";
     //
     // labelControl9
     //
     this.labelControl9.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControl9.Location = new System.Drawing.Point(760, 81);
     this.labelControl9.Name = "labelControl9";
     this.labelControl9.Size = new System.Drawing.Size(49, 13);
     this.labelControl9.TabIndex = 137;
     this.labelControl9.Text = "Số đã Run";
     //
     // RunThu
     //
     this.RunThu.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.RunThu.EditValue = new decimal(new int[] {
     0,
     0,
     0,
     0});
     this.RunThu.Location = new System.Drawing.Point(840, 32);
     this.RunThu.Name = "RunThu";
     this.RunThu.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True;
     this.RunThu.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.RunThu.Size = new System.Drawing.Size(155, 20);
     this.RunThu.TabIndex = 2;
     this.RunThu.EditValueChanged += new System.EventHandler(this.TongSoRun_EditValueChanged);
     //
     // TongSoRun
     //
     this.TongSoRun.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.TongSoRun.EditValue = new decimal(new int[] {
     0,
     0,
     0,
     0});
     this.TongSoRun.Location = new System.Drawing.Point(840, 55);
     this.TongSoRun.Name = "TongSoRun";
     this.TongSoRun.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True;
     this.TongSoRun.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.TongSoRun.Size = new System.Drawing.Size(155, 20);
     this.TongSoRun.TabIndex = 2;
     this.TongSoRun.EditValueChanged += new System.EventHandler(this.TongSoRun_EditValueChanged);
     //
     // labelControl20
     //
     this.labelControl20.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControl20.Location = new System.Drawing.Point(760, 178);
     this.labelControl20.Name = "labelControl20";
     this.labelControl20.Size = new System.Drawing.Size(57, 13);
     this.labelControl20.TabIndex = 129;
     this.labelControl20.Text = "Release run";
     //
     // labelControl19
     //
     this.labelControl19.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControl19.Location = new System.Drawing.Point(760, 151);
     this.labelControl19.Name = "labelControl19";
     this.labelControl19.Size = new System.Drawing.Size(63, 13);
     this.labelControl19.TabIndex = 129;
     this.labelControl19.Text = "Release date";
     //
     // labelControl6
     //
     this.labelControl6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControl6.Location = new System.Drawing.Point(760, 127);
     this.labelControl6.Name = "labelControl6";
     this.labelControl6.Size = new System.Drawing.Size(74, 13);
     this.labelControl6.TabIndex = 129;
     this.labelControl6.Text = "Release (Ngày)";
     //
     // labelControl24
     //
     this.labelControl24.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControl24.Location = new System.Drawing.Point(760, 205);
     this.labelControl24.Name = "labelControl24";
     this.labelControl24.Size = new System.Drawing.Size(53, 13);
     this.labelControl24.TabIndex = 137;
     this.labelControl24.Text = "Realse rule";
     //
     // labelControl21
     //
     this.labelControl21.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControl21.Location = new System.Drawing.Point(760, 276);
     this.labelControl21.Name = "labelControl21";
     this.labelControl21.Size = new System.Drawing.Size(42, 13);
     this.labelControl21.TabIndex = 137;
     this.labelControl21.Text = "Mua kèm";
     //
     // labelControl15
     //
     this.labelControl15.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControl15.Location = new System.Drawing.Point(760, 36);
     this.labelControl15.Name = "labelControl15";
     this.labelControl15.Size = new System.Drawing.Size(39, 13);
     this.labelControl15.TabIndex = 137;
     this.labelControl15.Text = "Run thứ";
     //
     // labelControl10
     //
     this.labelControl10.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControl10.Location = new System.Drawing.Point(760, 57);
     this.labelControl10.Name = "labelControl10";
     this.labelControl10.Size = new System.Drawing.Size(60, 13);
     this.labelControl10.TabIndex = 137;
     this.labelControl10.Text = "Tổng số Run";
     //
     // ReleaseRule
     //
     this.ReleaseRule.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.ReleaseRule.Location = new System.Drawing.Point(841, 201);
     this.ReleaseRule.Name = "ReleaseRule";
     this.ReleaseRule.Size = new System.Drawing.Size(152, 70);
     this.ReleaseRule.TabIndex = 6;
     //
     // MuaKem
     //
     this.MuaKem.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.MuaKem.Location = new System.Drawing.Point(841, 277);
     this.MuaKem.Name = "MuaKem";
     this.MuaKem.Size = new System.Drawing.Size(155, 69);
     this.MuaKem.TabIndex = 6;
     //
     // Rating
     //
     this.Rating.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.Rating.Location = new System.Drawing.Point(690, 120);
     this.Rating.Name = "Rating";
     this.Rating.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True;
     this.Rating.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.Rating.Size = new System.Drawing.Size(303, 20);
     this.Rating.TabIndex = 12;
     //
     // DoiTuongKhanGia
     //
     this.DoiTuongKhanGia.DataSource = null;
     this.DoiTuongKhanGia.DisplayField = null;
     this.DoiTuongKhanGia.EditValue = "";
     this.DoiTuongKhanGia.Location = new System.Drawing.Point(93, 120);
     this.DoiTuongKhanGia.Name = "DoiTuongKhanGia";
     this.DoiTuongKhanGia.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.DoiTuongKhanGia.Size = new System.Drawing.Size(241, 20);
     this.DoiTuongKhanGia.TabIndex = 10;
     this.DoiTuongKhanGia.ValueField = null;
     //
     // label14
     //
     this.label14.Location = new System.Drawing.Point(9, 124);
     this.label14.Name = "label14";
     this.label14.Size = new System.Drawing.Size(57, 13);
     this.label14.TabIndex = 0;
     this.label14.Text = "ĐT khán giả";
     //
     // groupControlNguonGoc
     //
     this.groupControlNguonGoc.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.groupControlNguonGoc.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlNguonGoc.AppearanceCaption.Options.UseFont = true;
     this.groupControlNguonGoc.Controls.Add(this.NoteBQ);
     this.groupControlNguonGoc.Controls.Add(this.gridControlThongTinBan);
     this.groupControlNguonGoc.Controls.Add(this.groupControl7);
     this.groupControlNguonGoc.Controls.Add(this.labelControl17);
     this.groupControlNguonGoc.Controls.Add(this.groupControl1);
     this.groupControlNguonGoc.Controls.Add(this.labelControl14);
     this.groupControlNguonGoc.Location = new System.Drawing.Point(4, 425);
     this.groupControlNguonGoc.Name = "groupControlNguonGoc";
     this.groupControlNguonGoc.Size = new System.Drawing.Size(999, 228);
     this.groupControlNguonGoc.TabIndex = 1;
     this.groupControlNguonGoc.Text = "Nguồn gốc - bản quyền";
     //
     // NoteBQ
     //
     this.NoteBQ.Location = new System.Drawing.Point(95, 180);
     this.NoteBQ.Name = "NoteBQ";
     this.NoteBQ.Size = new System.Drawing.Size(539, 43);
     this.NoteBQ.TabIndex = 136;
     //
     // gridControlThongTinBan
     //
     this.gridControlThongTinBan.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.gridControlThongTinBan.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("gridControlThongTinBan.BackgroundImage")));
     this.gridControlThongTinBan.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
     this.gridControlThongTinBan.Location = new System.Drawing.Point(645, 29);
     this.gridControlThongTinBan.MainView = this.gridViewThongTinBan;
     this.gridControlThongTinBan.Name = "gridControlThongTinBan";
     this.gridControlThongTinBan.Size = new System.Drawing.Size(350, 194);
     this.gridControlThongTinBan.TabIndex = 2;
     this.gridControlThongTinBan.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewThongTinBan});
     //
     // gridViewThongTinBan
     //
     this.gridViewThongTinBan.Appearance.HeaderPanel.Options.UseTextOptions = true;
     this.gridViewThongTinBan.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridViewThongTinBan.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.ColKenhBan,
     this.ColNgayBanTu,
     this.ColNgayBanDen});
     this.gridViewThongTinBan.GridControl = this.gridControlThongTinBan;
     this.gridViewThongTinBan.GroupCount = 1;
     this.gridViewThongTinBan.IndicatorWidth = 40;
     this.gridViewThongTinBan.Name = "gridViewThongTinBan";
     this.gridViewThongTinBan.OptionsLayout.Columns.AddNewColumns = false;
     this.gridViewThongTinBan.OptionsNavigation.AutoFocusNewRow = true;
     this.gridViewThongTinBan.OptionsNavigation.EnterMoveNextColumn = true;
     this.gridViewThongTinBan.OptionsPrint.UsePrintStyles = true;
     this.gridViewThongTinBan.OptionsView.EnableAppearanceEvenRow = true;
     this.gridViewThongTinBan.OptionsView.EnableAppearanceOddRow = true;
     this.gridViewThongTinBan.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Top;
     this.gridViewThongTinBan.OptionsView.ShowFilterPanelMode = DevExpress.XtraGrid.Views.Base.ShowFilterPanelMode.Never;
     this.gridViewThongTinBan.OptionsView.ShowGroupedColumns = true;
     this.gridViewThongTinBan.OptionsView.ShowGroupPanel = false;
     this.gridViewThongTinBan.OptionsView.ShowIndicator = false;
     this.gridViewThongTinBan.OptionsView.ShowViewCaption = true;
     this.gridViewThongTinBan.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
     new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.ColKenhBan, DevExpress.Data.ColumnSortOrder.Ascending)});
     this.gridViewThongTinBan.ViewCaption = "Thông tin bán";
     this.gridViewThongTinBan.CustomDrawGroupRow += new DevExpress.XtraGrid.Views.Base.RowObjectCustomDrawEventHandler(this.gridViewThongTinBan_CustomDrawGroupRow);
     this.gridViewThongTinBan.ValidateRow += new DevExpress.XtraGrid.Views.Base.ValidateRowEventHandler(this.gridViewThongTinBan_ValidateRow);
     //
     // ColKenhBan
     //
     this.ColKenhBan.Caption = "Kênh bán";
     this.ColKenhBan.Name = "ColKenhBan";
     this.ColKenhBan.SummaryItem.DisplayFormat = "Tồng số lần đã bán {0}";
     this.ColKenhBan.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Count;
     this.ColKenhBan.Visible = true;
     this.ColKenhBan.VisibleIndex = 0;
     this.ColKenhBan.Width = 70;
     //
     // ColNgayBanTu
     //
     this.ColNgayBanTu.Caption = "Từ ngày";
     this.ColNgayBanTu.Name = "ColNgayBanTu";
     this.ColNgayBanTu.Visible = true;
     this.ColNgayBanTu.VisibleIndex = 1;
     this.ColNgayBanTu.Width = 52;
     //
     // ColNgayBanDen
     //
     this.ColNgayBanDen.Caption = "Đên ngày";
     this.ColNgayBanDen.Name = "ColNgayBanDen";
     this.ColNgayBanDen.Visible = true;
     this.ColNgayBanDen.VisibleIndex = 2;
     this.ColNgayBanDen.Width = 59;
     //
     // groupControl7
     //
     this.groupControl7.Controls.Add(this.DonViHauKy);
     this.groupControl7.Controls.Add(this.HangSanXuat);
     this.groupControl7.Controls.Add(this.DonViSoHuu);
     this.groupControl7.Controls.Add(this.NamSanXuat);
     this.groupControl7.Controls.Add(this.label4);
     this.groupControl7.Controls.Add(this.label2);
     this.groupControl7.Controls.Add(this.labelControl33);
     this.groupControl7.Controls.Add(this.labelControl32);
     this.groupControl7.Controls.Add(this.labelControl4);
     this.groupControl7.Controls.Add(this.labelControl7);
     this.groupControl7.Controls.Add(this.QuocGia);
     this.groupControl7.Controls.Add(this.label25);
     this.groupControl7.Controls.Add(this.KenhHanCheBan);
     this.groupControl7.Controls.Add(this.DonViCungCap);
     this.groupControl7.Location = new System.Drawing.Point(2, 29);
     this.groupControl7.Name = "groupControl7";
     this.groupControl7.ShowCaption = false;
     this.groupControl7.Size = new System.Drawing.Size(338, 147);
     this.groupControl7.TabIndex = 0;
     this.groupControl7.Text = "groupControl7";
     //
     // DonViHauKy
     //
     this.DonViHauKy._DataSource = null;
     this.DonViHauKy._GetField = null;
     this.DonViHauKy.Location = new System.Drawing.Point(92, 53);
     this.DonViHauKy.Name = "DonViHauKy";
     this.DonViHauKy.Properties.CloseUpKey = new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None);
     this.DonViHauKy.Size = new System.Drawing.Size(241, 20);
     this.DonViHauKy.TabIndex = 133;
     //
     // HangSanXuat
     //
     this.HangSanXuat.Location = new System.Drawing.Point(92, 78);
     this.HangSanXuat.Name = "HangSanXuat";
     this.HangSanXuat.Size = new System.Drawing.Size(241, 20);
     this.HangSanXuat.TabIndex = 1;
     this.HangSanXuat.ZZZWidthFactor = 2F;
     //
     // DonViSoHuu
     //
     this.DonViSoHuu.Location = new System.Drawing.Point(92, 31);
     this.DonViSoHuu.Name = "DonViSoHuu";
     this.DonViSoHuu.Size = new System.Drawing.Size(241, 20);
     this.DonViSoHuu.TabIndex = 1;
     this.DonViSoHuu.ZZZWidthFactor = 2F;
     //
     // NamSanXuat
     //
     this.NamSanXuat.EditValue = new decimal(new int[] {
     1999,
     0,
     0,
     0});
     this.NamSanXuat.Location = new System.Drawing.Point(278, 101);
     this.NamSanXuat.Name = "NamSanXuat";
     this.NamSanXuat.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.NamSanXuat.Properties.Mask.EditMask = "n0";
     this.NamSanXuat.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.NamSanXuat.Properties.MaxValue = new decimal(new int[] {
     -1530494977,
     232830,
     0,
     0});
     this.NamSanXuat.Size = new System.Drawing.Size(55, 20);
     this.NamSanXuat.TabIndex = 3;
     //
     // labelControl33
     //
     this.labelControl33.Location = new System.Drawing.Point(6, 81);
     this.labelControl33.Name = "labelControl33";
     this.labelControl33.Size = new System.Drawing.Size(70, 13);
     this.labelControl33.TabIndex = 0;
     this.labelControl33.Text = "Hãng sản xuất";
     //
     // labelControl32
     //
     this.labelControl32.Location = new System.Drawing.Point(5, 55);
     this.labelControl32.Name = "labelControl32";
     this.labelControl32.Size = new System.Drawing.Size(66, 13);
     this.labelControl32.TabIndex = 0;
     this.labelControl32.Text = "Đơn vị hậu kỳ";
     //
     // labelControl4
     //
     this.labelControl4.Location = new System.Drawing.Point(5, 104);
     this.labelControl4.Name = "labelControl4";
     this.labelControl4.Size = new System.Drawing.Size(70, 13);
     this.labelControl4.TabIndex = 0;
     this.labelControl4.Text = "Nước sản xuất";
     //
     // labelControl7
     //
     this.labelControl7.Location = new System.Drawing.Point(5, 127);
     this.labelControl7.Name = "labelControl7";
     this.labelControl7.Size = new System.Drawing.Size(86, 13);
     this.labelControl7.TabIndex = 0;
     this.labelControl7.Text = "Kênh hạn chế bán";
     //
     // QuocGia
     //
     this.QuocGia.DataSource = null;
     this.QuocGia.DisplayField = null;
     this.QuocGia.EditValue = "";
     this.QuocGia.Location = new System.Drawing.Point(92, 101);
     this.QuocGia.Name = "QuocGia";
     this.QuocGia.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.QuocGia.Size = new System.Drawing.Size(137, 20);
     this.QuocGia.TabIndex = 2;
     this.QuocGia.ValueField = null;
     //
     // label25
     //
     this.label25.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label25.Appearance.ForeColor = System.Drawing.Color.Black;
     this.label25.Appearance.Options.UseFont = true;
     this.label25.Appearance.Options.UseForeColor = true;
     this.label25.Location = new System.Drawing.Point(236, 104);
     this.label25.Name = "label25";
     this.label25.Size = new System.Drawing.Size(36, 13);
     this.label25.TabIndex = 0;
     this.label25.Text = "Năm SX";
     //
     // KenhHanCheBan
     //
     this.KenhHanCheBan.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.KenhHanCheBan.DataSource = null;
     this.KenhHanCheBan.DisplayField = null;
     this.KenhHanCheBan.EditValue = "";
     this.KenhHanCheBan.Location = new System.Drawing.Point(92, 123);
     this.KenhHanCheBan.Name = "KenhHanCheBan";
     this.KenhHanCheBan.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.KenhHanCheBan.Size = new System.Drawing.Size(241, 20);
     this.KenhHanCheBan.TabIndex = 4;
     this.KenhHanCheBan.ValueField = null;
     //
     // DonViCungCap
     //
     this.DonViCungCap.Location = new System.Drawing.Point(92, 8);
     this.DonViCungCap.Name = "DonViCungCap";
     this.DonViCungCap.Size = new System.Drawing.Size(241, 20);
     this.DonViCungCap.TabIndex = 0;
     this.DonViCungCap.ZZZWidthFactor = 2F;
     //
     // labelControl17
     //
     this.labelControl17.Location = new System.Drawing.Point(436, 23);
     this.labelControl17.Name = "labelControl17";
     this.labelControl17.Size = new System.Drawing.Size(95, 13);
     this.labelControl17.TabIndex = 0;
     this.labelControl17.Text = "Thời hạn bản quyền";
     //
     // groupControl1
     //
     this.groupControl1.Controls.Add(this.BanQuyenHTV);
     this.groupControl1.Controls.Add(this.BanQuyenDIDEnd);
     this.groupControl1.Controls.Add(this.BanQuyenDTNNEnd);
     this.groupControl1.Controls.Add(this.BanQuyenDIDStart);
     this.groupControl1.Controls.Add(this.BanQuyenDTNNStart);
     this.groupControl1.Controls.Add(this.ChanelRight);
     this.groupControl1.Controls.Add(this.labelControl25);
     this.groupControl1.Controls.Add(this.labelControl26);
     this.groupControl1.Controls.Add(this.labelControl27);
     this.groupControl1.Controls.Add(this.labelControl28);
     this.groupControl1.Controls.Add(this.labelControl29);
     this.groupControl1.Controls.Add(this.labelControl30);
     this.groupControl1.Controls.Add(this.BanQuyenThuoc);
     this.groupControl1.Controls.Add(this.labelControl31);
     this.groupControl1.Location = new System.Drawing.Point(345, 29);
     this.groupControl1.Name = "groupControl1";
     this.groupControl1.ShowCaption = false;
     this.groupControl1.Size = new System.Drawing.Size(289, 145);
     this.groupControl1.TabIndex = 1;
     this.groupControl1.Text = "groupControl5";
     //
     // BanQuyenHTV
     //
     this.BanQuyenHTV.EditValue = null;
     this.BanQuyenHTV.Location = new System.Drawing.Point(72, 83);
     this.BanQuyenHTV.Name = "BanQuyenHTV";
     this.BanQuyenHTV.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True;
     this.BanQuyenHTV.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.BanQuyenHTV.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.BanQuyenHTV.Size = new System.Drawing.Size(213, 20);
     this.BanQuyenHTV.TabIndex = 5;
     //
     // BanQuyenDIDEnd
     //
     this.BanQuyenDIDEnd.EditValue = null;
     this.BanQuyenDIDEnd.Location = new System.Drawing.Point(192, 38);
     this.BanQuyenDIDEnd.Name = "BanQuyenDIDEnd";
     this.BanQuyenDIDEnd.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True;
     this.BanQuyenDIDEnd.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.BanQuyenDIDEnd.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.BanQuyenDIDEnd.Size = new System.Drawing.Size(94, 20);
     this.BanQuyenDIDEnd.TabIndex = 2;
     this.BanQuyenDIDEnd.ToolTip = "Bản quyền đối với đối tác trong nước End";
     //
     // BanQuyenDTNNEnd
     //
     this.BanQuyenDTNNEnd.EditValue = null;
     this.BanQuyenDTNNEnd.Location = new System.Drawing.Point(192, 60);
     this.BanQuyenDTNNEnd.Name = "BanQuyenDTNNEnd";
     this.BanQuyenDTNNEnd.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True;
     this.BanQuyenDTNNEnd.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.BanQuyenDTNNEnd.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.BanQuyenDTNNEnd.Size = new System.Drawing.Size(94, 20);
     this.BanQuyenDTNNEnd.TabIndex = 4;
     this.BanQuyenDTNNEnd.ToolTip = "Bản quyền với đối tác nước ngoài end";
     //
     // BanQuyenDIDStart
     //
     this.BanQuyenDIDStart.EditValue = null;
     this.BanQuyenDIDStart.Location = new System.Drawing.Point(71, 38);
     this.BanQuyenDIDStart.Name = "BanQuyenDIDStart";
     this.BanQuyenDIDStart.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True;
     this.BanQuyenDIDStart.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.BanQuyenDIDStart.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.BanQuyenDIDStart.Size = new System.Drawing.Size(91, 20);
     this.BanQuyenDIDStart.TabIndex = 1;
     this.BanQuyenDIDStart.ToolTip = "Bản quyền đối với đối tác trong nước start";
     //
     // BanQuyenDTNNStart
     //
     this.BanQuyenDTNNStart.EditValue = null;
     this.BanQuyenDTNNStart.Location = new System.Drawing.Point(71, 60);
     this.BanQuyenDTNNStart.Name = "BanQuyenDTNNStart";
     this.BanQuyenDTNNStart.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True;
     this.BanQuyenDTNNStart.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.BanQuyenDTNNStart.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.BanQuyenDTNNStart.Size = new System.Drawing.Size(90, 20);
     this.BanQuyenDTNNStart.TabIndex = 3;
     //
     // ChanelRight
     //
     this.ChanelRight.DataSource = null;
     this.ChanelRight.DisplayField = null;
     this.ChanelRight.EditValue = "";
     this.ChanelRight.Location = new System.Drawing.Point(72, 106);
     this.ChanelRight.Name = "ChanelRight";
     this.ChanelRight.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.ChanelRight.Size = new System.Drawing.Size(213, 20);
     this.ChanelRight.TabIndex = 11;
     this.ChanelRight.ValueField = null;
     //
     // labelControl25
     //
     this.labelControl25.Location = new System.Drawing.Point(2, 110);
     this.labelControl25.Name = "labelControl25";
     this.labelControl25.Size = new System.Drawing.Size(64, 13);
     this.labelControl25.TabIndex = 0;
     this.labelControl25.Text = "Channel right";
     //
     // labelControl26
     //
     this.labelControl26.Location = new System.Drawing.Point(3, 20);
     this.labelControl26.Name = "labelControl26";
     this.labelControl26.Size = new System.Drawing.Size(44, 13);
     this.labelControl26.TabIndex = 0;
     this.labelControl26.Text = "BQ thuộc";
     this.labelControl26.ToolTip = "Bản quyền thuộc";
     //
     // labelControl27
     //
     this.labelControl27.Location = new System.Drawing.Point(3, 87);
     this.labelControl27.Name = "labelControl27";
     this.labelControl27.Size = new System.Drawing.Size(19, 13);
     this.labelControl27.TabIndex = 0;
     this.labelControl27.Text = "HTV";
     this.labelControl27.ToolTip = "Bản quyền HTV";
     //
     // labelControl28
     //
     this.labelControl28.Location = new System.Drawing.Point(3, 64);
     this.labelControl28.Name = "labelControl28";
     this.labelControl28.Size = new System.Drawing.Size(54, 13);
     this.labelControl28.TabIndex = 0;
     this.labelControl28.Text = "DTNN Start";
     this.labelControl28.ToolTip = "Bản quyền với đối tác nước ngoài Start";
     //
     // labelControl29
     //
     this.labelControl29.Location = new System.Drawing.Point(3, 42);
     this.labelControl29.Name = "labelControl29";
     this.labelControl29.Size = new System.Drawing.Size(53, 13);
     this.labelControl29.TabIndex = 0;
     this.labelControl29.Text = "DTTN Start";
     //
     // labelControl30
     //
     this.labelControl30.Location = new System.Drawing.Point(169, 64);
     this.labelControl30.Name = "labelControl30";
     this.labelControl30.Size = new System.Drawing.Size(18, 13);
     this.labelControl30.TabIndex = 0;
     this.labelControl30.Text = "End";
     //
     // BanQuyenThuoc
     //
     this.BanQuyenThuoc.Location = new System.Drawing.Point(71, 16);
     this.BanQuyenThuoc.Name = "BanQuyenThuoc";
     this.BanQuyenThuoc.Size = new System.Drawing.Size(217, 20);
     this.BanQuyenThuoc.TabIndex = 0;
     this.BanQuyenThuoc.ZZZWidthFactor = 2F;
     //
     // labelControl31
     //
     this.labelControl31.Location = new System.Drawing.Point(169, 42);
     this.labelControl31.Name = "labelControl31";
     this.labelControl31.Size = new System.Drawing.Size(18, 13);
     this.labelControl31.TabIndex = 0;
     this.labelControl31.Text = "End";
     //
     // labelControl14
     //
     this.labelControl14.Location = new System.Drawing.Point(6, 182);
     this.labelControl14.Name = "labelControl14";
     this.labelControl14.Size = new System.Drawing.Size(40, 13);
     this.labelControl14.TabIndex = 0;
     this.labelControl14.Text = "Note BQ";
     //
     // DaoDien
     //
     this.DaoDien.DataSource = null;
     this.DaoDien.DisplayField = null;
     this.DaoDien.EditValue = "";
     this.DaoDien.Location = new System.Drawing.Point(93, 96);
     this.DaoDien.Name = "DaoDien";
     this.DaoDien.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.DaoDien.Size = new System.Drawing.Size(239, 20);
     this.DaoDien.TabIndex = 7;
     this.DaoDien.ValueField = null;
     //
     // groupControlThongTin
     //
     this.groupControlThongTin.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.groupControlThongTin.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlThongTin.AppearanceCaption.Options.UseFont = true;
     this.groupControlThongTin.Controls.Add(this.gridControlGhiChu);
     this.groupControlThongTin.Controls.Add(this.labelControl34);
     this.groupControlThongTin.Controls.Add(this.PhanLoaiDrama);
     this.groupControlThongTin.Controls.Add(this.labelControl18);
     this.groupControlThongTin.Controls.Add(this.NguonTrading);
     this.groupControlThongTin.Controls.Add(this.ClassName);
     this.groupControlThongTin.Controls.Add(this.labelControl23);
     this.groupControlThongTin.Controls.Add(this.labelControl13);
     this.groupControlThongTin.Controls.Add(this.Code);
     this.groupControlThongTin.Controls.Add(this.TenGoc);
     this.groupControlThongTin.Controls.Add(this.NoiDung);
     this.groupControlThongTin.Controls.Add(this.Period);
     this.groupControlThongTin.Controls.Add(this.Category);
     this.groupControlThongTin.Controls.Add(this.TrailerGoc);
     this.groupControlThongTin.Controls.Add(this.Photos);
     this.groupControlThongTin.Controls.Add(this.Script);
     this.groupControlThongTin.Controls.Add(this.ckcMoiTrenThiTruong);
     this.groupControlThongTin.Controls.Add(this.ckcTrongKho);
     this.groupControlThongTin.Controls.Add(this.ThanhLy);
     this.groupControlThongTin.Controls.Add(this.groupControl8);
     this.groupControlThongTin.Controls.Add(this.label22);
     this.groupControlThongTin.Controls.Add(this.Ranking);
     this.groupControlThongTin.Controls.Add(this.Rating);
     this.groupControlThongTin.Controls.Add(this.DienVien);
     this.groupControlThongTin.Controls.Add(this.DaoDien);
     this.groupControlThongTin.Controls.Add(this.KyHieuPhanLoai);
     this.groupControlThongTin.Controls.Add(this.labelControl22);
     this.groupControlThongTin.Controls.Add(this.labelControl16);
     this.groupControlThongTin.Controls.Add(this.label21);
     this.groupControlThongTin.Controls.Add(this.labelControl12);
     this.groupControlThongTin.Controls.Add(this.label15);
     this.groupControlThongTin.Controls.Add(this.label5);
     this.groupControlThongTin.Controls.Add(this.label24);
     this.groupControlThongTin.Controls.Add(this.TuKhoaSelect);
     this.groupControlThongTin.Controls.Add(this.DoiTuongKhanGia);
     this.groupControlThongTin.Controls.Add(this.labelControl11);
     this.groupControlThongTin.Controls.Add(this.label14);
     this.groupControlThongTin.Controls.Add(this.NgayAWB);
     this.groupControlThongTin.Controls.Add(this.TomTatNoiDung);
     this.groupControlThongTin.Controls.Add(this.GhiChu);
     this.groupControlThongTin.Controls.Add(this.TuKhoaText);
     this.groupControlThongTin.Controls.Add(this.label20);
     this.groupControlThongTin.Controls.Add(this.labelControl2);
     this.groupControlThongTin.Controls.Add(this.label33);
     this.groupControlThongTin.Controls.Add(this.labelControl5);
     this.groupControlThongTin.Controls.Add(this.label36);
     this.groupControlThongTin.Controls.Add(this.Info);
     this.groupControlThongTin.Controls.Add(this.TinhTrangBang);
     this.groupControlThongTin.Controls.Add(this.TietMuc);
     this.groupControlThongTin.Controls.Add(this.labelControl3);
     this.groupControlThongTin.Controls.Add(this.MaChuongTrinh);
     this.groupControlThongTin.Controls.Add(this.label7);
     this.groupControlThongTin.Controls.Add(this.label42);
     this.groupControlThongTin.Controls.Add(this.labelControl1);
     this.groupControlThongTin.Controls.Add(this.label8);
     this.groupControlThongTin.Location = new System.Drawing.Point(3, 0);
     this.groupControlThongTin.Name = "groupControlThongTin";
     this.groupControlThongTin.Size = new System.Drawing.Size(1000, 410);
     this.groupControlThongTin.TabIndex = 0;
     this.groupControlThongTin.Text = "Thông tin chính";
     //
     // gridControlGhiChu
     //
     this.gridControlGhiChu.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.gridControlGhiChu.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("gridControlGhiChu.BackgroundImage")));
     this.gridControlGhiChu.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
     this.gridControlGhiChu.Location = new System.Drawing.Point(405, 241);
     this.gridControlGhiChu.MainView = this.gridViewGhiChu;
     this.gridControlGhiChu.Name = "gridControlGhiChu";
     this.gridControlGhiChu.Size = new System.Drawing.Size(588, 152);
     this.gridControlGhiChu.TabIndex = 138;
     this.gridControlGhiChu.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewGhiChu});
     //
     // gridViewGhiChu
     //
     this.gridViewGhiChu.Appearance.HeaderPanel.Options.UseTextOptions = true;
     this.gridViewGhiChu.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridViewGhiChu.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colLoaiGhiChu,
     this.colNoiDungGhiChu});
     this.gridViewGhiChu.GridControl = this.gridControlGhiChu;
     this.gridViewGhiChu.IndicatorWidth = 40;
     this.gridViewGhiChu.Name = "gridViewGhiChu";
     this.gridViewGhiChu.OptionsLayout.Columns.AddNewColumns = false;
     this.gridViewGhiChu.OptionsNavigation.AutoFocusNewRow = true;
     this.gridViewGhiChu.OptionsNavigation.EnterMoveNextColumn = true;
     this.gridViewGhiChu.OptionsPrint.UsePrintStyles = true;
     this.gridViewGhiChu.OptionsView.EnableAppearanceEvenRow = true;
     this.gridViewGhiChu.OptionsView.EnableAppearanceOddRow = true;
     this.gridViewGhiChu.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Top;
     this.gridViewGhiChu.OptionsView.ShowFilterPanelMode = DevExpress.XtraGrid.Views.Base.ShowFilterPanelMode.Never;
     this.gridViewGhiChu.OptionsView.ShowGroupedColumns = true;
     this.gridViewGhiChu.OptionsView.ShowGroupPanel = false;
     this.gridViewGhiChu.OptionsView.ShowIndicator = false;
     this.gridViewGhiChu.ViewCaption = "Thông tin bán";
     //
     // colLoaiGhiChu
     //
     this.colLoaiGhiChu.Caption = "Loại ghi chú";
     this.colLoaiGhiChu.Name = "colLoaiGhiChu";
     this.colLoaiGhiChu.SummaryItem.DisplayFormat = "Tồng số lần đã bán {0}";
     this.colLoaiGhiChu.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Count;
     this.colLoaiGhiChu.Visible = true;
     this.colLoaiGhiChu.VisibleIndex = 0;
     this.colLoaiGhiChu.Width = 68;
     //
     // colNoiDungGhiChu
     //
     this.colNoiDungGhiChu.Caption = "Nội dung";
     this.colNoiDungGhiChu.Name = "colNoiDungGhiChu";
     this.colNoiDungGhiChu.Visible = true;
     this.colNoiDungGhiChu.VisibleIndex = 1;
     this.colNoiDungGhiChu.Width = 54;
     //
     // labelControl34
     //
     this.labelControl34.Location = new System.Drawing.Point(342, 245);
     this.labelControl34.Name = "labelControl34";
     this.labelControl34.Size = new System.Drawing.Size(60, 13);
     this.labelControl34.TabIndex = 139;
     this.labelControl34.Text = "Ghi chú khác";
     //
     // PhanLoaiDrama
     //
     this.PhanLoaiDrama._DataSource = null;
     this.PhanLoaiDrama._GetField = null;
     this.PhanLoaiDrama.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.PhanLoaiDrama.Location = new System.Drawing.Point(690, 142);
     this.PhanLoaiDrama.MenuManager = this.barManager1;
     this.PhanLoaiDrama.Name = "PhanLoaiDrama";
     this.PhanLoaiDrama.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo, "", 0, true, false, false, DevExpress.XtraEditors.ImageLocation.Default, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, "", null, null, false)});
     this.PhanLoaiDrama.Properties.CloseUpKey = new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None);
     this.PhanLoaiDrama.Size = new System.Drawing.Size(303, 20);
     this.PhanLoaiDrama.TabIndex = 137;
     //
     // barManager1
     //
     this.barManager1.DockControls.Add(this.barDockControlTop);
     this.barManager1.DockControls.Add(this.barDockControlBottom);
     this.barManager1.DockControls.Add(this.barDockControlLeft);
     this.barManager1.DockControls.Add(this.barDockControlRight);
     this.barManager1.Form = this;
     this.barManager1.MaxItemId = 2;
     //
     // barDockControlTop
     //
     this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top;
     this.barDockControlTop.Location = new System.Drawing.Point(0, 0);
     this.barDockControlTop.Size = new System.Drawing.Size(1049, 0);
     //
     // barDockControlBottom
     //
     this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.barDockControlBottom.Location = new System.Drawing.Point(0, 750);
     this.barDockControlBottom.Size = new System.Drawing.Size(1049, 0);
     //
     // barDockControlLeft
     //
     this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
     this.barDockControlLeft.Location = new System.Drawing.Point(0, 0);
     this.barDockControlLeft.Size = new System.Drawing.Size(0, 750);
     //
     // barDockControlRight
     //
     this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
     this.barDockControlRight.Location = new System.Drawing.Point(1049, 0);
     this.barDockControlRight.Size = new System.Drawing.Size(0, 750);
     //
     // labelControl18
     //
     this.labelControl18.Location = new System.Drawing.Point(639, 144);
     this.labelControl18.Name = "labelControl18";
     this.labelControl18.Size = new System.Drawing.Size(49, 13);
     this.labelControl18.TabIndex = 136;
     this.labelControl18.Text = "P/L Drama";
     this.labelControl18.ToolTip = "Phân loại Drama";
     //
     // NguonTrading
     //
     this.NguonTrading._DataSource = null;
     this.NguonTrading._GetField = null;
     this.NguonTrading.Location = new System.Drawing.Point(93, 191);
     this.NguonTrading.Name = "NguonTrading";
     this.NguonTrading.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo, "", 0, true, false, false, DevExpress.XtraEditors.ImageLocation.Default, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject2, "", null, null, false)});
     this.NguonTrading.Properties.CloseUpKey = new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None);
     this.NguonTrading.Size = new System.Drawing.Size(239, 20);
     this.NguonTrading.TabIndex = 135;
     //
     // ClassName
     //
     this.ClassName._DataSource = null;
     this.ClassName._GetField = null;
     this.ClassName.Location = new System.Drawing.Point(405, 119);
     this.ClassName.MenuManager = this.barManager1;
     this.ClassName.Name = "ClassName";
     this.ClassName.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo, "", 0, true, false, false, DevExpress.XtraEditors.ImageLocation.Default, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject3, "", null, null, false)});
     this.ClassName.Properties.CloseUpKey = new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None);
     this.ClassName.Size = new System.Drawing.Size(227, 20);
     this.ClassName.TabIndex = 135;
     //
     // labelControl23
     //
     this.labelControl23.Location = new System.Drawing.Point(8, 192);
     this.labelControl23.Name = "labelControl23";
     this.labelControl23.Size = new System.Drawing.Size(70, 13);
     this.labelControl23.TabIndex = 134;
     this.labelControl23.Text = "Nguồn Trading";
     //
     // labelControl13
     //
     this.labelControl13.Location = new System.Drawing.Point(9, 170);
     this.labelControl13.Name = "labelControl13";
     this.labelControl13.Size = new System.Drawing.Size(41, 13);
     this.labelControl13.TabIndex = 134;
     this.labelControl13.Text = "Code CT";
     this.labelControl13.ToolTip = "Mã code kế toán";
     //
     // Code
     //
     this.Code.Location = new System.Drawing.Point(93, 168);
     this.Code.MenuManager = this.barManager1;
     this.Code.Name = "Code";
     this.Code.Size = new System.Drawing.Size(239, 20);
     this.Code.TabIndex = 133;
     //
     // TenGoc
     //
     this.TenGoc._DataSource = null;
     this.TenGoc._GetField = null;
     this.TenGoc.Location = new System.Drawing.Point(405, 73);
     this.TenGoc.Name = "TenGoc";
     this.TenGoc.Properties.CloseUpKey = new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None);
     this.TenGoc.Size = new System.Drawing.Size(227, 20);
     this.TenGoc.TabIndex = 132;
     //
     // NoiDung
     //
     this.NoiDung._DataSource = null;
     this.NoiDung._GetField = null;
     this.NoiDung.Location = new System.Drawing.Point(93, 73);
     this.NoiDung.Name = "NoiDung";
     this.NoiDung.Properties.CloseUpKey = new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None);
     this.NoiDung.Size = new System.Drawing.Size(240, 20);
     this.NoiDung.TabIndex = 132;
     this.NoiDung.Validated += new System.EventHandler(this.KyHieuPhanLoai_Validated);
     //
     // Period
     //
     this.Period._DataSource = null;
     this.Period._GetField = null;
     this.Period.Location = new System.Drawing.Point(405, 142);
     this.Period.Name = "Period";
     this.Period.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo, "", 0, true, false, false, DevExpress.XtraEditors.ImageLocation.Default, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject4, "", null, null, false)});
     this.Period.Properties.CloseUpKey = new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None);
     this.Period.Size = new System.Drawing.Size(228, 20);
     this.Period.TabIndex = 6;
     //
     // Category
     //
     this.Category._DataSource = null;
     this.Category._GetField = null;
     this.Category.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.Category.Location = new System.Drawing.Point(690, 72);
     this.Category.MenuManager = this.barManager1;
     this.Category.Name = "Category";
     this.Category.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo, "", 0, true, false, false, DevExpress.XtraEditors.ImageLocation.Default, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject5, "", null, null, false)});
     this.Category.Properties.CloseUpKey = new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None);
     this.Category.Size = new System.Drawing.Size(303, 20);
     this.Category.TabIndex = 6;
     //
     // TrailerGoc
     //
     this.TrailerGoc.Location = new System.Drawing.Point(260, 215);
     this.TrailerGoc.Name = "TrailerGoc";
     this.TrailerGoc.Properties.Caption = "Trailer gốc";
     this.TrailerGoc.Size = new System.Drawing.Size(72, 19);
     this.TrailerGoc.TabIndex = 16;
     //
     // Photos
     //
     this.Photos.Location = new System.Drawing.Point(174, 215);
     this.Photos.Name = "Photos";
     this.Photos.Properties.Caption = "Photo";
     this.Photos.Size = new System.Drawing.Size(56, 19);
     this.Photos.TabIndex = 15;
     //
     // Script
     //
     this.Script.Location = new System.Drawing.Point(93, 215);
     this.Script.MenuManager = this.barManager1;
     this.Script.Name = "Script";
     this.Script.Properties.Caption = "Script";
     this.Script.Size = new System.Drawing.Size(48, 19);
     this.Script.TabIndex = 14;
     //
     // ckcMoiTrenThiTruong
     //
     this.ckcMoiTrenThiTruong.Location = new System.Drawing.Point(313, 25);
     this.ckcMoiTrenThiTruong.Name = "ckcMoiTrenThiTruong";
     this.ckcMoiTrenThiTruong.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.ckcMoiTrenThiTruong.Properties.Appearance.ForeColor = System.Drawing.Color.Red;
     this.ckcMoiTrenThiTruong.Properties.Appearance.Options.UseFont = true;
     this.ckcMoiTrenThiTruong.Properties.Appearance.Options.UseForeColor = true;
     this.ckcMoiTrenThiTruong.Properties.Caption = "Mới trên thị trường";
     this.ckcMoiTrenThiTruong.Size = new System.Drawing.Size(142, 19);
     this.ckcMoiTrenThiTruong.TabIndex = 0;
     //
     // ckcTrongKho
     //
     this.ckcTrongKho.Location = new System.Drawing.Point(204, 24);
     this.ckcTrongKho.Name = "ckcTrongKho";
     this.ckcTrongKho.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.ckcTrongKho.Properties.Appearance.ForeColor = System.Drawing.Color.Red;
     this.ckcTrongKho.Properties.Appearance.Options.UseFont = true;
     this.ckcTrongKho.Properties.Appearance.Options.UseForeColor = true;
     this.ckcTrongKho.Properties.Caption = "Có trong kho";
     this.ckcTrongKho.Size = new System.Drawing.Size(98, 19);
     this.ckcTrongKho.TabIndex = 0;
     //
     // ThanhLy
     //
     this.ThanhLy.Location = new System.Drawing.Point(91, 24);
     this.ThanhLy.Name = "ThanhLy";
     this.ThanhLy.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.ThanhLy.Properties.Appearance.ForeColor = System.Drawing.Color.Red;
     this.ThanhLy.Properties.Appearance.Options.UseFont = true;
     this.ThanhLy.Properties.Appearance.Options.UseForeColor = true;
     this.ThanhLy.Properties.Caption = "Thanh lý";
     this.ThanhLy.Size = new System.Drawing.Size(88, 19);
     this.ThanhLy.TabIndex = 0;
     //
     // groupControl8
     //
     this.groupControl8.Controls.Add(this.KyHieuXepKho_KHPL);
     this.groupControl8.Controls.Add(this.KyHieuXepKho_NoiDung);
     this.groupControl8.Controls.Add(this.textEdit1);
     this.groupControl8.Location = new System.Drawing.Point(405, 188);
     this.groupControl8.Name = "groupControl8";
     this.groupControl8.ShowCaption = false;
     this.groupControl8.Size = new System.Drawing.Size(227, 46);
     this.groupControl8.TabIndex = 17;
     this.groupControl8.Text = "groupControl8";
     //
     // KyHieuXepKho_NoiDung
     //
     this.KyHieuXepKho_NoiDung.Location = new System.Drawing.Point(2, 26);
     this.KyHieuXepKho_NoiDung.Name = "KyHieuXepKho_NoiDung";
     this.KyHieuXepKho_NoiDung.Properties.AppearanceReadOnly.Options.UseTextOptions = true;
     this.KyHieuXepKho_NoiDung.Properties.AppearanceReadOnly.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.KyHieuXepKho_NoiDung.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.KyHieuXepKho_NoiDung.Properties.ReadOnly = true;
     this.KyHieuXepKho_NoiDung.Size = new System.Drawing.Size(220, 18);
     this.KyHieuXepKho_NoiDung.TabIndex = 2;
     this.KyHieuXepKho_NoiDung.TabStop = false;
     //
     // textEdit1
     //
     this.textEdit1.EditValue = "___________________";
     this.textEdit1.Location = new System.Drawing.Point(2, 9);
     this.textEdit1.Name = "textEdit1";
     this.textEdit1.Properties.AllowFocused = false;
     this.textEdit1.Properties.AppearanceReadOnly.Options.UseTextOptions = true;
     this.textEdit1.Properties.AppearanceReadOnly.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.textEdit1.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.textEdit1.Properties.ReadOnly = true;
     this.textEdit1.Size = new System.Drawing.Size(220, 18);
     this.textEdit1.TabIndex = 5;
     this.textEdit1.TabStop = false;
     //
     // Ranking
     //
     this.Ranking.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.Ranking.Location = new System.Drawing.Point(690, 96);
     this.Ranking.Name = "Ranking";
     this.Ranking.Size = new System.Drawing.Size(305, 20);
     this.Ranking.TabIndex = 9;
     this.Ranking.ZZZWidthFactor = 2F;
     //
     // DienVien
     //
     this.DienVien.DataSource = null;
     this.DienVien.DisplayField = null;
     this.DienVien.EditValue = "";
     this.DienVien.Location = new System.Drawing.Point(405, 96);
     this.DienVien.Name = "DienVien";
     this.DienVien.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.DienVien.Size = new System.Drawing.Size(227, 20);
     this.DienVien.TabIndex = 8;
     this.DienVien.ValueField = null;
     //
     // labelControl22
     //
     this.labelControl22.Location = new System.Drawing.Point(344, 122);
     this.labelControl22.Name = "labelControl22";
     this.labelControl22.Size = new System.Drawing.Size(24, 13);
     this.labelControl22.TabIndex = 0;
     this.labelControl22.Text = "Điểm";
     //
     // labelControl16
     //
     this.labelControl16.Location = new System.Drawing.Point(343, 145);
     this.labelControl16.Name = "labelControl16";
     this.labelControl16.Size = new System.Drawing.Size(30, 13);
     this.labelControl16.TabIndex = 0;
     this.labelControl16.Text = "Period";
     //
     // labelControl12
     //
     this.labelControl12.Location = new System.Drawing.Point(640, 98);
     this.labelControl12.Name = "labelControl12";
     this.labelControl12.Size = new System.Drawing.Size(38, 13);
     this.labelControl12.TabIndex = 0;
     this.labelControl12.Text = "Ranking";
     //
     // label24
     //
     this.label24.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label24.Location = new System.Drawing.Point(968, 125);
     this.label24.Name = "label24";
     this.label24.Size = new System.Drawing.Size(19, 13);
     this.label24.TabIndex = 0;
     this.label24.Text = "(%)";
     //
     // TuKhoaSelect
     //
     this.TuKhoaSelect.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.TuKhoaSelect.DataSource = null;
     this.TuKhoaSelect.DisplayField = null;
     this.TuKhoaSelect.EditValue = "";
     this.TuKhoaSelect.Location = new System.Drawing.Point(690, 216);
     this.TuKhoaSelect.Name = "TuKhoaSelect";
     this.TuKhoaSelect.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.TuKhoaSelect.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor;
     this.TuKhoaSelect.Size = new System.Drawing.Size(303, 19);
     this.TuKhoaSelect.TabIndex = 18;
     this.TuKhoaSelect.TabStop = false;
     this.TuKhoaSelect.ValueField = null;
     this.TuKhoaSelect.EditValueChanged += new System.EventHandler(this.TuKhoaSelect_EditValueChanged);
     this.TuKhoaSelect.CloseUp += new DevExpress.XtraEditors.Controls.CloseUpEventHandler(this.TuKhoaSelect_CloseUp);
     //
     // labelControl11
     //
     this.labelControl11.Location = new System.Drawing.Point(638, 74);
     this.labelControl11.Name = "labelControl11";
     this.labelControl11.Size = new System.Drawing.Size(45, 13);
     this.labelControl11.TabIndex = 0;
     this.labelControl11.Text = "Category";
     //
     // NgayAWB
     //
     this.NgayAWB.EditValue = null;
     this.NgayAWB.Location = new System.Drawing.Point(405, 48);
     this.NgayAWB.Name = "NgayAWB";
     this.NgayAWB.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True;
     this.NgayAWB.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.NgayAWB.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.NgayAWB.Size = new System.Drawing.Size(227, 20);
     this.NgayAWB.TabIndex = 2;
     //
     // TomTatNoiDung
     //
     this.TomTatNoiDung.Location = new System.Drawing.Point(93, 242);
     this.TomTatNoiDung.Name = "TomTatNoiDung";
     this.TomTatNoiDung.Size = new System.Drawing.Size(241, 80);
     this.TomTatNoiDung.TabIndex = 20;
     //
     // GhiChu
     //
     this.GhiChu.Location = new System.Drawing.Point(91, 326);
     this.GhiChu.Name = "GhiChu";
     this.GhiChu.Size = new System.Drawing.Size(243, 78);
     this.GhiChu.TabIndex = 21;
     this.GhiChu.EditValueChanged += new System.EventHandler(this.GhiChu_EditValueChanged);
     //
     // TuKhoaText
     //
     this.TuKhoaText.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.TuKhoaText.Location = new System.Drawing.Point(690, 167);
     this.TuKhoaText.Name = "TuKhoaText";
     this.TuKhoaText.Properties.ReadOnly = true;
     this.TuKhoaText.Size = new System.Drawing.Size(303, 50);
     this.TuKhoaText.TabIndex = 19;
     this.TuKhoaText.KeyDown += new System.Windows.Forms.KeyEventHandler(this.TuKhoaText_KeyDown);
     //
     // label20
     //
     this.label20.Location = new System.Drawing.Point(639, 169);
     this.label20.Name = "label20";
     this.label20.Size = new System.Drawing.Size(39, 13);
     this.label20.TabIndex = 131;
     this.label20.Text = "Từ khóa";
     //
     // labelControl2
     //
     this.labelControl2.Location = new System.Drawing.Point(343, 100);
     this.labelControl2.Name = "labelControl2";
     this.labelControl2.Size = new System.Drawing.Size(44, 13);
     this.labelControl2.TabIndex = 129;
     this.labelControl2.Text = "Diễn viên";
     //
     // label33
     //
     this.label33.Location = new System.Drawing.Point(343, 52);
     this.label33.Name = "label33";
     this.label33.Size = new System.Drawing.Size(51, 13);
     this.label33.TabIndex = 129;
     this.label33.Text = "Ngày AWB";
     //
     // labelControl5
     //
     this.labelControl5.Location = new System.Drawing.Point(8, 244);
     this.labelControl5.Name = "labelControl5";
     this.labelControl5.Size = new System.Drawing.Size(81, 13);
     this.labelControl5.TabIndex = 129;
     this.labelControl5.Text = "Tóm tắt nội dung";
     //
     // label36
     //
     this.label36.Location = new System.Drawing.Point(12, 329);
     this.label36.Name = "label36";
     this.label36.Size = new System.Drawing.Size(35, 13);
     this.label36.TabIndex = 129;
     this.label36.Text = "Ghi chú";
     //
     // Info
     //
     this.Info.Location = new System.Drawing.Point(308, 46);
     this.Info.Name = "Info";
     this.Info.Size = new System.Drawing.Size(24, 21);
     this.Info.TabIndex = 1;
     //
     // TinhTrangBang
     //
     this.TinhTrangBang.Location = new System.Drawing.Point(93, 144);
     this.TinhTrangBang.Name = "TinhTrangBang";
     this.TinhTrangBang.Size = new System.Drawing.Size(241, 20);
     this.TinhTrangBang.TabIndex = 13;
     this.TinhTrangBang.ZZZWidthFactor = 2F;
     //
     // TietMuc
     //
     this.TietMuc.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.TietMuc.Location = new System.Drawing.Point(690, 48);
     this.TietMuc.Name = "TietMuc";
     this.TietMuc.Size = new System.Drawing.Size(303, 20);
     this.TietMuc.TabIndex = 3;
     this.TietMuc.ZZZWidthFactor = 2F;
     //
     // labelControl3
     //
     this.labelControl3.Location = new System.Drawing.Point(9, 148);
     this.labelControl3.Name = "labelControl3";
     this.labelControl3.Size = new System.Drawing.Size(39, 13);
     this.labelControl3.TabIndex = 0;
     this.labelControl3.Text = "TT băng";
     this.labelControl3.ToolTip = "Tình trạng băng";
     //
     // MaChuongTrinh
     //
     this.MaChuongTrinh.Location = new System.Drawing.Point(93, 48);
     this.MaChuongTrinh.Name = "MaChuongTrinh";
     this.MaChuongTrinh.Properties.Appearance.BackColor = System.Drawing.Color.White;
     this.MaChuongTrinh.Properties.Appearance.Options.UseBackColor = true;
     this.MaChuongTrinh.Properties.MaxLength = 100;
     this.MaChuongTrinh.Properties.ReadOnly = true;
     this.MaChuongTrinh.Size = new System.Drawing.Size(209, 20);
     this.MaChuongTrinh.TabIndex = 1;
     this.MaChuongTrinh.TabStop = false;
     this.MaChuongTrinh.ToolTip = "Mã chương trình";
     //
     // label42
     //
     this.label42.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label42.Appearance.Options.UseFont = true;
     this.label42.Location = new System.Drawing.Point(342, 76);
     this.label42.Name = "label42";
     this.label42.Size = new System.Drawing.Size(38, 13);
     this.label42.TabIndex = 0;
     this.label42.Text = "Tên gốc";
     //
     // labelControl1
     //
     this.labelControl1.Location = new System.Drawing.Point(9, 52);
     this.labelControl1.Name = "labelControl1";
     this.labelControl1.Size = new System.Drawing.Size(78, 13);
     this.labelControl1.TabIndex = 0;
     this.labelControl1.Text = "Mã chương trình";
     //
     // xtraTabControlMain
     //
     this.xtraTabControlMain.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.xtraTabControlMain.AppearancePage.Header.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.xtraTabControlMain.AppearancePage.Header.Options.UseFont = true;
     this.xtraTabControlMain.AppearancePage.HeaderActive.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.xtraTabControlMain.AppearancePage.HeaderActive.ForeColor = System.Drawing.Color.Blue;
     this.xtraTabControlMain.AppearancePage.HeaderActive.Options.UseFont = true;
     this.xtraTabControlMain.AppearancePage.HeaderActive.Options.UseForeColor = true;
     this.xtraTabControlMain.ClosePageButtonShowMode = DevExpress.XtraTab.ClosePageButtonShowMode.InAllTabPageHeaders;
     this.xtraTabControlMain.Location = new System.Drawing.Point(6, 44);
     this.xtraTabControlMain.Name = "xtraTabControlMain";
     this.xtraTabControlMain.SelectedTabPage = this.xtraTabPageChuongTrinh;
     this.xtraTabControlMain.Size = new System.Drawing.Size(1043, 666);
     this.xtraTabControlMain.TabIndex = 130;
     this.xtraTabControlMain.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
     this.xtraTabPageChuongTrinh,
     this.xtraTabPageAdd});
     this.xtraTabControlMain.SelectedPageChanging += new DevExpress.XtraTab.TabPageChangingEventHandler(this.xtraTabControl1_SelectedPageChanging);
     this.xtraTabControlMain.CloseButtonClick += new System.EventHandler(this.xtraTabControlMain_CloseButtonClick);
     //
     // xtraTabPageChuongTrinh
     //
     this.xtraTabPageChuongTrinh.AutoScroll = true;
     this.xtraTabPageChuongTrinh.Controls.Add(this.xtraScrollableControl1);
     this.xtraTabPageChuongTrinh.FireScrollEventOnMouseWheel = true;
     this.xtraTabPageChuongTrinh.Name = "xtraTabPageChuongTrinh";
     this.xtraTabPageChuongTrinh.ShowCloseButton = DevExpress.Utils.DefaultBoolean.False;
     this.xtraTabPageChuongTrinh.Size = new System.Drawing.Size(1036, 637);
     this.xtraTabPageChuongTrinh.Text = "Thông tin chương trình";
     //
     // xtraScrollableControl1
     //
     this.xtraScrollableControl1.Controls.Add(this.groupControlThongTinPhatSong);
     this.xtraScrollableControl1.Controls.Add(this.groupControlNguonGoc);
     this.xtraScrollableControl1.Controls.Add(this.groupControlThongTin);
     this.xtraScrollableControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.xtraScrollableControl1.FireScrollEventOnMouseWheel = true;
     this.xtraScrollableControl1.Location = new System.Drawing.Point(0, 0);
     this.xtraScrollableControl1.Name = "xtraScrollableControl1";
     this.xtraScrollableControl1.Size = new System.Drawing.Size(1036, 637);
     this.xtraScrollableControl1.TabIndex = 130;
     //
     // xtraTabPageAdd
     //
     this.xtraTabPageAdd.Appearance.Header.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.xtraTabPageAdd.Appearance.Header.Options.UseFont = true;
     this.xtraTabPageAdd.Name = "xtraTabPageAdd";
     this.xtraTabPageAdd.ShowCloseButton = DevExpress.Utils.DefaultBoolean.False;
     this.xtraTabPageAdd.Size = new System.Drawing.Size(1036, 637);
     this.xtraTabPageAdd.Text = "+";
     //
     // popupMenuTab
     //
     this.popupMenuTab.Manager = this.barManager1;
     this.popupMenuTab.Name = "popupMenuTab";
     //
     // barButtonItem1
     //
     this.barButtonItem1.Caption = "Text";
     this.barButtonItem1.Id = 0;
     this.barButtonItem1.Name = "barButtonItem1";
     //
     // FrmChuongTrinh
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.ClientSize = new System.Drawing.Size(1049, 750);
     this.Controls.Add(this.flowLayoutPanel1);
     this.Controls.Add(this.flowLayoutPanel2);
     this.Controls.Add(this.xtraTabControlMain);
     this.Controls.Add(this.lblTitle);
     this.Controls.Add(this.barDockControlLeft);
     this.Controls.Add(this.barDockControlRight);
     this.Controls.Add(this.barDockControlBottom);
     this.Controls.Add(this.barDockControlTop);
     this.Cursor = System.Windows.Forms.Cursors.Default;
     this.Name = "FrmChuongTrinh";
     this.Text = "Chương trình";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Load += new System.EventHandler(this.frmPhuongAnDeXuatTour_Load);
     this.flowLayoutPanel1.ResumeLayout(false);
     this.flowLayoutPanel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.KyHieuPhanLoai.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.KyHieuXepKho_KHPL.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlThongTinPhatSong)).EndInit();
     this.groupControlThongTinPhatSong.ResumeLayout(false);
     this.groupControlThongTinPhatSong.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ReleaseDate.Properties.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ReleaseDate.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.SoRunConlai.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ReleaseRun.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.Release.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.SoDaRun.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlPhatSongKhac)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridviewPhatSongKhac)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlNgayPhatDauTien)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewNgayPhatDauTien)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.RunThu.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.TongSoRun.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ReleaseRule.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.MuaKem.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.Rating.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.DoiTuongKhanGia.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlNguonGoc)).EndInit();
     this.groupControlNguonGoc.ResumeLayout(false);
     this.groupControlNguonGoc.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.NoteBQ.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlThongTinBan)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewThongTinBan)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl7)).EndInit();
     this.groupControl7.ResumeLayout(false);
     this.groupControl7.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.DonViHauKy.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.NamSanXuat.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.QuocGia.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.KenhHanCheBan.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit();
     this.groupControl1.ResumeLayout(false);
     this.groupControl1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.BanQuyenHTV.Properties.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.BanQuyenHTV.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.BanQuyenDIDEnd.Properties.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.BanQuyenDIDEnd.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.BanQuyenDTNNEnd.Properties.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.BanQuyenDTNNEnd.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.BanQuyenDIDStart.Properties.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.BanQuyenDIDStart.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.BanQuyenDTNNStart.Properties.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.BanQuyenDTNNStart.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ChanelRight.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.DaoDien.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlThongTin)).EndInit();
     this.groupControlThongTin.ResumeLayout(false);
     this.groupControlThongTin.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlGhiChu)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewGhiChu)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.PhanLoaiDrama.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.NguonTrading.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ClassName.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.Code.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.TenGoc.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.NoiDung.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.Period.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.Category.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.TrailerGoc.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.Photos.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.Script.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ckcMoiTrenThiTruong.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ckcTrongKho.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ThanhLy.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl8)).EndInit();
     this.groupControl8.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.KyHieuXepKho_NoiDung.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.DienVien.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.TuKhoaSelect.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.NgayAWB.Properties.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.NgayAWB.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.TomTatNoiDung.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.GhiChu.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.TuKhoaText.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.MaChuongTrinh.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabControlMain)).EndInit();
     this.xtraTabControlMain.ResumeLayout(false);
     this.xtraTabPageChuongTrinh.ResumeLayout(false);
     this.xtraScrollableControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.popupMenuTab)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #21
0
        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.xtraScrollableControl1 = new DevExpress.XtraEditors.XtraScrollableControl();
            this.colorEdit1 = new DevExpress.XtraEditors.ColorEdit();
            this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
            this.simpleButton2 = new DevExpress.XtraEditors.SimpleButton();
            this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton();
            this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl5 = new DevExpress.XtraEditors.LabelControl();
            this.textEdit1 = new DevExpress.XtraEditors.TextEdit();
            this.textEdit2 = new DevExpress.XtraEditors.TextEdit();
            this.panelControl3 = new DevExpress.XtraEditors.PanelControl();
            this.groupControl1 = new DevExpress.XtraEditors.GroupControl();
            this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
            this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl();
            this.groupControl3 = new DevExpress.XtraEditors.GroupControl();
            this.gridControl1 = new DevExpress.XtraGrid.GridControl();
            this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.colZoneId = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colZoneName = new DevExpress.XtraGrid.Columns.GridColumn();
            this.repositoryItemLookUpEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
            this.repositoryItemLookUpEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
            this.repositoryItemCalcEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCalcEdit();
            this.repositoryItemSpinEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemSpinEdit();
            this.splitContainerControl2 = new DevExpress.XtraEditors.SplitContainerControl();
            this.panelControl2 = new DevExpress.XtraEditors.PanelControl();
            this.xtraScrollableControl1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.colorEdit1.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit2.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit();
            this.panelControl3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit();
            this.groupControl1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
            this.splitContainerControl1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl3)).BeginInit();
            this.groupControl3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCalcEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSpinEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).BeginInit();
            this.splitContainerControl2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit();
            this.panelControl2.SuspendLayout();
            this.SuspendLayout();
            //
            // xtraScrollableControl1
            //
            this.xtraScrollableControl1.Controls.Add(this.colorEdit1);
            this.xtraScrollableControl1.Controls.Add(this.labelControl1);
            this.xtraScrollableControl1.Controls.Add(this.simpleButton2);
            this.xtraScrollableControl1.Controls.Add(this.simpleButton1);
            this.xtraScrollableControl1.Controls.Add(this.labelControl4);
            this.xtraScrollableControl1.Controls.Add(this.labelControl5);
            this.xtraScrollableControl1.Controls.Add(this.textEdit1);
            this.xtraScrollableControl1.Controls.Add(this.textEdit2);
            this.xtraScrollableControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.xtraScrollableControl1.Location = new System.Drawing.Point(2, 22);
            this.xtraScrollableControl1.Name = "xtraScrollableControl1";
            this.xtraScrollableControl1.Size = new System.Drawing.Size(820, 680);
            this.xtraScrollableControl1.TabIndex = 0;
            //
            // colorEdit1
            //
            this.colorEdit1.EditValue = System.Drawing.Color.WhiteSmoke;
            this.colorEdit1.Location = new System.Drawing.Point(72, 84);
            this.colorEdit1.Name = "colorEdit1";
            this.colorEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.colorEdit1.Size = new System.Drawing.Size(162, 20);
            this.colorEdit1.TabIndex = 22;
            //
            // labelControl1
            //
            this.labelControl1.Location = new System.Drawing.Point(31, 87);
            this.labelControl1.Name = "labelControl1";
            this.labelControl1.Size = new System.Drawing.Size(34, 13);
            this.labelControl1.TabIndex = 21;
            this.labelControl1.Text = "แถบสี :";
            //
            // simpleButton2
            //
            this.simpleButton2.Location = new System.Drawing.Point(71, 123);
            this.simpleButton2.Name = "simpleButton2";
            this.simpleButton2.Size = new System.Drawing.Size(75, 24);
            this.simpleButton2.TabIndex = 17;
            this.simpleButton2.Text = "บันทึก";
            //
            // simpleButton1
            //
            this.simpleButton1.Location = new System.Drawing.Point(159, 123);
            this.simpleButton1.Name = "simpleButton1";
            this.simpleButton1.Size = new System.Drawing.Size(75, 24);
            this.simpleButton1.TabIndex = 16;
            this.simpleButton1.Text = "ยกเลิก";
            //
            // labelControl4
            //
            this.labelControl4.Location = new System.Drawing.Point(19, 19);
            this.labelControl4.Name = "labelControl4";
            this.labelControl4.Size = new System.Drawing.Size(46, 13);
            this.labelControl4.TabIndex = 20;
            this.labelControl4.Text = "รหัสโซน :";
            //
            // labelControl5
            //
            this.labelControl5.Location = new System.Drawing.Point(24, 53);
            this.labelControl5.Name = "labelControl5";
            this.labelControl5.Size = new System.Drawing.Size(41, 13);
            this.labelControl5.TabIndex = 15;
            this.labelControl5.Text = "ชื่อโซน :";
            //
            // textEdit1
            //
            this.textEdit1.Location = new System.Drawing.Point(71, 50);
            this.textEdit1.Name = "textEdit1";
            this.textEdit1.Size = new System.Drawing.Size(163, 20);
            this.textEdit1.TabIndex = 19;
            //
            // textEdit2
            //
            this.textEdit2.Location = new System.Drawing.Point(71, 16);
            this.textEdit2.Name = "textEdit2";
            this.textEdit2.Size = new System.Drawing.Size(163, 20);
            this.textEdit2.TabIndex = 18;
            //
            // panelControl3
            //
            this.panelControl3.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
            this.panelControl3.Controls.Add(this.groupControl1);
            this.panelControl3.Dock = System.Windows.Forms.DockStyle.Fill;
            this.panelControl3.Location = new System.Drawing.Point(0, 0);
            this.panelControl3.Name = "panelControl3";
            this.panelControl3.Size = new System.Drawing.Size(824, 704);
            this.panelControl3.TabIndex = 12;
            //
            // groupControl1
            //
            this.groupControl1.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
            this.groupControl1.AppearanceCaption.Options.UseFont = true;
            this.groupControl1.Controls.Add(this.xtraScrollableControl1);
            this.groupControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.groupControl1.Location = new System.Drawing.Point(0, 0);
            this.groupControl1.Name = "groupControl1";
            this.groupControl1.Size = new System.Drawing.Size(824, 704);
            this.groupControl1.TabIndex = 3;
            this.groupControl1.Text = "ข้อมูลโซน";
            //
            // panelControl1
            //
            this.panelControl1.Appearance.BackColor = System.Drawing.Color.DarkGray;
            this.panelControl1.Appearance.Options.UseBackColor = true;
            this.panelControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
            this.panelControl1.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.panelControl1.Location = new System.Drawing.Point(0, 704);
            this.panelControl1.Name = "panelControl1";
            this.panelControl1.Size = new System.Drawing.Size(824, 26);
            this.panelControl1.TabIndex = 11;
            //
            // splitContainerControl1
            //
            this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.splitContainerControl1.Location = new System.Drawing.Point(0, 0);
            this.splitContainerControl1.Name = "splitContainerControl1";
            this.splitContainerControl1.Panel1.Text = "Panel1";
            this.splitContainerControl1.Panel2.Text = "Panel2";
            this.splitContainerControl1.Size = new System.Drawing.Size(1211, 730);
            this.splitContainerControl1.SplitterPosition = 585;
            this.splitContainerControl1.TabIndex = 0;
            this.splitContainerControl1.Text = "splitContainerControl1";
            //
            // groupControl3
            //
            this.groupControl3.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
            this.groupControl3.AppearanceCaption.Options.UseFont = true;
            this.groupControl3.Controls.Add(this.gridControl1);
            this.groupControl3.Dock = System.Windows.Forms.DockStyle.Fill;
            this.groupControl3.Location = new System.Drawing.Point(0, 0);
            this.groupControl3.Name = "groupControl3";
            this.groupControl3.Size = new System.Drawing.Size(382, 730);
            this.groupControl3.TabIndex = 0;
            this.groupControl3.Text = "รายการโซน";
            //
            // gridControl1
            //
            this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gridControl1.Location = new System.Drawing.Point(2, 22);
            this.gridControl1.MainView = this.gridView1;
            this.gridControl1.Name = "gridControl1";
            this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
            this.repositoryItemLookUpEdit1,
            this.repositoryItemCalcEdit1,
            this.repositoryItemSpinEdit1,
            this.repositoryItemLookUpEdit2});
            this.gridControl1.Size = new System.Drawing.Size(378, 706);
            this.gridControl1.TabIndex = 5;
            this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gridView1});

            //
            // gridView1
            //
            this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.colZoneId,
            this.colZoneName});
            this.gridView1.GridControl = this.gridControl1;
            this.gridView1.GroupSummary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
            new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Count, "OrderID", null, "")});
            this.gridView1.Name = "gridView1";
            this.gridView1.OptionsFind.AlwaysVisible = true;
            this.gridView1.OptionsFind.ShowCloseButton = false;
            this.gridView1.OptionsView.ShowGroupPanel = false;
            this.gridView1.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.ShowOnlyInEditor;
            //
            // colZoneId
            //
            this.colZoneId.Caption = "รหัสโซน";
            this.colZoneId.FieldName = "colZoneId";
            this.colZoneId.Name = "colZoneId";
            this.colZoneId.Visible = true;
            this.colZoneId.VisibleIndex = 0;
            //
            // colZoneName
            //
            this.colZoneName.Caption = "ชื่อโซน";
            this.colZoneName.ColumnEdit = this.repositoryItemLookUpEdit2;
            this.colZoneName.FieldName = "colZoneName";
            this.colZoneName.Name = "colZoneName";
            this.colZoneName.Visible = true;
            this.colZoneName.VisibleIndex = 1;
            //
            // repositoryItemLookUpEdit2
            //
            this.repositoryItemLookUpEdit2.AutoHeight = false;
            this.repositoryItemLookUpEdit2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemLookUpEdit2.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("ZoneName", 10, "Zone Name")});
            this.repositoryItemLookUpEdit2.DisplayMember = "ZoneName";
            this.repositoryItemLookUpEdit2.Name = "repositoryItemLookUpEdit2";
            this.repositoryItemLookUpEdit2.NullText = "";
            this.repositoryItemLookUpEdit2.ValueMember = "ZoneID";
            //
            // repositoryItemLookUpEdit1
            //
            this.repositoryItemLookUpEdit1.AutoHeight = false;
            this.repositoryItemLookUpEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemLookUpEdit1.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("ROOMID", "ROOMNAME")});
            this.repositoryItemLookUpEdit1.DisplayMember = "Name";
            this.repositoryItemLookUpEdit1.DropDownRows = 10;
            this.repositoryItemLookUpEdit1.Name = "repositoryItemLookUpEdit1";
            this.repositoryItemLookUpEdit1.NullText = "";
            this.repositoryItemLookUpEdit1.PopupWidth = 220;
            this.repositoryItemLookUpEdit1.ValueMember = "ID";
            //
            // repositoryItemCalcEdit1
            //
            this.repositoryItemCalcEdit1.AutoHeight = false;
            this.repositoryItemCalcEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemCalcEdit1.Name = "repositoryItemCalcEdit1";
            //
            // repositoryItemSpinEdit1
            //
            this.repositoryItemSpinEdit1.AutoHeight = false;
            this.repositoryItemSpinEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.repositoryItemSpinEdit1.IsFloatValue = false;
            this.repositoryItemSpinEdit1.Mask.EditMask = "N00";
            this.repositoryItemSpinEdit1.Name = "repositoryItemSpinEdit1";
            //
            // splitContainerControl2
            //
            this.splitContainerControl2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.splitContainerControl2.Location = new System.Drawing.Point(4, 4);
            this.splitContainerControl2.Name = "splitContainerControl2";
            this.splitContainerControl2.Panel1.Controls.Add(this.groupControl3);
            this.splitContainerControl2.Panel1.Text = "Panel1";
            this.splitContainerControl2.Panel2.Controls.Add(this.panelControl3);
            this.splitContainerControl2.Panel2.Controls.Add(this.panelControl1);
            this.splitContainerControl2.Panel2.Text = "Panel2";
            this.splitContainerControl2.Size = new System.Drawing.Size(1211, 730);
            this.splitContainerControl2.SplitterPosition = 382;
            this.splitContainerControl2.TabIndex = 13;
            this.splitContainerControl2.Text = "splitContainerControl2";
            //
            // panelControl2
            //
            this.panelControl2.Appearance.BackColor = System.Drawing.Color.WhiteSmoke;
            this.panelControl2.Appearance.Options.UseBackColor = true;
            this.panelControl2.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
            this.panelControl2.Controls.Add(this.splitContainerControl1);
            this.panelControl2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.panelControl2.Location = new System.Drawing.Point(4, 4);
            this.panelControl2.Name = "panelControl2";
            this.panelControl2.Size = new System.Drawing.Size(1211, 730);
            this.panelControl2.TabIndex = 12;
            //
            // BasicInfoZone
            //
            this.Appearance.BackColor = System.Drawing.Color.WhiteSmoke;
            this.Appearance.Options.UseBackColor = true;
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.splitContainerControl2);
            this.Controls.Add(this.panelControl2);
            this.Name = "BasicInfoZone";
            this.Padding = new System.Windows.Forms.Padding(4);
            this.Size = new System.Drawing.Size(1219, 738);
            this.xtraScrollableControl1.ResumeLayout(false);
            this.xtraScrollableControl1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.colorEdit1.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit2.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit();
            this.panelControl3.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit();
            this.groupControl1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit();
            this.splitContainerControl1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.groupControl3)).EndInit();
            this.groupControl3.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCalcEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSpinEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).EndInit();
            this.splitContainerControl2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit();
            this.panelControl2.ResumeLayout(false);
            this.ResumeLayout(false);
        }
コード例 #22
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.btnSave = new DevExpress.XtraEditors.SimpleButton();
     this.btnClose = new DevExpress.XtraEditors.SimpleButton();
     this.btnXemTruoc = new DevExpress.XtraEditors.SimpleButton();
     this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
     this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
     this.groupControlConfig = new DevExpress.XtraEditors.GroupControl();
     this.xtraScrollableControlConfig = new DevExpress.XtraEditors.XtraScrollableControl();
     this.flowLayoutPanelLabel = new System.Windows.Forms.FlowLayoutPanel();
     this.flowLayoutPanelPattern = new System.Windows.Forms.FlowLayoutPanel();
     this.groupControlExample = new DevExpress.XtraEditors.GroupControl();
     this.xtraScrollableControlExample = new DevExpress.XtraEditors.XtraScrollableControl();
     this.flowLayoutPanelDemo = new System.Windows.Forms.FlowLayoutPanel();
     this.panelControl2 = new DevExpress.XtraEditors.PanelControl();
     this.flowLayoutPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
     this.panelControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlConfig)).BeginInit();
     this.groupControlConfig.SuspendLayout();
     this.xtraScrollableControlConfig.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlExample)).BeginInit();
     this.groupControlExample.SuspendLayout();
     this.xtraScrollableControlExample.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit();
     this.panelControl2.SuspendLayout();
     this.SuspendLayout();
     //
     // btnSave
     //
     this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnSave.Location = new System.Drawing.Point(100, 3);
     this.btnSave.Name = "btnSave";
     this.btnSave.Size = new System.Drawing.Size(75, 23);
     this.btnSave.TabIndex = 2;
     this.btnSave.Text = "&Lưu";
     this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
     //
     // btnClose
     //
     this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnClose.Location = new System.Drawing.Point(181, 3);
     this.btnClose.Name = "btnClose";
     this.btnClose.Size = new System.Drawing.Size(75, 23);
     this.btnClose.TabIndex = 3;
     this.btnClose.Text = "Đón&g";
     this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
     //
     // btnXemTruoc
     //
     this.btnXemTruoc.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnXemTruoc.Location = new System.Drawing.Point(3, 3);
     this.btnXemTruoc.Name = "btnXemTruoc";
     this.btnXemTruoc.Size = new System.Drawing.Size(91, 23);
     this.btnXemTruoc.TabIndex = 1;
     this.btnXemTruoc.Text = "Xem t&rước";
     this.btnXemTruoc.Click += new System.EventHandler(this.btnXemTruoc_Click);
     //
     // flowLayoutPanel1
     //
     this.flowLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.flowLayoutPanel1.Controls.Add(this.btnXemTruoc);
     this.flowLayoutPanel1.Controls.Add(this.btnSave);
     this.flowLayoutPanel1.Controls.Add(this.btnClose);
     this.flowLayoutPanel1.Location = new System.Drawing.Point(392, 6);
     this.flowLayoutPanel1.Name = "flowLayoutPanel1";
     this.flowLayoutPanel1.Size = new System.Drawing.Size(263, 31);
     this.flowLayoutPanel1.TabIndex = 3;
     //
     // panelControl1
     //
     this.panelControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl1.Controls.Add(this.flowLayoutPanel1);
     this.panelControl1.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.panelControl1.Location = new System.Drawing.Point(0, 65);
     this.panelControl1.Name = "panelControl1";
     this.panelControl1.Size = new System.Drawing.Size(657, 37);
     this.panelControl1.TabIndex = 6;
     //
     // groupControlConfig
     //
     this.groupControlConfig.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.groupControlConfig.Controls.Add(this.xtraScrollableControlConfig);
     this.groupControlConfig.Location = new System.Drawing.Point(3, 3);
     this.groupControlConfig.Name = "groupControlConfig";
     this.groupControlConfig.Size = new System.Drawing.Size(473, 56);
     this.groupControlConfig.TabIndex = 0;
     this.groupControlConfig.Text = "Định dạng phát sinh số phiếu";
     //
     // xtraScrollableControlConfig
     //
     this.xtraScrollableControlConfig.Controls.Add(this.flowLayoutPanelLabel);
     this.xtraScrollableControlConfig.Controls.Add(this.flowLayoutPanelPattern);
     this.xtraScrollableControlConfig.Dock = System.Windows.Forms.DockStyle.Fill;
     this.xtraScrollableControlConfig.FireScrollEventOnMouseWheel = true;
     this.xtraScrollableControlConfig.Location = new System.Drawing.Point(2, 22);
     this.xtraScrollableControlConfig.Name = "xtraScrollableControlConfig";
     this.xtraScrollableControlConfig.Size = new System.Drawing.Size(469, 32);
     this.xtraScrollableControlConfig.TabIndex = 2;
     this.xtraScrollableControlConfig.Scroll += new DevExpress.XtraEditors.XtraScrollEventHandler(this.xtraScrollableControlConfig_Scroll);
     //
     // flowLayoutPanelLabel
     //
     this.flowLayoutPanelLabel.AutoSize = true;
     this.flowLayoutPanelLabel.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
     this.flowLayoutPanelLabel.Location = new System.Drawing.Point(7, 3);
     this.flowLayoutPanelLabel.Name = "flowLayoutPanelLabel";
     this.flowLayoutPanelLabel.Size = new System.Drawing.Size(183, 25);
     this.flowLayoutPanelLabel.TabIndex = 0;
     //
     // flowLayoutPanelPattern
     //
     this.flowLayoutPanelPattern.AutoSize = true;
     this.flowLayoutPanelPattern.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
     this.flowLayoutPanelPattern.Location = new System.Drawing.Point(196, 3);
     this.flowLayoutPanelPattern.Name = "flowLayoutPanelPattern";
     this.flowLayoutPanelPattern.Size = new System.Drawing.Size(270, 25);
     this.flowLayoutPanelPattern.TabIndex = 1;
     //
     // groupControlExample
     //
     this.groupControlExample.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.groupControlExample.Controls.Add(this.xtraScrollableControlExample);
     this.groupControlExample.Location = new System.Drawing.Point(482, 3);
     this.groupControlExample.Name = "groupControlExample";
     this.groupControlExample.Size = new System.Drawing.Size(173, 56);
     this.groupControlExample.TabIndex = 7;
     this.groupControlExample.Text = "Minh họa";
     //
     // xtraScrollableControlExample
     //
     this.xtraScrollableControlExample.Controls.Add(this.flowLayoutPanelDemo);
     this.xtraScrollableControlExample.Dock = System.Windows.Forms.DockStyle.Fill;
     this.xtraScrollableControlExample.FireScrollEventOnMouseWheel = true;
     this.xtraScrollableControlExample.Location = new System.Drawing.Point(2, 22);
     this.xtraScrollableControlExample.Name = "xtraScrollableControlExample";
     this.xtraScrollableControlExample.Size = new System.Drawing.Size(169, 32);
     this.xtraScrollableControlExample.TabIndex = 1;
     this.xtraScrollableControlExample.Scroll += new DevExpress.XtraEditors.XtraScrollEventHandler(this.xtraScrollableControlExample_Scroll);
     //
     // flowLayoutPanelDemo
     //
     this.flowLayoutPanelDemo.AutoSize = true;
     this.flowLayoutPanelDemo.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
     this.flowLayoutPanelDemo.Location = new System.Drawing.Point(3, 3);
     this.flowLayoutPanelDemo.Name = "flowLayoutPanelDemo";
     this.flowLayoutPanelDemo.Size = new System.Drawing.Size(158, 25);
     this.flowLayoutPanelDemo.TabIndex = 2;
     //
     // panelControl2
     //
     this.panelControl2.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl2.Controls.Add(this.groupControlExample);
     this.panelControl2.Controls.Add(this.groupControlConfig);
     this.panelControl2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panelControl2.Location = new System.Drawing.Point(0, 0);
     this.panelControl2.Name = "panelControl2";
     this.panelControl2.Size = new System.Drawing.Size(657, 65);
     this.panelControl2.TabIndex = 11;
     //
     // frmCauHinhMauPhieu
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.ClientSize = new System.Drawing.Size(657, 102);
     this.Controls.Add(this.panelControl2);
     this.Controls.Add(this.panelControl1);
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "frmCauHinhMauPhieu";
     this.Text = "Thiết lập định dạng số phiếu";
     this.flowLayoutPanel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
     this.panelControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControlConfig)).EndInit();
     this.groupControlConfig.ResumeLayout(false);
     this.xtraScrollableControlConfig.ResumeLayout(false);
     this.xtraScrollableControlConfig.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlExample)).EndInit();
     this.groupControlExample.ResumeLayout(false);
     this.xtraScrollableControlExample.ResumeLayout(false);
     this.xtraScrollableControlExample.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit();
     this.panelControl2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #23
0
        /// <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();
            System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("Hẻm chính sâu dưới 100m");
            System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("Hẻm chính sâu từ 100-200m");
            System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("Hẻm chính sâu trên 200m");
            System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("Hẻm phụ sâu dưới 100m");
            System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("Hẻm phụ sâu từ 100-200m");
            System.Windows.Forms.TreeNode treeNode6 = new System.Windows.Forms.TreeNode("Hẻm phụ sâu trên 200m");
            this.groupControl2 = new DevExpress.XtraEditors.GroupControl();
            this.groupControl4 = new DevExpress.XtraEditors.GroupControl();
            this.tvcLoaiThua = new TnControlLib.TnTreeViewCheckBox();
            this.panelControl4 = new DevExpress.XtraEditors.PanelControl();
            this.xtraScrollableControl3 = new DevExpress.XtraEditors.XtraScrollableControl();
            this.chkOverWrite = new DevExpress.XtraEditors.CheckEdit();
            this.chkCalcAll = new DevExpress.XtraEditors.CheckEdit();
            this.spnNam = new DevExpress.XtraEditors.SpinEdit();
            this.labelControl21 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl17 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl20 = new DevExpress.XtraEditors.LabelControl();
            this.cbxHuyen = new DevExpress.XtraEditors.ComboBoxEdit();
            this.labelControl18 = new DevExpress.XtraEditors.LabelControl();
            this.cbxXa = new DevExpress.XtraEditors.ComboBoxEdit();
            this.labelControl19 = new DevExpress.XtraEditors.LabelControl();
            this.cbxDuong = new DevExpress.XtraEditors.ComboBoxEdit();
            this.cbxDoanDuong = new DevExpress.XtraEditors.ComboBoxEdit();
            this.panelControl3 = new DevExpress.XtraEditors.PanelControl();
            this.btnOptionCalcView = new DevExpress.XtraEditors.SimpleButton();
            this.btnTinhFrmAll = new DevExpress.XtraEditors.SimpleButton();
            this.btnCloseFrmTinhAll = new DevExpress.XtraEditors.SimpleButton();
            this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.mniOpenStatus = new System.Windows.Forms.ToolStripMenuItem();
            this.mniHelp = new System.Windows.Forms.ToolStripMenuItem();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).BeginInit();
            this.groupControl2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl4)).BeginInit();
            this.groupControl4.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).BeginInit();
            this.panelControl4.SuspendLayout();
            this.xtraScrollableControl3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.chkOverWrite.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkCalcAll.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.spnNam.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cbxHuyen.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cbxXa.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cbxDuong.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cbxDoanDuong.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit();
            this.panelControl3.SuspendLayout();
            this.contextMenuStrip1.SuspendLayout();
            this.SuspendLayout();
            // 
            // groupControl2
            // 
            this.groupControl2.Controls.Add(this.groupControl4);
            this.groupControl2.Controls.Add(this.panelControl4);
            this.groupControl2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.groupControl2.Location = new System.Drawing.Point(0, 0);
            this.groupControl2.MinimumSize = new System.Drawing.Size(350, 247);
            this.groupControl2.Name = "groupControl2";
            this.groupControl2.Size = new System.Drawing.Size(363, 330);
            this.groupControl2.TabIndex = 1;
            this.groupControl2.Text = "Chọn khu vực tính";
            // 
            // groupControl4
            // 
            this.groupControl4.Controls.Add(this.tvcLoaiThua);
            this.groupControl4.Dock = System.Windows.Forms.DockStyle.Fill;
            this.groupControl4.Location = new System.Drawing.Point(2, 164);
            this.groupControl4.Name = "groupControl4";
            this.groupControl4.Size = new System.Drawing.Size(359, 164);
            this.groupControl4.TabIndex = 1;
            this.groupControl4.Text = "Chọn loại hẻm";
            // 
            // tvcLoaiThua
            // 
            this.tvcLoaiThua.CheckBoxes = true;
            this.tvcLoaiThua.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tvcLoaiThua.DrawMode = System.Windows.Forms.TreeViewDrawMode.OwnerDrawAll;
            this.tvcLoaiThua.Location = new System.Drawing.Point(2, 22);
            this.tvcLoaiThua.Name = "tvcLoaiThua";
            treeNode1.Name = "nHemDuoi100";
            treeNode1.Tag = "101";
            treeNode1.Text = "Hẻm chính sâu dưới 100m";
            treeNode2.Name = "nHem100_200";
            treeNode2.Tag = "102";
            treeNode2.Text = "Hẻm chính sâu từ 100-200m";
            treeNode3.Name = "nHemTren200";
            treeNode3.Tag = "103";
            treeNode3.Text = "Hẻm chính sâu trên 200m";
            treeNode4.Name = "Node1";
            treeNode4.Tag = "104";
            treeNode4.Text = "Hẻm phụ sâu dưới 100m";
            treeNode5.Name = "Node2";
            treeNode5.Tag = "105";
            treeNode5.Text = "Hẻm phụ sâu từ 100-200m";
            treeNode6.Name = "Node3";
            treeNode6.Tag = "106";
            treeNode6.Text = "Hẻm phụ sâu trên 200m";
            this.tvcLoaiThua.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
            treeNode1,
            treeNode2,
            treeNode3,
            treeNode4,
            treeNode5,
            treeNode6});
            this.tvcLoaiThua.Size = new System.Drawing.Size(355, 140);
            this.tvcLoaiThua.TabIndex = 1;
            // 
            // panelControl4
            // 
            this.panelControl4.Controls.Add(this.xtraScrollableControl3);
            this.panelControl4.Dock = System.Windows.Forms.DockStyle.Top;
            this.panelControl4.Location = new System.Drawing.Point(2, 22);
            this.panelControl4.Name = "panelControl4";
            this.panelControl4.Size = new System.Drawing.Size(359, 142);
            this.panelControl4.TabIndex = 0;
            // 
            // xtraScrollableControl3
            // 
            this.xtraScrollableControl3.Controls.Add(this.chkOverWrite);
            this.xtraScrollableControl3.Controls.Add(this.chkCalcAll);
            this.xtraScrollableControl3.Controls.Add(this.spnNam);
            this.xtraScrollableControl3.Controls.Add(this.labelControl21);
            this.xtraScrollableControl3.Controls.Add(this.labelControl17);
            this.xtraScrollableControl3.Controls.Add(this.labelControl20);
            this.xtraScrollableControl3.Controls.Add(this.cbxHuyen);
            this.xtraScrollableControl3.Controls.Add(this.labelControl18);
            this.xtraScrollableControl3.Controls.Add(this.cbxXa);
            this.xtraScrollableControl3.Controls.Add(this.labelControl19);
            this.xtraScrollableControl3.Controls.Add(this.cbxDuong);
            this.xtraScrollableControl3.Controls.Add(this.cbxDoanDuong);
            this.xtraScrollableControl3.Dock = System.Windows.Forms.DockStyle.Fill;
            this.xtraScrollableControl3.Location = new System.Drawing.Point(2, 2);
            this.xtraScrollableControl3.Name = "xtraScrollableControl3";
            this.xtraScrollableControl3.Size = new System.Drawing.Size(355, 138);
            this.xtraScrollableControl3.TabIndex = 18;
            // 
            // chkOverWrite
            // 
            this.chkOverWrite.EditValue = true;
            this.chkOverWrite.Location = new System.Drawing.Point(138, 3);
            this.chkOverWrite.Name = "chkOverWrite";
            this.chkOverWrite.Properties.Caption = "Cập nhật thông tin";
            this.chkOverWrite.Size = new System.Drawing.Size(120, 19);
            this.chkOverWrite.TabIndex = 17;
            this.chkOverWrite.Visible = false;
            // 
            // chkCalcAll
            // 
            this.chkCalcAll.Location = new System.Drawing.Point(1, 3);
            this.chkCalcAll.Name = "chkCalcAll";
            this.chkCalcAll.Properties.Caption = "Tính cho toàn bộ thửa";
            this.chkCalcAll.Size = new System.Drawing.Size(131, 19);
            this.chkCalcAll.TabIndex = 6;
            this.chkCalcAll.Visible = false;
            // 
            // spnNam
            // 
            this.spnNam.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.spnNam.EditValue = new decimal(new int[] {
            2011,
            0,
            0,
            0});
            this.spnNam.Enabled = false;
            this.spnNam.Location = new System.Drawing.Point(298, 3);
            this.spnNam.Name = "spnNam";
            this.spnNam.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.spnNam.Size = new System.Drawing.Size(50, 20);
            this.spnNam.TabIndex = 16;
            this.spnNam.Visible = false;
            // 
            // labelControl21
            // 
            this.labelControl21.Location = new System.Drawing.Point(7, 83);
            this.labelControl21.Name = "labelControl21";
            this.labelControl21.Size = new System.Drawing.Size(79, 13);
            this.labelControl21.TabIndex = 14;
            this.labelControl21.Text = "Tính theo đường";
            // 
            // labelControl17
            // 
            this.labelControl17.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.labelControl17.Location = new System.Drawing.Point(271, 6);
            this.labelControl17.Name = "labelControl17";
            this.labelControl17.Size = new System.Drawing.Size(21, 13);
            this.labelControl17.TabIndex = 15;
            this.labelControl17.Text = "Năm";
            this.labelControl17.Visible = false;
            // 
            // labelControl20
            // 
            this.labelControl20.Location = new System.Drawing.Point(7, 109);
            this.labelControl20.Name = "labelControl20";
            this.labelControl20.Size = new System.Drawing.Size(106, 13);
            this.labelControl20.TabIndex = 11;
            this.labelControl20.Text = "Tính theo đoạn đường";
            // 
            // cbxHuyen
            // 
            this.cbxHuyen.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.cbxHuyen.EditValue = "TX Tây Ninh";
            this.cbxHuyen.Location = new System.Drawing.Point(119, 28);
            this.cbxHuyen.Name = "cbxHuyen";
            this.cbxHuyen.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.cbxHuyen.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
            this.cbxHuyen.Size = new System.Drawing.Size(229, 20);
            this.cbxHuyen.TabIndex = 10;
            // 
            // labelControl18
            // 
            this.labelControl18.Location = new System.Drawing.Point(7, 57);
            this.labelControl18.Name = "labelControl18";
            this.labelControl18.Size = new System.Drawing.Size(60, 13);
            this.labelControl18.TabIndex = 13;
            this.labelControl18.Text = "Tính theo xã";
            // 
            // cbxXa
            // 
            this.cbxXa.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.cbxXa.Location = new System.Drawing.Point(119, 54);
            this.cbxXa.Name = "cbxXa";
            this.cbxXa.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.cbxXa.Size = new System.Drawing.Size(229, 20);
            this.cbxXa.TabIndex = 9;
            this.cbxXa.SelectedIndexChanged += new System.EventHandler(this.cbxXa_SelectedIndexChanged);
            this.cbxXa.Click += new System.EventHandler(this.cbxXa_Click);
            // 
            // labelControl19
            // 
            this.labelControl19.Location = new System.Drawing.Point(7, 31);
            this.labelControl19.Name = "labelControl19";
            this.labelControl19.Size = new System.Drawing.Size(78, 13);
            this.labelControl19.TabIndex = 12;
            this.labelControl19.Text = "Tính theo huyện";
            // 
            // cbxDuong
            // 
            this.cbxDuong.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.cbxDuong.Location = new System.Drawing.Point(119, 80);
            this.cbxDuong.Name = "cbxDuong";
            this.cbxDuong.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.cbxDuong.Size = new System.Drawing.Size(229, 20);
            this.cbxDuong.TabIndex = 7;
            this.cbxDuong.SelectedIndexChanged += new System.EventHandler(this.cbxDuong_SelectedIndexChanged);
            this.cbxDuong.Click += new System.EventHandler(this.cbxDuong_Click);
            // 
            // cbxDoanDuong
            // 
            this.cbxDoanDuong.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.cbxDoanDuong.Location = new System.Drawing.Point(119, 106);
            this.cbxDoanDuong.Name = "cbxDoanDuong";
            this.cbxDoanDuong.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.cbxDoanDuong.Size = new System.Drawing.Size(229, 20);
            this.cbxDoanDuong.TabIndex = 8;
            this.cbxDoanDuong.SelectedIndexChanged += new System.EventHandler(this.cbxDoanDuong_SelectedIndexChanged);
            this.cbxDoanDuong.Click += new System.EventHandler(this.cbxDoanDuong_Click);
            // 
            // panelControl3
            // 
            this.panelControl3.Controls.Add(this.btnOptionCalcView);
            this.panelControl3.Controls.Add(this.btnTinhFrmAll);
            this.panelControl3.Controls.Add(this.btnCloseFrmTinhAll);
            this.panelControl3.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.panelControl3.Location = new System.Drawing.Point(0, 330);
            this.panelControl3.Name = "panelControl3";
            this.panelControl3.Size = new System.Drawing.Size(363, 35);
            this.panelControl3.TabIndex = 0;
            // 
            // btnOptionCalcView
            // 
            this.btnOptionCalcView.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.btnOptionCalcView.Location = new System.Drawing.Point(8, 4);
            this.btnOptionCalcView.Name = "btnOptionCalcView";
            this.btnOptionCalcView.Size = new System.Drawing.Size(75, 28);
            this.btnOptionCalcView.TabIndex = 0;
            this.btnOptionCalcView.Text = "Trợ giúp";
            this.btnOptionCalcView.Click += new System.EventHandler(this.btnOptionCalcView_Click);
            // 
            // btnTinhFrmAll
            // 
            this.btnTinhFrmAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.btnTinhFrmAll.Location = new System.Drawing.Point(196, 4);
            this.btnTinhFrmAll.Name = "btnTinhFrmAll";
            this.btnTinhFrmAll.Size = new System.Drawing.Size(75, 28);
            this.btnTinhFrmAll.TabIndex = 0;
            this.btnTinhFrmAll.Text = "Tính";
            this.btnTinhFrmAll.Click += new System.EventHandler(this.btnTinhFrmAll_Click);
            // 
            // btnCloseFrmTinhAll
            // 
            this.btnCloseFrmTinhAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.btnCloseFrmTinhAll.Location = new System.Drawing.Point(277, 4);
            this.btnCloseFrmTinhAll.Name = "btnCloseFrmTinhAll";
            this.btnCloseFrmTinhAll.Size = new System.Drawing.Size(75, 28);
            this.btnCloseFrmTinhAll.TabIndex = 0;
            this.btnCloseFrmTinhAll.Text = "Đóng";
            this.btnCloseFrmTinhAll.Click += new System.EventHandler(this.btnCloseFrmTinhAll_Click);
            // 
            // contextMenuStrip1
            // 
            this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.mniOpenStatus,
            this.mniHelp});
            this.contextMenuStrip1.Name = "contextMenuStrip1";
            this.contextMenuStrip1.Size = new System.Drawing.Size(193, 48);
            // 
            // mniOpenStatus
            // 
            this.mniOpenStatus.Name = "mniOpenStatus";
            this.mniOpenStatus.Size = new System.Drawing.Size(192, 22);
            this.mniOpenStatus.Text = "Mở trạng thái vừa tính";
            this.mniOpenStatus.Click += new System.EventHandler(this.mniOpenStatus_Click);
            // 
            // mniHelp
            // 
            this.mniHelp.Name = "mniHelp";
            this.mniHelp.Size = new System.Drawing.Size(192, 22);
            this.mniHelp.Text = "Trợ giúp";
            // 
            // GCalculationHemView
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.groupControl2);
            this.Controls.Add(this.panelControl3);
            this.Name = "GCalculationHemView";
            this.Size = new System.Drawing.Size(363, 365);
            ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).EndInit();
            this.groupControl2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.groupControl4)).EndInit();
            this.groupControl4.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).EndInit();
            this.panelControl4.ResumeLayout(false);
            this.xtraScrollableControl3.ResumeLayout(false);
            this.xtraScrollableControl3.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.chkOverWrite.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkCalcAll.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.spnNam.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cbxHuyen.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cbxXa.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cbxDuong.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cbxDoanDuong.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit();
            this.panelControl3.ResumeLayout(false);
            this.contextMenuStrip1.ResumeLayout(false);
            this.ResumeLayout(false);

        }
コード例 #24
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.splitContainerControl2 = new DevExpress.XtraEditors.SplitContainerControl();
     this.groupControlBuildingList = new DevExpress.XtraEditors.GroupControl();
     this.gridControl1 = new DevExpress.XtraGrid.GridControl();
     this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.building_company_id_text = new DevExpress.XtraGrid.Columns.GridColumn();
     this.building_building_code = new DevExpress.XtraGrid.Columns.GridColumn();
     this.building_building_label = new DevExpress.XtraGrid.Columns.GridColumn();
     this.building_floor_no = new DevExpress.XtraGrid.Columns.GridColumn();
     this.building_building_id = new DevExpress.XtraGrid.Columns.GridColumn();
     this.building_company_id = new DevExpress.XtraGrid.Columns.GridColumn();
     this.panelControl3 = new DevExpress.XtraEditors.PanelControl();
     this.groupControlBuildingInfo = new DevExpress.XtraEditors.GroupControl();
     this.xtraScrollableControl1 = new DevExpress.XtraEditors.XtraScrollableControl();
     this.lookUpEditxxx = new DevExpress.XtraEditors.LookUpEdit();
     this.labelControlRequired = new DevExpress.XtraEditors.LabelControl();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
     this.labelControlCompanyName = new DevExpress.XtraEditors.LabelControl();
     this.labelControlBuilding = new DevExpress.XtraEditors.LabelControl();
     this.labelControl12 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
     this.labelControlBuildingLabel = new DevExpress.XtraEditors.LabelControl();
     this.labelControlFloorNo = new DevExpress.XtraEditors.LabelControl();
     this.labelControl5 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl6 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl7 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl8 = new DevExpress.XtraEditors.LabelControl();
     this.bttDelete = new DevExpress.XtraEditors.SimpleButton();
     this.bttEdit = new DevExpress.XtraEditors.SimpleButton();
     this.bttAdd = new DevExpress.XtraEditors.SimpleButton();
     this.luEditFloorNo = new DevExpress.XtraEditors.LookUpEdit();
     this.luEditBuilding = new DevExpress.XtraEditors.LookUpEdit();
     this.bttSave = new DevExpress.XtraEditors.SimpleButton();
     this.bttCancel = new DevExpress.XtraEditors.SimpleButton();
     this.txtBuildingLabel = new DevExpress.XtraEditors.TextEdit();
     this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl();
     this.panelControl2 = new DevExpress.XtraEditors.PanelControl();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).BeginInit();
     this.splitContainerControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlBuildingList)).BeginInit();
     this.groupControlBuildingList.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit();
     this.panelControl3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlBuildingInfo)).BeginInit();
     this.groupControlBuildingInfo.SuspendLayout();
     this.xtraScrollableControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditxxx.Properties)).BeginInit();
     this.tableLayoutPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.luEditFloorNo.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.luEditBuilding.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtBuildingLabel.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
     this.splitContainerControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit();
     this.panelControl2.SuspendLayout();
     this.SuspendLayout();
     //
     // splitContainerControl2
     //
     this.splitContainerControl2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerControl2.Location = new System.Drawing.Point(7, 7);
     this.splitContainerControl2.Name = "splitContainerControl2";
     this.splitContainerControl2.Panel1.Controls.Add(this.groupControlBuildingList);
     this.splitContainerControl2.Panel1.Text = "Panel1";
     this.splitContainerControl2.Panel2.Controls.Add(this.panelControl3);
     this.splitContainerControl2.Panel2.Text = "Panel2";
     this.splitContainerControl2.Size = new System.Drawing.Size(1040, 474);
     this.splitContainerControl2.SplitterPosition = 500;
     this.splitContainerControl2.TabIndex = 11;
     this.splitContainerControl2.Text = "splitContainerControl2";
     //
     // groupControlBuildingList
     //
     this.groupControlBuildingList.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlBuildingList.AppearanceCaption.Options.UseFont = true;
     this.groupControlBuildingList.Controls.Add(this.gridControl1);
     this.groupControlBuildingList.Dock = System.Windows.Forms.DockStyle.Fill;
     this.groupControlBuildingList.Location = new System.Drawing.Point(0, 0);
     this.groupControlBuildingList.Name = "groupControlBuildingList";
     this.groupControlBuildingList.Size = new System.Drawing.Size(500, 474);
     this.groupControlBuildingList.TabIndex = 0;
     this.groupControlBuildingList.Text = "รายการอาคาร";
     //
     // gridControl1
     //
     this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControl1.EmbeddedNavigator.Buttons.EnabledAutoRepeat = false;
     this.gridControl1.EmbeddedNavigator.Buttons.EndEdit.Enabled = false;
     this.gridControl1.Location = new System.Drawing.Point(2, 22);
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.Size = new System.Drawing.Size(496, 450);
     this.gridControl1.TabIndex = 0;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridView1});
     //
     // gridView1
     //
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.building_company_id_text,
     this.building_building_code,
     this.building_building_label,
     this.building_floor_no,
     this.building_building_id,
     this.building_company_id});
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name = "gridView1";
     this.gridView1.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridView1.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridView1.OptionsFind.AlwaysVisible = true;
     this.gridView1.OptionsFind.ShowCloseButton = false;
     this.gridView1.OptionsView.EnableAppearanceEvenRow = true;
     this.gridView1.OptionsView.ShowGroupPanel = false;
     this.gridView1.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.gridView1_FocusedRowChanged);
     //
     // building_company_id_text
     //
     this.building_company_id_text.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.building_company_id_text.AppearanceHeader.Options.UseFont = true;
     this.building_company_id_text.Caption = "ชื่อกิจการ";
     this.building_company_id_text.FieldName = "company_name";
     this.building_company_id_text.Name = "building_company_id_text";
     this.building_company_id_text.OptionsColumn.AllowEdit = false;
     this.building_company_id_text.OptionsColumn.AllowFocus = false;
     this.building_company_id_text.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.building_company_id_text.OptionsColumn.AllowMove = false;
     this.building_company_id_text.Visible = true;
     this.building_company_id_text.VisibleIndex = 0;
     //
     // building_building_code
     //
     this.building_building_code.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.building_building_code.AppearanceHeader.Options.UseFont = true;
     this.building_building_code.Caption = "รหัสอาคาร";
     this.building_building_code.FieldName = "building_code";
     this.building_building_code.Name = "building_building_code";
     this.building_building_code.OptionsColumn.AllowEdit = false;
     this.building_building_code.OptionsColumn.AllowFocus = false;
     this.building_building_code.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.building_building_code.OptionsColumn.AllowMove = false;
     this.building_building_code.Visible = true;
     this.building_building_code.VisibleIndex = 1;
     //
     // building_building_label
     //
     this.building_building_label.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.building_building_label.AppearanceHeader.Options.UseFont = true;
     this.building_building_label.Caption = "ชื่ออาคาร";
     this.building_building_label.FieldName = "building_label";
     this.building_building_label.Name = "building_building_label";
     this.building_building_label.OptionsColumn.AllowEdit = false;
     this.building_building_label.OptionsColumn.AllowFocus = false;
     this.building_building_label.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.building_building_label.OptionsColumn.AllowMove = false;
     this.building_building_label.Visible = true;
     this.building_building_label.VisibleIndex = 2;
     //
     // building_floor_no
     //
     this.building_floor_no.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.building_floor_no.AppearanceHeader.Options.UseFont = true;
     this.building_floor_no.Caption = "จำนวนชั้น";
     this.building_floor_no.FieldName = "floor_count";
     this.building_floor_no.Name = "building_floor_no";
     this.building_floor_no.OptionsColumn.AllowEdit = false;
     this.building_floor_no.OptionsColumn.AllowFocus = false;
     this.building_floor_no.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
     this.building_floor_no.OptionsColumn.AllowMove = false;
     this.building_floor_no.Visible = true;
     this.building_floor_no.VisibleIndex = 3;
     //
     // building_building_id
     //
     this.building_building_id.Caption = "building_id";
     this.building_building_id.FieldName = "building_id";
     this.building_building_id.Name = "building_building_id";
     //
     // building_company_id
     //
     this.building_company_id.Caption = "gridColumn1";
     this.building_company_id.FieldName = "company_id";
     this.building_company_id.Name = "building_company_id";
     //
     // panelControl3
     //
     this.panelControl3.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl3.Controls.Add(this.groupControlBuildingInfo);
     this.panelControl3.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panelControl3.Location = new System.Drawing.Point(0, 0);
     this.panelControl3.Name = "panelControl3";
     this.panelControl3.Size = new System.Drawing.Size(535, 474);
     this.panelControl3.TabIndex = 12;
     //
     // groupControlBuildingInfo
     //
     this.groupControlBuildingInfo.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupControlBuildingInfo.AppearanceCaption.Options.UseFont = true;
     this.groupControlBuildingInfo.Controls.Add(this.xtraScrollableControl1);
     this.groupControlBuildingInfo.Dock = System.Windows.Forms.DockStyle.Fill;
     this.groupControlBuildingInfo.Location = new System.Drawing.Point(0, 0);
     this.groupControlBuildingInfo.Name = "groupControlBuildingInfo";
     this.groupControlBuildingInfo.Size = new System.Drawing.Size(535, 474);
     this.groupControlBuildingInfo.TabIndex = 0;
     this.groupControlBuildingInfo.Text = "ข้อมูลอาคาร";
     //
     // xtraScrollableControl1
     //
     this.xtraScrollableControl1.Controls.Add(this.lookUpEditxxx);
     this.xtraScrollableControl1.Controls.Add(this.labelControlRequired);
     this.xtraScrollableControl1.Controls.Add(this.tableLayoutPanel1);
     this.xtraScrollableControl1.Controls.Add(this.bttDelete);
     this.xtraScrollableControl1.Controls.Add(this.bttEdit);
     this.xtraScrollableControl1.Controls.Add(this.bttAdd);
     this.xtraScrollableControl1.Controls.Add(this.luEditFloorNo);
     this.xtraScrollableControl1.Controls.Add(this.luEditBuilding);
     this.xtraScrollableControl1.Controls.Add(this.bttSave);
     this.xtraScrollableControl1.Controls.Add(this.bttCancel);
     this.xtraScrollableControl1.Controls.Add(this.txtBuildingLabel);
     this.xtraScrollableControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.xtraScrollableControl1.Location = new System.Drawing.Point(2, 22);
     this.xtraScrollableControl1.Name = "xtraScrollableControl1";
     this.xtraScrollableControl1.Size = new System.Drawing.Size(531, 450);
     this.xtraScrollableControl1.TabIndex = 0;
     //
     // lookUpEditxxx
     //
     this.lookUpEditxxx.Enabled = false;
     this.lookUpEditxxx.Location = new System.Drawing.Point(126, 11);
     this.lookUpEditxxx.Name = "lookUpEditxxx";
     this.lookUpEditxxx.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lookUpEditxxx.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("company_id", " ", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default),
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("company_name", " ")});
     this.lookUpEditxxx.Size = new System.Drawing.Size(399, 20);
     this.lookUpEditxxx.TabIndex = 360;
     //
     // labelControlRequired
     //
     this.labelControlRequired.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControlRequired.Location = new System.Drawing.Point(9, 159);
     this.labelControlRequired.Name = "labelControlRequired";
     this.labelControlRequired.Size = new System.Drawing.Size(50, 13);
     this.labelControlRequired.TabIndex = 358;
     this.labelControlRequired.Text = "* โปรดระบุ";
     //
     // tableLayoutPanel1
     //
     this.tableLayoutPanel1.ColumnCount = 3;
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 10F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 92F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 12F));
     this.tableLayoutPanel1.Controls.Add(this.labelControl3, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this.labelControlCompanyName, 1, 0);
     this.tableLayoutPanel1.Controls.Add(this.labelControlBuilding, 1, 1);
     this.tableLayoutPanel1.Controls.Add(this.labelControl12, 0, 3);
     this.tableLayoutPanel1.Controls.Add(this.labelControl2, 0, 2);
     this.tableLayoutPanel1.Controls.Add(this.labelControlBuildingLabel, 1, 2);
     this.tableLayoutPanel1.Controls.Add(this.labelControlFloorNo, 1, 3);
     this.tableLayoutPanel1.Controls.Add(this.labelControl5, 2, 0);
     this.tableLayoutPanel1.Controls.Add(this.labelControl6, 2, 2);
     this.tableLayoutPanel1.Controls.Add(this.labelControl7, 2, 1);
     this.tableLayoutPanel1.Controls.Add(this.labelControl8, 2, 3);
     this.tableLayoutPanel1.Location = new System.Drawing.Point(6, 15);
     this.tableLayoutPanel1.Name = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount = 5;
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 21F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
     this.tableLayoutPanel1.Size = new System.Drawing.Size(114, 120);
     this.tableLayoutPanel1.TabIndex = 359;
     //
     // labelControl3
     //
     this.labelControl3.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl3.Location = new System.Drawing.Point(3, 3);
     this.labelControl3.Name = "labelControl3";
     this.labelControl3.Size = new System.Drawing.Size(6, 13);
     this.labelControl3.TabIndex = 350;
     this.labelControl3.Text = "*";
     //
     // labelControlCompanyName
     //
     this.labelControlCompanyName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControlCompanyName.Location = new System.Drawing.Point(48, 3);
     this.labelControlCompanyName.Name = "labelControlCompanyName";
     this.labelControlCompanyName.Size = new System.Drawing.Size(51, 13);
     this.labelControlCompanyName.TabIndex = 349;
     this.labelControlCompanyName.Text = "ชื่อกิจการ :";
     //
     // labelControlBuilding
     //
     this.labelControlBuilding.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControlBuilding.Location = new System.Drawing.Point(44, 30);
     this.labelControlBuilding.Name = "labelControlBuilding";
     this.labelControlBuilding.Size = new System.Drawing.Size(55, 13);
     this.labelControlBuilding.TabIndex = 20;
     this.labelControlBuilding.Text = "รหัสอาคาร :";
     //
     // labelControl12
     //
     this.labelControl12.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl12.Location = new System.Drawing.Point(3, 82);
     this.labelControl12.Name = "labelControl12";
     this.labelControl12.Size = new System.Drawing.Size(6, 13);
     this.labelControl12.TabIndex = 346;
     this.labelControl12.Text = "*";
     //
     // labelControl2
     //
     this.labelControl2.Appearance.ForeColor = System.Drawing.Color.Red;
     this.labelControl2.Location = new System.Drawing.Point(3, 57);
     this.labelControl2.Name = "labelControl2";
     this.labelControl2.Size = new System.Drawing.Size(6, 13);
     this.labelControl2.TabIndex = 347;
     this.labelControl2.Text = "*";
     //
     // labelControlBuildingLabel
     //
     this.labelControlBuildingLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControlBuildingLabel.Location = new System.Drawing.Point(49, 57);
     this.labelControlBuildingLabel.Name = "labelControlBuildingLabel";
     this.labelControlBuildingLabel.Size = new System.Drawing.Size(50, 13);
     this.labelControlBuildingLabel.TabIndex = 15;
     this.labelControlBuildingLabel.Text = "ชื่ออาคาร :";
     //
     // labelControlFloorNo
     //
     this.labelControlFloorNo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControlFloorNo.Location = new System.Drawing.Point(48, 82);
     this.labelControlFloorNo.Name = "labelControlFloorNo";
     this.labelControlFloorNo.Size = new System.Drawing.Size(51, 13);
     this.labelControlFloorNo.TabIndex = 21;
     this.labelControlFloorNo.Text = "จำนวนชั้น :";
     //
     // labelControl5
     //
     this.labelControl5.Location = new System.Drawing.Point(105, 3);
     this.labelControl5.Name = "labelControl5";
     this.labelControl5.Size = new System.Drawing.Size(4, 13);
     this.labelControl5.TabIndex = 349;
     this.labelControl5.Text = ":";
     //
     // labelControl6
     //
     this.labelControl6.Location = new System.Drawing.Point(105, 57);
     this.labelControl6.Name = "labelControl6";
     this.labelControl6.Size = new System.Drawing.Size(4, 13);
     this.labelControl6.TabIndex = 349;
     this.labelControl6.Text = ":";
     //
     // labelControl7
     //
     this.labelControl7.Location = new System.Drawing.Point(105, 30);
     this.labelControl7.Name = "labelControl7";
     this.labelControl7.Size = new System.Drawing.Size(4, 13);
     this.labelControl7.TabIndex = 349;
     this.labelControl7.Text = ":";
     //
     // labelControl8
     //
     this.labelControl8.Location = new System.Drawing.Point(105, 82);
     this.labelControl8.Name = "labelControl8";
     this.labelControl8.Size = new System.Drawing.Size(4, 13);
     this.labelControl8.TabIndex = 349;
     this.labelControl8.Text = ":";
     //
     // bttDelete
     //
     this.bttDelete.Image = global::DXWindowsApplication2.Properties.Resources.delete;
     this.bttDelete.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttDelete.Location = new System.Drawing.Point(293, 159);
     this.bttDelete.Name = "bttDelete";
     this.bttDelete.Size = new System.Drawing.Size(70, 55);
     this.bttDelete.TabIndex = 6;
     this.bttDelete.Text = "ลบข้อมูล";
     this.bttDelete.Click += new System.EventHandler(this.bttDelete_Click);
     //
     // bttEdit
     //
     this.bttEdit.Image = global::DXWindowsApplication2.Properties.Resources.edit;
     this.bttEdit.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttEdit.Location = new System.Drawing.Point(212, 159);
     this.bttEdit.Name = "bttEdit";
     this.bttEdit.Size = new System.Drawing.Size(70, 55);
     this.bttEdit.TabIndex = 5;
     this.bttEdit.Text = "แก้ไขข้อมูล";
     this.bttEdit.Click += new System.EventHandler(this.bttEdit_Click);
     //
     // bttAdd
     //
     this.bttAdd.Image = global::DXWindowsApplication2.Properties.Resources.Add;
     this.bttAdd.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttAdd.Location = new System.Drawing.Point(131, 159);
     this.bttAdd.Name = "bttAdd";
     this.bttAdd.Size = new System.Drawing.Size(70, 55);
     this.bttAdd.TabIndex = 4;
     this.bttAdd.Text = "เพิ่มข้อมูล";
     this.bttAdd.Click += new System.EventHandler(this.bttAdd_Click);
     //
     // luEditFloorNo
     //
     this.luEditFloorNo.Enabled = false;
     this.luEditFloorNo.Location = new System.Drawing.Point(126, 93);
     this.luEditFloorNo.Name = "luEditFloorNo";
     this.luEditFloorNo.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.luEditFloorNo.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("floor_no", "floor_no")});
     this.luEditFloorNo.Size = new System.Drawing.Size(399, 20);
     this.luEditFloorNo.TabIndex = 3;
     //
     // luEditBuilding
     //
     this.luEditBuilding.Enabled = false;
     this.luEditBuilding.Location = new System.Drawing.Point(126, 41);
     this.luEditBuilding.Name = "luEditBuilding";
     this.luEditBuilding.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.luEditBuilding.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("building_id", "id", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default),
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("building_code", "building_code")});
     this.luEditBuilding.Size = new System.Drawing.Size(399, 20);
     this.luEditBuilding.TabIndex = 1;
     //
     // bttSave
     //
     this.bttSave.Enabled = false;
     this.bttSave.Image = global::DXWindowsApplication2.Properties.Resources.savedisk;
     this.bttSave.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttSave.Location = new System.Drawing.Point(374, 159);
     this.bttSave.Name = "bttSave";
     this.bttSave.Size = new System.Drawing.Size(70, 55);
     this.bttSave.TabIndex = 7;
     this.bttSave.Text = "บันทึก";
     this.bttSave.Click += new System.EventHandler(this.bttSave_Click);
     //
     // bttCancel
     //
     this.bttCancel.Enabled = false;
     this.bttCancel.Image = global::DXWindowsApplication2.Properties.Resources.Close;
     this.bttCancel.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter;
     this.bttCancel.Location = new System.Drawing.Point(455, 159);
     this.bttCancel.Name = "bttCancel";
     this.bttCancel.Size = new System.Drawing.Size(70, 55);
     this.bttCancel.TabIndex = 8;
     this.bttCancel.Text = "ยกเลิก";
     this.bttCancel.Click += new System.EventHandler(this.bttCancel_Click);
     //
     // txtBuildingLabel
     //
     this.txtBuildingLabel.Enabled = false;
     this.txtBuildingLabel.Location = new System.Drawing.Point(126, 67);
     this.txtBuildingLabel.Name = "txtBuildingLabel";
     this.txtBuildingLabel.Properties.Mask.BeepOnError = true;
     this.txtBuildingLabel.Properties.Mask.EditMask = "([a-zA-Z0-9|ก-๙|\\\' \']){0,50}";
     this.txtBuildingLabel.Properties.Mask.IgnoreMaskBlank = false;
     this.txtBuildingLabel.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
     this.txtBuildingLabel.Properties.MaxLength = 50;
     this.txtBuildingLabel.Properties.ValidateOnEnterKey = true;
     this.txtBuildingLabel.Size = new System.Drawing.Size(399, 20);
     this.txtBuildingLabel.TabIndex = 2;
     //
     // splitContainerControl1
     //
     this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerControl1.Location = new System.Drawing.Point(0, 0);
     this.splitContainerControl1.Name = "splitContainerControl1";
     this.splitContainerControl1.Panel1.Text = "Panel1";
     this.splitContainerControl1.Panel2.Text = "Panel2";
     this.splitContainerControl1.Size = new System.Drawing.Size(1040, 474);
     this.splitContainerControl1.SplitterPosition = 585;
     this.splitContainerControl1.TabIndex = 0;
     this.splitContainerControl1.Text = "splitContainerControl1";
     //
     // panelControl2
     //
     this.panelControl2.Appearance.BackColor = System.Drawing.Color.WhiteSmoke;
     this.panelControl2.Appearance.Options.UseBackColor = true;
     this.panelControl2.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl2.Controls.Add(this.splitContainerControl1);
     this.panelControl2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panelControl2.Location = new System.Drawing.Point(7, 7);
     this.panelControl2.Name = "panelControl2";
     this.panelControl2.Size = new System.Drawing.Size(1040, 474);
     this.panelControl2.TabIndex = 10;
     //
     // BasicInfoBuilding
     //
     this.Appearance.BackColor = System.Drawing.Color.White;
     this.Appearance.Options.UseBackColor = true;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.splitContainerControl2);
     this.Controls.Add(this.panelControl2);
     this.Name = "BasicInfoBuilding";
     this.Padding = new System.Windows.Forms.Padding(7);
     this.Size = new System.Drawing.Size(1054, 488);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).EndInit();
     this.splitContainerControl2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControlBuildingList)).EndInit();
     this.groupControlBuildingList.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit();
     this.panelControl3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControlBuildingInfo)).EndInit();
     this.groupControlBuildingInfo.ResumeLayout(false);
     this.xtraScrollableControl1.ResumeLayout(false);
     this.xtraScrollableControl1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEditxxx.Properties)).EndInit();
     this.tableLayoutPanel1.ResumeLayout(false);
     this.tableLayoutPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.luEditFloorNo.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.luEditBuilding.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtBuildingLabel.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit();
     this.splitContainerControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit();
     this.panelControl2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #25
0
        /// <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();
            System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("Vị trí 1 (trọn thửa)");
            System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("Vị trí 1 (thửa dài hơn 100m)");
            System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("Vị trí 2 (trường hợp 1, trọn thửa)");
            System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("Vị trí 2 (trường hợp 1, thửa dài hơn 100m)");
            System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("Vị trí 2 (trường hợp 2, trọn thửa)");
            System.Windows.Forms.TreeNode treeNode6 = new System.Windows.Forms.TreeNode("Vị trí 2 (trường hợp 2, thửa dài hơn 100m)");
            System.Windows.Forms.TreeNode treeNode7 = new System.Windows.Forms.TreeNode("Vị trí 3");
            System.Windows.Forms.TreeNode treeNode8 = new System.Windows.Forms.TreeNode("Đất nông nghiệp", new System.Windows.Forms.TreeNode[] {
            treeNode1,
            treeNode2,
            treeNode3,
            treeNode4,
            treeNode5,
            treeNode6,
            treeNode7});
            System.Windows.Forms.TreeNode treeNode9 = new System.Windows.Forms.TreeNode("Vị trí 1");
            System.Windows.Forms.TreeNode treeNode10 = new System.Windows.Forms.TreeNode("Vị trí 2");
            System.Windows.Forms.TreeNode treeNode11 = new System.Windows.Forms.TreeNode("Vị trí 3");
            System.Windows.Forms.TreeNode treeNode12 = new System.Windows.Forms.TreeNode("Khu vực 1", new System.Windows.Forms.TreeNode[] {
            treeNode9,
            treeNode10,
            treeNode11});
            System.Windows.Forms.TreeNode treeNode13 = new System.Windows.Forms.TreeNode("Vị trí 1");
            System.Windows.Forms.TreeNode treeNode14 = new System.Windows.Forms.TreeNode("Vị trí 2");
            System.Windows.Forms.TreeNode treeNode15 = new System.Windows.Forms.TreeNode("Vị trí 3");
            System.Windows.Forms.TreeNode treeNode16 = new System.Windows.Forms.TreeNode("Khu vực 2", new System.Windows.Forms.TreeNode[] {
            treeNode13,
            treeNode14,
            treeNode15});
            System.Windows.Forms.TreeNode treeNode17 = new System.Windows.Forms.TreeNode("Vị trí 1");
            System.Windows.Forms.TreeNode treeNode18 = new System.Windows.Forms.TreeNode("Vị trí 2");
            System.Windows.Forms.TreeNode treeNode19 = new System.Windows.Forms.TreeNode("Vị trí 3");
            System.Windows.Forms.TreeNode treeNode20 = new System.Windows.Forms.TreeNode("Khu vực 3", new System.Windows.Forms.TreeNode[] {
            treeNode17,
            treeNode18,
            treeNode19});
            System.Windows.Forms.TreeNode treeNode21 = new System.Windows.Forms.TreeNode("Đất mặt tiền (trọn thửa)");
            System.Windows.Forms.TreeNode treeNode22 = new System.Windows.Forms.TreeNode("Đất mặt tiền (thửa dài hơn 50m)");
            System.Windows.Forms.TreeNode treeNode23 = new System.Windows.Forms.TreeNode("Đất mặt tiền (thửa dài hơn 100m)");
            System.Windows.Forms.TreeNode treeNode24 = new System.Windows.Forms.TreeNode("Đất sau 50m-100m mặt tiền");
            System.Windows.Forms.TreeNode treeNode25 = new System.Windows.Forms.TreeNode("Đất sau 100m mặt tiền");
            System.Windows.Forms.TreeNode treeNode26 = new System.Windows.Forms.TreeNode("Đất phi nông nghiệp nông thôn", new System.Windows.Forms.TreeNode[] {
            treeNode12,
            treeNode16,
            treeNode20,
            treeNode21,
            treeNode22,
            treeNode23,
            treeNode24,
            treeNode25});
            System.Windows.Forms.TreeNode treeNode27 = new System.Windows.Forms.TreeNode("Đất mặt tiền trọn");
            System.Windows.Forms.TreeNode treeNode28 = new System.Windows.Forms.TreeNode("Đất mặt tiền của thửa dài hơn 50m");
            System.Windows.Forms.TreeNode treeNode29 = new System.Windows.Forms.TreeNode("Đất sau 50m của thửa mặt tiền");
            System.Windows.Forms.TreeNode treeNode30 = new System.Windows.Forms.TreeNode("Đất mặt tiền", new System.Windows.Forms.TreeNode[] {
            treeNode27,
            treeNode28,
            treeNode29});
            System.Windows.Forms.TreeNode treeNode31 = new System.Windows.Forms.TreeNode("Sâu dưới 100m (trọn thửa)");
            System.Windows.Forms.TreeNode treeNode32 = new System.Windows.Forms.TreeNode("Sâu dưới 100m (thửa dài hơn 100m)");
            System.Windows.Forms.TreeNode treeNode33 = new System.Windows.Forms.TreeNode("Sâu từ 100m - 200m (trọn thửa)");
            System.Windows.Forms.TreeNode treeNode34 = new System.Windows.Forms.TreeNode("Sâu từ 100m - 200m (thửa dài hơn 100m)");
            System.Windows.Forms.TreeNode treeNode35 = new System.Windows.Forms.TreeNode("Sâu từ 100m - 200m (thửa dài hơn 200m)");
            System.Windows.Forms.TreeNode treeNode36 = new System.Windows.Forms.TreeNode("Sâu trên 200m (trọn thửa)");
            System.Windows.Forms.TreeNode treeNode37 = new System.Windows.Forms.TreeNode("Sâu trên 200m (thửa dài hơn 200m)");
            System.Windows.Forms.TreeNode treeNode38 = new System.Windows.Forms.TreeNode("Tính từ giá hẻm chính");
            System.Windows.Forms.TreeNode treeNode39 = new System.Windows.Forms.TreeNode("Hẻm chính", new System.Windows.Forms.TreeNode[] {
            treeNode31,
            treeNode32,
            treeNode33,
            treeNode34,
            treeNode35,
            treeNode36,
            treeNode37,
            treeNode38});
            System.Windows.Forms.TreeNode treeNode40 = new System.Windows.Forms.TreeNode("Sâu dưới 100m (trọn thửa)");
            System.Windows.Forms.TreeNode treeNode41 = new System.Windows.Forms.TreeNode("Sâu từ 100m-200m (trọn thửa)");
            System.Windows.Forms.TreeNode treeNode42 = new System.Windows.Forms.TreeNode("Sâu dưới 100m (thửa dài hơn 100m)");
            System.Windows.Forms.TreeNode treeNode43 = new System.Windows.Forms.TreeNode("Sâu từ 100m-200m (thửa dài hơn 100m)");
            System.Windows.Forms.TreeNode treeNode44 = new System.Windows.Forms.TreeNode("Sâu từ 100m-200m (thửa dài hơn 200m)");
            System.Windows.Forms.TreeNode treeNode45 = new System.Windows.Forms.TreeNode("Sâu trên 200m (trọn thửa)");
            System.Windows.Forms.TreeNode treeNode46 = new System.Windows.Forms.TreeNode("Sâu trên 200m (thửa dài hơn 200m)");
            System.Windows.Forms.TreeNode treeNode47 = new System.Windows.Forms.TreeNode("Tính từ giá hẻm phụ");
            System.Windows.Forms.TreeNode treeNode48 = new System.Windows.Forms.TreeNode("Hẻm phụ", new System.Windows.Forms.TreeNode[] {
            treeNode40,
            treeNode41,
            treeNode42,
            treeNode43,
            treeNode44,
            treeNode45,
            treeNode46,
            treeNode47});
            System.Windows.Forms.TreeNode treeNode49 = new System.Windows.Forms.TreeNode("Đất trong hẻm", new System.Windows.Forms.TreeNode[] {
            treeNode39,
            treeNode48});
            System.Windows.Forms.TreeNode treeNode50 = new System.Windows.Forms.TreeNode("Đất phi nông nghiệp đô thị", new System.Windows.Forms.TreeNode[] {
            treeNode30,
            treeNode49});
            System.Windows.Forms.TreeNode treeNode51 = new System.Windows.Forms.TreeNode("Đất phi nông nghiệp", new System.Windows.Forms.TreeNode[] {
            treeNode26,
            treeNode50});
            this.groupControl2 = new DevExpress.XtraEditors.GroupControl();
            this.groupControl4 = new DevExpress.XtraEditors.GroupControl();
            this.tvcLoaiThua = new TnControlLib.TnTreeViewCheckBox();
            this.panelControl4 = new DevExpress.XtraEditors.PanelControl();
            this.xtraScrollableControl3 = new DevExpress.XtraEditors.XtraScrollableControl();
            this.chkOverWrite = new DevExpress.XtraEditors.CheckEdit();
            this.chkCalcAll = new DevExpress.XtraEditors.CheckEdit();
            this.spnNam = new DevExpress.XtraEditors.SpinEdit();
            this.labelControl21 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl17 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl20 = new DevExpress.XtraEditors.LabelControl();
            this.cbxHuyen = new DevExpress.XtraEditors.ComboBoxEdit();
            this.labelControl18 = new DevExpress.XtraEditors.LabelControl();
            this.cbxXa = new DevExpress.XtraEditors.ComboBoxEdit();
            this.labelControl19 = new DevExpress.XtraEditors.LabelControl();
            this.cbxDuong = new DevExpress.XtraEditors.ComboBoxEdit();
            this.cbxDoanDuong = new DevExpress.XtraEditors.ComboBoxEdit();
            this.panelControl3 = new DevExpress.XtraEditors.PanelControl();
            this.btnOptionCalcView = new DevExpress.XtraEditors.SimpleButton();
            this.btnTinhFrmAll = new DevExpress.XtraEditors.SimpleButton();
            this.btnCloseFrmTinhAll = new DevExpress.XtraEditors.SimpleButton();
            this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.mniOpenStatus = new System.Windows.Forms.ToolStripMenuItem();
            this.mniHelp = new System.Windows.Forms.ToolStripMenuItem();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).BeginInit();
            this.groupControl2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl4)).BeginInit();
            this.groupControl4.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).BeginInit();
            this.panelControl4.SuspendLayout();
            this.xtraScrollableControl3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.chkOverWrite.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkCalcAll.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.spnNam.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cbxHuyen.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cbxXa.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cbxDuong.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cbxDoanDuong.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit();
            this.panelControl3.SuspendLayout();
            this.contextMenuStrip1.SuspendLayout();
            this.SuspendLayout();
            // 
            // groupControl2
            // 
            this.groupControl2.Controls.Add(this.groupControl4);
            this.groupControl2.Controls.Add(this.panelControl4);
            this.groupControl2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.groupControl2.Location = new System.Drawing.Point(0, 0);
            this.groupControl2.MinimumSize = new System.Drawing.Size(350, 247);
            this.groupControl2.Name = "groupControl2";
            this.groupControl2.Size = new System.Drawing.Size(363, 330);
            this.groupControl2.TabIndex = 1;
            this.groupControl2.Text = "Chọn khu vực tính";
            // 
            // groupControl4
            // 
            this.groupControl4.Controls.Add(this.tvcLoaiThua);
            this.groupControl4.Dock = System.Windows.Forms.DockStyle.Fill;
            this.groupControl4.Location = new System.Drawing.Point(2, 164);
            this.groupControl4.Name = "groupControl4";
            this.groupControl4.Size = new System.Drawing.Size(359, 164);
            this.groupControl4.TabIndex = 1;
            this.groupControl4.Text = "Chọn loại đất";
            // 
            // tvcLoaiThua
            // 
            this.tvcLoaiThua.CheckBoxes = true;
            this.tvcLoaiThua.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tvcLoaiThua.DrawMode = System.Windows.Forms.TreeViewDrawMode.OwnerDrawAll;
            this.tvcLoaiThua.Location = new System.Drawing.Point(2, 22);
            this.tvcLoaiThua.Name = "tvcLoaiThua";
            treeNode1.Name = "nThuaNnVt1";
            treeNode1.Tag = "1";
            treeNode1.Text = "Vị trí 1 (trọn thửa)";
            treeNode2.Name = "nThuaNnVt1_";
            treeNode2.Tag = "2";
            treeNode2.Text = "Vị trí 1 (thửa dài hơn 100m)";
            treeNode3.Name = "nThuaNnVt2Th1";
            treeNode3.Tag = "3";
            treeNode3.Text = "Vị trí 2 (trường hợp 1, trọn thửa)";
            treeNode4.Name = "nThuaNnVt2Th1_";
            treeNode4.Tag = "4";
            treeNode4.Text = "Vị trí 2 (trường hợp 1, thửa dài hơn 100m)";
            treeNode5.Name = "nThuaNnVt2Th2";
            treeNode5.Tag = "5";
            treeNode5.Text = "Vị trí 2 (trường hợp 2, trọn thửa)";
            treeNode6.Name = "nThuaNnVt2Th2_";
            treeNode6.Tag = "6";
            treeNode6.Text = "Vị trí 2 (trường hợp 2, thửa dài hơn 100m)";
            treeNode7.Name = "nThuaNnVt3";
            treeNode7.Tag = "7";
            treeNode7.Text = "Vị trí 3";
            treeNode8.Name = "nThuaNn";
            treeNode8.Tag = "";
            treeNode8.Text = "Đất nông nghiệp";
            treeNode9.Name = "nThuaPnnNtVt1Kv1";
            treeNode9.Tag = "8";
            treeNode9.Text = "Vị trí 1";
            treeNode10.Name = "nThuaPnnNtVt2Kv1";
            treeNode10.Tag = "9";
            treeNode10.Text = "Vị trí 2";
            treeNode11.Name = "nThuaPnnNtVt3Kv1";
            treeNode11.Tag = "10";
            treeNode11.Text = "Vị trí 3";
            treeNode12.Name = "nThuaPnnNtKv1";
            treeNode12.Tag = "";
            treeNode12.Text = "Khu vực 1";
            treeNode13.Name = "nThuaPnnNtVt1Kv2";
            treeNode13.Tag = "11";
            treeNode13.Text = "Vị trí 1";
            treeNode14.Name = "nThuaPnnNtVt2Kv2";
            treeNode14.Tag = "12";
            treeNode14.Text = "Vị trí 2";
            treeNode15.Name = "nThuaPnnNtVt3Kv2";
            treeNode15.Tag = "13";
            treeNode15.Text = "Vị trí 3";
            treeNode16.Name = "nThuaPnnNtKv2";
            treeNode16.Tag = "";
            treeNode16.Text = "Khu vực 2";
            treeNode17.Name = "nThuaPnnNtVt1Kv3";
            treeNode17.Tag = "14";
            treeNode17.Text = "Vị trí 1";
            treeNode18.Name = "nThuaPnnNtVt2Kv3";
            treeNode18.Tag = "15";
            treeNode18.Text = "Vị trí 2";
            treeNode19.Name = "nThuaPnnNtVt3Kv3";
            treeNode19.Tag = "16";
            treeNode19.Text = "Vị trí 3";
            treeNode20.Name = "nThuaPnnNtKv3";
            treeNode20.Tag = "";
            treeNode20.Text = "Khu vực 3";
            treeNode21.Name = "Node1";
            treeNode21.Tag = "17";
            treeNode21.Text = "Đất mặt tiền (trọn thửa)";
            treeNode22.Name = "Node3";
            treeNode22.Tag = "18";
            treeNode22.Text = "Đất mặt tiền (thửa dài hơn 50m)";
            treeNode23.Name = "Node0";
            treeNode23.Tag = "19";
            treeNode23.Text = "Đất mặt tiền (thửa dài hơn 100m)";
            treeNode24.Name = "Node4";
            treeNode24.Tag = "20";
            treeNode24.Text = "Đất sau 50m-100m mặt tiền";
            treeNode25.Name = "Node1";
            treeNode25.Tag = "21";
            treeNode25.Text = "Đất sau 100m mặt tiền";
            treeNode26.Name = "nThuaPnnNt";
            treeNode26.Tag = "";
            treeNode26.Text = "Đất phi nông nghiệp nông thôn";
            treeNode27.Name = "nThuaMatTienTron";
            treeNode27.Tag = "22";
            treeNode27.Text = "Đất mặt tiền trọn";
            treeNode28.Name = "nThuaMatTienMorong";
            treeNode28.Tag = "23";
            treeNode28.Text = "Đất mặt tiền của thửa dài hơn 50m";
            treeNode29.Name = "nThuaMatTienSau50m";
            treeNode29.Tag = "24";
            treeNode29.Text = "Đất sau 50m của thửa mặt tiền";
            treeNode30.Name = "nThuaMatTien";
            treeNode30.Tag = "";
            treeNode30.Text = "Đất mặt tiền";
            treeNode31.Name = "Node0";
            treeNode31.Tag = "25";
            treeNode31.Text = "Sâu dưới 100m (trọn thửa)";
            treeNode32.Name = "Node1";
            treeNode32.Tag = "26";
            treeNode32.Text = "Sâu dưới 100m (thửa dài hơn 100m)";
            treeNode33.Name = "Node0";
            treeNode33.Tag = "27";
            treeNode33.Text = "Sâu từ 100m - 200m (trọn thửa)";
            treeNode34.Name = "Node1";
            treeNode34.Tag = "28";
            treeNode34.Text = "Sâu từ 100m - 200m (thửa dài hơn 100m)";
            treeNode35.Name = "Node2";
            treeNode35.Tag = "29";
            treeNode35.Text = "Sâu từ 100m - 200m (thửa dài hơn 200m)";
            treeNode36.Name = "Node2";
            treeNode36.Tag = "30";
            treeNode36.Text = "Sâu trên 200m (trọn thửa)";
            treeNode37.Name = "Node3";
            treeNode37.Tag = "31";
            treeNode37.Text = "Sâu trên 200m (thửa dài hơn 200m)";
            treeNode38.Name = "Node0";
            treeNode38.Tag = "110";
            treeNode38.Text = "Tính từ giá hẻm chính";
            treeNode39.Name = "nThuaHemChinh";
            treeNode39.Tag = "";
            treeNode39.Text = "Hẻm chính";
            treeNode40.Name = "Node3";
            treeNode40.Tag = "32";
            treeNode40.Text = "Sâu dưới 100m (trọn thửa)";
            treeNode41.Name = "Node4";
            treeNode41.Tag = "33";
            treeNode41.Text = "Sâu từ 100m-200m (trọn thửa)";
            treeNode42.Name = "Node5";
            treeNode42.Tag = "34";
            treeNode42.Text = "Sâu dưới 100m (thửa dài hơn 100m)";
            treeNode43.Name = "Node6";
            treeNode43.Tag = "35";
            treeNode43.Text = "Sâu từ 100m-200m (thửa dài hơn 100m)";
            treeNode44.Name = "Node7";
            treeNode44.Tag = "36";
            treeNode44.Text = "Sâu từ 100m-200m (thửa dài hơn 200m)";
            treeNode45.Name = "Node8";
            treeNode45.Tag = "37";
            treeNode45.Text = "Sâu trên 200m (trọn thửa)";
            treeNode46.Name = "Node9";
            treeNode46.Tag = "38";
            treeNode46.Text = "Sâu trên 200m (thửa dài hơn 200m)";
            treeNode47.Name = "Node0";
            treeNode47.Tag = "111";
            treeNode47.Text = "Tính từ giá hẻm phụ";
            treeNode48.Name = "nThuaHemPhu";
            treeNode48.Tag = "";
            treeNode48.Text = "Hẻm phụ";
            treeNode49.Name = "nThuaHem";
            treeNode49.Tag = "";
            treeNode49.Text = "Đất trong hẻm";
            treeNode50.Name = "nThuaPnnDt";
            treeNode50.Tag = "";
            treeNode50.Text = "Đất phi nông nghiệp đô thị";
            treeNode51.Name = "nThuaPnn";
            treeNode51.Tag = "";
            treeNode51.Text = "Đất phi nông nghiệp";
            this.tvcLoaiThua.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
            treeNode8,
            treeNode51});
            this.tvcLoaiThua.Size = new System.Drawing.Size(355, 140);
            this.tvcLoaiThua.TabIndex = 1;
            // 
            // panelControl4
            // 
            this.panelControl4.Controls.Add(this.xtraScrollableControl3);
            this.panelControl4.Dock = System.Windows.Forms.DockStyle.Top;
            this.panelControl4.Location = new System.Drawing.Point(2, 22);
            this.panelControl4.Name = "panelControl4";
            this.panelControl4.Size = new System.Drawing.Size(359, 142);
            this.panelControl4.TabIndex = 0;
            // 
            // xtraScrollableControl3
            // 
            this.xtraScrollableControl3.Controls.Add(this.chkOverWrite);
            this.xtraScrollableControl3.Controls.Add(this.chkCalcAll);
            this.xtraScrollableControl3.Controls.Add(this.spnNam);
            this.xtraScrollableControl3.Controls.Add(this.labelControl21);
            this.xtraScrollableControl3.Controls.Add(this.labelControl17);
            this.xtraScrollableControl3.Controls.Add(this.labelControl20);
            this.xtraScrollableControl3.Controls.Add(this.cbxHuyen);
            this.xtraScrollableControl3.Controls.Add(this.labelControl18);
            this.xtraScrollableControl3.Controls.Add(this.cbxXa);
            this.xtraScrollableControl3.Controls.Add(this.labelControl19);
            this.xtraScrollableControl3.Controls.Add(this.cbxDuong);
            this.xtraScrollableControl3.Controls.Add(this.cbxDoanDuong);
            this.xtraScrollableControl3.Dock = System.Windows.Forms.DockStyle.Fill;
            this.xtraScrollableControl3.Location = new System.Drawing.Point(2, 2);
            this.xtraScrollableControl3.Name = "xtraScrollableControl3";
            this.xtraScrollableControl3.Size = new System.Drawing.Size(355, 138);
            this.xtraScrollableControl3.TabIndex = 18;
            // 
            // chkOverWrite
            // 
            this.chkOverWrite.EditValue = true;
            this.chkOverWrite.Location = new System.Drawing.Point(138, 3);
            this.chkOverWrite.Name = "chkOverWrite";
            this.chkOverWrite.Properties.Caption = "Cập nhật thông tin";
            this.chkOverWrite.Size = new System.Drawing.Size(120, 19);
            this.chkOverWrite.TabIndex = 17;
            this.chkOverWrite.Visible = false;
            // 
            // chkCalcAll
            // 
            this.chkCalcAll.Location = new System.Drawing.Point(1, 3);
            this.chkCalcAll.Name = "chkCalcAll";
            this.chkCalcAll.Properties.Caption = "Tính cho toàn bộ thửa";
            this.chkCalcAll.Size = new System.Drawing.Size(131, 19);
            this.chkCalcAll.TabIndex = 6;
            this.chkCalcAll.Visible = false;
            // 
            // spnNam
            // 
            this.spnNam.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.spnNam.EditValue = new decimal(new int[] {
            2011,
            0,
            0,
            0});
            this.spnNam.Enabled = false;
            this.spnNam.Location = new System.Drawing.Point(298, 3);
            this.spnNam.Name = "spnNam";
            this.spnNam.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.spnNam.Size = new System.Drawing.Size(50, 20);
            this.spnNam.TabIndex = 16;
            this.spnNam.Visible = false;
            // 
            // labelControl21
            // 
            this.labelControl21.Location = new System.Drawing.Point(7, 83);
            this.labelControl21.Name = "labelControl21";
            this.labelControl21.Size = new System.Drawing.Size(79, 13);
            this.labelControl21.TabIndex = 14;
            this.labelControl21.Text = "Tính theo đường";
            // 
            // labelControl17
            // 
            this.labelControl17.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.labelControl17.Location = new System.Drawing.Point(271, 6);
            this.labelControl17.Name = "labelControl17";
            this.labelControl17.Size = new System.Drawing.Size(21, 13);
            this.labelControl17.TabIndex = 15;
            this.labelControl17.Text = "Năm";
            this.labelControl17.Visible = false;
            // 
            // labelControl20
            // 
            this.labelControl20.Location = new System.Drawing.Point(7, 109);
            this.labelControl20.Name = "labelControl20";
            this.labelControl20.Size = new System.Drawing.Size(106, 13);
            this.labelControl20.TabIndex = 11;
            this.labelControl20.Text = "Tính theo đoạn đường";
            // 
            // cbxHuyen
            // 
            this.cbxHuyen.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.cbxHuyen.EditValue = "TX Tây Ninh";
            this.cbxHuyen.Location = new System.Drawing.Point(119, 28);
            this.cbxHuyen.Name = "cbxHuyen";
            this.cbxHuyen.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.cbxHuyen.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
            this.cbxHuyen.Size = new System.Drawing.Size(229, 20);
            this.cbxHuyen.TabIndex = 10;
            // 
            // labelControl18
            // 
            this.labelControl18.Location = new System.Drawing.Point(7, 57);
            this.labelControl18.Name = "labelControl18";
            this.labelControl18.Size = new System.Drawing.Size(60, 13);
            this.labelControl18.TabIndex = 13;
            this.labelControl18.Text = "Tính theo xã";
            // 
            // cbxXa
            // 
            this.cbxXa.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.cbxXa.Location = new System.Drawing.Point(119, 54);
            this.cbxXa.Name = "cbxXa";
            this.cbxXa.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.cbxXa.Size = new System.Drawing.Size(229, 20);
            this.cbxXa.TabIndex = 9;
            this.cbxXa.SelectedIndexChanged += new System.EventHandler(this.cbxXa_SelectedIndexChanged);
            this.cbxXa.Click += new System.EventHandler(this.cbxXa_Click);
            // 
            // labelControl19
            // 
            this.labelControl19.Location = new System.Drawing.Point(7, 31);
            this.labelControl19.Name = "labelControl19";
            this.labelControl19.Size = new System.Drawing.Size(78, 13);
            this.labelControl19.TabIndex = 12;
            this.labelControl19.Text = "Tính theo huyện";
            // 
            // cbxDuong
            // 
            this.cbxDuong.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.cbxDuong.Location = new System.Drawing.Point(119, 80);
            this.cbxDuong.Name = "cbxDuong";
            this.cbxDuong.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.cbxDuong.Size = new System.Drawing.Size(229, 20);
            this.cbxDuong.TabIndex = 7;
            this.cbxDuong.SelectedIndexChanged += new System.EventHandler(this.cbxDuong_SelectedIndexChanged);
            this.cbxDuong.Click += new System.EventHandler(this.cbxDuong_Click);
            // 
            // cbxDoanDuong
            // 
            this.cbxDoanDuong.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.cbxDoanDuong.Location = new System.Drawing.Point(119, 106);
            this.cbxDoanDuong.Name = "cbxDoanDuong";
            this.cbxDoanDuong.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.cbxDoanDuong.Size = new System.Drawing.Size(229, 20);
            this.cbxDoanDuong.TabIndex = 8;
            this.cbxDoanDuong.SelectedIndexChanged += new System.EventHandler(this.cbxDoanDuong_SelectedIndexChanged);
            this.cbxDoanDuong.Click += new System.EventHandler(this.cbxDoanDuong_Click);
            // 
            // panelControl3
            // 
            this.panelControl3.Controls.Add(this.btnOptionCalcView);
            this.panelControl3.Controls.Add(this.btnTinhFrmAll);
            this.panelControl3.Controls.Add(this.btnCloseFrmTinhAll);
            this.panelControl3.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.panelControl3.Location = new System.Drawing.Point(0, 330);
            this.panelControl3.Name = "panelControl3";
            this.panelControl3.Size = new System.Drawing.Size(363, 35);
            this.panelControl3.TabIndex = 0;
            // 
            // btnOptionCalcView
            // 
            this.btnOptionCalcView.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.btnOptionCalcView.Location = new System.Drawing.Point(8, 4);
            this.btnOptionCalcView.Name = "btnOptionCalcView";
            this.btnOptionCalcView.Size = new System.Drawing.Size(75, 28);
            this.btnOptionCalcView.TabIndex = 0;
            this.btnOptionCalcView.Text = "Trợ giúp";
            this.btnOptionCalcView.Click += new System.EventHandler(this.btnOptionCalcView_Click);
            // 
            // btnTinhFrmAll
            // 
            this.btnTinhFrmAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.btnTinhFrmAll.Location = new System.Drawing.Point(196, 4);
            this.btnTinhFrmAll.Name = "btnTinhFrmAll";
            this.btnTinhFrmAll.Size = new System.Drawing.Size(75, 28);
            this.btnTinhFrmAll.TabIndex = 0;
            this.btnTinhFrmAll.Text = "Tính";
            this.btnTinhFrmAll.Click += new System.EventHandler(this.btnTinhFrmAll_Click);
            // 
            // btnCloseFrmTinhAll
            // 
            this.btnCloseFrmTinhAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.btnCloseFrmTinhAll.Location = new System.Drawing.Point(277, 4);
            this.btnCloseFrmTinhAll.Name = "btnCloseFrmTinhAll";
            this.btnCloseFrmTinhAll.Size = new System.Drawing.Size(75, 28);
            this.btnCloseFrmTinhAll.TabIndex = 0;
            this.btnCloseFrmTinhAll.Text = "Đóng";
            this.btnCloseFrmTinhAll.Click += new System.EventHandler(this.btnCloseFrmTinhAll_Click);
            // 
            // contextMenuStrip1
            // 
            this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.mniOpenStatus,
            this.mniHelp});
            this.contextMenuStrip1.Name = "contextMenuStrip1";
            this.contextMenuStrip1.Size = new System.Drawing.Size(193, 48);
            // 
            // mniOpenStatus
            // 
            this.mniOpenStatus.Name = "mniOpenStatus";
            this.mniOpenStatus.Size = new System.Drawing.Size(192, 22);
            this.mniOpenStatus.Text = "Mở trạng thái vừa tính";
            this.mniOpenStatus.Click += new System.EventHandler(this.mniOpenStatus_Click);
            // 
            // mniHelp
            // 
            this.mniHelp.Name = "mniHelp";
            this.mniHelp.Size = new System.Drawing.Size(192, 22);
            this.mniHelp.Text = "Trợ giúp";
            // 
            // GCalculationView
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.groupControl2);
            this.Controls.Add(this.panelControl3);
            this.Name = "GCalculationView";
            this.Size = new System.Drawing.Size(363, 365);
            ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).EndInit();
            this.groupControl2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.groupControl4)).EndInit();
            this.groupControl4.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).EndInit();
            this.panelControl4.ResumeLayout(false);
            this.xtraScrollableControl3.ResumeLayout(false);
            this.xtraScrollableControl3.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.chkOverWrite.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkCalcAll.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.spnNam.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cbxHuyen.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cbxXa.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cbxDuong.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cbxDoanDuong.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit();
            this.panelControl3.ResumeLayout(false);
            this.contextMenuStrip1.ResumeLayout(false);
            this.ResumeLayout(false);

        }