Example #1
0
        public ObjectTypeView()
        {
            InitializeComponent();

            this.repDataType.DataSource = EnumHelper.ToExtendedList <int>(typeof(DataType));

            StyleFormatCondition styleFormatCondition1 = new DevExpress.XtraGrid.StyleFormatCondition();

            styleFormatCondition1.Appearance.BackColor            = System.Drawing.Color.LightGray;
            styleFormatCondition1.Appearance.Options.UseBackColor = true;
            styleFormatCondition1.Condition  = DevExpress.XtraGrid.FormatConditionEnum.Expression;
            styleFormatCondition1.Expression = "[Basic]";
            ObjectTypeAddonCollectionGridView1.FormatConditions.Add(styleFormatCondition1);

            StyleFormatCondition styleFormatCondition2 = new DevExpress.XtraGrid.StyleFormatCondition();

            styleFormatCondition2.Appearance.BackColor            = System.Drawing.Color.LightGray;
            styleFormatCondition2.Appearance.Options.UseBackColor = true;
            styleFormatCondition2.Condition  = DevExpress.XtraGrid.FormatConditionEnum.Expression;
            styleFormatCondition2.Expression = "[Basic]";
            ObjectTypeAddonCollectionGridView2.FormatConditions.Add(styleFormatCondition2);

            workerImport         = new BackgroundWorker();
            workerImport.DoWork += workerImport_DoWork;
            workerImport.WorkerReportsProgress = true;
            workerImport.ProgressChanged      += workerImport_ProgressChanged;
        }
        private void frmKSNET_Load(object sender, EventArgs e)
        {
            try
            {
                DevExpress.XtraGrid.StyleFormatCondition condition1 = new DevExpress.XtraGrid.StyleFormatCondition();
                condition1.Column                          = this.gridColumn1;
                condition1.ApplyToRow                      = true;
                condition1.Appearance.BackColor            = Color.Pink;
                condition1.Appearance.Options.UseBackColor = true;
                condition1.Condition                       = FormatConditionEnum.Expression;
                condition1.Expression                      = "TRIM(CAPTION) Like '%승인번호%'";
                this.gridViewRecevid.FormatConditions.Add(condition1);


                DevExpress.XtraGrid.StyleFormatCondition condition2 = new DevExpress.XtraGrid.StyleFormatCondition();
                condition2.Column                          = this.gridColumn1;
                condition2.ApplyToRow                      = true;
                condition2.Appearance.BackColor            = Color.Pink;
                condition2.Appearance.Options.UseBackColor = true;
                condition2.Condition                       = FormatConditionEnum.Expression;
                condition2.Expression                      = "TRIM(CAPTION) Like '%거래일시%'";
                this.gridViewRecevid.FormatConditions.Add(condition2);
            }
            catch (Exception ex)
            {
            }
        }
Example #3
0
        /// <summary>
        /// 根据列值条件设置行颜色
        /// </summary>
        /// <param name="color"></param>
        /// <param name="fieldName"></param>
        /// <param name="matchVlu"></param>
        private void SetRowBackColor(Color color, string fieldName, object matchVlu)
        {
            if (null == DefGridView)
            {
                return;
            }
            DevExpress.XtraGrid.Columns.GridColumn col = null;
            foreach (DevExpress.XtraGrid.Columns.GridColumn item in DefGridView.Columns)
            {
                if (string.Compare(fieldName, item.FieldName) == 0)
                {
                    col = item;
                    break;
                }
            }
            if (col == null)
            {
                return;
            }

            DevExpress.XtraGrid.StyleFormatCondition[] formats = new DevExpress.XtraGrid.StyleFormatCondition[1];
            DevExpress.XtraGrid.StyleFormatCondition   format  = new DevExpress.XtraGrid.StyleFormatCondition();
            format.Appearance.Options.UseBackColor = true;
            format.Appearance.BackColor            = color;
            format.ApplyToRow = true;
            format.Column     = col;
            format.Condition  = DevExpress.XtraGrid.FormatConditionEnum.Equal;
            format.Value1     = matchVlu;
            formats[0]        = format;
            DefGridView.FormatConditions.AddRange(formats);
        }
 //TUDQ them
 public void checkFormatConditions()
 {
     using (var ctrlSA = new SAController())
     {
         List <string> values = new List <string>();
         DataContainer con;
         values.Add(ModuleInfo.ModuleID);
         values.Add(App.Environment.ClientInfo.UserName);
         ctrlSA.ExecuteProcedureFillDataset(out con, "sp_formatconditions_selbyid", values);
         DataTable dt = con.DataTable;
         if (dt.Rows.Count > 0)
         {
             for (int i = 0; i < dt.Rows.Count; i++)
             {
                 StyleFormatCondition condition1 = new DevExpress.XtraGrid.StyleFormatCondition();
                 if (Convert.ToString(dt.Rows[i]["BACKCOLOR"]) != "0")
                 {
                     condition1.Appearance.BackColor = Color.FromName(dt.Rows[i]["BACKCOLOR"].ToString());
                 }
                 else
                 {
                     condition1.Appearance.BackColor = Color.Transparent;
                 }
                 if (Convert.ToString(dt.Rows[i]["FORECOLOR"]) != "0")
                 {
                     condition1.Appearance.ForeColor = Color.FromName(dt.Rows[i]["FORECOLOR"].ToString());
                 }
                 else
                 {
                     condition1.Appearance.ForeColor = Color.Transparent;
                 }
                 condition1.Appearance.Options.UseBackColor = true;
                 condition1.Appearance.Options.UseForeColor = true;
                 if (dt.Rows[i]["BOLD"].ToString() == "Y" && dt.Rows[i]["ITALIC"].ToString() == "Y")
                 {
                     condition1.Appearance.Font = new Font(this.Font, FontStyle.Bold | FontStyle.Italic);
                 }
                 else if (dt.Rows[i]["BOLD"].ToString() == "Y")
                 {
                     condition1.Appearance.Font = new Font(this.Font, FontStyle.Bold);
                 }
                 else if ((dt.Rows[i]["ITALIC"].ToString() == "Y"))
                 {
                     condition1.Appearance.Font = new Font(this.Font, FontStyle.Italic);
                 }
                 condition1.Condition  = FormatConditionEnum.Expression;
                 condition1.Expression = dt.Rows[i]["CONDITIONS"].ToString();
                 condition1.Appearance.Options.UseFont = true;
                 gvMain.FormatConditions.Add(condition1);
             }
         }
     }
 }
Example #5
0
        /// <summary>
        /// 데이터 테이블을 정의 합니다.
        /// </summary>
        private void SetDataTable()
        {
            dt.Columns.Add("SALE_DATE");
            dt.Columns.Add("FACILITY_CODE");
            dt.Columns.Add("FACILITY_NAME");
            dt.Columns.Add("ORDER_NO", typeof(decimal));
            dt.Columns.Add("TABLE_NO", typeof(decimal));
            dt.Columns.Add("SEQ");
            dt.Columns.Add("MENU_CODE");
            dt.Columns.Add("MENU_NAME");
            dt.Columns.Add("SALE_QTY", typeof(decimal));
            dt.Columns.Add("OLD_SALE_QTY", typeof(decimal));
            dt.Columns.Add("UNIT_AMT", typeof(decimal));
            dt.Columns.Add("ORDER_STAT_NAME");
            dt.Columns.Add("U_EMP_NO");
            dt.Columns.Add("U_DATE");

            GridStyle gs = new GridStyle(this.grid, this.gridView);

            gs.AddColumn("판매일자", "SALE_DATE", _ColumnType.Default, 80, _ColumnAlign.Center, true);
            gs.AddColumn("업장코드", "FACILITY_CODE", _ColumnType.Default, 80, _ColumnAlign.Center, true);
            gs.AddColumn("업장명", "FACILITY_NAME", _ColumnType.Default, 80, _ColumnAlign.Left, true);
            gs.AddColumn("주문번호", "ORDER_NO", _ColumnType.Numbers, 80, _ColumnAlign.Right, true);
            gs.AddColumn("테이블번호", "TABLE_NO", _ColumnType.Numbers, 90, _ColumnAlign.Right, true);
            gs.AddColumn("순번1", "SEQ", _ColumnType.Default, 50, _ColumnAlign.Right, true);
            gs.AddColumn("메뉴코드", "MENU_CODE", _ColumnType.Default, 80, _ColumnAlign.Center, true);
            gs.AddColumn("메뉴명", "MENU_NAME", _ColumnType.Default, 110, _ColumnAlign.Left, true);
            gs.AddColumn("판매수량", "SALE_QTY", _ColumnType.Numbers, 80, _ColumnAlign.Right, true);
            gs.AddColumn("이전판매수량", "OLD_SALE_QTY", _ColumnType.Numbers, 100, _ColumnAlign.Right, true);
            gs.AddColumn("판매단가", "UNIT_AMT", _ColumnType.Numbers, 80, _ColumnAlign.Right, true);
            gs.AddColumn("주문상태", "ORDER_STAT", _ColumnType.Default, 80, _ColumnAlign.Left, false);
            gs.AddColumn("주문상태", "ORDER_STAT_NAME", _ColumnType.Default, 80, _ColumnAlign.Center, true);
            gs.AddColumn("담당자", "U_EMP_NO", _ColumnType.Default, 80, _ColumnAlign.Center, true);
            gs.AddColumn("변경시간", "U_DATE", _ColumnType.Default, 80, _ColumnAlign.Center, true);

            Cls.Grid.Options.SelectedRow(this.gridView);
            Cls.Grid.Options.EmbeddedNavigater(this.grid);
            Cls.Grid.Options.FilterRow(this.gridView, true);
            //Cls.Grid.Options.Footer(gridView, DevExpress.Data.SummaryItemType.Sum, "컬럼명", "필드명", SummaryFormat.Sum);
            this.grid.DataSource = dt;

            StyleFormatCondition condition = new DevExpress.XtraGrid.StyleFormatCondition();

            condition.Appearance.ForeColor = Color.Red;
            condition.Column     = this.gridView.Columns["ORDER_STAT"];
            condition.ApplyToRow = true;
            condition.Appearance.Options.UseFont      = true;
            condition.Appearance.Options.UseForeColor = true;
            condition.Appearance.Font = new System.Drawing.Font("굴림체", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            condition.Condition       = FormatConditionEnum.Expression;
            condition.Expression      = "ORDER_STAT = 'D'";
            gridView.FormatConditions.Add(condition);
        }
Example #6
0
        private void ConditionsAdjustment()
        {
            DevExpress.XtraGrid.StyleFormatCondition cn;
            cn = new DevExpress.XtraGrid.StyleFormatCondition(FormatConditionEnum.Equal, gridView2.Columns["ABNORMAL_INDICATOR"], null, "H");
            cn.Appearance.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(53)))), ((int)(((byte)(71)))));
            cn.ApplyToRow           = true;
            gridView2.FormatConditions.Add(cn);

            cn = new DevExpress.XtraGrid.StyleFormatCondition(FormatConditionEnum.Equal, gridView2.Columns["ABNORMAL_INDICATOR"], null, "L");
            cn.Appearance.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(158)))), ((int)(((byte)(55)))));
            cn.ApplyToRow           = true;
            gridView2.FormatConditions.Add(cn);
        }
Example #7
0
        protected virtual StyleFormatCondition SetStyleFormatFontCondition(GridColumn gc, Color color, string expression)
        {
            StyleFormatCondition condition1 = new DevExpress.XtraGrid.StyleFormatCondition();

            condition1.Column = gc;
            condition1.Appearance.ForeColor = color;
            condition1.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            condition1.Appearance.BackColor = color;
            // condition1.Appearance.Options.UseBackColor = true;
            condition1.Appearance.Options.UseForeColor   = true;
            condition1.Appearance.Options.UseTextOptions = true;
            condition1.Condition  = FormatConditionEnum.Expression;
            condition1.Expression = expression;
            return(condition1);
        }
Example #8
0
        /// <summary>
        /// 데이터 테이블을 정의 합니다.
        /// </summary>
        private void SetDataTable()
        {
            //dt.Columns.Add("CHECKOUT_DATE");
            //dt.Columns.Add("INT_DAY");
            //dt.Columns.Add("DAY_NAME");
            //dt.Columns.Add("TIME1");
            //dt.Columns.Add("OCC1");
            //dt.Columns.Add("TIME2");
            //dt.Columns.Add("OCC2");
            //dt.Columns.Add("TIME3");
            //dt.Columns.Add("OCC3");
            //dt.Columns.Add("TIME4");
            //dt.Columns.Add("OCC4");
            //dt.Columns.Add("TIME5");
            //dt.Columns.Add("OCC5");
            //dt.Columns.Add("TOTAL");

            Cls.Grid.AdvBandedGrid.InitializeView(this.advBandedGridView, true);

            Cls.Grid.Options.SelectedRow(this.advBandedGridView);
            Cls.Grid.Options.EmbeddedNavigater(this.grid);
            Cls.Grid.Options.FilterRow(this.advBandedGridView, true);
            //Cls.Grid.Options.Footer(gridView, DevExpress.Data.SummaryItemType.Sum, "컬럼명", "필드명", SummaryFormat.Sum);
            this.grid.DataSource = dt;

            StyleFormatCondition condition = new DevExpress.XtraGrid.StyleFormatCondition();

            condition.Appearance.ForeColor = Color.Red;
            condition.Column     = this.advBandedGridView.Columns["DAY_NAME"];
            condition.ApplyToRow = false;
            condition.Appearance.Options.UseFont      = true;
            condition.Appearance.Options.UseForeColor = true;
            condition.Appearance.Font = new System.Drawing.Font("굴림체", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            condition.Condition       = FormatConditionEnum.Expression;
            condition.Expression      = "DAY_NAME == '화요일'";
            this.advBandedGridView.FormatConditions.Add(condition);
        }
        /// <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(RetailSales1));
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition1 = new DevExpress.XtraGrid.StyleFormatCondition();
            this.colQTY = new DevExpress.XtraGrid.Columns.GridColumn();
            this.repositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
            this.ribbon = new DevExpress.XtraBars.Ribbon.RibbonControl();
            this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem5 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem6 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem7 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem8 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem9 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem10 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem11 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem12 = new DevExpress.XtraBars.BarButtonItem();
            this.staticdoctor = new DevExpress.XtraBars.BarButtonItem();
            this.barStaticItem2 = new DevExpress.XtraBars.BarStaticItem();
            this.barStaticItem3 = new DevExpress.XtraBars.BarStaticItem();
            this.two = new DevExpress.XtraBars.BarStaticItem();
            this.barStaticItem4 = new DevExpress.XtraBars.BarStaticItem();
            this.barcomp = new DevExpress.XtraBars.BarStaticItem();
            this.barStaticItem5 = new DevExpress.XtraBars.BarStaticItem();
            this.txtinvoiceno = new DevExpress.XtraBars.BarStaticItem();
            this.lookupcashier = new DevExpress.XtraBars.BarEditItem();
            this.repositoryItemLookUpEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
            this.barButtonItem13 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem14 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem15 = new DevExpress.XtraBars.BarButtonItem();
            this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage();
            this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPageGroup2 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonStatusBar = new DevExpress.XtraBars.Ribbon.RibbonStatusBar();
            this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
            this.txtcustomer = new DevExpress.XtraEditors.TextEdit();
            this.txtbarcode = new DevExpress.XtraEditors.TextEdit();
            this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
            this.panelnormalcustomer = new System.Windows.Forms.Panel();
            this.simpleButton2 = new DevExpress.XtraEditors.SimpleButton();
            this.txtcrlimit = new DevExpress.XtraEditors.TextEdit();
            this.labelControl21 = new DevExpress.XtraEditors.LabelControl();
            this.txtfixdis = new DevExpress.XtraEditors.TextEdit();
            this.labelControl22 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl17 = new DevExpress.XtraEditors.LabelControl();
            this.txtavailble = new DevExpress.XtraEditors.TextEdit();
            this.labelControl18 = new DevExpress.XtraEditors.LabelControl();
            this.panelinsurance = new System.Windows.Forms.Panel();
            this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton();
            this.txtpatname = new DevExpress.XtraEditors.TextEdit();
            this.labelControl12 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl16 = new DevExpress.XtraEditors.LabelControl();
            this.cutomerpayment = new DevExpress.XtraEditors.TextEdit();
            this.cmbclass = new DevExpress.XtraEditors.LookUpEdit();
            this.iNSURANCEDISCBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.txtvisitno = new DevExpress.XtraEditors.TextEdit();
            this.labelControl19 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl15 = new DevExpress.XtraEditors.LabelControl();
            this.txtfileno = new DevExpress.XtraEditors.TextEdit();
            this.labelControl10 = new DevExpress.XtraEditors.LabelControl();
            this.lookupcustomer = new DevExpress.XtraEditors.LookUpEdit();
            this.cUSTOMERBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.dsMaster1 = new VIRETAILENTITIES.DsMaster();
            this.labelControl13 = new DevExpress.XtraEditors.LabelControl();
            this.txtqty = new DevExpress.XtraEditors.TextEdit();
            this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
            this.panelControl3 = new DevExpress.XtraEditors.PanelControl();
            this.lblmutilpleprice = new DevExpress.XtraWaitForm.ProgressPanel();
            this.panel1 = new System.Windows.Forms.Panel();
            this.labelmaxdisc = new DevExpress.XtraEditors.LabelControl();
            this.labelControl20 = new DevExpress.XtraEditors.LabelControl();
            this.txtnetins = new DevExpress.XtraEditors.TextEdit();
            this.txtreturnamt = new DevExpress.XtraEditors.TextEdit();
            this.labelControl7 = new DevExpress.XtraEditors.LabelControl();
            this.txtrounding = new DevExpress.XtraEditors.TextEdit();
            this.labelControl6 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl8 = new DevExpress.XtraEditors.LabelControl();
            this.txtdiscount = new DevExpress.XtraEditors.TextEdit();
            this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
            this.subtotal = new DevExpress.XtraEditors.TextEdit();
            this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
            this.txtdiscper = new DevExpress.XtraEditors.TextEdit();
            this.labelControl5 = new DevExpress.XtraEditors.LabelControl();
            this.txtnetamt = new DevExpress.XtraEditors.TextEdit();
            this.lblcustomeronhold = new DevExpress.XtraWaitForm.ProgressPanel();
            this.gridControl1 = new DevExpress.XtraGrid.GridControl();
            this.sALESINVDETAILBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.dsInventory1 = new VIRETAILENTITIES.DsInventory();
            this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.colTID = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colSINVNO = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colBARCODE = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colITEMNO = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colITEMNAME = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colSTOCK = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colINVRATE = new DevExpress.XtraGrid.Columns.GridColumn();
            this.repositoryItemTextEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
            this.colSPRICE = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colCPRICE = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colEXPDATE = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colDISC = new DevExpress.XtraGrid.Columns.GridColumn();
            this.repositoryItemTextEdit4 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
            this.colLINETOTAL = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colSTOCKID = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colISRETURN = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colBONUS = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colEXTDISC = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colDOCTORID = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colDISCONSALE = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colASTOCK = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colEXPDATE1 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.repositoryItemTextEdit3 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
            this.iTEMMASTBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.popupControlContainer1 = new DevExpress.XtraBars.PopupControlContainer(this.components);
            this.gridControl2 = new DevExpress.XtraGrid.GridControl();
            this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.gridColumn1 = 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();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ribbon)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
            this.panelControl1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txtcustomer.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtbarcode.Properties)).BeginInit();
            this.panelnormalcustomer.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txtcrlimit.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtfixdis.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtavailble.Properties)).BeginInit();
            this.panelinsurance.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txtpatname.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cutomerpayment.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmbclass.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.iNSURANCEDISCBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtvisitno.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtfileno.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.lookupcustomer.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cUSTOMERBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dsMaster1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtqty.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit();
            this.panelControl3.SuspendLayout();
            this.panel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txtnetins.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtreturnamt.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtrounding.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtdiscount.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.subtotal.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtdiscper.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtnetamt.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.sALESINVDETAILBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dsInventory1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit4)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.iTEMMASTBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.popupControlContainer1)).BeginInit();
            this.popupControlContainer1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
            this.SuspendLayout();
            // 
            // colQTY
            // 
            this.colQTY.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colQTY.AppearanceCell.Options.UseFont = true;
            this.colQTY.AppearanceCell.Options.UseTextOptions = true;
            this.colQTY.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colQTY.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colQTY.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colQTY.AppearanceHeader.Options.UseFont = true;
            this.colQTY.AppearanceHeader.Options.UseTextOptions = true;
            this.colQTY.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colQTY.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colQTY.Caption = "Qty";
            this.colQTY.ColumnEdit = this.repositoryItemTextEdit1;
            this.colQTY.CustomizationCaption = "Qty";
            this.colQTY.FieldName = "QTY";
            this.colQTY.Name = "colQTY";
            this.colQTY.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colQTY.OptionsFilter.AllowAutoFilter = false;
            this.colQTY.OptionsFilter.AllowFilter = false;
            this.colQTY.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
            new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum)});
            this.colQTY.Visible = true;
            this.colQTY.VisibleIndex = 2;
            this.colQTY.Width = 37;
            // 
            // repositoryItemTextEdit1
            // 
            this.repositoryItemTextEdit1.AutoHeight = false;
            this.repositoryItemTextEdit1.Mask.EditMask = "n0";
            this.repositoryItemTextEdit1.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
            this.repositoryItemTextEdit1.MaxLength = 3;
            this.repositoryItemTextEdit1.Name = "repositoryItemTextEdit1";
            // 
            // ribbon
            // 
            this.ribbon.ExpandCollapseItem.Id = 0;
            this.ribbon.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
            this.ribbon.ExpandCollapseItem,
            this.barButtonItem1,
            this.barButtonItem2,
            this.barButtonItem3,
            this.barButtonItem4,
            this.barButtonItem5,
            this.barButtonItem6,
            this.barButtonItem7,
            this.barButtonItem8,
            this.barButtonItem9,
            this.barButtonItem10,
            this.barButtonItem11,
            this.barButtonItem12,
            this.staticdoctor,
            this.barStaticItem2,
            this.barStaticItem3,
            this.two,
            this.barStaticItem4,
            this.barcomp,
            this.barStaticItem5,
            this.txtinvoiceno,
            this.lookupcashier,
            this.barButtonItem13,
            this.barButtonItem14,
            this.barButtonItem15});
            this.ribbon.Location = new System.Drawing.Point(0, 0);
            this.ribbon.MaxItemId = 28;
            this.ribbon.MdiMergeStyle = DevExpress.XtraBars.Ribbon.RibbonMdiMergeStyle.Always;
            this.ribbon.Name = "ribbon";
            this.ribbon.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
            this.ribbonPage1});
            this.ribbon.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
            this.repositoryItemLookUpEdit1});
            this.ribbon.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonControlStyle.Office2013;
            this.ribbon.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.False;
            this.ribbon.ShowCategoryInCaption = false;
            this.ribbon.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.ShowOnMultiplePages;
            this.ribbon.ShowToolbarCustomizeItem = false;
            this.ribbon.Size = new System.Drawing.Size(840, 122);
            this.ribbon.StatusBar = this.ribbonStatusBar;
            this.ribbon.Toolbar.ShowCustomizeItem = false;
            // 
            // barButtonItem1
            // 
            this.barButtonItem1.Caption = "Disc";
            this.barButtonItem1.Id = 1;
            this.barButtonItem1.LargeGlyph = global::Store.Properties.Resources.F1;
            this.barButtonItem1.Name = "barButtonItem1";
            this.barButtonItem1.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.FunctionKeys);
            // 
            // barButtonItem2
            // 
            this.barButtonItem2.Caption = "List";
            this.barButtonItem2.Id = 2;
            this.barButtonItem2.LargeGlyph = global::Store.Properties.Resources.F2;
            this.barButtonItem2.Name = "barButtonItem2";
            this.barButtonItem2.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.FunctionKeys);
            // 
            // barButtonItem3
            // 
            this.barButtonItem3.Caption = "Clear";
            this.barButtonItem3.Id = 3;
            this.barButtonItem3.LargeGlyph = global::Store.Properties.Resources.F3;
            this.barButtonItem3.Name = "barButtonItem3";
            this.barButtonItem3.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.FunctionKeys);
            // 
            // barButtonItem4
            // 
            this.barButtonItem4.Caption = "Print";
            this.barButtonItem4.Id = 4;
            this.barButtonItem4.LargeGlyph = global::Store.Properties.Resources.F4;
            this.barButtonItem4.Name = "barButtonItem4";
            this.barButtonItem4.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.FunctionKeys);
            // 
            // barButtonItem5
            // 
            this.barButtonItem5.Caption = "Qty";
            this.barButtonItem5.Id = 5;
            this.barButtonItem5.LargeGlyph = global::Store.Properties.Resources.F5;
            this.barButtonItem5.Name = "barButtonItem5";
            this.barButtonItem5.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.FunctionKeys);
            // 
            // barButtonItem6
            // 
            this.barButtonItem6.Caption = "Hold";
            this.barButtonItem6.Id = 6;
            this.barButtonItem6.LargeGlyph = global::Store.Properties.Resources.F6;
            this.barButtonItem6.Name = "barButtonItem6";
            this.barButtonItem6.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.FunctionKeys);
            // 
            // barButtonItem7
            // 
            this.barButtonItem7.Caption = "Charges";
            this.barButtonItem7.Id = 7;
            this.barButtonItem7.LargeGlyph = global::Store.Properties.Resources.F7;
            this.barButtonItem7.Name = "barButtonItem7";
            this.barButtonItem7.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.FunctionKeys);
            // 
            // barButtonItem8
            // 
            this.barButtonItem8.Caption = "Sale";
            this.barButtonItem8.Id = 8;
            this.barButtonItem8.LargeGlyph = global::Store.Properties.Resources.F9;
            this.barButtonItem8.Name = "barButtonItem8";
            this.barButtonItem8.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.FunctionKeys);
            // 
            // barButtonItem9
            // 
            this.barButtonItem9.Caption = "Find Item";
            this.barButtonItem9.Id = 9;
            this.barButtonItem9.LargeGlyph = global::Store.Properties.Resources.F10;
            this.barButtonItem9.Name = "barButtonItem9";
            this.barButtonItem9.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.FunctionKeys);
            // 
            // barButtonItem10
            // 
            this.barButtonItem10.Caption = "Customer";
            this.barButtonItem10.Id = 10;
            this.barButtonItem10.LargeGlyph = global::Store.Properties.Resources.F11;
            this.barButtonItem10.Name = "barButtonItem10";
            this.barButtonItem10.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.FunctionKeys);
            // 
            // barButtonItem11
            // 
            this.barButtonItem11.Caption = "Rounding";
            this.barButtonItem11.Id = 11;
            this.barButtonItem11.LargeGlyph = global::Store.Properties.Resources.F12;
            this.barButtonItem11.Name = "barButtonItem11";
            this.barButtonItem11.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.FunctionKeys);
            // 
            // barButtonItem12
            // 
            this.barButtonItem12.Caption = "Return";
            this.barButtonItem12.Id = 12;
            this.barButtonItem12.LargeGlyph = global::Store.Properties.Resources.F8;
            this.barButtonItem12.Name = "barButtonItem12";
            this.barButtonItem12.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.FunctionKeys);
            // 
            // staticdoctor
            // 
            this.staticdoctor.Caption = "Click to Login";
            this.staticdoctor.Glyph = global::Store.Properties.Resources.doctor;
            this.staticdoctor.Id = 13;
            this.staticdoctor.Name = "staticdoctor";
            this.staticdoctor.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.staticdoctor_ItemClick);
            // 
            // barStaticItem2
            // 
            this.barStaticItem2.Caption = "Lines";
            this.barStaticItem2.Id = 16;
            this.barStaticItem2.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.barStaticItem2.ItemAppearance.Normal.Options.UseFont = true;
            this.barStaticItem2.Name = "barStaticItem2";
            this.barStaticItem2.TextAlignment = System.Drawing.StringAlignment.Near;
            // 
            // barStaticItem3
            // 
            this.barStaticItem3.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Left;
            this.barStaticItem3.AutoSize = DevExpress.XtraBars.BarStaticItemSize.None;
            this.barStaticItem3.Glyph = global::Store.Properties.Resources.One;
            this.barStaticItem3.Id = 17;
            this.barStaticItem3.Name = "barStaticItem3";
            this.barStaticItem3.TextAlignment = System.Drawing.StringAlignment.Near;
            // 
            // two
            // 
            this.two.Glyph = global::Store.Properties.Resources.Two;
            this.two.Id = 18;
            this.two.Name = "two";
            this.two.TextAlignment = System.Drawing.StringAlignment.Near;
            // 
            // barStaticItem4
            // 
            this.barStaticItem4.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right;
            this.barStaticItem4.Caption = "Store Code :";
            this.barStaticItem4.Id = 19;
            this.barStaticItem4.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.barStaticItem4.ItemAppearance.Normal.Options.UseFont = true;
            this.barStaticItem4.Name = "barStaticItem4";
            this.barStaticItem4.TextAlignment = System.Drawing.StringAlignment.Near;
            // 
            // barcomp
            // 
            this.barcomp.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right;
            this.barcomp.Id = 20;
            this.barcomp.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.barcomp.ItemAppearance.Normal.Options.UseFont = true;
            this.barcomp.Name = "barcomp";
            this.barcomp.TextAlignment = System.Drawing.StringAlignment.Near;
            // 
            // barStaticItem5
            // 
            this.barStaticItem5.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right;
            this.barStaticItem5.Caption = "Invoice No. :";
            this.barStaticItem5.Id = 21;
            this.barStaticItem5.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.barStaticItem5.ItemAppearance.Normal.Options.UseFont = true;
            this.barStaticItem5.Name = "barStaticItem5";
            this.barStaticItem5.TextAlignment = System.Drawing.StringAlignment.Near;
            // 
            // txtinvoiceno
            // 
            this.txtinvoiceno.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right;
            this.txtinvoiceno.Id = 22;
            this.txtinvoiceno.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtinvoiceno.ItemAppearance.Normal.Options.UseFont = true;
            this.txtinvoiceno.Name = "txtinvoiceno";
            this.txtinvoiceno.TextAlignment = System.Drawing.StringAlignment.Near;
            // 
            // lookupcashier
            // 
            this.lookupcashier.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right;
            this.lookupcashier.Caption = "Cashier :";
            this.lookupcashier.Edit = this.repositoryItemLookUpEdit1;
            this.lookupcashier.EditWidth = 120;
            this.lookupcashier.Id = 24;
            this.lookupcashier.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lookupcashier.ItemAppearance.Normal.Options.UseFont = true;
            this.lookupcashier.Name = "lookupcashier";
            // 
            // 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("USERID", "USERID"),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("FULLNAME", "FULLNAME")});
            this.repositoryItemLookUpEdit1.DisplayMember = "FULLNAME";
            this.repositoryItemLookUpEdit1.Name = "repositoryItemLookUpEdit1";
            this.repositoryItemLookUpEdit1.NullText = "";
            this.repositoryItemLookUpEdit1.ReadOnly = true;
            this.repositoryItemLookUpEdit1.ShowDropDown = DevExpress.XtraEditors.Controls.ShowDropDown.Never;
            this.repositoryItemLookUpEdit1.ShowFooter = false;
            this.repositoryItemLookUpEdit1.ShowHeader = false;
            this.repositoryItemLookUpEdit1.ValueMember = "USERID";
            // 
            // barButtonItem13
            // 
            this.barButtonItem13.Caption = "Receipt";
            this.barButtonItem13.Id = 25;
            this.barButtonItem13.Name = "barButtonItem13";
            // 
            // barButtonItem14
            // 
            this.barButtonItem14.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right;
            this.barButtonItem14.Caption = "Shift Code :";
            this.barButtonItem14.Glyph = global::Store.Properties.Resources.grayball;
            this.barButtonItem14.Id = 26;
            this.barButtonItem14.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.barButtonItem14.ItemAppearance.Normal.Options.UseFont = true;
            this.barButtonItem14.Name = "barButtonItem14";
            this.barButtonItem14.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem14_ItemClick_1);
            // 
            // barButtonItem15
            // 
            this.barButtonItem15.Caption = "Receipt";
            this.barButtonItem15.Glyph = global::Store.Properties.Resources.coins;
            this.barButtonItem15.Id = 27;
            this.barButtonItem15.Name = "barButtonItem15";
            this.barButtonItem15.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem14_ItemClick);
            // 
            // ribbonPage1
            // 
            this.ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
            this.ribbonPageGroup1,
            this.ribbonPageGroup2});
            this.ribbonPage1.Name = "ribbonPage1";
            this.ribbonPage1.Text = "POS";
            // 
            // ribbonPageGroup1
            // 
            this.ribbonPageGroup1.ItemLinks.Add(this.barButtonItem1);
            this.ribbonPageGroup1.ItemLinks.Add(this.barButtonItem2, true);
            this.ribbonPageGroup1.ItemLinks.Add(this.barButtonItem3, true);
            this.ribbonPageGroup1.ItemLinks.Add(this.barButtonItem4, true);
            this.ribbonPageGroup1.ItemLinks.Add(this.barButtonItem5, true);
            this.ribbonPageGroup1.ItemLinks.Add(this.barButtonItem6, true);
            this.ribbonPageGroup1.ItemLinks.Add(this.barButtonItem7, true);
            this.ribbonPageGroup1.ItemLinks.Add(this.barButtonItem12, true);
            this.ribbonPageGroup1.ItemLinks.Add(this.barButtonItem8, true);
            this.ribbonPageGroup1.ItemLinks.Add(this.barButtonItem9, true);
            this.ribbonPageGroup1.ItemLinks.Add(this.barButtonItem10, true);
            this.ribbonPageGroup1.ItemLinks.Add(this.barButtonItem11, true);
            this.ribbonPageGroup1.Name = "ribbonPageGroup1";
            this.ribbonPageGroup1.ShowCaptionButton = false;
            this.ribbonPageGroup1.Text = "Menu";
            // 
            // ribbonPageGroup2
            // 
            this.ribbonPageGroup2.ItemLinks.Add(this.staticdoctor);
            this.ribbonPageGroup2.Name = "ribbonPageGroup2";
            this.ribbonPageGroup2.ShowCaptionButton = false;
            this.ribbonPageGroup2.Text = "Doctor";
            // 
            // ribbonStatusBar
            // 
            this.ribbonStatusBar.ItemLinks.Add(this.barStaticItem2);
            this.ribbonStatusBar.ItemLinks.Add(this.barStaticItem3, true);
            this.ribbonStatusBar.ItemLinks.Add(this.two);
            this.ribbonStatusBar.ItemLinks.Add(this.barButtonItem14, true);
            this.ribbonStatusBar.ItemLinks.Add(this.barStaticItem4, true);
            this.ribbonStatusBar.ItemLinks.Add(this.barcomp);
            this.ribbonStatusBar.ItemLinks.Add(this.barStaticItem5, true);
            this.ribbonStatusBar.ItemLinks.Add(this.txtinvoiceno);
            this.ribbonStatusBar.ItemLinks.Add(this.lookupcashier, true);
            this.ribbonStatusBar.ItemLinks.Add(this.barButtonItem15, true);
            this.ribbonStatusBar.Location = new System.Drawing.Point(0, 535);
            this.ribbonStatusBar.Name = "ribbonStatusBar";
            this.ribbonStatusBar.Ribbon = this.ribbon;
            this.ribbonStatusBar.Size = new System.Drawing.Size(840, 31);
            // 
            // panelControl1
            // 
            this.panelControl1.Controls.Add(this.txtcustomer);
            this.panelControl1.Controls.Add(this.txtbarcode);
            this.panelControl1.Controls.Add(this.labelControl1);
            this.panelControl1.Controls.Add(this.panelnormalcustomer);
            this.panelControl1.Controls.Add(this.panelinsurance);
            this.panelControl1.Controls.Add(this.lookupcustomer);
            this.panelControl1.Controls.Add(this.labelControl13);
            this.panelControl1.Dock = System.Windows.Forms.DockStyle.Top;
            this.panelControl1.Location = new System.Drawing.Point(0, 122);
            this.panelControl1.Name = "panelControl1";
            this.panelControl1.Size = new System.Drawing.Size(840, 101);
            this.panelControl1.TabIndex = 2;
            // 
            // txtcustomer
            // 
            this.txtcustomer.Location = new System.Drawing.Point(73, 35);
            this.txtcustomer.MenuManager = this.ribbon;
            this.txtcustomer.Name = "txtcustomer";
            this.txtcustomer.Size = new System.Drawing.Size(343, 20);
            this.txtcustomer.TabIndex = 108;
            // 
            // txtbarcode
            // 
            this.txtbarcode.Location = new System.Drawing.Point(73, 6);
            this.txtbarcode.Name = "txtbarcode";
            this.txtbarcode.Properties.Appearance.BackColor = System.Drawing.Color.White;
            this.txtbarcode.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtbarcode.Properties.Appearance.ForeColor = System.Drawing.Color.Black;
            this.txtbarcode.Properties.Appearance.Options.UseBackColor = true;
            this.txtbarcode.Properties.Appearance.Options.UseFont = true;
            this.txtbarcode.Properties.Appearance.Options.UseForeColor = true;
            this.txtbarcode.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
            this.txtbarcode.Size = new System.Drawing.Size(343, 26);
            this.txtbarcode.TabIndex = 1;
            this.txtbarcode.EditValueChanged += new System.EventHandler(this.txtbarcode_EditValueChanged);
            this.txtbarcode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textEdit1_KeyDown);
            // 
            // labelControl1
            // 
            this.labelControl1.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.labelControl1.Location = new System.Drawing.Point(10, 11);
            this.labelControl1.Name = "labelControl1";
            this.labelControl1.Size = new System.Drawing.Size(57, 14);
            this.labelControl1.TabIndex = 107;
            this.labelControl1.Text = "Barcode :";
            // 
            // panelnormalcustomer
            // 
            this.panelnormalcustomer.BackColor = System.Drawing.Color.Transparent;
            this.panelnormalcustomer.Controls.Add(this.simpleButton2);
            this.panelnormalcustomer.Controls.Add(this.txtcrlimit);
            this.panelnormalcustomer.Controls.Add(this.labelControl21);
            this.panelnormalcustomer.Controls.Add(this.txtfixdis);
            this.panelnormalcustomer.Controls.Add(this.labelControl22);
            this.panelnormalcustomer.Controls.Add(this.labelControl17);
            this.panelnormalcustomer.Controls.Add(this.txtavailble);
            this.panelnormalcustomer.Controls.Add(this.labelControl18);
            this.panelnormalcustomer.Location = new System.Drawing.Point(0, 58);
            this.panelnormalcustomer.Name = "panelnormalcustomer";
            this.panelnormalcustomer.Size = new System.Drawing.Size(411, 31);
            this.panelnormalcustomer.TabIndex = 105;
            this.panelnormalcustomer.Visible = false;
            // 
            // simpleButton2
            // 
            this.simpleButton2.Image = ((System.Drawing.Image)(resources.GetObject("simpleButton2.Image")));
            this.simpleButton2.Location = new System.Drawing.Point(3, 5);
            this.simpleButton2.Name = "simpleButton2";
            this.simpleButton2.Size = new System.Drawing.Size(64, 22);
            this.simpleButton2.TabIndex = 61;
            this.simpleButton2.Text = "Points :";
            this.simpleButton2.Click += new System.EventHandler(this.simpleButton2_Click);
            // 
            // txtcrlimit
            // 
            this.txtcrlimit.EditValue = new decimal(new int[] {
            0,
            0,
            0,
            0});
            this.txtcrlimit.Location = new System.Drawing.Point(351, 4);
            this.txtcrlimit.Name = "txtcrlimit";
            this.txtcrlimit.Properties.Appearance.BackColor = System.Drawing.Color.Transparent;
            this.txtcrlimit.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtcrlimit.Properties.Appearance.Options.UseBackColor = true;
            this.txtcrlimit.Properties.Appearance.Options.UseFont = true;
            this.txtcrlimit.Properties.Appearance.Options.UseTextOptions = true;
            this.txtcrlimit.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.txtcrlimit.Properties.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.txtcrlimit.Properties.AppearanceReadOnly.BackColor = System.Drawing.Color.White;
            this.txtcrlimit.Properties.AppearanceReadOnly.Options.UseBackColor = true;
            this.txtcrlimit.Properties.DisplayFormat.FormatString = "N2";
            this.txtcrlimit.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txtcrlimit.Properties.ReadOnly = true;
            this.txtcrlimit.Size = new System.Drawing.Size(56, 22);
            this.txtcrlimit.TabIndex = 60;
            this.txtcrlimit.TabStop = false;
            // 
            // labelControl21
            // 
            this.labelControl21.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.labelControl21.Location = new System.Drawing.Point(294, 7);
            this.labelControl21.Name = "labelControl21";
            this.labelControl21.Size = new System.Drawing.Size(55, 14);
            this.labelControl21.TabIndex = 59;
            this.labelControl21.Text = "Cr Limit :";
            // 
            // txtfixdis
            // 
            this.txtfixdis.EditValue = new decimal(new int[] {
            0,
            0,
            0,
            0});
            this.txtfixdis.Location = new System.Drawing.Point(237, 4);
            this.txtfixdis.Name = "txtfixdis";
            this.txtfixdis.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtfixdis.Properties.Appearance.ForeColor = System.Drawing.Color.Red;
            this.txtfixdis.Properties.Appearance.Options.UseFont = true;
            this.txtfixdis.Properties.Appearance.Options.UseForeColor = true;
            this.txtfixdis.Properties.Appearance.Options.UseTextOptions = true;
            this.txtfixdis.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.txtfixdis.Properties.DisplayFormat.FormatString = "##.00";
            this.txtfixdis.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txtfixdis.Properties.EditFormat.FormatString = "##.00";
            this.txtfixdis.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txtfixdis.Properties.NullText = "0";
            this.txtfixdis.Properties.NullValuePrompt = "0";
            this.txtfixdis.Size = new System.Drawing.Size(39, 22);
            this.txtfixdis.TabIndex = 58;
            this.txtfixdis.TabStop = false;
            // 
            // labelControl22
            // 
            this.labelControl22.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.labelControl22.Location = new System.Drawing.Point(152, 7);
            this.labelControl22.Name = "labelControl22";
            this.labelControl22.Size = new System.Drawing.Size(82, 14);
            this.labelControl22.TabIndex = 57;
            this.labelControl22.Text = "Fix Discount :";
            // 
            // labelControl17
            // 
            this.labelControl17.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.labelControl17.Location = new System.Drawing.Point(279, 8);
            this.labelControl17.Name = "labelControl17";
            this.labelControl17.Size = new System.Drawing.Size(12, 14);
            this.labelControl17.TabIndex = 56;
            this.labelControl17.Text = "%";
            // 
            // txtavailble
            // 
            this.txtavailble.EditValue = new decimal(new int[] {
            0,
            0,
            0,
            0});
            this.txtavailble.Location = new System.Drawing.Point(68, 4);
            this.txtavailble.Name = "txtavailble";
            this.txtavailble.Properties.Appearance.BackColor = System.Drawing.Color.Transparent;
            this.txtavailble.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtavailble.Properties.Appearance.Options.UseBackColor = true;
            this.txtavailble.Properties.Appearance.Options.UseFont = true;
            this.txtavailble.Properties.Appearance.Options.UseTextOptions = true;
            this.txtavailble.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.txtavailble.Properties.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.txtavailble.Properties.AppearanceReadOnly.BackColor = System.Drawing.Color.White;
            this.txtavailble.Properties.AppearanceReadOnly.Options.UseBackColor = true;
            this.txtavailble.Properties.DisplayFormat.FormatString = "n2";
            this.txtavailble.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txtavailble.Properties.ReadOnly = true;
            this.txtavailble.Size = new System.Drawing.Size(69, 22);
            this.txtavailble.TabIndex = 51;
            this.txtavailble.TabStop = false;
            // 
            // labelControl18
            // 
            this.labelControl18.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.labelControl18.Location = new System.Drawing.Point(56, 3);
            this.labelControl18.Name = "labelControl18";
            this.labelControl18.Size = new System.Drawing.Size(0, 14);
            this.labelControl18.TabIndex = 50;
            // 
            // panelinsurance
            // 
            this.panelinsurance.BackColor = System.Drawing.Color.Transparent;
            this.panelinsurance.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.panelinsurance.Controls.Add(this.simpleButton1);
            this.panelinsurance.Controls.Add(this.txtpatname);
            this.panelinsurance.Controls.Add(this.labelControl12);
            this.panelinsurance.Controls.Add(this.labelControl16);
            this.panelinsurance.Controls.Add(this.cutomerpayment);
            this.panelinsurance.Controls.Add(this.cmbclass);
            this.panelinsurance.Controls.Add(this.txtvisitno);
            this.panelinsurance.Controls.Add(this.labelControl19);
            this.panelinsurance.Controls.Add(this.labelControl15);
            this.panelinsurance.Controls.Add(this.txtfileno);
            this.panelinsurance.Controls.Add(this.labelControl10);
            this.panelinsurance.Location = new System.Drawing.Point(419, 5);
            this.panelinsurance.Name = "panelinsurance";
            this.panelinsurance.Size = new System.Drawing.Size(419, 86);
            this.panelinsurance.TabIndex = 65;
            this.panelinsurance.Visible = false;
            // 
            // simpleButton1
            // 
            this.simpleButton1.Image = ((System.Drawing.Image)(resources.GetObject("simpleButton1.Image")));
            this.simpleButton1.Location = new System.Drawing.Point(225, 5);
            this.simpleButton1.Name = "simpleButton1";
            this.simpleButton1.Size = new System.Drawing.Size(23, 20);
            this.simpleButton1.TabIndex = 62;
            this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click);
            // 
            // txtpatname
            // 
            this.txtpatname.Location = new System.Drawing.Point(72, 58);
            this.txtpatname.Name = "txtpatname";
            this.txtpatname.Properties.Appearance.BackColor = System.Drawing.Color.White;
            this.txtpatname.Properties.Appearance.ForeColor = System.Drawing.Color.Black;
            this.txtpatname.Properties.Appearance.Options.UseBackColor = true;
            this.txtpatname.Properties.Appearance.Options.UseForeColor = true;
            this.txtpatname.Properties.MaxLength = 100;
            this.txtpatname.Size = new System.Drawing.Size(340, 20);
            this.txtpatname.TabIndex = 8;
            this.txtpatname.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtpatname_KeyDown);
            // 
            // labelControl12
            // 
            this.labelControl12.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.labelControl12.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
            this.labelControl12.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
            this.labelControl12.Location = new System.Drawing.Point(2, 55);
            this.labelControl12.Name = "labelControl12";
            this.labelControl12.Size = new System.Drawing.Size(54, 32);
            this.labelControl12.TabIndex = 61;
            this.labelControl12.Text = "Patient name :";
            // 
            // labelControl16
            // 
            this.labelControl16.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.labelControl16.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
            this.labelControl16.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
            this.labelControl16.Location = new System.Drawing.Point(272, 24);
            this.labelControl16.Name = "labelControl16";
            this.labelControl16.Size = new System.Drawing.Size(71, 32);
            this.labelControl16.TabIndex = 56;
            this.labelControl16.Text = "Customer Share % :";
            this.labelControl16.Click += new System.EventHandler(this.labelControl16_Click);
            // 
            // cutomerpayment
            // 
            this.cutomerpayment.EditValue = new decimal(new int[] {
            0,
            0,
            0,
            0});
            this.cutomerpayment.EnterMoveNextControl = true;
            this.cutomerpayment.Location = new System.Drawing.Point(349, 28);
            this.cutomerpayment.Name = "cutomerpayment";
            this.cutomerpayment.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cutomerpayment.Properties.Appearance.Options.UseFont = true;
            this.cutomerpayment.Properties.Appearance.Options.UseTextOptions = true;
            this.cutomerpayment.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.cutomerpayment.Properties.DisplayFormat.FormatString = "##.00";
            this.cutomerpayment.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.cutomerpayment.Properties.EditFormat.FormatString = "##.00";
            this.cutomerpayment.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.cutomerpayment.Properties.NullText = "0";
            this.cutomerpayment.Properties.NullValuePrompt = "0";
            this.cutomerpayment.Size = new System.Drawing.Size(62, 22);
            this.cutomerpayment.TabIndex = 7;
            this.cutomerpayment.EditValueChanged += new System.EventHandler(this.cutomerpayment_EditValueChanged);
            this.cutomerpayment.Validated += new System.EventHandler(this.cutomerpayment_Validated);
            // 
            // cmbclass
            // 
            this.cmbclass.EnterMoveNextControl = true;
            this.cmbclass.Location = new System.Drawing.Point(349, 3);
            this.cmbclass.Name = "cmbclass";
            this.cmbclass.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cmbclass.Properties.Appearance.Options.UseFont = true;
            this.cmbclass.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.cmbclass.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("ID", "ID", 5, DevExpress.Utils.FormatType.Numeric, "", false, DevExpress.Utils.HorzAlignment.Far),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("GRADE", "GRADE", 5, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("DISC", "DISC", 5, DevExpress.Utils.FormatType.Numeric, "", true, DevExpress.Utils.HorzAlignment.Far),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("COMPDISC", "COMPDISC", 5, DevExpress.Utils.FormatType.Numeric, "", true, DevExpress.Utils.HorzAlignment.Far),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("CUSTNO", "CUSTNO", 5, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Near)});
            this.cmbclass.Properties.DataSource = this.iNSURANCEDISCBindingSource;
            this.cmbclass.Properties.DisplayMember = "GRADE";
            this.cmbclass.Properties.NullText = "";
            this.cmbclass.Properties.ValueMember = "GRADE";
            this.cmbclass.Size = new System.Drawing.Size(62, 20);
            this.cmbclass.TabIndex = 5;
            this.cmbclass.EditValueChanged += new System.EventHandler(this.cmbclass_EditValueChanged);
            // 
            // iNSURANCEDISCBindingSource
            // 
            this.iNSURANCEDISCBindingSource.DataMember = "INSURANCEDISC";
            this.iNSURANCEDISCBindingSource.DataSource = typeof(VIRETAILENTITIES.DsMaster);
            // 
            // txtvisitno
            // 
            this.txtvisitno.EnterMoveNextControl = true;
            this.txtvisitno.Location = new System.Drawing.Point(72, 31);
            this.txtvisitno.Name = "txtvisitno";
            this.txtvisitno.Properties.Appearance.BackColor = System.Drawing.Color.White;
            this.txtvisitno.Properties.Appearance.ForeColor = System.Drawing.Color.Black;
            this.txtvisitno.Properties.Appearance.Options.UseBackColor = true;
            this.txtvisitno.Properties.Appearance.Options.UseForeColor = true;
            this.txtvisitno.Properties.MaxLength = 10;
            this.txtvisitno.Size = new System.Drawing.Size(148, 20);
            this.txtvisitno.TabIndex = 6;
            this.txtvisitno.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtvisitno_KeyDown);
            // 
            // labelControl19
            // 
            this.labelControl19.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.labelControl19.Location = new System.Drawing.Point(2, 33);
            this.labelControl19.Name = "labelControl19";
            this.labelControl19.Size = new System.Drawing.Size(70, 14);
            this.labelControl19.TabIndex = 51;
            this.labelControl19.Text = "Member # :";
            // 
            // labelControl15
            // 
            this.labelControl15.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.labelControl15.Location = new System.Drawing.Point(305, 6);
            this.labelControl15.Name = "labelControl15";
            this.labelControl15.Size = new System.Drawing.Size(38, 14);
            this.labelControl15.TabIndex = 43;
            this.labelControl15.Text = "Class :";
            // 
            // txtfileno
            // 
            this.txtfileno.EnterMoveNextControl = true;
            this.txtfileno.Location = new System.Drawing.Point(72, 5);
            this.txtfileno.Name = "txtfileno";
            this.txtfileno.Properties.Appearance.BackColor = System.Drawing.Color.White;
            this.txtfileno.Properties.Appearance.ForeColor = System.Drawing.Color.Black;
            this.txtfileno.Properties.Appearance.Options.UseBackColor = true;
            this.txtfileno.Properties.Appearance.Options.UseForeColor = true;
            this.txtfileno.Properties.MaxLength = 10;
            this.txtfileno.Size = new System.Drawing.Size(147, 20);
            this.txtfileno.TabIndex = 4;
            this.txtfileno.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtfileno_KeyDown);
            // 
            // labelControl10
            // 
            this.labelControl10.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.labelControl10.Location = new System.Drawing.Point(2, 7);
            this.labelControl10.Name = "labelControl10";
            this.labelControl10.Size = new System.Drawing.Size(40, 14);
            this.labelControl10.TabIndex = 38;
            this.labelControl10.Text = "File # :";
            // 
            // lookupcustomer
            // 
            this.lookupcustomer.Location = new System.Drawing.Point(73, 35);
            this.lookupcustomer.Name = "lookupcustomer";
            this.lookupcustomer.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lookupcustomer.Properties.Appearance.ForeColor = System.Drawing.Color.Black;
            this.lookupcustomer.Properties.Appearance.Options.UseFont = true;
            this.lookupcustomer.Properties.Appearance.Options.UseForeColor = true;
            this.lookupcustomer.Properties.AppearanceReadOnly.BackColor = System.Drawing.Color.White;
            this.lookupcustomer.Properties.AppearanceReadOnly.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lookupcustomer.Properties.AppearanceReadOnly.Options.UseBackColor = true;
            this.lookupcustomer.Properties.AppearanceReadOnly.Options.UseFont = true;
            this.lookupcustomer.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.lookupcustomer.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("CUSTNO", "CUSTNO", 64, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("CUSTOMERID", "Customer id", 76, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("CUSTOMERNAME", "Customer Name", 93, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("CUSTOMERTYPE", "CUSTOMERTYPE", 89, DevExpress.Utils.FormatType.Numeric, "", false, DevExpress.Utils.HorzAlignment.Far),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("CUSTCOMP", "CUSTCOMP", 65, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("PHONE", "PHONE", 44, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Mobile", "Mobile", 40, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("EMAIL", "EMAIL", 40, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("NOTE", "NOTE", 37, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("FIXDISC", "FIXDISC", 50, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("FIXDISCAMTPER", "FIXDISCAMTPER", 90, DevExpress.Utils.FormatType.Numeric, "", false, DevExpress.Utils.HorzAlignment.Far),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("CREDITLIMIT", "CREDITLIMIT", 74, DevExpress.Utils.FormatType.Numeric, "", false, DevExpress.Utils.HorzAlignment.Far),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("COMPANY", "COMPANY", 59, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("BINID", "BINID", 38, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("CUSERID", "CUSERID", 54, DevExpress.Utils.FormatType.Numeric, "", false, DevExpress.Utils.HorzAlignment.Far),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("CDATE", "CDATE", 43, DevExpress.Utils.FormatType.DateTime, "dd-MMM-yy", false, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("EUSERID", "EUSERID", 53, DevExpress.Utils.FormatType.Numeric, "", false, DevExpress.Utils.HorzAlignment.Far),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("EDATE", "EDATE", 42, DevExpress.Utils.FormatType.DateTime, "dd-MMM-yy", false, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("SERVERPOINTS", "SERVERPOINTS", 96, DevExpress.Utils.FormatType.Numeric, "", false, DevExpress.Utils.HorzAlignment.Far),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("LASTREDIMINV", "LASTREDIMINV", 83, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("PAYTYPE", "PAYTYPE", 53, DevExpress.Utils.FormatType.Numeric, "", false, DevExpress.Utils.HorzAlignment.Far)});
            this.lookupcustomer.Properties.DataSource = this.cUSTOMERBindingSource;
            this.lookupcustomer.Properties.DisplayMember = "CUSTOMERNAME";
            this.lookupcustomer.Properties.NullText = "";
            this.lookupcustomer.Properties.ReadOnly = true;
            this.lookupcustomer.Properties.ShowDropDown = DevExpress.XtraEditors.Controls.ShowDropDown.Never;
            this.lookupcustomer.Properties.ValueMember = "CUSTNO";
            this.lookupcustomer.Size = new System.Drawing.Size(343, 20);
            this.lookupcustomer.TabIndex = 3;
            this.lookupcustomer.EditValueChanged += new System.EventHandler(this.lookupcustomer_EditValueChanged);
            this.lookupcustomer.KeyDown += new System.Windows.Forms.KeyEventHandler(this.lookupcustomer_KeyDown);
            // 
            // cUSTOMERBindingSource
            // 
            this.cUSTOMERBindingSource.DataMember = "CUSTOMER";
            this.cUSTOMERBindingSource.DataSource = this.dsMaster1;
            // 
            // dsMaster1
            // 
            this.dsMaster1.DataSetName = "DsMaster";
            this.dsMaster1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            // 
            // labelControl13
            // 
            this.labelControl13.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.labelControl13.Location = new System.Drawing.Point(2, 36);
            this.labelControl13.Name = "labelControl13";
            this.labelControl13.Size = new System.Drawing.Size(67, 14);
            this.labelControl13.TabIndex = 104;
            this.labelControl13.Text = "Customer :";
            // 
            // txtqty
            // 
            this.txtqty.EditValue = "";
            this.txtqty.Location = new System.Drawing.Point(456, 24);
            this.txtqty.Name = "txtqty";
            this.txtqty.Properties.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
            this.txtqty.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 17.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtqty.Properties.Appearance.Options.UseBackColor = true;
            this.txtqty.Properties.Appearance.Options.UseFont = true;
            this.txtqty.Properties.Appearance.Options.UseTextOptions = true;
            this.txtqty.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.txtqty.Properties.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.txtqty.Properties.AppearanceReadOnly.BackColor = System.Drawing.Color.WhiteSmoke;
            this.txtqty.Properties.AppearanceReadOnly.Options.UseBackColor = true;
            this.txtqty.Properties.DisplayFormat.FormatString = "N2";
            this.txtqty.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txtqty.Properties.Mask.EditMask = "n0";
            this.txtqty.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
            this.txtqty.Size = new System.Drawing.Size(20, 34);
            this.txtqty.TabIndex = 109;
            this.txtqty.Visible = false;
            this.txtqty.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtqty_KeyDown);
            // 
            // labelControl2
            // 
            this.labelControl2.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.labelControl2.Location = new System.Drawing.Point(420, 33);
            this.labelControl2.Name = "labelControl2";
            this.labelControl2.Size = new System.Drawing.Size(30, 14);
            this.labelControl2.TabIndex = 108;
            this.labelControl2.Text = "Qty :";
            this.labelControl2.Visible = false;
            // 
            // panelControl3
            // 
            this.panelControl3.Controls.Add(this.txtqty);
            this.panelControl3.Controls.Add(this.labelControl2);
            this.panelControl3.Controls.Add(this.lblmutilpleprice);
            this.panelControl3.Controls.Add(this.panel1);
            this.panelControl3.Controls.Add(this.lblcustomeronhold);
            this.panelControl3.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.panelControl3.Location = new System.Drawing.Point(0, 420);
            this.panelControl3.Name = "panelControl3";
            this.panelControl3.Size = new System.Drawing.Size(840, 115);
            this.panelControl3.TabIndex = 7;
            // 
            // lblmutilpleprice
            // 
            this.lblmutilpleprice.Appearance.BackColor = System.Drawing.Color.Transparent;
            this.lblmutilpleprice.Appearance.Options.UseBackColor = true;
            this.lblmutilpleprice.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblmutilpleprice.AppearanceCaption.ForeColor = System.Drawing.Color.Red;
            this.lblmutilpleprice.AppearanceCaption.Options.UseFont = true;
            this.lblmutilpleprice.AppearanceCaption.Options.UseForeColor = true;
            this.lblmutilpleprice.AppearanceDescription.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblmutilpleprice.AppearanceDescription.ForeColor = System.Drawing.Color.Black;
            this.lblmutilpleprice.AppearanceDescription.Options.UseFont = true;
            this.lblmutilpleprice.AppearanceDescription.Options.UseForeColor = true;
            this.lblmutilpleprice.Caption = "Price difference found";
            this.lblmutilpleprice.Description = "[To check please press down arrow]";
            this.lblmutilpleprice.Location = new System.Drawing.Point(12, 8);
            this.lblmutilpleprice.LookAndFeel.SkinName = "McSkin";
            this.lblmutilpleprice.Name = "lblmutilpleprice";
            this.lblmutilpleprice.Size = new System.Drawing.Size(355, 48);
            this.lblmutilpleprice.TabIndex = 8;
            this.lblmutilpleprice.Visible = false;
            // 
            // panel1
            // 
            this.panel1.BackColor = System.Drawing.Color.White;
            this.panel1.BackgroundImage = global::Store.Properties.Resources.subtlemosaicpattern;
            this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.panel1.Controls.Add(this.labelmaxdisc);
            this.panel1.Controls.Add(this.labelControl20);
            this.panel1.Controls.Add(this.txtnetins);
            this.panel1.Controls.Add(this.txtreturnamt);
            this.panel1.Controls.Add(this.labelControl7);
            this.panel1.Controls.Add(this.txtrounding);
            this.panel1.Controls.Add(this.labelControl6);
            this.panel1.Controls.Add(this.labelControl8);
            this.panel1.Controls.Add(this.txtdiscount);
            this.panel1.Controls.Add(this.labelControl4);
            this.panel1.Controls.Add(this.subtotal);
            this.panel1.Controls.Add(this.labelControl3);
            this.panel1.Controls.Add(this.txtdiscper);
            this.panel1.Controls.Add(this.labelControl5);
            this.panel1.Controls.Add(this.txtnetamt);
            this.panel1.Dock = System.Windows.Forms.DockStyle.Right;
            this.panel1.Location = new System.Drawing.Point(492, 2);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(346, 111);
            this.panel1.TabIndex = 1;
            // 
            // labelmaxdisc
            // 
            this.labelmaxdisc.Appearance.BackColor = System.Drawing.Color.Black;
            this.labelmaxdisc.Appearance.Font = new System.Drawing.Font("Tahoma", 6F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.labelmaxdisc.Appearance.ForeColor = System.Drawing.Color.LimeGreen;
            this.labelmaxdisc.Location = new System.Drawing.Point(3, 50);
            this.labelmaxdisc.Name = "labelmaxdisc";
            this.labelmaxdisc.Size = new System.Drawing.Size(0, 10);
            this.labelmaxdisc.TabIndex = 23;
            // 
            // labelControl20
            // 
            this.labelControl20.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.labelControl20.Appearance.ForeColor = System.Drawing.Color.Black;
            this.labelControl20.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
            this.labelControl20.LineColor = System.Drawing.Color.Silver;
            this.labelControl20.LineOrientation = DevExpress.XtraEditors.LabelLineOrientation.Horizontal;
            this.labelControl20.Location = new System.Drawing.Point(107, 85);
            this.labelControl20.Name = "labelControl20";
            this.labelControl20.Size = new System.Drawing.Size(127, 20);
            this.labelControl20.TabIndex = 22;
            this.labelControl20.Text = "Customer Payment :";
            this.labelControl20.Visible = false;
            // 
            // txtnetins
            // 
            this.txtnetins.EditValue = new decimal(new int[] {
            0,
            0,
            0,
            0});
            this.txtnetins.Location = new System.Drawing.Point(238, 84);
            this.txtnetins.Name = "txtnetins";
            this.txtnetins.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtnetins.Properties.Appearance.ForeColor = System.Drawing.Color.Black;
            this.txtnetins.Properties.Appearance.Options.UseFont = true;
            this.txtnetins.Properties.Appearance.Options.UseForeColor = true;
            this.txtnetins.Properties.Appearance.Options.UseTextOptions = true;
            this.txtnetins.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.txtnetins.Properties.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.txtnetins.Properties.AppearanceReadOnly.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
            this.txtnetins.Properties.AppearanceReadOnly.Font = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtnetins.Properties.AppearanceReadOnly.Options.UseBackColor = true;
            this.txtnetins.Properties.AppearanceReadOnly.Options.UseFont = true;
            this.txtnetins.Properties.DisplayFormat.FormatString = "N2";
            this.txtnetins.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txtnetins.Properties.EditFormat.FormatString = "N2";
            this.txtnetins.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txtnetins.Properties.NullText = "0";
            this.txtnetins.Properties.ReadOnly = true;
            this.txtnetins.Size = new System.Drawing.Size(101, 24);
            this.txtnetins.TabIndex = 21;
            this.txtnetins.TabStop = false;
            this.txtnetins.Visible = false;
            // 
            // txtreturnamt
            // 
            this.txtreturnamt.EditValue = new decimal(new int[] {
            0,
            0,
            0,
            0});
            this.txtreturnamt.Location = new System.Drawing.Point(238, 29);
            this.txtreturnamt.Name = "txtreturnamt";
            this.txtreturnamt.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtreturnamt.Properties.Appearance.Options.UseFont = true;
            this.txtreturnamt.Properties.Appearance.Options.UseTextOptions = true;
            this.txtreturnamt.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.txtreturnamt.Properties.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.txtreturnamt.Properties.AppearanceReadOnly.BackColor = System.Drawing.Color.Red;
            this.txtreturnamt.Properties.AppearanceReadOnly.Font = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtreturnamt.Properties.AppearanceReadOnly.Options.UseBackColor = true;
            this.txtreturnamt.Properties.AppearanceReadOnly.Options.UseFont = true;
            this.txtreturnamt.Properties.DisplayFormat.FormatString = "N2";
            this.txtreturnamt.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txtreturnamt.Properties.EditFormat.FormatString = "N2";
            this.txtreturnamt.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txtreturnamt.Properties.NullText = "0";
            this.txtreturnamt.Properties.ReadOnly = true;
            this.txtreturnamt.Size = new System.Drawing.Size(101, 24);
            this.txtreturnamt.TabIndex = 20;
            this.txtreturnamt.TabStop = false;
            // 
            // labelControl7
            // 
            this.labelControl7.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.labelControl7.Appearance.ForeColor = System.Drawing.Color.Black;
            this.labelControl7.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
            this.labelControl7.LineColor = System.Drawing.Color.Silver;
            this.labelControl7.LineOrientation = DevExpress.XtraEditors.LabelLineOrientation.Horizontal;
            this.labelControl7.Location = new System.Drawing.Point(150, 33);
            this.labelControl7.Name = "labelControl7";
            this.labelControl7.Size = new System.Drawing.Size(84, 14);
            this.labelControl7.TabIndex = 19;
            this.labelControl7.Text = "Return Amt.:";
            // 
            // txtrounding
            // 
            this.txtrounding.EditValue = "0.00";
            this.txtrounding.Location = new System.Drawing.Point(76, 59);
            this.txtrounding.Name = "txtrounding";
            this.txtrounding.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtrounding.Properties.Appearance.Options.UseFont = true;
            this.txtrounding.Properties.Appearance.Options.UseTextOptions = true;
            this.txtrounding.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.txtrounding.Properties.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.txtrounding.Properties.AppearanceReadOnly.BackColor = System.Drawing.Color.LightYellow;
            this.txtrounding.Properties.AppearanceReadOnly.Options.UseBackColor = true;
            this.txtrounding.Properties.AppearanceReadOnly.Options.UseTextOptions = true;
            this.txtrounding.Properties.AppearanceReadOnly.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near;
            this.txtrounding.Properties.AppearanceReadOnly.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.txtrounding.Properties.DisplayFormat.FormatString = "N2";
            this.txtrounding.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txtrounding.Properties.EditFormat.FormatString = "N2";
            this.txtrounding.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txtrounding.Properties.NullText = "0";
            this.txtrounding.Size = new System.Drawing.Size(71, 24);
            this.txtrounding.TabIndex = 18;
            this.txtrounding.TabStop = false;
            this.txtrounding.EditValueChanged += new System.EventHandler(this.txtrounding_EditValueChanged);
            this.txtrounding.EditValueChanging += new DevExpress.XtraEditors.Controls.ChangingEventHandler(this.txtrounding_EditValueChanging);
            this.txtrounding.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtrounding_KeyDown);
            // 
            // labelControl6
            // 
            this.labelControl6.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.labelControl6.Appearance.ForeColor = System.Drawing.Color.Black;
            this.labelControl6.Location = new System.Drawing.Point(5, 65);
            this.labelControl6.Name = "labelControl6";
            this.labelControl6.Size = new System.Drawing.Size(68, 14);
            this.labelControl6.TabIndex = 17;
            this.labelControl6.Text = "Rounding :";
            // 
            // labelControl8
            // 
            this.labelControl8.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.labelControl8.Appearance.ForeColor = System.Drawing.Color.Black;
            this.labelControl8.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
            this.labelControl8.LineColor = System.Drawing.Color.Silver;
            this.labelControl8.LineLocation = DevExpress.XtraEditors.LineLocation.Center;
            this.labelControl8.LineOrientation = DevExpress.XtraEditors.LabelLineOrientation.Horizontal;
            this.labelControl8.LineVisible = true;
            this.labelControl8.Location = new System.Drawing.Point(5, 10);
            this.labelControl8.Name = "labelControl8";
            this.labelControl8.Size = new System.Drawing.Size(60, 14);
            this.labelControl8.TabIndex = 16;
            this.labelControl8.Text = "Discount :";
            // 
            // txtdiscount
            // 
            this.txtdiscount.EditValue = new decimal(new int[] {
            0,
            0,
            0,
            0});
            this.txtdiscount.Location = new System.Drawing.Point(76, 4);
            this.txtdiscount.Name = "txtdiscount";
            this.txtdiscount.Properties.Appearance.BackColor = System.Drawing.Color.White;
            this.txtdiscount.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtdiscount.Properties.Appearance.Options.UseBackColor = true;
            this.txtdiscount.Properties.Appearance.Options.UseFont = true;
            this.txtdiscount.Properties.Appearance.Options.UseTextOptions = true;
            this.txtdiscount.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.txtdiscount.Properties.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.txtdiscount.Properties.AppearanceReadOnly.BackColor = System.Drawing.Color.White;
            this.txtdiscount.Properties.AppearanceReadOnly.Font = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtdiscount.Properties.AppearanceReadOnly.Options.UseBackColor = true;
            this.txtdiscount.Properties.AppearanceReadOnly.Options.UseFont = true;
            this.txtdiscount.Properties.DisplayFormat.FormatString = "###.00";
            this.txtdiscount.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txtdiscount.Properties.NullText = "0";
            this.txtdiscount.Properties.ReadOnly = true;
            this.txtdiscount.Size = new System.Drawing.Size(71, 24);
            this.txtdiscount.TabIndex = 15;
            this.txtdiscount.TabStop = false;
            // 
            // labelControl4
            // 
            this.labelControl4.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.labelControl4.Appearance.ForeColor = System.Drawing.Color.Black;
            this.labelControl4.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
            this.labelControl4.LineColor = System.Drawing.Color.Silver;
            this.labelControl4.LineOrientation = DevExpress.XtraEditors.LabelLineOrientation.Horizontal;
            this.labelControl4.Location = new System.Drawing.Point(164, 7);
            this.labelControl4.Name = "labelControl4";
            this.labelControl4.Size = new System.Drawing.Size(70, 14);
            this.labelControl4.TabIndex = 14;
            this.labelControl4.Text = "Sub Total :";
            // 
            // subtotal
            // 
            this.subtotal.EditValue = new decimal(new int[] {
            0,
            0,
            0,
            0});
            this.subtotal.Location = new System.Drawing.Point(238, 3);
            this.subtotal.Name = "subtotal";
            this.subtotal.Properties.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(78)))), ((int)(((byte)(81)))), ((int)(((byte)(97)))));
            this.subtotal.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.subtotal.Properties.Appearance.Options.UseBackColor = true;
            this.subtotal.Properties.Appearance.Options.UseFont = true;
            this.subtotal.Properties.Appearance.Options.UseTextOptions = true;
            this.subtotal.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.subtotal.Properties.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.subtotal.Properties.AppearanceReadOnly.BackColor = System.Drawing.Color.White;
            this.subtotal.Properties.AppearanceReadOnly.Font = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.subtotal.Properties.AppearanceReadOnly.ForeColor = System.Drawing.Color.Black;
            this.subtotal.Properties.AppearanceReadOnly.Options.UseBackColor = true;
            this.subtotal.Properties.AppearanceReadOnly.Options.UseFont = true;
            this.subtotal.Properties.AppearanceReadOnly.Options.UseForeColor = true;
            this.subtotal.Properties.AppearanceReadOnly.Options.UseTextOptions = true;
            this.subtotal.Properties.AppearanceReadOnly.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.subtotal.Properties.AppearanceReadOnly.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.subtotal.Properties.DisplayFormat.FormatString = "N2";
            this.subtotal.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.subtotal.Properties.EditFormat.FormatString = "N2";
            this.subtotal.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.subtotal.Properties.NullText = "0";
            this.subtotal.Properties.ReadOnly = true;
            this.subtotal.Size = new System.Drawing.Size(101, 24);
            this.subtotal.TabIndex = 13;
            this.subtotal.TabStop = false;
            // 
            // labelControl3
            // 
            this.labelControl3.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.labelControl3.Appearance.ForeColor = System.Drawing.Color.Black;
            this.labelControl3.Location = new System.Drawing.Point(5, 35);
            this.labelControl3.Name = "labelControl3";
            this.labelControl3.Size = new System.Drawing.Size(46, 14);
            this.labelControl3.TabIndex = 12;
            this.labelControl3.Text = "Disc %:";
            // 
            // txtdiscper
            // 
            this.txtdiscper.EditValue = "0";
            this.txtdiscper.Location = new System.Drawing.Point(76, 32);
            this.txtdiscper.Name = "txtdiscper";
            this.txtdiscper.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtdiscper.Properties.Appearance.Options.UseFont = true;
            this.txtdiscper.Properties.AppearanceReadOnly.Font = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtdiscper.Properties.AppearanceReadOnly.Options.UseFont = true;
            this.txtdiscper.Properties.AppearanceReadOnly.Options.UseTextOptions = true;
            this.txtdiscper.Properties.AppearanceReadOnly.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.txtdiscper.Properties.DisplayFormat.FormatString = "N2";
            this.txtdiscper.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txtdiscper.Properties.EditFormat.FormatString = "N2";
            this.txtdiscper.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txtdiscper.Properties.Mask.EditMask = "P2";
            this.txtdiscper.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
            this.txtdiscper.Properties.ReadOnly = true;
            this.txtdiscper.Size = new System.Drawing.Size(71, 24);
            this.txtdiscper.TabIndex = 11;
            this.txtdiscper.EditValueChanged += new System.EventHandler(this.txtdiscper_EditValueChanged);
            this.txtdiscper.EditValueChanging += new DevExpress.XtraEditors.Controls.ChangingEventHandler(this.txtdiscper_EditValueChanging);
            this.txtdiscper.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtdiscper_KeyDown);
            // 
            // labelControl5
            // 
            this.labelControl5.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.labelControl5.Appearance.ForeColor = System.Drawing.Color.Black;
            this.labelControl5.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
            this.labelControl5.LineColor = System.Drawing.Color.Silver;
            this.labelControl5.LineOrientation = DevExpress.XtraEditors.LabelLineOrientation.Horizontal;
            this.labelControl5.Location = new System.Drawing.Point(164, 62);
            this.labelControl5.Name = "labelControl5";
            this.labelControl5.Size = new System.Drawing.Size(70, 14);
            this.labelControl5.TabIndex = 6;
            this.labelControl5.Text = "Net Value :";
            // 
            // txtnetamt
            // 
            this.txtnetamt.EditValue = new decimal(new int[] {
            0,
            0,
            0,
            0});
            this.txtnetamt.Location = new System.Drawing.Point(238, 57);
            this.txtnetamt.Name = "txtnetamt";
            this.txtnetamt.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtnetamt.Properties.Appearance.ForeColor = System.Drawing.Color.Black;
            this.txtnetamt.Properties.Appearance.Options.UseFont = true;
            this.txtnetamt.Properties.Appearance.Options.UseForeColor = true;
            this.txtnetamt.Properties.Appearance.Options.UseTextOptions = true;
            this.txtnetamt.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.txtnetamt.Properties.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.txtnetamt.Properties.AppearanceReadOnly.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
            this.txtnetamt.Properties.AppearanceReadOnly.Font = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtnetamt.Properties.AppearanceReadOnly.Options.UseBackColor = true;
            this.txtnetamt.Properties.AppearanceReadOnly.Options.UseFont = true;
            this.txtnetamt.Properties.DisplayFormat.FormatString = "N2";
            this.txtnetamt.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txtnetamt.Properties.EditFormat.FormatString = "N2";
            this.txtnetamt.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txtnetamt.Properties.NullText = "0";
            this.txtnetamt.Properties.ReadOnly = true;
            this.txtnetamt.Size = new System.Drawing.Size(101, 24);
            this.txtnetamt.TabIndex = 5;
            this.txtnetamt.EditValueChanged += new System.EventHandler(this.txtnetamt_EditValueChanged);
            // 
            // lblcustomeronhold
            // 
            this.lblcustomeronhold.Appearance.BackColor = System.Drawing.Color.Transparent;
            this.lblcustomeronhold.Appearance.Options.UseBackColor = true;
            this.lblcustomeronhold.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblcustomeronhold.AppearanceCaption.ForeColor = System.Drawing.Color.Red;
            this.lblcustomeronhold.AppearanceCaption.Options.UseFont = true;
            this.lblcustomeronhold.AppearanceCaption.Options.UseForeColor = true;
            this.lblcustomeronhold.AppearanceDescription.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblcustomeronhold.AppearanceDescription.ForeColor = System.Drawing.Color.Black;
            this.lblcustomeronhold.AppearanceDescription.Options.UseFont = true;
            this.lblcustomeronhold.AppearanceDescription.Options.UseForeColor = true;
            this.lblcustomeronhold.Caption = "Customer on hold";
            this.lblcustomeronhold.Description = "Press F6 to recall";
            this.lblcustomeronhold.Location = new System.Drawing.Point(12, 66);
            this.lblcustomeronhold.LookAndFeel.SkinName = "High Contrast";
            this.lblcustomeronhold.Name = "lblcustomeronhold";
            this.lblcustomeronhold.Size = new System.Drawing.Size(334, 42);
            this.lblcustomeronhold.TabIndex = 9;
            this.lblcustomeronhold.Visible = false;
            // 
            // gridControl1
            // 
            this.gridControl1.DataSource = this.sALESINVDETAILBindingSource;
            this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gridControl1.Location = new System.Drawing.Point(0, 223);
            this.gridControl1.MainView = this.gridView1;
            this.gridControl1.Name = "gridControl1";
            this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
            this.repositoryItemTextEdit1,
            this.repositoryItemTextEdit2,
            this.repositoryItemTextEdit3,
            this.repositoryItemTextEdit4});
            this.gridControl1.Size = new System.Drawing.Size(840, 197);
            this.gridControl1.TabIndex = 16;
            this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gridView1});
            this.gridControl1.ProcessGridKey += new System.Windows.Forms.KeyEventHandler(this.gridControl1_ProcessGridKey);
            // 
            // sALESINVDETAILBindingSource
            // 
            this.sALESINVDETAILBindingSource.DataMember = "SALESINVDETAIL";
            this.sALESINVDETAILBindingSource.DataSource = this.dsInventory1;
            // 
            // dsInventory1
            // 
            this.dsInventory1.DataSetName = "DsInventory";
            this.dsInventory1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            // 
            // gridView1
            // 
            this.gridView1.Appearance.FooterPanel.BackColor = System.Drawing.Color.White;
            this.gridView1.Appearance.FooterPanel.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gridView1.Appearance.FooterPanel.ForeColor = System.Drawing.Color.Blue;
            this.gridView1.Appearance.FooterPanel.Options.UseBackColor = true;
            this.gridView1.Appearance.FooterPanel.Options.UseFont = true;
            this.gridView1.Appearance.FooterPanel.Options.UseForeColor = true;
            this.gridView1.Appearance.GroupFooter.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gridView1.Appearance.GroupFooter.Options.UseFont = true;
            this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.colTID,
            this.colSINVNO,
            this.colBARCODE,
            this.colITEMNO,
            this.colITEMNAME,
            this.colSTOCK,
            this.colQTY,
            this.colINVRATE,
            this.colSPRICE,
            this.colCPRICE,
            this.colEXPDATE,
            this.colDISC,
            this.colLINETOTAL,
            this.colSTOCKID,
            this.colISRETURN,
            this.colBONUS,
            this.colEXTDISC,
            this.colDOCTORID,
            this.colDISCONSALE,
            this.colASTOCK,
            this.colEXPDATE1});
            styleFormatCondition1.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            styleFormatCondition1.Appearance.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
            styleFormatCondition1.Appearance.Options.HighPriority = true;
            styleFormatCondition1.Appearance.Options.UseFont = true;
            styleFormatCondition1.Appearance.Options.UseForeColor = true;
            styleFormatCondition1.ApplyToRow = true;
            styleFormatCondition1.Column = this.colQTY;
            styleFormatCondition1.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
            styleFormatCondition1.Value1 = 0;
            this.gridView1.FormatConditions.AddRange(new DevExpress.XtraGrid.StyleFormatCondition[] {
            styleFormatCondition1});
            this.gridView1.GridControl = this.gridControl1;
            this.gridView1.IndicatorWidth = 30;
            this.gridView1.Name = "gridView1";
            this.gridView1.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False;
            this.gridView1.OptionsCustomization.AllowSort = false;
            this.gridView1.OptionsMenu.EnableColumnMenu = false;
            this.gridView1.OptionsNavigation.AutoFocusNewRow = true;
            this.gridView1.OptionsNavigation.EnterMoveNextColumn = true;
            this.gridView1.OptionsView.ShowFooter = true;
            this.gridView1.OptionsView.ShowGroupPanel = false;
            this.gridView1.RowHeight = 26;
            this.gridView1.CustomDrawRowIndicator += new DevExpress.XtraGrid.Views.Grid.RowIndicatorCustomDrawEventHandler(this.GridView1CustomDrawRowIndicator);
            this.gridView1.RowCellStyle += new DevExpress.XtraGrid.Views.Grid.RowCellStyleEventHandler(this.gridView1_RowCellStyle);
            this.gridView1.ShowingEditor += new System.ComponentModel.CancelEventHandler(this.gridView1_ShowingEditor);
            this.gridView1.CellValueChanged += new DevExpress.XtraGrid.Views.Base.CellValueChangedEventHandler(this.gridView1_CellValueChanged);
            this.gridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.gridView1_KeyDown);
            this.gridView1.ValidatingEditor += new DevExpress.XtraEditors.Controls.BaseContainerValidateEditorEventHandler(this.gridView1_ValidatingEditor);
            // 
            // colTID
            // 
            this.colTID.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colTID.AppearanceCell.Options.UseFont = true;
            this.colTID.AppearanceCell.Options.UseTextOptions = true;
            this.colTID.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTID.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colTID.AppearanceHeader.Options.UseFont = true;
            this.colTID.AppearanceHeader.Options.UseTextOptions = true;
            this.colTID.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colTID.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTID.FieldName = "TID";
            this.colTID.Name = "colTID";
            this.colTID.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colTID.OptionsColumn.ReadOnly = true;
            this.colTID.OptionsFilter.AllowAutoFilter = false;
            this.colTID.OptionsFilter.AllowFilter = false;
            // 
            // colSINVNO
            // 
            this.colSINVNO.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSINVNO.AppearanceCell.Options.UseFont = true;
            this.colSINVNO.AppearanceCell.Options.UseTextOptions = true;
            this.colSINVNO.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSINVNO.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSINVNO.AppearanceHeader.Options.UseFont = true;
            this.colSINVNO.AppearanceHeader.Options.UseTextOptions = true;
            this.colSINVNO.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSINVNO.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSINVNO.FieldName = "SINVNO";
            this.colSINVNO.Name = "colSINVNO";
            this.colSINVNO.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colSINVNO.OptionsFilter.AllowAutoFilter = false;
            this.colSINVNO.OptionsFilter.AllowFilter = false;
            // 
            // colBARCODE
            // 
            this.colBARCODE.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colBARCODE.AppearanceCell.Options.UseFont = true;
            this.colBARCODE.AppearanceCell.Options.UseTextOptions = true;
            this.colBARCODE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colBARCODE.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colBARCODE.AppearanceHeader.Options.UseFont = true;
            this.colBARCODE.AppearanceHeader.Options.UseTextOptions = true;
            this.colBARCODE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colBARCODE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colBARCODE.FieldName = "BARCODE";
            this.colBARCODE.Name = "colBARCODE";
            this.colBARCODE.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colBARCODE.OptionsFilter.AllowAutoFilter = false;
            this.colBARCODE.OptionsFilter.AllowFilter = false;
            // 
            // colITEMNO
            // 
            this.colITEMNO.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colITEMNO.AppearanceCell.Options.UseFont = true;
            this.colITEMNO.AppearanceCell.Options.UseTextOptions = true;
            this.colITEMNO.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colITEMNO.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colITEMNO.AppearanceHeader.Options.UseFont = true;
            this.colITEMNO.AppearanceHeader.Options.UseTextOptions = true;
            this.colITEMNO.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colITEMNO.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colITEMNO.Caption = "Barcode";
            this.colITEMNO.CustomizationCaption = "Barcode";
            this.colITEMNO.FieldName = "ITEMNO";
            this.colITEMNO.Name = "colITEMNO";
            this.colITEMNO.OptionsColumn.AllowEdit = false;
            this.colITEMNO.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colITEMNO.OptionsColumn.ReadOnly = true;
            this.colITEMNO.OptionsFilter.AllowAutoFilter = false;
            this.colITEMNO.OptionsFilter.AllowFilter = false;
            this.colITEMNO.Visible = true;
            this.colITEMNO.VisibleIndex = 0;
            this.colITEMNO.Width = 139;
            // 
            // colITEMNAME
            // 
            this.colITEMNAME.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colITEMNAME.AppearanceCell.Options.UseFont = true;
            this.colITEMNAME.AppearanceCell.Options.UseTextOptions = true;
            this.colITEMNAME.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colITEMNAME.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colITEMNAME.AppearanceHeader.Options.UseFont = true;
            this.colITEMNAME.AppearanceHeader.Options.UseTextOptions = true;
            this.colITEMNAME.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colITEMNAME.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colITEMNAME.Caption = "Item name";
            this.colITEMNAME.FieldName = "ITEMNAME";
            this.colITEMNAME.Name = "colITEMNAME";
            this.colITEMNAME.OptionsColumn.AllowEdit = false;
            this.colITEMNAME.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colITEMNAME.OptionsColumn.ReadOnly = true;
            this.colITEMNAME.OptionsFilter.AllowAutoFilter = false;
            this.colITEMNAME.OptionsFilter.AllowFilter = false;
            this.colITEMNAME.Visible = true;
            this.colITEMNAME.VisibleIndex = 1;
            this.colITEMNAME.Width = 342;
            // 
            // colSTOCK
            // 
            this.colSTOCK.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSTOCK.AppearanceCell.Options.UseFont = true;
            this.colSTOCK.AppearanceCell.Options.UseTextOptions = true;
            this.colSTOCK.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTOCK.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSTOCK.AppearanceHeader.Options.UseFont = true;
            this.colSTOCK.AppearanceHeader.Options.UseTextOptions = true;
            this.colSTOCK.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTOCK.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTOCK.Caption = "Stock";
            this.colSTOCK.FieldName = "STOCK";
            this.colSTOCK.Name = "colSTOCK";
            this.colSTOCK.OptionsColumn.AllowEdit = false;
            this.colSTOCK.OptionsColumn.AllowFocus = false;
            this.colSTOCK.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colSTOCK.OptionsColumn.ReadOnly = true;
            this.colSTOCK.OptionsFilter.AllowAutoFilter = false;
            this.colSTOCK.OptionsFilter.AllowFilter = false;
            this.colSTOCK.Visible = true;
            this.colSTOCK.VisibleIndex = 7;
            this.colSTOCK.Width = 51;
            // 
            // colINVRATE
            // 
            this.colINVRATE.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colINVRATE.AppearanceCell.Options.UseFont = true;
            this.colINVRATE.AppearanceCell.Options.UseTextOptions = true;
            this.colINVRATE.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.colINVRATE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colINVRATE.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colINVRATE.AppearanceHeader.Options.UseFont = true;
            this.colINVRATE.AppearanceHeader.Options.UseTextOptions = true;
            this.colINVRATE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colINVRATE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colINVRATE.Caption = "Price";
            this.colINVRATE.ColumnEdit = this.repositoryItemTextEdit2;
            this.colINVRATE.DisplayFormat.FormatString = "N2";
            this.colINVRATE.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.colINVRATE.FieldName = "INVRATE";
            this.colINVRATE.Name = "colINVRATE";
            this.colINVRATE.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colINVRATE.OptionsFilter.AllowAutoFilter = false;
            this.colINVRATE.OptionsFilter.AllowFilter = false;
            this.colINVRATE.Visible = true;
            this.colINVRATE.VisibleIndex = 3;
            this.colINVRATE.Width = 52;
            // 
            // repositoryItemTextEdit2
            // 
            this.repositoryItemTextEdit2.AutoHeight = false;
            this.repositoryItemTextEdit2.DisplayFormat.FormatString = "N2";
            this.repositoryItemTextEdit2.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.repositoryItemTextEdit2.EditFormat.FormatString = "N2";
            this.repositoryItemTextEdit2.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.repositoryItemTextEdit2.Name = "repositoryItemTextEdit2";
            // 
            // colSPRICE
            // 
            this.colSPRICE.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSPRICE.AppearanceCell.Options.UseFont = true;
            this.colSPRICE.AppearanceCell.Options.UseTextOptions = true;
            this.colSPRICE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSPRICE.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSPRICE.AppearanceHeader.Options.UseFont = true;
            this.colSPRICE.AppearanceHeader.Options.UseTextOptions = true;
            this.colSPRICE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSPRICE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSPRICE.FieldName = "SPRICE";
            this.colSPRICE.Name = "colSPRICE";
            this.colSPRICE.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colSPRICE.OptionsFilter.AllowAutoFilter = false;
            this.colSPRICE.OptionsFilter.AllowFilter = false;
            // 
            // colCPRICE
            // 
            this.colCPRICE.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colCPRICE.AppearanceCell.Options.UseFont = true;
            this.colCPRICE.AppearanceCell.Options.UseTextOptions = true;
            this.colCPRICE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colCPRICE.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colCPRICE.AppearanceHeader.Options.UseFont = true;
            this.colCPRICE.AppearanceHeader.Options.UseTextOptions = true;
            this.colCPRICE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colCPRICE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colCPRICE.FieldName = "CPRICE";
            this.colCPRICE.Name = "colCPRICE";
            this.colCPRICE.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colCPRICE.OptionsFilter.AllowAutoFilter = false;
            this.colCPRICE.OptionsFilter.AllowFilter = false;
            // 
            // colEXPDATE
            // 
            this.colEXPDATE.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colEXPDATE.AppearanceCell.Options.UseFont = true;
            this.colEXPDATE.AppearanceCell.Options.UseTextOptions = true;
            this.colEXPDATE.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colEXPDATE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colEXPDATE.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colEXPDATE.AppearanceHeader.Options.UseFont = true;
            this.colEXPDATE.AppearanceHeader.Options.UseTextOptions = true;
            this.colEXPDATE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colEXPDATE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colEXPDATE.Caption = "Expiry";
            this.colEXPDATE.DisplayFormat.FormatString = "MM-yy";
            this.colEXPDATE.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
            this.colEXPDATE.FieldName = "EXPDATE";
            this.colEXPDATE.Name = "colEXPDATE";
            this.colEXPDATE.OptionsColumn.AllowEdit = false;
            this.colEXPDATE.OptionsColumn.AllowFocus = false;
            this.colEXPDATE.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colEXPDATE.OptionsFilter.AllowAutoFilter = false;
            this.colEXPDATE.OptionsFilter.AllowFilter = false;
            this.colEXPDATE.Width = 54;
            // 
            // colDISC
            // 
            this.colDISC.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colDISC.AppearanceCell.Options.UseFont = true;
            this.colDISC.AppearanceCell.Options.UseTextOptions = true;
            this.colDISC.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colDISC.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colDISC.AppearanceHeader.Options.UseFont = true;
            this.colDISC.AppearanceHeader.Options.UseTextOptions = true;
            this.colDISC.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colDISC.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colDISC.Caption = "Disc %";
            this.colDISC.ColumnEdit = this.repositoryItemTextEdit4;
            this.colDISC.DisplayFormat.FormatString = "N2";
            this.colDISC.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.colDISC.FieldName = "DISC";
            this.colDISC.Name = "colDISC";
            this.colDISC.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colDISC.OptionsFilter.AllowAutoFilter = false;
            this.colDISC.OptionsFilter.AllowFilter = false;
            this.colDISC.Visible = true;
            this.colDISC.VisibleIndex = 5;
            this.colDISC.Width = 50;
            // 
            // repositoryItemTextEdit4
            // 
            this.repositoryItemTextEdit4.AutoHeight = false;
            this.repositoryItemTextEdit4.EditFormat.FormatString = "N";
            this.repositoryItemTextEdit4.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.repositoryItemTextEdit4.Name = "repositoryItemTextEdit4";
            // 
            // colLINETOTAL
            // 
            this.colLINETOTAL.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colLINETOTAL.AppearanceCell.Options.UseFont = true;
            this.colLINETOTAL.AppearanceCell.Options.UseTextOptions = true;
            this.colLINETOTAL.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.colLINETOTAL.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colLINETOTAL.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colLINETOTAL.AppearanceHeader.Options.UseFont = true;
            this.colLINETOTAL.AppearanceHeader.Options.UseTextOptions = true;
            this.colLINETOTAL.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colLINETOTAL.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colLINETOTAL.Caption = "Total";
            this.colLINETOTAL.DisplayFormat.FormatString = "N2";
            this.colLINETOTAL.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.colLINETOTAL.FieldName = "LINETOTAL";
            this.colLINETOTAL.Name = "colLINETOTAL";
            this.colLINETOTAL.OptionsColumn.AllowEdit = false;
            this.colLINETOTAL.OptionsColumn.AllowFocus = false;
            this.colLINETOTAL.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colLINETOTAL.OptionsColumn.ReadOnly = true;
            this.colLINETOTAL.OptionsFilter.AllowAutoFilter = false;
            this.colLINETOTAL.OptionsFilter.AllowFilter = false;
            this.colLINETOTAL.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
            new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "LINETOTAL", "{0:###,###,###.00}")});
            this.colLINETOTAL.Visible = true;
            this.colLINETOTAL.VisibleIndex = 6;
            this.colLINETOTAL.Width = 78;
            // 
            // colSTOCKID
            // 
            this.colSTOCKID.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSTOCKID.AppearanceCell.Options.UseFont = true;
            this.colSTOCKID.AppearanceCell.Options.UseTextOptions = true;
            this.colSTOCKID.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTOCKID.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSTOCKID.AppearanceHeader.Options.UseFont = true;
            this.colSTOCKID.AppearanceHeader.Options.UseTextOptions = true;
            this.colSTOCKID.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTOCKID.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTOCKID.FieldName = "STOCKID";
            this.colSTOCKID.Name = "colSTOCKID";
            this.colSTOCKID.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colSTOCKID.OptionsFilter.AllowAutoFilter = false;
            this.colSTOCKID.OptionsFilter.AllowFilter = false;
            // 
            // colISRETURN
            // 
            this.colISRETURN.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colISRETURN.AppearanceCell.Options.UseFont = true;
            this.colISRETURN.AppearanceCell.Options.UseTextOptions = true;
            this.colISRETURN.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colISRETURN.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colISRETURN.AppearanceHeader.Options.UseFont = true;
            this.colISRETURN.AppearanceHeader.Options.UseTextOptions = true;
            this.colISRETURN.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colISRETURN.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colISRETURN.FieldName = "ISRETURN";
            this.colISRETURN.Name = "colISRETURN";
            this.colISRETURN.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colISRETURN.OptionsFilter.AllowAutoFilter = false;
            this.colISRETURN.OptionsFilter.AllowFilter = false;
            // 
            // colBONUS
            // 
            this.colBONUS.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colBONUS.AppearanceCell.Options.UseFont = true;
            this.colBONUS.AppearanceCell.Options.UseTextOptions = true;
            this.colBONUS.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colBONUS.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colBONUS.AppearanceHeader.Options.UseFont = true;
            this.colBONUS.AppearanceHeader.Options.UseTextOptions = true;
            this.colBONUS.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colBONUS.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colBONUS.FieldName = "BONUS";
            this.colBONUS.Name = "colBONUS";
            this.colBONUS.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colBONUS.OptionsFilter.AllowAutoFilter = false;
            this.colBONUS.OptionsFilter.AllowFilter = false;
            // 
            // colEXTDISC
            // 
            this.colEXTDISC.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colEXTDISC.AppearanceCell.Options.UseFont = true;
            this.colEXTDISC.AppearanceCell.Options.UseTextOptions = true;
            this.colEXTDISC.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colEXTDISC.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colEXTDISC.AppearanceHeader.Options.UseFont = true;
            this.colEXTDISC.AppearanceHeader.Options.UseTextOptions = true;
            this.colEXTDISC.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colEXTDISC.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colEXTDISC.FieldName = "EXTDISC";
            this.colEXTDISC.Name = "colEXTDISC";
            this.colEXTDISC.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colEXTDISC.OptionsFilter.AllowAutoFilter = false;
            this.colEXTDISC.OptionsFilter.AllowFilter = false;
            // 
            // colDOCTORID
            // 
            this.colDOCTORID.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colDOCTORID.AppearanceCell.Options.UseFont = true;
            this.colDOCTORID.AppearanceCell.Options.UseTextOptions = true;
            this.colDOCTORID.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colDOCTORID.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colDOCTORID.AppearanceHeader.Options.UseFont = true;
            this.colDOCTORID.AppearanceHeader.Options.UseTextOptions = true;
            this.colDOCTORID.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colDOCTORID.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colDOCTORID.FieldName = "DOCTORID";
            this.colDOCTORID.Name = "colDOCTORID";
            this.colDOCTORID.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colDOCTORID.OptionsFilter.AllowAutoFilter = false;
            this.colDOCTORID.OptionsFilter.AllowFilter = false;
            // 
            // colDISCONSALE
            // 
            this.colDISCONSALE.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colDISCONSALE.AppearanceCell.Options.UseFont = true;
            this.colDISCONSALE.AppearanceCell.Options.UseTextOptions = true;
            this.colDISCONSALE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colDISCONSALE.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colDISCONSALE.AppearanceHeader.Options.UseFont = true;
            this.colDISCONSALE.AppearanceHeader.Options.UseTextOptions = true;
            this.colDISCONSALE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colDISCONSALE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colDISCONSALE.FieldName = "DISCONSALE";
            this.colDISCONSALE.Name = "colDISCONSALE";
            this.colDISCONSALE.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colDISCONSALE.OptionsFilter.AllowAutoFilter = false;
            this.colDISCONSALE.OptionsFilter.AllowFilter = false;
            // 
            // colASTOCK
            // 
            this.colASTOCK.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colASTOCK.AppearanceCell.Options.UseFont = true;
            this.colASTOCK.Caption = "ASTOCK";
            this.colASTOCK.FieldName = "ASTOCK";
            this.colASTOCK.Name = "colASTOCK";
            this.colASTOCK.OptionsColumn.AllowEdit = false;
            this.colASTOCK.OptionsColumn.AllowFocus = false;
            // 
            // colEXPDATE1
            // 
            this.colEXPDATE1.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colEXPDATE1.AppearanceCell.Options.UseFont = true;
            this.colEXPDATE1.AppearanceCell.Options.UseTextOptions = true;
            this.colEXPDATE1.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colEXPDATE1.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colEXPDATE1.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colEXPDATE1.AppearanceHeader.Options.UseFont = true;
            this.colEXPDATE1.AppearanceHeader.Options.UseTextOptions = true;
            this.colEXPDATE1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colEXPDATE1.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colEXPDATE1.Caption = "Expiry";
            this.colEXPDATE1.ColumnEdit = this.repositoryItemTextEdit3;
            this.colEXPDATE1.FieldName = "EXPDATE1";
            this.colEXPDATE1.Name = "colEXPDATE1";
            this.colEXPDATE1.Visible = true;
            this.colEXPDATE1.VisibleIndex = 4;
            this.colEXPDATE1.Width = 59;
            // 
            // repositoryItemTextEdit3
            // 
            this.repositoryItemTextEdit3.AutoHeight = false;
            this.repositoryItemTextEdit3.Name = "repositoryItemTextEdit3";
            // 
            // iTEMMASTBindingSource
            // 
            this.iTEMMASTBindingSource.DataMember = "ITEMMAST";
            this.iTEMMASTBindingSource.DataSource = this.dsMaster1;
            // 
            // popupControlContainer1
            // 
            this.popupControlContainer1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
            this.popupControlContainer1.Controls.Add(this.gridControl2);
            this.popupControlContainer1.Location = new System.Drawing.Point(95, 274);
            this.popupControlContainer1.Name = "popupControlContainer1";
            this.popupControlContainer1.Ribbon = this.ribbon;
            this.popupControlContainer1.Size = new System.Drawing.Size(241, 102);
            this.popupControlContainer1.TabIndex = 20;
            this.popupControlContainer1.Visible = false;
            // 
            // gridControl2
            // 
            this.gridControl2.Location = new System.Drawing.Point(4, 3);
            this.gridControl2.MainView = this.gridView2;
            this.gridControl2.Name = "gridControl2";
            this.gridControl2.Size = new System.Drawing.Size(235, 98);
            this.gridControl2.TabIndex = 1;
            this.gridControl2.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gridView2});
            this.gridControl2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.gridControl2_KeyDown);
            // 
            // gridView2
            // 
            this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.gridColumn1,
            this.gridColumn3,
            this.gridColumn4,
            this.gridColumn5,
            this.gridColumn6,
            this.gridColumn7});
            this.gridView2.GridControl = this.gridControl2;
            this.gridView2.IndicatorWidth = 20;
            this.gridView2.Name = "gridView2";
            this.gridView2.OptionsNavigation.EnterMoveNextColumn = true;
            this.gridView2.OptionsView.ShowGroupPanel = false;
            this.gridView2.CustomDrawRowIndicator += new DevExpress.XtraGrid.Views.Grid.RowIndicatorCustomDrawEventHandler(this.GridView2CustomDrawRowIndicator);
            // 
            // gridColumn1
            // 
            this.gridColumn1.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gridColumn1.AppearanceCell.Options.UseFont = true;
            this.gridColumn1.AppearanceCell.Options.UseTextOptions = true;
            this.gridColumn1.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.gridColumn1.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gridColumn1.AppearanceHeader.Options.UseFont = true;
            this.gridColumn1.AppearanceHeader.Options.UseTextOptions = true;
            this.gridColumn1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.gridColumn1.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.gridColumn1.Caption = "Barcode";
            this.gridColumn1.FieldName = "ITEMNO";
            this.gridColumn1.Name = "gridColumn1";
            this.gridColumn1.OptionsColumn.AllowEdit = false;
            this.gridColumn1.OptionsColumn.AllowFocus = false;
            this.gridColumn1.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.gridColumn1.OptionsColumn.ReadOnly = true;
            this.gridColumn1.Width = 160;
            // 
            // gridColumn3
            // 
            this.gridColumn3.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gridColumn3.AppearanceCell.Options.UseFont = true;
            this.gridColumn3.AppearanceCell.Options.UseTextOptions = true;
            this.gridColumn3.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.gridColumn3.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gridColumn3.AppearanceHeader.Options.UseFont = true;
            this.gridColumn3.AppearanceHeader.Options.UseTextOptions = true;
            this.gridColumn3.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.gridColumn3.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.gridColumn3.Caption = "Stock";
            this.gridColumn3.FieldName = "QTY";
            this.gridColumn3.Name = "gridColumn3";
            this.gridColumn3.OptionsColumn.AllowEdit = false;
            this.gridColumn3.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False;
            this.gridColumn3.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.gridColumn3.Visible = true;
            this.gridColumn3.VisibleIndex = 1;
            this.gridColumn3.Width = 59;
            // 
            // gridColumn4
            // 
            this.gridColumn4.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gridColumn4.AppearanceCell.Options.UseFont = true;
            this.gridColumn4.AppearanceCell.Options.UseTextOptions = true;
            this.gridColumn4.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.gridColumn4.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gridColumn4.AppearanceHeader.Options.UseFont = true;
            this.gridColumn4.AppearanceHeader.Options.UseTextOptions = true;
            this.gridColumn4.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.gridColumn4.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.gridColumn4.Caption = "Price";
            this.gridColumn4.DisplayFormat.FormatString = "N2";
            this.gridColumn4.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.gridColumn4.FieldName = "SPRICE";
            this.gridColumn4.Name = "gridColumn4";
            this.gridColumn4.OptionsColumn.AllowEdit = false;
            this.gridColumn4.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.gridColumn4.OptionsColumn.ReadOnly = true;
            this.gridColumn4.Visible = true;
            this.gridColumn4.VisibleIndex = 0;
            this.gridColumn4.Width = 71;
            // 
            // gridColumn5
            // 
            this.gridColumn5.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gridColumn5.AppearanceCell.Options.UseFont = true;
            this.gridColumn5.AppearanceCell.Options.UseTextOptions = true;
            this.gridColumn5.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.gridColumn5.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gridColumn5.AppearanceHeader.Options.UseFont = true;
            this.gridColumn5.AppearanceHeader.Options.UseTextOptions = true;
            this.gridColumn5.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.gridColumn5.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.gridColumn5.FieldName = "CPRICE";
            this.gridColumn5.Name = "gridColumn5";
            this.gridColumn5.OptionsColumn.AllowEdit = false;
            this.gridColumn5.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.gridColumn5.OptionsColumn.ReadOnly = true;
            // 
            // gridColumn6
            // 
            this.gridColumn6.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gridColumn6.AppearanceCell.Options.UseFont = true;
            this.gridColumn6.AppearanceCell.Options.UseTextOptions = true;
            this.gridColumn6.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.gridColumn6.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gridColumn6.AppearanceHeader.Options.UseFont = true;
            this.gridColumn6.AppearanceHeader.Options.UseTextOptions = true;
            this.gridColumn6.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.gridColumn6.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.gridColumn6.Caption = "Expiry";
            this.gridColumn6.DisplayFormat.FormatString = "MM-yy";
            this.gridColumn6.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
            this.gridColumn6.FieldName = "EXPDATE";
            this.gridColumn6.Name = "gridColumn6";
            this.gridColumn6.OptionsColumn.AllowEdit = false;
            this.gridColumn6.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.gridColumn6.OptionsColumn.ReadOnly = true;
            this.gridColumn6.Visible = true;
            this.gridColumn6.VisibleIndex = 2;
            this.gridColumn6.Width = 81;
            // 
            // gridColumn7
            // 
            this.gridColumn7.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gridColumn7.AppearanceCell.Options.UseFont = true;
            this.gridColumn7.AppearanceCell.Options.UseTextOptions = true;
            this.gridColumn7.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.gridColumn7.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.gridColumn7.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gridColumn7.AppearanceHeader.Options.UseFont = true;
            this.gridColumn7.AppearanceHeader.Options.UseTextOptions = true;
            this.gridColumn7.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.gridColumn7.Caption = "Qty.";
            this.gridColumn7.FieldName = "DQNTY";
            this.gridColumn7.Name = "gridColumn7";
            this.gridColumn7.OptionsColumn.AllowEdit = false;
            this.gridColumn7.Width = 61;
            // 
            // RetailSales1
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(840, 566);
            this.Controls.Add(this.popupControlContainer1);
            this.Controls.Add(this.gridControl1);
            this.Controls.Add(this.panelControl3);
            this.Controls.Add(this.panelControl1);
            this.Controls.Add(this.ribbonStatusBar);
            this.Controls.Add(this.ribbon);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.KeyPreview = true;
            this.Name = "RetailSales1";
            this.Ribbon = this.ribbon;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.StatusBar = this.ribbonStatusBar;
            this.Text = "Retail Sales";
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.RetailSales_FormClosing);
            this.Load += new System.EventHandler(this.RetailSales_Load);
            this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.RetailSales1_KeyDown);
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ribbon)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
            this.panelControl1.ResumeLayout(false);
            this.panelControl1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txtcustomer.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtbarcode.Properties)).EndInit();
            this.panelnormalcustomer.ResumeLayout(false);
            this.panelnormalcustomer.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txtcrlimit.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtfixdis.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtavailble.Properties)).EndInit();
            this.panelinsurance.ResumeLayout(false);
            this.panelinsurance.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txtpatname.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cutomerpayment.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmbclass.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.iNSURANCEDISCBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtvisitno.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtfileno.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.lookupcustomer.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cUSTOMERBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dsMaster1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtqty.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit();
            this.panelControl3.ResumeLayout(false);
            this.panelControl3.PerformLayout();
            this.panel1.ResumeLayout(false);
            this.panel1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txtnetins.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtreturnamt.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtrounding.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtdiscount.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.subtotal.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtdiscper.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtnetamt.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.sALESINVDETAILBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dsInventory1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit4)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.iTEMMASTBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.popupControlContainer1)).EndInit();
            this.popupControlContainer1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gridControl2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
Example #10
0
        /// <summary>
        /// 결제 상세내역을 뿌린다.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventArgs"/> instance containing the event data.</param>
        private void gridViewData_FocusedRowChanged(object sender, DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventArgs e)
        {
            try
            {
                dtDetail.Clear();
                if (this.gridViewData.FocusedRowHandle < 0 || this.gridViewData.RowCount <= 0 || !chkDetail.Checked)
                {
                    return;
                }

                /*결제 상세내역을 가져와 disp 한다.*/
                if (!this.chkAgreeNo.Checked && !this.chkCardNo.Checked)
                {
                    this.chkCardNo.Checked = true;
                }

                int i = this.gridViewData.FocusedRowHandle;

                string cardno  = this.gridViewData.GetRowCellValue(i, "CARD_NO").ToString();
                string agreeno = this.gridViewData.GetRowCellValue(i, "AGREE_NO").ToString();

                if (!this.chkAgreeNo.Checked)
                {
                    agreeno = "";
                }
                if (!this.chkCardNo.Checked)
                {
                    cardno = "";
                }


                //조회함수를 구현합니다.
                //만약 변수가 필요없다면 아래 코드를 삭제 하세요
                DataTable dtparmSelect = DataLayer.GetDataTableParameter(DataLayer.DatatableStyle.Parameter);
                dtparmSelect.Rows.Add(new object[] { "V_BIZ_CODE", Parm.CurrentUserInformation.BizInfo.BizCode });
                //dtparmSelect.Rows.Add(new object[] { "V_SALE_DATE", this.gridViewData.GetRowCellValue(i, "SALE_DATE").ToString().Replace("-","") });
                dtparmSelect.Rows.Add(new object[] { "V_EASY_YN", "" });
                dtparmSelect.Rows.Add(new object[] { "V_SALE_YN", "" });
                dtparmSelect.Rows.Add(new object[] { "V_AGREE_NO", agreeno });
                dtparmSelect.Rows.Add(new object[] { "V_CARD_NO", cardno });

                DataSet ds = DataLayer.ExecuteSpDataset("PKG_JIAAI01.PR_03", dtparmSelect, DataLayer.MessageEncoding.Default);

                dtDetail.Load(ds.Tables[0].CreateDataReader());

                gridViewDetail.FormatConditions.Clear();
                string strExpression = "SALE_DATE = '{0}' AND FACILITY_CODE = '{1}' AND POS_NO = '{2}' AND " +
                                       "BILL_NO = '{3}' AND SALE_YN = '{4}' AND PAY_SEQ = {5}  AND CARD_NO = '{6}'";

                string Exsaledate = this.gridViewData.GetRowCellValue(i, "SALE_DATE").ToString();
                string Exfacility = this.gridViewData.GetRowCellValue(i, "FACILITY_CODE").ToString();
                string Exposno    = this.gridViewData.GetRowCellValue(i, "POS_NO").ToString();
                string Exbillno   = this.gridViewData.GetRowCellValue(i, "BILL_NO").ToString();
                string Exsaleyn   = this.gridViewData.GetRowCellValue(i, "SALE_YN").ToString();
                string Expayseq   = this.gridViewData.GetRowCellValue(i, "PAY_SEQ").ToString();
                string Excardno   = this.gridViewData.GetRowCellValue(i, "CARD_NO").ToString();

                strExpression = string.Format(strExpression, new object[] { Exsaledate, Exfacility, Exposno, Exbillno, Exsaleyn, Expayseq, Excardno });


                Options.SetColumnColor(this.gridViewDetail, StyleFormatConditionType.Column, this.gridViewDetail.Columns["CARD_NO"], FormatConditionEnum.GreaterOrEqual, Color.LightBlue, null);
                Options.SetColumnColor(this.gridViewDetail, StyleFormatConditionType.Column, this.gridViewDetail.Columns["AGREE_NO"], FormatConditionEnum.GreaterOrEqual, Color.LightBlue, null);
                Options.SetColumnColor(this.gridViewDetail, StyleFormatConditionType.Column, this.gridViewDetail.Columns["ORG_AGREE_NO"], FormatConditionEnum.GreaterOrEqual, Color.LightBlue, null);

                StyleFormatCondition condition = new DevExpress.XtraGrid.StyleFormatCondition();
                condition.Column     = this.gridViewDetail.Columns["SALE_DATE"];
                condition.ApplyToRow = true;
                condition.Appearance.Options.UseBackColor = true;
                condition.Appearance.BackColor            = Color.Pink;
                condition.Condition = FormatConditionEnum.Expression;
                //condition.Expression = "SUBSTRING(VALID_THRU, 3, 2) > 12";
                condition.Expression = strExpression;
                gridViewDetail.FormatConditions.Add(condition);
            }
            catch (Exception ex)
            {
                Basic.ShowMessage(3, ex.Message);
            }
        }
Example #11
0
        /// <summary>
        /// 데이터 테이블을 정의 합니다.
        /// </summary>
        private void SetDataTable()
        {
            dt.Columns.Add("SALE_DATE");
            dt.Columns.Add("FACILITY_CODE");
            dt.Columns.Add("FACILITY_NAME");
            dt.Columns.Add("POS_NO");
            dt.Columns.Add("BILL_NO");
            dt.Columns.Add("SALE_YN");
            dt.Columns.Add("PAY_SEQ", typeof(decimal));
            dt.Columns.Add("SALE_AMT", typeof(decimal));
            dt.Columns.Add("CARD_NO");
            dt.Columns.Add("AGREE_DATE");
            dt.Columns.Add("VALID_THRU");
            dt.Columns.Add("INSTALLMENT_CNT", typeof(decimal));
            dt.Columns.Add("AGREE_NO");
            dt.Columns.Add("ORG_AGREE_NO");
            dt.Columns.Add("CARD_CO_CODE");
            dt.Columns.Add("CARD_CO_NAME");
            dt.Columns.Add("ISSU_CO_CODE");
            dt.Columns.Add("ISSU_CO_NAME");
            dt.Columns.Add("CARD_JOIN_NO");
            dt.Columns.Add("TID");


            //그리드 스타일을 구성합니다.
            GridStyle gs = new GridStyle(this.grid, this.gridView);

            gs.AddColumn("영업일자", "SALE_DATE", _ColumnType.DateTime, 80, _ColumnAlign.Center, true);
            gs.AddColumn("영업장코드", "FACILITY_CODE", _ColumnType.Default, 80, _ColumnAlign.Center, true);
            gs.AddColumn("영업장명", "FACILITY_NAME", _ColumnType.Default, 80, _ColumnAlign.Center, true);
            gs.AddColumn("POS", "POS_NO", _ColumnType.Default, 60, _ColumnAlign.Center, true);
            gs.AddColumn("전표번호", "BILL_NO", _ColumnType.Default, 80, _ColumnAlign.Center, true);
            gs.AddColumn("판매여부", "SALE_YN", _ColumnType.Default, 80, _ColumnAlign.Center, true);
            gs.AddColumn("입금순번", "PAY_SEQ", _ColumnType.Numbers, 80, _ColumnAlign.Right, true);
            gs.AddColumn("판매총계", "SALE_AMT", _ColumnType.Numbers, 80, _ColumnAlign.Right, true);
            gs.AddColumn("카드번호", "CARD_NO", _ColumnType.Default, 120, _ColumnAlign.Center, true, true);
            gs.AddColumn("승인일자", "AGREE_DATE", _ColumnType.TextEdit, 80, _ColumnAlign.Center, true);
            gs.AddColumn("유효기간", "VALID_THRU", _ColumnType.TextEdit, 80, _ColumnAlign.Center, true);
            gs.AddColumn("할부기간", "INSTALLMENT_CNT", _ColumnType.Numbers, 80, _ColumnAlign.Right, true);
            gs.AddColumn("승인번호", "AGREE_NO", _ColumnType.Default, 80, _ColumnAlign.Center, true);
            gs.AddColumn("원승인번호", "ORG_AGREE_NO", _ColumnType.Default, 80, _ColumnAlign.Center, true, true);
            gs.AddColumn("매입사", "CARD_CO_CODE", _ColumnType.LookUp, 80, _ColumnAlign.Center, true);
            gs.AddColumn("매입사명", "CARD_CO_NAME", _ColumnType.Default, 80, _ColumnAlign.Center, false);
            gs.AddColumn("발급사", "ISSU_CO_CODE", _ColumnType.LookUp, 80, _ColumnAlign.Center, true);
            gs.AddColumn("발급사명", "ISSU_CO_NAME", _ColumnType.Default, 80, _ColumnAlign.Center, false);
            gs.AddColumn("가맹번호", "CARD_JOIN_NO", _ColumnType.Default, 80, _ColumnAlign.Center, false);
            gs.AddColumn("EDI", "TID", _ColumnType.Default, 80, _ColumnAlign.Center);

            RepositoryItemTextEdit date = (RepositoryItemTextEdit)gridView.Columns["AGREE_DATE"].ColumnEdit;

            date.Mask.EditMask = Parm.mMask.DATE;
            date.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;

            RepositoryItemTextEdit validthru = (RepositoryItemTextEdit)gridView.Columns["VALID_THRU"].ColumnEdit;

            validthru.Mask.EditMask = "\\d\\d-\\d\\d";
            validthru.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;

            //매입사
            RepositoryItemLookUpEdit LookupCard = (RepositoryItemLookUpEdit)gridView.Columns["CARD_CO_CODE"].ColumnEdit;

            BizCommon.BasicCode.FillBasicCode(LookupCard, "Z0021", BizCommon.BasicCode.BasicCodeReturnStyle.SelectStringCaption);
            LookupCard.EditValueChanged += new EventHandler(LookupCard_EditValueChanged);

            //발급사(공급사)
            RepositoryItemLookUpEdit LookupIssu = (RepositoryItemLookUpEdit)gridView.Columns["ISSU_CO_CODE"].ColumnEdit;

            BizCommon.BasicCode.FillBasicCode(LookupIssu, "Z0022", BizCommon.BasicCode.BasicCodeReturnStyle.SelectStringCaption);
            LookupIssu.EditValueChanged += new EventHandler(LookupIssu_EditValueChanged);

            Cls.Grid.Options.SelectedRow(this.gridView);
            Cls.Grid.Options.EmbeddedNavigater(this.grid);
            Cls.Grid.Options.FilterRow(this.gridView, true);
            Cls.Grid.Options.Footer(gridView, DevExpress.Data.SummaryItemType.Sum, "SALE_AMT", "SALE_AMT", SummaryFormat.Sum);
            this.grid.DataSource = dt;

            //수정가능 컬럼 색상지정
            //gridView.Columns["SALE_AMT"].OptionsColumn.AllowEdit = true;
            //gridView.Columns["SALE_AMT"].OptionsColumn.ReadOnly = false;
            //gridView.Columns["SALE_AMT"].AppearanceHeader.ForeColor = Color.DarkOrange;
            //gridView.Columns["SALE_AMT"].AppearanceHeader.Options.UseForeColor = true;

            gridView.Columns["CARD_NO"].OptionsColumn.AllowEdit               = true;
            gridView.Columns["CARD_NO"].OptionsColumn.ReadOnly                = false;
            gridView.Columns["CARD_NO"].AppearanceHeader.ForeColor            = Color.DarkOrange;
            gridView.Columns["CARD_NO"].AppearanceHeader.Options.UseForeColor = true;

            gridView.Columns["AGREE_DATE"].OptionsColumn.AllowEdit               = true;
            gridView.Columns["AGREE_DATE"].OptionsColumn.ReadOnly                = false;
            gridView.Columns["AGREE_DATE"].AppearanceHeader.ForeColor            = Color.DarkOrange;
            gridView.Columns["AGREE_DATE"].AppearanceHeader.Options.UseForeColor = true;

            gridView.Columns["VALID_THRU"].OptionsColumn.AllowEdit               = true;
            gridView.Columns["VALID_THRU"].OptionsColumn.ReadOnly                = false;
            gridView.Columns["VALID_THRU"].AppearanceHeader.ForeColor            = Color.DarkOrange;
            gridView.Columns["VALID_THRU"].AppearanceHeader.Options.UseForeColor = true;

            gridView.Columns["INSTALLMENT_CNT"].OptionsColumn.AllowEdit               = true;
            gridView.Columns["INSTALLMENT_CNT"].OptionsColumn.ReadOnly                = false;
            gridView.Columns["INSTALLMENT_CNT"].AppearanceHeader.ForeColor            = Color.DarkOrange;
            gridView.Columns["INSTALLMENT_CNT"].AppearanceHeader.Options.UseForeColor = true;

            gridView.Columns["AGREE_NO"].OptionsColumn.AllowEdit               = true;
            gridView.Columns["AGREE_NO"].OptionsColumn.ReadOnly                = false;
            gridView.Columns["AGREE_NO"].AppearanceHeader.ForeColor            = Color.DarkOrange;
            gridView.Columns["AGREE_NO"].AppearanceHeader.Options.UseForeColor = true;

            gridView.Columns["ORG_AGREE_NO"].OptionsColumn.AllowEdit               = true;
            gridView.Columns["ORG_AGREE_NO"].OptionsColumn.ReadOnly                = false;
            gridView.Columns["ORG_AGREE_NO"].AppearanceHeader.ForeColor            = Color.DarkOrange;
            gridView.Columns["ORG_AGREE_NO"].AppearanceHeader.Options.UseForeColor = true;

            gridView.Columns["CARD_CO_CODE"].OptionsColumn.AllowEdit               = true;
            gridView.Columns["CARD_CO_CODE"].OptionsColumn.ReadOnly                = false;
            gridView.Columns["CARD_CO_CODE"].AppearanceHeader.ForeColor            = Color.DarkOrange;
            gridView.Columns["CARD_CO_CODE"].AppearanceHeader.Options.UseForeColor = true;

            gridView.Columns["ISSU_CO_CODE"].OptionsColumn.AllowEdit               = true;
            gridView.Columns["ISSU_CO_CODE"].OptionsColumn.ReadOnly                = false;
            gridView.Columns["ISSU_CO_CODE"].AppearanceHeader.ForeColor            = Color.DarkOrange;
            gridView.Columns["ISSU_CO_CODE"].AppearanceHeader.Options.UseForeColor = true;

            StyleFormatCondition condition = new DevExpress.XtraGrid.StyleFormatCondition();

            condition.Column     = this.gridView.Columns["TID"];
            condition.ApplyToRow = true;
            condition.Appearance.Options.UseBackColor = true;
            condition.Appearance.BackColor            = Color.Pink;
            condition.Condition = FormatConditionEnum.Expression;
            //condition.Expression = "SUBSTRING(VALID_THRU, 3, 2) > 12";
            condition.Expression = "TID = '승인요청'";
            gridView.FormatConditions.Add(condition);


            StyleFormatCondition condition1 = new DevExpress.XtraGrid.StyleFormatCondition();

            condition1.Column     = this.gridView.Columns["AGREE_DATE"];
            condition1.ApplyToRow = false;
            condition1.Appearance.Options.UseBackColor = true;
            condition1.Appearance.BackColor            = Color.Red;
            condition1.Condition  = FormatConditionEnum.Expression;
            condition1.Expression = "LEN(ISNULL(AGREE_DATE,'')) <> 10";
            gridView.FormatConditions.Add(condition1);
        }
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition1 = new DevExpress.XtraGrid.StyleFormatCondition();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SalesInvList));
            this.colQTY = new DevExpress.XtraGrid.Columns.GridColumn();
            this.panel2 = new System.Windows.Forms.Panel();
            this.checkBox1 = new System.Windows.Forms.CheckBox();
            this.simpleButton5 = new DevExpress.XtraEditors.SimpleButton();
            this.textEdit2 = new DevExpress.XtraEditors.TextEdit();
            this.simpleButton4 = new DevExpress.XtraEditors.SimpleButton();
            this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
            this.simpleButton3 = new DevExpress.XtraEditors.SimpleButton();
            this.textEdit1 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
            this.salesInvListBindingSource = new System.Windows.Forms.BindingSource();
            this.panel1 = new System.Windows.Forms.Panel();
            this.labelControl5 = new DevExpress.XtraEditors.LabelControl();
            this.textEdit3 = new DevExpress.XtraEditors.TextEdit();
            this.imageComboBoxEdit1 = new DevExpress.XtraEditors.ImageComboBoxEdit();
            this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton();
            this.simpleButton2 = new DevExpress.XtraEditors.SimpleButton();
            this.dateEdit2 = new DevExpress.XtraEditors.DateEdit();
            this.dateEdit1 = new DevExpress.XtraEditors.DateEdit();
            this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
            this.gridControl1 = new DevExpress.XtraGrid.GridControl();
            this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.colSINVNO = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colITEMNO = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colTRANDATE = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colINVRATE = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colLINETOTAL = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colCUSTNAME = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colcardno = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colSALESTYPE = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colTOTALAMT = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colROUNDOFF = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colNETAMT = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colRECDAMT = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colSHITFCODE = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colINVAMTTYPE = new DevExpress.XtraGrid.Columns.GridColumn();
            this.repositoryItemImageComboBox1 = new DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox();
            this.colDISC = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colITEMNAME = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colSPRICE = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.repositoryItemImageComboBox2 = new DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox();
            this.imageList1 = new System.Windows.Forms.ImageList();
            this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.panel2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit2.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.salesInvListBindingSource)).BeginInit();
            this.panel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit3.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.imageComboBoxEdit1.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dateEdit2.Properties.CalendarTimeProperties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dateEdit2.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dateEdit1.Properties.CalendarTimeProperties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dateEdit1.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageComboBox1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageComboBox2)).BeginInit();
            this.SuspendLayout();
            // 
            // colQTY
            // 
            this.colQTY.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colQTY.AppearanceCell.Options.UseFont = true;
            this.colQTY.AppearanceCell.Options.UseTextOptions = true;
            this.colQTY.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colQTY.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colQTY.AppearanceHeader.Options.UseFont = true;
            this.colQTY.AppearanceHeader.Options.UseTextOptions = true;
            this.colQTY.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colQTY.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colQTY.Caption = "Qty";
            this.colQTY.DisplayFormat.FormatString = "n2";
            this.colQTY.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.colQTY.FieldName = "QTY";
            this.colQTY.Name = "colQTY";
            this.colQTY.OptionsColumn.AllowEdit = false;
            this.colQTY.OptionsColumn.ReadOnly = true;
            this.colQTY.Visible = true;
            this.colQTY.VisibleIndex = 5;
            this.colQTY.Width = 35;
            // 
            // panel2
            // 
            this.panel2.Controls.Add(this.checkBox1);
            this.panel2.Controls.Add(this.simpleButton5);
            this.panel2.Controls.Add(this.textEdit2);
            this.panel2.Controls.Add(this.simpleButton4);
            this.panel2.Controls.Add(this.labelControl4);
            this.panel2.Controls.Add(this.simpleButton3);
            this.panel2.Controls.Add(this.textEdit1);
            this.panel2.Controls.Add(this.labelControl3);
            this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.panel2.Location = new System.Drawing.Point(0, 472);
            this.panel2.Name = "panel2";
            this.panel2.Size = new System.Drawing.Size(891, 31);
            this.panel2.TabIndex = 1;
            // 
            // checkBox1
            // 
            this.checkBox1.AutoSize = true;
            this.checkBox1.Checked = true;
            this.checkBox1.CheckState = System.Windows.Forms.CheckState.Checked;
            this.checkBox1.Location = new System.Drawing.Point(233, 9);
            this.checkBox1.Name = "checkBox1";
            this.checkBox1.Size = new System.Drawing.Size(66, 17);
            this.checkBox1.TabIndex = 9;
            this.checkBox1.Text = "No - B.G";
            this.checkBox1.UseVisualStyleBackColor = true;
            // 
            // simpleButton5
            // 
            this.simpleButton5.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.simpleButton5.Appearance.Options.UseFont = true;
            this.simpleButton5.Image = global::Store.Properties.Resources.printer1;
            this.simpleButton5.Location = new System.Drawing.Point(307, 5);
            this.simpleButton5.Name = "simpleButton5";
            this.simpleButton5.Size = new System.Drawing.Size(123, 25);
            this.simpleButton5.TabIndex = 8;
            this.simpleButton5.Text = "F4 - Print UCAF";
            this.simpleButton5.Click += new System.EventHandler(this.simpleButton5_Click);
            // 
            // textEdit2
            // 
            this.textEdit2.Location = new System.Drawing.Point(83, 7);
            this.textEdit2.Name = "textEdit2";
            this.textEdit2.Properties.NullText = "Enter invoice no";
            this.textEdit2.Size = new System.Drawing.Size(138, 20);
            this.textEdit2.TabIndex = 7;
            this.textEdit2.EditValueChanged += new System.EventHandler(this.textEdit2_EditValueChanged);
            // 
            // simpleButton4
            // 
            this.simpleButton4.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.simpleButton4.Appearance.Options.UseFont = true;
            this.simpleButton4.Image = global::Store.Properties.Resources.arrowreturn;
            this.simpleButton4.Location = new System.Drawing.Point(453, 3);
            this.simpleButton4.Name = "simpleButton4";
            this.simpleButton4.Size = new System.Drawing.Size(95, 25);
            this.simpleButton4.TabIndex = 4;
            this.simpleButton4.Text = "F8 - Return";
            this.simpleButton4.Visible = false;
            this.simpleButton4.Click += new System.EventHandler(this.SimpleButton4Click);
            // 
            // labelControl4
            // 
            this.labelControl4.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.labelControl4.Location = new System.Drawing.Point(3, 9);
            this.labelControl4.Name = "labelControl4";
            this.labelControl4.Size = new System.Drawing.Size(74, 14);
            this.labelControl4.TabIndex = 6;
            this.labelControl4.Text = "Invoice  No. :";
            // 
            // simpleButton3
            // 
            this.simpleButton3.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.simpleButton3.Appearance.Options.UseFont = true;
            this.simpleButton3.Image = global::Store.Properties.Resources.arrowreturn;
            this.simpleButton3.Location = new System.Drawing.Point(829, 1);
            this.simpleButton3.Name = "simpleButton3";
            this.simpleButton3.Size = new System.Drawing.Size(49, 22);
            this.simpleButton3.TabIndex = 5;
            this.simpleButton3.Text = "F8 - Return";
            this.simpleButton3.Visible = false;
            this.simpleButton3.Click += new System.EventHandler(this.simpleButton3_Click);
            // 
            // textEdit1
            // 
            this.textEdit1.Location = new System.Drawing.Point(669, 3);
            this.textEdit1.Name = "textEdit1";
            this.textEdit1.Properties.NullText = "Enter invoice no";
            this.textEdit1.Size = new System.Drawing.Size(108, 20);
            this.textEdit1.TabIndex = 2;
            this.textEdit1.Visible = false;
            // 
            // labelControl3
            // 
            this.labelControl3.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.labelControl3.Location = new System.Drawing.Point(554, 6);
            this.labelControl3.Name = "labelControl3";
            this.labelControl3.Size = new System.Drawing.Size(109, 14);
            this.labelControl3.TabIndex = 1;
            this.labelControl3.Text = "Return full invoice  :";
            this.labelControl3.Visible = false;
            // 
            // salesInvListBindingSource
            // 
            this.salesInvListBindingSource.DataMember = "SalesInvList";
            this.salesInvListBindingSource.DataSource = typeof(VIRETAILENTITIES.DsReports);
            // 
            // panel1
            // 
            this.panel1.BackColor = System.Drawing.Color.Transparent;
            this.panel1.Controls.Add(this.labelControl5);
            this.panel1.Controls.Add(this.textEdit3);
            this.panel1.Controls.Add(this.imageComboBoxEdit1);
            this.panel1.Controls.Add(this.simpleButton1);
            this.panel1.Controls.Add(this.simpleButton2);
            this.panel1.Controls.Add(this.dateEdit2);
            this.panel1.Controls.Add(this.dateEdit1);
            this.panel1.Controls.Add(this.labelControl2);
            this.panel1.Controls.Add(this.labelControl1);
            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
            this.panel1.Location = new System.Drawing.Point(0, 0);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(891, 33);
            this.panel1.TabIndex = 4;
            // 
            // labelControl5
            // 
            this.labelControl5.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.labelControl5.Location = new System.Drawing.Point(411, 11);
            this.labelControl5.Name = "labelControl5";
            this.labelControl5.Size = new System.Drawing.Size(60, 14);
            this.labelControl5.TabIndex = 7;
            this.labelControl5.Text = "Customer :";
            // 
            // textEdit3
            // 
            this.textEdit3.Location = new System.Drawing.Point(484, 8);
            this.textEdit3.Name = "textEdit3";
            this.textEdit3.Size = new System.Drawing.Size(164, 20);
            this.textEdit3.TabIndex = 6;
            // 
            // imageComboBoxEdit1
            // 
            this.imageComboBoxEdit1.Location = new System.Drawing.Point(654, 8);
            this.imageComboBoxEdit1.Name = "imageComboBoxEdit1";
            this.imageComboBoxEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.imageComboBoxEdit1.Properties.Items.AddRange(new DevExpress.XtraEditors.Controls.ImageComboBoxItem[] {
            new DevExpress.XtraEditors.Controls.ImageComboBoxItem("LASER", ((short)(0)), -1),
            new DevExpress.XtraEditors.Controls.ImageComboBoxItem("SLIP", ((short)(1)), -1)});
            this.imageComboBoxEdit1.Size = new System.Drawing.Size(95, 20);
            this.imageComboBoxEdit1.TabIndex = 5;
            this.imageComboBoxEdit1.SelectedIndexChanged += new System.EventHandler(this.imageComboBoxEdit1_SelectedIndexChanged);
            // 
            // simpleButton1
            // 
            this.simpleButton1.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.simpleButton1.Appearance.Options.UseFont = true;
            this.simpleButton1.Image = global::Store.Properties.Resources.printer1;
            this.simpleButton1.Location = new System.Drawing.Point(755, 6);
            this.simpleButton1.Name = "simpleButton1";
            this.simpleButton1.Size = new System.Drawing.Size(123, 25);
            this.simpleButton1.TabIndex = 3;
            this.simpleButton1.Text = "F4 - Print Invoice";
            this.simpleButton1.Click += new System.EventHandler(this.SimpleButton1Click);
            // 
            // simpleButton2
            // 
            this.simpleButton2.Image = global::Store.Properties.Resources.date_magnify;
            this.simpleButton2.Location = new System.Drawing.Point(321, 5);
            this.simpleButton2.Name = "simpleButton2";
            this.simpleButton2.Size = new System.Drawing.Size(85, 25);
            this.simpleButton2.TabIndex = 2;
            this.simpleButton2.Text = "F10 - Filter";
            this.simpleButton2.Click += new System.EventHandler(this.SimpleButton2Click);
            // 
            // dateEdit2
            // 
            this.dateEdit2.EditValue = new System.DateTime(2012, 12, 19, 10, 46, 18, 260);
            this.dateEdit2.Location = new System.Drawing.Point(226, 6);
            this.dateEdit2.Name = "dateEdit2";
            this.dateEdit2.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.dateEdit2.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.dateEdit2.Size = new System.Drawing.Size(83, 20);
            this.dateEdit2.TabIndex = 2;
            // 
            // dateEdit1
            // 
            this.dateEdit1.EditValue = new System.DateTime(2012, 12, 19, 10, 46, 9, 831);
            this.dateEdit1.Location = new System.Drawing.Point(80, 6);
            this.dateEdit1.Name = "dateEdit1";
            this.dateEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.dateEdit1.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.dateEdit1.Size = new System.Drawing.Size(86, 20);
            this.dateEdit1.TabIndex = 1;
            // 
            // labelControl2
            // 
            this.labelControl2.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.labelControl2.Location = new System.Drawing.Point(168, 9);
            this.labelControl2.Name = "labelControl2";
            this.labelControl2.Size = new System.Drawing.Size(53, 14);
            this.labelControl2.TabIndex = 1;
            this.labelControl2.Text = "Date To :";
            // 
            // labelControl1
            // 
            this.labelControl1.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.labelControl1.Location = new System.Drawing.Point(12, 9);
            this.labelControl1.Name = "labelControl1";
            this.labelControl1.Size = new System.Drawing.Size(65, 14);
            this.labelControl1.TabIndex = 0;
            this.labelControl1.Text = "Date From :";
            // 
            // gridControl1
            // 
            this.gridControl1.Cursor = System.Windows.Forms.Cursors.Default;
            this.gridControl1.DataSource = this.salesInvListBindingSource;
            this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gridControl1.Location = new System.Drawing.Point(0, 33);
            this.gridControl1.MainView = this.gridView1;
            this.gridControl1.Name = "gridControl1";
            this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
            this.repositoryItemImageComboBox1,
            this.repositoryItemImageComboBox2});
            this.gridControl1.Size = new System.Drawing.Size(891, 439);
            this.gridControl1.TabIndex = 0;
            this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gridView1});
            // 
            // gridView1
            // 
            this.gridView1.Appearance.GroupFooter.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gridView1.Appearance.GroupFooter.Options.UseFont = true;
            this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.colSINVNO,
            this.colITEMNO,
            this.colTRANDATE,
            this.colQTY,
            this.colINVRATE,
            this.colLINETOTAL,
            this.colCUSTNAME,
            this.colcardno,
            this.colSALESTYPE,
            this.colTOTALAMT,
            this.colROUNDOFF,
            this.colNETAMT,
            this.colRECDAMT,
            this.colSHITFCODE,
            this.colINVAMTTYPE,
            this.colDISC,
            this.colITEMNAME,
            this.colSPRICE,
            this.gridColumn1,
            this.gridColumn2});
            styleFormatCondition1.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            styleFormatCondition1.Appearance.ForeColor = System.Drawing.Color.Red;
            styleFormatCondition1.Appearance.Options.UseFont = true;
            styleFormatCondition1.Appearance.Options.UseForeColor = true;
            styleFormatCondition1.ApplyToRow = true;
            styleFormatCondition1.Column = this.colQTY;
            styleFormatCondition1.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
            styleFormatCondition1.Value1 = ((short)(0));
            this.gridView1.FormatConditions.AddRange(new DevExpress.XtraGrid.StyleFormatCondition[] {
            styleFormatCondition1});
            this.gridView1.GridControl = this.gridControl1;
            this.gridView1.GroupCount = 1;
            this.gridView1.GroupSummary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
            new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Custom, "LINETOTAL", this.colLINETOTAL, "{0:###,###,###.00}", ((short)(1))),
            new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Custom, "ITEMNAME", this.colITEMNAME, "", ((short)(2)))});
            this.gridView1.Name = "gridView1";
            this.gridView1.OptionsBehavior.AutoExpandAllGroups = true;
            this.gridView1.OptionsView.ShowAutoFilterRow = true;
            this.gridView1.RowHeight = 24;
            this.gridView1.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
            new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.colTRANDATE, DevExpress.Data.ColumnSortOrder.Descending)});
            this.gridView1.CustomSummaryCalculate += new DevExpress.Data.CustomSummaryEventHandler(this.gridView1_CustomSummaryCalculate);
            this.gridView1.CustomColumnSort += new DevExpress.XtraGrid.Views.Base.CustomColumnSortEventHandler(this.gridView1_CustomColumnSort);
            // 
            // colSINVNO
            // 
            this.colSINVNO.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSINVNO.AppearanceCell.Options.UseFont = true;
            this.colSINVNO.AppearanceCell.Options.UseTextOptions = true;
            this.colSINVNO.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSINVNO.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSINVNO.AppearanceHeader.Options.UseFont = true;
            this.colSINVNO.AppearanceHeader.Options.UseTextOptions = true;
            this.colSINVNO.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSINVNO.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSINVNO.Caption = "Invoice No.";
            this.colSINVNO.FieldName = "SINVNO";
            this.colSINVNO.Name = "colSINVNO";
            this.colSINVNO.OptionsColumn.AllowEdit = false;
            this.colSINVNO.OptionsColumn.ReadOnly = true;
            this.colSINVNO.Visible = true;
            this.colSINVNO.VisibleIndex = 1;
            this.colSINVNO.Width = 90;
            // 
            // colITEMNO
            // 
            this.colITEMNO.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colITEMNO.AppearanceCell.Options.UseFont = true;
            this.colITEMNO.AppearanceCell.Options.UseTextOptions = true;
            this.colITEMNO.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colITEMNO.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colITEMNO.AppearanceHeader.Options.UseFont = true;
            this.colITEMNO.AppearanceHeader.Options.UseTextOptions = true;
            this.colITEMNO.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colITEMNO.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colITEMNO.Caption = "Barcode";
            this.colITEMNO.FieldName = "ITEMNO";
            this.colITEMNO.MaxWidth = 90;
            this.colITEMNO.Name = "colITEMNO";
            this.colITEMNO.OptionsColumn.AllowEdit = false;
            this.colITEMNO.OptionsColumn.ReadOnly = true;
            this.colITEMNO.SortMode = DevExpress.XtraGrid.ColumnSortMode.Custom;
            this.colITEMNO.Visible = true;
            this.colITEMNO.VisibleIndex = 3;
            this.colITEMNO.Width = 65;
            // 
            // colTRANDATE
            // 
            this.colTRANDATE.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colTRANDATE.AppearanceCell.Options.UseFont = true;
            this.colTRANDATE.AppearanceCell.Options.UseTextOptions = true;
            this.colTRANDATE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTRANDATE.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colTRANDATE.AppearanceHeader.Options.UseFont = true;
            this.colTRANDATE.AppearanceHeader.Options.UseTextOptions = true;
            this.colTRANDATE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colTRANDATE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTRANDATE.Caption = "Inv.Date";
            this.colTRANDATE.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
            this.colTRANDATE.FieldName = "TRANDATE";
            this.colTRANDATE.GroupInterval = DevExpress.XtraGrid.ColumnGroupInterval.Value;
            this.colTRANDATE.MinWidth = 100;
            this.colTRANDATE.Name = "colTRANDATE";
            this.colTRANDATE.OptionsColumn.AllowEdit = false;
            this.colTRANDATE.OptionsColumn.ReadOnly = true;
            this.colTRANDATE.Visible = true;
            this.colTRANDATE.VisibleIndex = 1;
            this.colTRANDATE.Width = 143;
            // 
            // colINVRATE
            // 
            this.colINVRATE.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colINVRATE.AppearanceCell.Options.UseFont = true;
            this.colINVRATE.AppearanceCell.Options.UseTextOptions = true;
            this.colINVRATE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colINVRATE.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colINVRATE.AppearanceHeader.Options.UseFont = true;
            this.colINVRATE.AppearanceHeader.Options.UseTextOptions = true;
            this.colINVRATE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colINVRATE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colINVRATE.Caption = "Price";
            this.colINVRATE.DisplayFormat.FormatString = "n2";
            this.colINVRATE.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.colINVRATE.FieldName = "INVRATE";
            this.colINVRATE.Name = "colINVRATE";
            this.colINVRATE.OptionsColumn.AllowEdit = false;
            this.colINVRATE.OptionsColumn.ReadOnly = true;
            this.colINVRATE.Visible = true;
            this.colINVRATE.VisibleIndex = 6;
            this.colINVRATE.Width = 40;
            // 
            // colLINETOTAL
            // 
            this.colLINETOTAL.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colLINETOTAL.AppearanceCell.Options.UseFont = true;
            this.colLINETOTAL.AppearanceCell.Options.UseTextOptions = true;
            this.colLINETOTAL.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colLINETOTAL.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colLINETOTAL.AppearanceHeader.Options.UseFont = true;
            this.colLINETOTAL.AppearanceHeader.Options.UseTextOptions = true;
            this.colLINETOTAL.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colLINETOTAL.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colLINETOTAL.Caption = "Line Total";
            this.colLINETOTAL.DisplayFormat.FormatString = "n2";
            this.colLINETOTAL.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.colLINETOTAL.FieldName = "LINETOTAL";
            this.colLINETOTAL.Name = "colLINETOTAL";
            this.colLINETOTAL.OptionsColumn.AllowEdit = false;
            this.colLINETOTAL.OptionsColumn.ReadOnly = true;
            this.colLINETOTAL.Visible = true;
            this.colLINETOTAL.VisibleIndex = 8;
            this.colLINETOTAL.Width = 149;
            // 
            // colCUSTNAME
            // 
            this.colCUSTNAME.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colCUSTNAME.AppearanceCell.Options.UseFont = true;
            this.colCUSTNAME.AppearanceCell.Options.UseTextOptions = true;
            this.colCUSTNAME.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colCUSTNAME.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colCUSTNAME.AppearanceHeader.Options.UseFont = true;
            this.colCUSTNAME.AppearanceHeader.Options.UseTextOptions = true;
            this.colCUSTNAME.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colCUSTNAME.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colCUSTNAME.Caption = "Customer name";
            this.colCUSTNAME.FieldName = "CUSTNAME";
            this.colCUSTNAME.Name = "colCUSTNAME";
            this.colCUSTNAME.OptionsColumn.AllowEdit = false;
            this.colCUSTNAME.OptionsColumn.ReadOnly = true;
            this.colCUSTNAME.Visible = true;
            this.colCUSTNAME.VisibleIndex = 2;
            this.colCUSTNAME.Width = 89;
            // 
            // colcardno
            // 
            this.colcardno.Caption = "Card No.";
            this.colcardno.FieldName = "CARDNO";
            this.colcardno.MaxWidth = 60;
            this.colcardno.Name = "colcardno";
            this.colcardno.OptionsColumn.AllowEdit = false;
            this.colcardno.OptionsColumn.ReadOnly = true;
            this.colcardno.Width = 52;
            // 
            // colSALESTYPE
            // 
            this.colSALESTYPE.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSALESTYPE.AppearanceCell.Options.UseFont = true;
            this.colSALESTYPE.AppearanceCell.Options.UseTextOptions = true;
            this.colSALESTYPE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSALESTYPE.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSALESTYPE.AppearanceHeader.Options.UseFont = true;
            this.colSALESTYPE.AppearanceHeader.Options.UseTextOptions = true;
            this.colSALESTYPE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSALESTYPE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSALESTYPE.FieldName = "SALESTYPE";
            this.colSALESTYPE.Name = "colSALESTYPE";
            this.colSALESTYPE.OptionsColumn.AllowEdit = false;
            this.colSALESTYPE.OptionsColumn.ReadOnly = true;
            this.colSALESTYPE.Width = 32;
            // 
            // colTOTALAMT
            // 
            this.colTOTALAMT.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colTOTALAMT.AppearanceCell.Options.UseFont = true;
            this.colTOTALAMT.AppearanceCell.Options.UseTextOptions = true;
            this.colTOTALAMT.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTOTALAMT.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colTOTALAMT.AppearanceHeader.Options.UseFont = true;
            this.colTOTALAMT.AppearanceHeader.Options.UseTextOptions = true;
            this.colTOTALAMT.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colTOTALAMT.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTOTALAMT.FieldName = "TOTALAMT";
            this.colTOTALAMT.Name = "colTOTALAMT";
            this.colTOTALAMT.OptionsColumn.AllowEdit = false;
            this.colTOTALAMT.OptionsColumn.ReadOnly = true;
            this.colTOTALAMT.Width = 32;
            // 
            // colROUNDOFF
            // 
            this.colROUNDOFF.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colROUNDOFF.AppearanceCell.Options.UseFont = true;
            this.colROUNDOFF.AppearanceCell.Options.UseTextOptions = true;
            this.colROUNDOFF.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colROUNDOFF.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colROUNDOFF.AppearanceHeader.Options.UseFont = true;
            this.colROUNDOFF.AppearanceHeader.Options.UseTextOptions = true;
            this.colROUNDOFF.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colROUNDOFF.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colROUNDOFF.FieldName = "ROUNDOFF";
            this.colROUNDOFF.Name = "colROUNDOFF";
            this.colROUNDOFF.OptionsColumn.AllowEdit = false;
            this.colROUNDOFF.OptionsColumn.ReadOnly = true;
            this.colROUNDOFF.Width = 66;
            // 
            // colNETAMT
            // 
            this.colNETAMT.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colNETAMT.AppearanceCell.Options.UseFont = true;
            this.colNETAMT.AppearanceCell.Options.UseTextOptions = true;
            this.colNETAMT.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colNETAMT.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colNETAMT.AppearanceHeader.Options.UseFont = true;
            this.colNETAMT.AppearanceHeader.Options.UseTextOptions = true;
            this.colNETAMT.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colNETAMT.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colNETAMT.FieldName = "NETAMT";
            this.colNETAMT.Name = "colNETAMT";
            this.colNETAMT.OptionsColumn.AllowEdit = false;
            this.colNETAMT.OptionsColumn.ReadOnly = true;
            this.colNETAMT.Width = 24;
            // 
            // colRECDAMT
            // 
            this.colRECDAMT.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colRECDAMT.AppearanceCell.Options.UseFont = true;
            this.colRECDAMT.AppearanceCell.Options.UseTextOptions = true;
            this.colRECDAMT.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colRECDAMT.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colRECDAMT.AppearanceHeader.Options.UseFont = true;
            this.colRECDAMT.AppearanceHeader.Options.UseTextOptions = true;
            this.colRECDAMT.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colRECDAMT.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colRECDAMT.FieldName = "RECDAMT";
            this.colRECDAMT.Name = "colRECDAMT";
            this.colRECDAMT.OptionsColumn.AllowEdit = false;
            this.colRECDAMT.OptionsColumn.ReadOnly = true;
            this.colRECDAMT.Width = 24;
            // 
            // colSHITFCODE
            // 
            this.colSHITFCODE.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSHITFCODE.AppearanceCell.Options.UseFont = true;
            this.colSHITFCODE.AppearanceCell.Options.UseTextOptions = true;
            this.colSHITFCODE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSHITFCODE.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSHITFCODE.AppearanceHeader.Options.UseFont = true;
            this.colSHITFCODE.AppearanceHeader.Options.UseTextOptions = true;
            this.colSHITFCODE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSHITFCODE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSHITFCODE.FieldName = "SHITFCODE";
            this.colSHITFCODE.Name = "colSHITFCODE";
            this.colSHITFCODE.OptionsColumn.AllowEdit = false;
            this.colSHITFCODE.OptionsColumn.ReadOnly = true;
            this.colSHITFCODE.Width = 24;
            // 
            // colINVAMTTYPE
            // 
            this.colINVAMTTYPE.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colINVAMTTYPE.AppearanceCell.Options.UseFont = true;
            this.colINVAMTTYPE.AppearanceCell.Options.UseTextOptions = true;
            this.colINVAMTTYPE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colINVAMTTYPE.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colINVAMTTYPE.AppearanceHeader.Options.UseFont = true;
            this.colINVAMTTYPE.AppearanceHeader.Options.UseTextOptions = true;
            this.colINVAMTTYPE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colINVAMTTYPE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colINVAMTTYPE.ColumnEdit = this.repositoryItemImageComboBox1;
            this.colINVAMTTYPE.FieldName = "INVAMTTYPE";
            this.colINVAMTTYPE.Name = "colINVAMTTYPE";
            this.colINVAMTTYPE.OptionsColumn.AllowEdit = false;
            this.colINVAMTTYPE.OptionsColumn.ReadOnly = true;
            this.colINVAMTTYPE.Width = 20;
            // 
            // repositoryItemImageComboBox1
            // 
            this.repositoryItemImageComboBox1.AutoHeight = false;
            this.repositoryItemImageComboBox1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemImageComboBox1.Items.AddRange(new DevExpress.XtraEditors.Controls.ImageComboBoxItem[] {
            new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Cash", 1, -1),
            new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Credit", 2, -1),
            new DevExpress.XtraEditors.Controls.ImageComboBoxItem("", null, -1)});
            this.repositoryItemImageComboBox1.Name = "repositoryItemImageComboBox1";
            // 
            // colDISC
            // 
            this.colDISC.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colDISC.AppearanceCell.Options.UseFont = true;
            this.colDISC.AppearanceCell.Options.UseTextOptions = true;
            this.colDISC.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colDISC.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colDISC.AppearanceHeader.Options.UseFont = true;
            this.colDISC.AppearanceHeader.Options.UseTextOptions = true;
            this.colDISC.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colDISC.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colDISC.Caption = "Disc.";
            this.colDISC.FieldName = "DISC";
            this.colDISC.Name = "colDISC";
            this.colDISC.OptionsColumn.AllowEdit = false;
            this.colDISC.OptionsColumn.ReadOnly = true;
            this.colDISC.Visible = true;
            this.colDISC.VisibleIndex = 7;
            this.colDISC.Width = 40;
            // 
            // colITEMNAME
            // 
            this.colITEMNAME.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colITEMNAME.AppearanceCell.Options.UseFont = true;
            this.colITEMNAME.AppearanceCell.Options.UseTextOptions = true;
            this.colITEMNAME.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colITEMNAME.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colITEMNAME.AppearanceHeader.Options.UseFont = true;
            this.colITEMNAME.AppearanceHeader.Options.UseTextOptions = true;
            this.colITEMNAME.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colITEMNAME.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colITEMNAME.Caption = "Item name";
            this.colITEMNAME.FieldName = "ITEMNAME";
            this.colITEMNAME.Name = "colITEMNAME";
            this.colITEMNAME.OptionsColumn.AllowEdit = false;
            this.colITEMNAME.OptionsColumn.ReadOnly = true;
            this.colITEMNAME.Visible = true;
            this.colITEMNAME.VisibleIndex = 4;
            this.colITEMNAME.Width = 181;
            // 
            // colSPRICE
            // 
            this.colSPRICE.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSPRICE.AppearanceCell.Options.UseFont = true;
            this.colSPRICE.AppearanceCell.Options.UseTextOptions = true;
            this.colSPRICE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSPRICE.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSPRICE.AppearanceHeader.Options.UseFont = true;
            this.colSPRICE.AppearanceHeader.Options.UseTextOptions = true;
            this.colSPRICE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSPRICE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSPRICE.FieldName = "SPRICE";
            this.colSPRICE.Name = "colSPRICE";
            this.colSPRICE.OptionsColumn.AllowEdit = false;
            this.colSPRICE.OptionsColumn.ReadOnly = true;
            this.colSPRICE.Width = 45;
            // 
            // gridColumn1
            // 
            this.gridColumn1.Caption = "gridColumn1";
            this.gridColumn1.ColumnEdit = this.repositoryItemImageComboBox2;
            this.gridColumn1.FieldName = "INVAMTTYPE";
            this.gridColumn1.MaxWidth = 20;
            this.gridColumn1.Name = "gridColumn1";
            this.gridColumn1.OptionsColumn.AllowEdit = false;
            this.gridColumn1.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.gridColumn1.OptionsColumn.ReadOnly = true;
            this.gridColumn1.OptionsColumn.ShowCaption = false;
            this.gridColumn1.OptionsFilter.AllowAutoFilter = false;
            this.gridColumn1.OptionsFilter.AllowFilter = false;
            this.gridColumn1.Visible = true;
            this.gridColumn1.VisibleIndex = 0;
            this.gridColumn1.Width = 39;
            // 
            // repositoryItemImageComboBox2
            // 
            this.repositoryItemImageComboBox2.AutoHeight = false;
            this.repositoryItemImageComboBox2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemImageComboBox2.Items.AddRange(new DevExpress.XtraEditors.Controls.ImageComboBoxItem[] {
            new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Cash", 1, 0),
            new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Credit", 2, 1),
            new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Card", 3, 3),
            new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Return", 4, -1),
            new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Mix", 5, 2)});
            this.repositoryItemImageComboBox2.Name = "repositoryItemImageComboBox2";
            this.repositoryItemImageComboBox2.SmallImages = this.imageList1;
            // 
            // imageList1
            // 
            this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
            this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
            this.imageList1.Images.SetKeyName(0, "coins.png");
            this.imageList1.Images.SetKeyName(1, "currencycad.png");
            this.imageList1.Images.SetKeyName(2, "creditplus.png");
            this.imageList1.Images.SetKeyName(3, "creditcards.png");
            // 
            // gridColumn2
            // 
            this.gridColumn2.Caption = "SDISC";
            this.gridColumn2.FieldName = "SDISC";
            this.gridColumn2.Name = "gridColumn2";
            // 
            // SalesInvList
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(891, 503);
            this.Controls.Add(this.gridControl1);
            this.Controls.Add(this.panel1);
            this.Controls.Add(this.panel2);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.KeyPreview = true;
            this.LookAndFeel.SkinName = "Sharp Plus";
            this.LookAndFeel.UseDefaultLookAndFeel = false;
            this.Name = "SalesInvList";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
            this.Text = "Sales Invoice List";
            this.Load += new System.EventHandler(this.SalesInvListLoad);
            this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.SalesInvListKeyDown);
            this.panel2.ResumeLayout(false);
            this.panel2.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit2.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.salesInvListBindingSource)).EndInit();
            this.panel1.ResumeLayout(false);
            this.panel1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit3.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.imageComboBoxEdit1.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dateEdit2.Properties.CalendarTimeProperties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dateEdit2.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dateEdit1.Properties.CalendarTimeProperties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dateEdit1.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageComboBox1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageComboBox2)).EndInit();
            this.ResumeLayout(false);

        }
Example #13
0
        /// <summary>
        /// 데이터 테이블을 정의 합니다.
        /// </summary>
        private void SetDataTable()
        {
            dtUse.Columns.Add("SALE_DATE");
            dtUse.Columns.Add("SALE_TIME");
            dtUse.Columns.Add("FACILITY_NAME");
            dtUse.Columns.Add("POS_NO");
            dtUse.Columns.Add("BILL_NO");
            dtUse.Columns.Add("MENU_NAME");
            dtUse.Columns.Add("SALE_QTY", typeof(decimal));
            dtUse.Columns.Add("UNIT_AMT", typeof(decimal));
            dtUse.Columns.Add("SALE_AMT", typeof(decimal));
            dtUse.Columns.Add("U_DATE");
            dtUse.Columns.Add("UNIT_AMT_YN", typeof(decimal));

            GridStyle gs = new GridStyle(this.gridUse, this.gridViewUse);

            gs.AddColumn("일자", "SALE_DATE", _ColumnType.Default, 80, _ColumnAlign.Center, true);
            gs.AddColumn("시간", "SALE_TIME", _ColumnType.Default, 80, _ColumnAlign.Center, true);
            gs.AddColumn("영업장", "FACILITY_NAME", _ColumnType.Default, 80, _ColumnAlign.Center, true);
            gs.AddColumn("POS", "POS_NO", _ColumnType.Default, 80, _ColumnAlign.Center, true);
            gs.AddColumn("순번", "BILL_NO", _ColumnType.Default, 80, _ColumnAlign.Center, true);
            gs.AddColumn("메뉴", "MENU_NAME", _ColumnType.Default, 80, _ColumnAlign.Center, true);
            gs.AddColumn("수량", "SALE_QTY", _ColumnType.Numbers, 80, _ColumnAlign.Right, true);
            gs.AddColumn("단가", "UNIT_AMT", _ColumnType.Numbers, 80, _ColumnAlign.Right, true);
            gs.AddColumn("금액", "SALE_AMT", _ColumnType.Numbers, 80, _ColumnAlign.Right, true);
            gs.AddColumn("수정일시", "U_DATE", _ColumnType.Default, 80, _ColumnAlign.Center, false);
            gs.AddColumn("", "UNIT_AMT_YN", _ColumnType.Numbers, 80, _ColumnAlign.Right, false);

            Cls.Grid.Options.SelectedRow(this.gridViewUse);
            Cls.Grid.Options.EmbeddedNavigater(this.gridUse);
            Cls.Grid.Options.FilterRow(this.gridViewUse, true);
            Cls.Grid.Options.Footer(gridViewUse, DevExpress.Data.SummaryItemType.Sum, "SALE_AMT", "SALE_AMT", SummaryFormat.Sum);
            this.gridUse.DataSource = dtUse;

            StyleFormatCondition condition = new DevExpress.XtraGrid.StyleFormatCondition();

            condition.Column     = this.gridViewUse.Columns["UNIT_AMT_YN"];
            condition.ApplyToRow = true;
            condition.Appearance.Options.UseBackColor = true;
            condition.Appearance.BackColor            = Color.Red;
            condition.Condition  = FormatConditionEnum.Expression;
            condition.Expression = "UNIT_AMT_YN = 1";
            gridViewUse.FormatConditions.Add(condition);

            dtCharge.Columns.Add("U_DATE");
            dtCharge.Columns.Add("POS_NO");
            dtCharge.Columns.Add("BILL_NO");
            dtCharge.Columns.Add("PAY_CODE");
            dtCharge.Columns.Add("PAY_CODE_NAME");
            dtCharge.Columns.Add("SALE_AMT", typeof(decimal));
            dtCharge.Columns.Add("RMRK");

            GridStyle gsCharge = new GridStyle(this.gridCharge, this.gridViewCharge);

            gsCharge.AddColumn("충전일시", "U_DATE", _ColumnType.Default, 80, _ColumnAlign.Center, true);
            gsCharge.AddColumn("포스번호", "POS_NO", _ColumnType.Default, 80, _ColumnAlign.Center, true);
            gsCharge.AddColumn("전표번호", "BILL_NO", _ColumnType.Default, 80, _ColumnAlign.Center, true);
            gsCharge.AddColumn("입금수단[Z0016]", "PAY_CODE", _ColumnType.Default, 80, _ColumnAlign.Center, false);
            gsCharge.AddColumn("결제", "PAY_CODE_NAME", _ColumnType.Default, 80, _ColumnAlign.Center, true);
            gsCharge.AddColumn("금액", "SALE_AMT", _ColumnType.Numbers, 80, _ColumnAlign.Right, true);
            gsCharge.AddColumn("비고", "RMRK", _ColumnType.Default, 80, _ColumnAlign.Center, true);

            Cls.Grid.Options.SelectedRow(this.gridViewCharge);
            Cls.Grid.Options.EmbeddedNavigater(this.gridCharge);
            Cls.Grid.Options.FilterRow(this.gridViewCharge, true);
            Cls.Grid.Options.Footer(gridViewCharge, DevExpress.Data.SummaryItemType.Sum, "SALE_AMT", "SALE_AMT", SummaryFormat.Sum);
            this.gridCharge.DataSource = dtCharge;
        }
Example #14
0
        /// <summary>
        /// 조회 함수 입니다.
        /// </summary>
        private void Selects()
        {
            try
            {
                ///TDDO:[예약포켓스팅]조회
                //에니메이션 과 커서의 모양을 바궈준다.
                Basic.SetCursor(this, false);
                Basic.LoadParentFunction(this, "조회 중 입니다..", true);

                string factory   = lupFactory.EditValue.ToString();
                string roomotype = lupRoomType.EditValue.ToString().Trim();
                string start     = ((DateTime)dtpStart.EditValue).ToString("yyyyMMdd");
                string end       = ((DateTime)dtpEnd.EditValue).ToString("yyyyMMdd");

                if (factory == "")
                {
                    Basic.ShowMessage(2, "사용가능한 영업장이 없습니다.");
                    return;
                }

                //조회함수를 구현합니다.
                //만약 변수가 필요없다면 아래 코드를 삭제 하세요
                DataTable dtSelect = DataLayer.GetDataTableParameter(DataLayer.DatatableStyle.Parameter);

                dtSelect.Rows.Add(new object[] { "V_BIZ_CODE", Parm.CurrentUserInformation.BizInfo.BizCode });
                dtSelect.Rows.Add(new object[] { "V_FACTORY", factory });
                dtSelect.Rows.Add(new object[] { "V_START_DATE", start });
                dtSelect.Rows.Add(new object[] { "V_END_DATE", end });
                dtSelect.Rows.Add(new object[] { "V_ROOM_TYPE", roomotype });
                dtSelect.Rows.Add(new object[] { "V_U_EMP_NO", BizCommon.Parm.CurrentUserInformation.id });
                dtSelect.Rows.Add(new object[] { "V_U_IP", BizCommon.Parm.CurrentUserInformation.ip });

                //파라메터가 있을때
                dtFactory.Clear();
                dtFactory.AcceptChanges();
                DataSet ds = DataLayer.ExecuteSpDataset("PKG_CAAAI04.PR_01", dtSelect, DataLayer.MessageEncoding.Default);


                if (ds.Tables[0].Rows.Count <= 0)
                {
                    Basic.ShowMessage(1, "데이터가 존재 하지 않습니다.");
                    return;
                }

                dtFactory.Load(ds.Tables[0].CreateDataReader());

                advBandedGridViewFactory.FormatConditions.Clear();


                StyleFormatCondition condition = new DevExpress.XtraGrid.StyleFormatCondition();
                //condition.Appearance.ForeColor = Color.Red;
                condition.Column                          = advBandedGridViewFactory.Columns["CALN_DATE_YOIL"];
                condition.ApplyToRow                      = true;
                condition.Appearance.BackColor            = Color.LightBlue;
                condition.Appearance.Options.UseBackColor = true;
                //condition.Appearance.Options.UseFont = true;
                //condition.Appearance.Options.UseForeColor = true;
                //condition.Appearance.Font = new System.Drawing.Font("굴림체", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                condition.Condition  = FormatConditionEnum.Expression;
                condition.Expression = "CALN_DATE_YOIL Like '%토요일%'";
                advBandedGridViewFactory.FormatConditions.Add(condition);


                StyleFormatCondition condition1 = new DevExpress.XtraGrid.StyleFormatCondition();
                //condition1.Appearance.ForeColor = Color.Red;
                condition1.Column                          = advBandedGridViewFactory.Columns["CALN_DATE_YOIL"];
                condition1.ApplyToRow                      = true;
                condition1.Appearance.BackColor            = Color.Pink;
                condition1.Appearance.Options.UseBackColor = true;
                //condition1.Appearance.Options.UseFont = true;
                //condition1.Appearance.Options.UseForeColor = true;
                //condition1.Appearance.Font = new System.Drawing.Font("굴림체", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                condition1.Condition  = FormatConditionEnum.Expression;
                condition1.Expression = "CALN_DATE_YOIL Like '%일요일%'";
                advBandedGridViewFactory.FormatConditions.Add(condition1);



                dtFactory.AcceptChanges();
            }
            catch (Exception ex)
            {
                dtFactory.RejectChanges();
                throw ex;
            }
            finally
            {
                Basic.SetCursor(this, true);
                Basic.LoadParentFunction(this, "", false);
            }
        }
Example #15
0
        /// <summary>
        /// 데이터 테이블을 정의 합니다.
        /// </summary>
        private void SetDataTable()
        {
            dt.Columns.Add("CHECKOUT_DATE");
            dt.Columns.Add("CHECKOUT_DATE_VIEW");
            dt.Columns.Add("ROOM_NO");
            dt.Columns.Add("GUEST_NAME");
            dt.Columns.Add("MOBILE_TEL");
            dt.Columns.Add("ROOM_TYPE");
            dt.Columns.Add("CHECKIN_DATE");
            dt.Columns.Add("CHECKIN_DATE_VIEW");
            dt.Columns.Add("NIGHTS", typeof(decimal));
            dt.Columns.Add("MEMBER_NO");
            dt.Columns.Add("MEMBER_NAME");
            dt.Columns.Add("BALANCE", typeof(decimal));
            dt.Columns.Add("ROOM_AMT", typeof(decimal));
            dt.Columns.Add("TEL_AMT", typeof(decimal));
            dt.Columns.Add("ETC_AMT", typeof(decimal));
            dt.Columns.Add("ROOM_DEFER", typeof(decimal));
            dt.Columns.Add("IPGUM", typeof(decimal));
            dt.Columns.Add("RMRK");
            dt.Columns.Add("RSV_RMRK");

            GridStyle gs = new GridStyle(this.grid, this.gridView);

            gs.AddColumn("예정일자", "CHECKOUT_DATE", _ColumnType.Default, 80, _ColumnAlign.Center, false);
            gs.AddColumn("예정일자", "CHECKOUT_DATE_VIEW", _ColumnType.Default, 80, _ColumnAlign.Center, true);
            gs.AddColumn("객실번호", "ROOM_NO", _ColumnType.Default, 80, _ColumnAlign.Center, true);
            gs.AddColumn("투숙객명", "GUEST_NAME", _ColumnType.Default, 80, _ColumnAlign.Left, true);
            gs.AddColumn("연락처", "MOBILE_TEL", _ColumnType.Default, 80, _ColumnAlign.Center, true);
            gs.AddColumn("객실유형", "ROOM_TYPE", _ColumnType.Default, 80, _ColumnAlign.Center, true);
            gs.AddColumn("입실일자", "CHECKIN_DATE", _ColumnType.Default, 80, _ColumnAlign.Center, false);
            gs.AddColumn("입실일자", "CHECKIN_DATE_VIEW", _ColumnType.Default, 80, _ColumnAlign.Center, true);
            gs.AddColumn("박수", "NIGHTS", _ColumnType.Numbers, 40, _ColumnAlign.Right, true);
            gs.AddColumn("회원번호", "MEMBER_NO", _ColumnType.Default, 80, _ColumnAlign.Center, false);
            gs.AddColumn("우대구분 부가번호", "MEMBER_NAME", _ColumnType.Default, 80, _ColumnAlign.Center, false);
            gs.AddColumn("밸런스", "BALANCE", _ColumnType.Numbers, 100, _ColumnAlign.Right, true);
            gs.AddColumn("객실료", "ROOM_AMT", _ColumnType.Numbers, 100, _ColumnAlign.Right, true);
            gs.AddColumn("전화료", "TEL_AMT", _ColumnType.Numbers, 100, _ColumnAlign.Right, true);
            gs.AddColumn("기타", "ETC_AMT", _ColumnType.Numbers, 100, _ColumnAlign.Right, true);
            gs.AddColumn("룸후불", "ROOM_DEFER", _ColumnType.Numbers, 100, _ColumnAlign.Right, true);
            gs.AddColumn("입금", "IPGUM", _ColumnType.Numbers, 100, _ColumnAlign.Right, true);
            gs.AddColumn("투숙참고사항", "RMRK", _ColumnType.Default, 150, _ColumnAlign.Left, true);
            gs.AddColumn("예약참고사항", "RSV_RMRK", _ColumnType.Default, 150, _ColumnAlign.Left, true);

            Cls.Grid.Options.SelectedRow(this.gridView);
            Cls.Grid.Options.EmbeddedNavigater(this.grid);
            Cls.Grid.Options.FilterRow(this.gridView, true);
            Cls.Grid.Options.Footer(gridView, DevExpress.Data.SummaryItemType.Count, "ROOM_NO", "ROOM_NO", SummaryFormat.Count);
            Cls.Grid.Options.Footer(gridView, DevExpress.Data.SummaryItemType.Sum, "BALANCE", "BALANCE", SummaryFormat.Sum);
            Cls.Grid.Options.Footer(gridView, DevExpress.Data.SummaryItemType.Sum, "ROOM_AMT", "ROOM_AMT", SummaryFormat.Sum);
            Cls.Grid.Options.Footer(gridView, DevExpress.Data.SummaryItemType.Sum, "TEL_AMT", "TEL_AMT", SummaryFormat.Sum);
            Cls.Grid.Options.Footer(gridView, DevExpress.Data.SummaryItemType.Sum, "ETC_AMT", "ETC_AMT", SummaryFormat.Sum);
            Cls.Grid.Options.Footer(gridView, DevExpress.Data.SummaryItemType.Sum, "ROOM_DEFER", "ROOM_DEFER", SummaryFormat.Sum);
            Cls.Grid.Options.Footer(gridView, DevExpress.Data.SummaryItemType.Sum, "IPGUM", "IPGUM", SummaryFormat.Sum);
            this.grid.DataSource = dt;

            StyleFormatCondition condition = new DevExpress.XtraGrid.StyleFormatCondition();

            condition.Appearance.ForeColor = Color.Red;
            condition.Column     = this.gridView.Columns["BALANCE"];
            condition.ApplyToRow = false;
            condition.Appearance.Options.UseFont      = true;
            condition.Appearance.Options.UseForeColor = true;
            condition.Appearance.Font = new System.Drawing.Font("굴림체", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            condition.Condition       = FormatConditionEnum.Expression;
            condition.Expression      = "BALANCE >= 0";
            gridView.FormatConditions.Add(condition);
        }
        /// <summary>
        /// 根据列值条件设置行颜色
        /// </summary>
        /// <param name="color"></param>
        /// <param name="fieldName"></param>
        /// <param name="matchVlu"></param>
        private void SetRowBackColor(Color color, string fieldName, object matchVlu)
        {
            if (null == DefGridView) return;
            DevExpress.XtraGrid.Columns.GridColumn col = null;
            foreach (DevExpress.XtraGrid.Columns.GridColumn item in DefGridView.Columns)
            {
                if (string.Compare(fieldName, item.FieldName) == 0)
                {
                    col = item;
                    break;
                }
            }
            if (col == null) return;

            DevExpress.XtraGrid.StyleFormatCondition[] formats = new DevExpress.XtraGrid.StyleFormatCondition[1];
            DevExpress.XtraGrid.StyleFormatCondition format = new DevExpress.XtraGrid.StyleFormatCondition();
            format.Appearance.Options.UseBackColor = true;
            format.Appearance.BackColor = color;
            format.ApplyToRow = true;
            format.Column = col;
            format.Condition = DevExpress.XtraGrid.FormatConditionEnum.Equal;
            format.Value1 = matchVlu;
            formats[0] = format;
            DefGridView.FormatConditions.AddRange(formats);
        }
Example #17
0
        /****************************************/


        #endregion

        #region 사용자 정의함수

        #region 데이터 테이블을 정의합니다.
        /// <summary>
        /// 데이터 테이블을 정의합니다.
        /// </summary>
        private void SetDataTable()
        {
            try
            {
                dt.Columns.Add("CHK");
                dt.Columns.Add("SALE_DATE");
                dt.Columns.Add("AGREE_DATE");
                dt.Columns.Add("FACILITY_CODE");
                dt.Columns.Add("FACILITY_NAME");
                dt.Columns.Add("POS_NO");
                dt.Columns.Add("BILL_NO");
                dt.Columns.Add("SALE_YN");
                dt.Columns.Add("PAY_SEQ", typeof(decimal));
                dt.Columns.Add("SALE_AMT", typeof(decimal));
                dt.Columns.Add("CARD_NO");
                dt.Columns.Add("VALID_THRU_NAME");
                dt.Columns.Add("VALID_THRU");
                dt.Columns.Add("INSTALLMENT_CNT", typeof(decimal));
                dt.Columns.Add("AGREE_YN");
                dt.Columns.Add("AGREE_NO");
                dt.Columns.Add("ORG_AGREE_NO");
                dt.Columns.Add("AGREE_TIME");
                dt.Columns.Add("EASY_YN");
                dt.Columns.Add("CARD_CO_CODE");
                dt.Columns.Add("CARD_CO_NAME");
                dt.Columns.Add("ISSU_CO_CODE");
                dt.Columns.Add("ISSU_CO_NAME");
                dt.Columns.Add("CARD_JOIN_NO");
                dt.Columns.Add("KEYIN_YN");
                dt.Columns.Add("VAN_ID");
                dt.Columns.Add("COMPANY_ID");
                dt.Columns.Add("TRACK_TWO");
                dt.Columns.Add("KIND");
                dt.Columns.Add("SALE_AMT_ABS");

                Cls.Grid.GridStyle gs = new Cls.Grid.GridStyle(this.gridData, this.gridViewData);

                gs.AddColumn("청구선택", "CHK", _ColumnType.CheckBox, 80, _ColumnAlign.Center, true, true, DevExpress.Utils.DefaultBoolean.False);
                gs.AddColumn("영업일자", "SALE_DATE", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs.AddColumn("승인일자", "AGREE_DATE", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs.AddColumn("코드", "FACILITY_CODE", _ColumnType.Default, 40, _ColumnAlign.Center, true);
                gs.AddColumn("영업장명", "FACILITY_NAME", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs.AddColumn("이지체크", "EASY_YN", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs.AddColumn("카드번호", "CARD_NO", _ColumnType.Default, 80, _ColumnAlign.Center, true, true);
                gs.AddColumn("유효기간-YYMM", "VALID_THRU", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs.AddColumn("승인번호", "AGREE_NO", _ColumnType.Default, 80, _ColumnAlign.Center, true, true);
                gs.AddColumn("원승인번호", "ORG_AGREE_NO", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs.AddColumn("금액", "SALE_AMT", _ColumnType.Numbers, 60, _ColumnAlign.Right, true);
                gs.AddColumn("승인일시", "AGREE_TIME", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs.AddColumn("포스", "POS_NO", _ColumnType.Default, 40, _ColumnAlign.Center, true, false);
                gs.AddColumn("전표번호", "BILL_NO", _ColumnType.Default, 80, _ColumnAlign.Center, true, false);
                gs.AddColumn("판매", "SALE_YN", _ColumnType.Default, 40, _ColumnAlign.Center, true, false);
                gs.AddColumn("순번", "PAY_SEQ", _ColumnType.Numbers, 40, _ColumnAlign.Right, true, false);
                gs.AddColumn("할부기간", "INSTALLMENT_CNT", _ColumnType.Numbers, 80, _ColumnAlign.Right, true, false);
                gs.AddColumn("승인", "AGREE_YN", _ColumnType.Default, 40, _ColumnAlign.Center, true);

                gs.AddColumn("매입사", "CARD_CO_CODE", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs.AddColumn("매입사", "CARD_CO_NAME", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs.AddColumn("발급사", "ISSU_CO_CODE", _ColumnType.Default, 80, _ColumnAlign.Center, true, false);
                gs.AddColumn("발급사명", "ISSU_CO_NAME", _ColumnType.Default, 80, _ColumnAlign.Center, true, false);
                gs.AddColumn("키인", "KEYIN_YN", _ColumnType.Default, 40, _ColumnAlign.Center, true, false);
                gs.AddColumn("데이터구분", "KIND", _ColumnType.Default, 80, _ColumnAlign.Center, true);

                gs.AddColumn("유효기간", "VALID_THRU_NAME", _ColumnType.Default, 80, _ColumnAlign.Center, false);
                gs.AddColumn("가맹번호", "CARD_JOIN_NO", _ColumnType.Default, 80, _ColumnAlign.Center, false);
                gs.AddColumn("밴사업자번호", "VAN_ID", _ColumnType.Default, 80, _ColumnAlign.Center, false);
                gs.AddColumn("매입사사업자번호", "COMPANY_ID", _ColumnType.Default, 80, _ColumnAlign.Center, false);
                gs.AddColumn("트랙2정보", "TRACK_TWO", _ColumnType.Default, 80, _ColumnAlign.Center, false);

                this.gridViewData.OptionsView.ShowGroupPanel = true;
                //Cls.Grid.Options.SelectedRow(this.gridViewData);
                Cls.Grid.Options.EmbeddedNavigater(this.gridData);
                Cls.Grid.Options.FilterRow(this.gridViewData, true);
                Cls.Grid.Options.Footer(this.gridViewData, DevExpress.Data.SummaryItemType.Sum, "SALE_AMT", "SALE_AMT", SummaryFormat.Sum);
                this.gridData.DataSource = dt;
                this.gridViewData.OptionsSelection.EnableAppearanceFocusedCell = true;

                this.gridViewData.OptionsSelection.EnableAppearanceFocusedCell   = false;
                this.gridViewData.OptionsSelection.EnableAppearanceFocusedRow    = false;
                this.gridViewData.OptionsSelection.EnableAppearanceHideSelection = true;

                StyleFormatCondition condition2 = new DevExpress.XtraGrid.StyleFormatCondition();
                condition2.Column                          = gridViewData.Columns["AGREE_DATE"];
                condition2.ApplyToRow                      = true;
                condition2.Appearance.BackColor            = Color.Red;
                condition2.Appearance.Options.UseBackColor = true;
                condition2.Condition                       = FormatConditionEnum.Expression;
                condition2.Expression                      = "LEN(ISNULL(AGREE_DATE,'')) <> 10 "; //OR SUBSTRING(VALID_THRU, 3, 2) > 12
                gridViewData.FormatConditions.Add(condition2);


                StyleFormatCondition condition3 = new DevExpress.XtraGrid.StyleFormatCondition();
                condition3.Column                          = gridViewData.Columns["VALID_THRU"];
                condition3.ApplyToRow                      = true;
                condition3.Appearance.BackColor            = Color.Red;
                condition3.Appearance.Options.UseBackColor = true;
                condition3.Condition                       = FormatConditionEnum.Expression;
                condition3.Expression                      = "SUBSTRING(VALID_THRU, 3, 2) > 12 "; //OR
                gridViewData.FormatConditions.Add(condition3);


                StyleFormatCondition condition9 = new DevExpress.XtraGrid.StyleFormatCondition();
                condition9.Column                          = gridViewData.Columns["KIND"];
                condition9.ApplyToRow                      = true;
                condition9.Appearance.BackColor            = Color.LightBlue;
                condition9.Appearance.Options.UseBackColor = true;
                condition9.Condition                       = FormatConditionEnum.Expression;
                condition9.Expression                      = "KIND = '청구제외'"; //OR SUBSTRING(VALID_THRU, 3, 2) > 12
                gridViewData.FormatConditions.Add(condition9);



                ContextMenu popUpMenus;
                MenuItem    chkAlls;
                MenuItem    checkClears;
                MenuItem    checConvert;

                popUpMenus = new ContextMenu();
                popUpMenus.MenuItems.Add("전체선택", new EventHandler(popup_Res));
                popUpMenus.MenuItems.Add("전체해제", new EventHandler(popup_Res));
                popUpMenus.MenuItems.Add("선택반전", new EventHandler(popup_Res));


                this.gridData.ContextMenu = popUpMenus;

                chkAlls     = gridData.ContextMenu.MenuItems[0];
                checkClears = gridData.ContextMenu.MenuItems[1];
                checConvert = gridData.ContextMenu.MenuItems[2];
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Example #18
0
        /// <summary>
        /// 테이터 테이블을 설정합니다.
        /// </summary>
        private void SetDataTable()
        {
            try
            {
                dt.Columns.Add("FACILITY_CODE");
                dt.Columns.Add("FACI_PART");
                dt.Columns.Add("ROOM_NO");
                dt.Columns.Add("EXCLUSIVE_CODE");
                dt.Columns.Add("EXCLUSIVE_CODE_NAME");
                dt.Columns.Add("EXCLUSIVE_YN");
                dt.Columns.Add("ROOM_TYPE");
                dt.Columns.Add("ROOM_VIEW");
                dt.Columns.Add("INTERIOR_TYPE_NAME");
                dt.Columns.Add("CLEAN_STAT");
                dt.Columns.Add("ROOM_STAT_NAME");
                dt.Columns.Add("ROOM_BG_COLOR");
                dt.Columns.Add("ROOM_FG_COLOR");
                dt.Columns.Add("CLEAN_STAT_NAME");
                dt.Columns.Add("CLEAN_BG_COLOR");
                dt.Columns.Add("CLEAN_FG_COLOR");
                dt.Columns.Add("APP_DATE");
                dt.Columns.Add("MNG_NO");
                dt.Columns.Add("TEMP_GUEST_NAME");
                dt.Columns.Add("STD_CNT");
                dt.Columns.Add("ROOM_DESC");

                GridStyle gs = new GridStyle(this.grid, this.gridView);
                gs.AddColumn("객실번호", "ROOM_NO", _ColumnType.Default, 70, _ColumnAlign.Center, true);
                gs.AddColumn("객실유형", "ROOM_TYPE", _ColumnType.Default, 70, _ColumnAlign.Center, true);
                gs.AddColumn("인테리어타입", "INTERIOR_TYPE_NAME", _ColumnType.Default, 120, _ColumnAlign.Center, true);
                gs.AddColumn("객실상태", "ROOM_STAT_NAME", _ColumnType.Default, 70, _ColumnAlign.Center, true);
                gs.AddColumn("청소상태", "CLEAN_STAT_NAME", _ColumnType.Default, 70, _ColumnAlign.Center, true);
                gs.AddColumn("입실예정일", "APP_DATE", _ColumnType.Default, 90, _ColumnAlign.Center, true);
                gs.AddColumn("예약번호", "MNG_NO", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs.AddColumn("예약자명", "TEMP_GUEST_NAME", _ColumnType.Default, 120, _ColumnAlign.Center, true);
                gs.AddColumn("객실비고", "ROOM_DESC", _ColumnType.Default, 130, _ColumnAlign.Left, true);

                Cls.Grid.Options.SelectedRow(this.gridView);
                Cls.Grid.Options.EmbeddedNavigater(this.grid);
                Cls.Grid.Options.FilterRow(this.gridView, true);

                this.grid.DataSource = dt;

                StyleFormatCondition condition = new DevExpress.XtraGrid.StyleFormatCondition();
                condition.Column     = this.gridView.Columns["APP_DATE"];
                condition.ApplyToRow = true;
                condition.Appearance.Options.UseBackColor = true;
                condition.Appearance.BackColor            = Color.Red;
                condition.Condition  = FormatConditionEnum.Expression;
                condition.Expression = "LENGTH(APP_DATE) > 0";
                gridView.FormatConditions.Add(condition);



                SetGridStyle();
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Example #19
0
        /// <summary>
        /// 데이터 테이블을 정의 합니다호ㅓㅏㅣ
        /// </summary>
        private void SetDataTable()
        {
            dt.Columns.Add("FACILITY_NAME");
            dt.Columns.Add("CALN_DATE");
            dt.Columns.Add("DAYWEEK");
            dt.Columns.Add("ROOM_TYPE_NAME");
            dt.Columns.Add("USE_CNT", typeof(decimal));
            dt.Columns.Add("BLOCK_CNT", typeof(decimal));
            dt.Columns.Add("INVENTORY_CNT", typeof(decimal));
            dt.Columns.Add("DEFECT_CNT", typeof(decimal));
            dt.Columns.Add("STAY_CNT", typeof(decimal));
            dt.Columns.Add("STAY_TYPE_PLAN_CNT", typeof(decimal));
            dt.Columns.Add("IN_TYPE_PLAN_CNT", typeof(decimal));
            dt.Columns.Add("OUT_TYPE_PLAN_CNT", typeof(decimal));
            dt.Columns.Add("REMAIN_CNT", typeof(decimal));
            dt.Columns.Add("USE_RATE");
            dt.Columns.Add("TODAY_IN_CNT", typeof(decimal));
            dt.Columns.Add("TODAY_OUT_CNT", typeof(decimal));
            dt.Columns.Add("INT_USE_CNT", typeof(decimal));
            dt.Columns.Add("INT_RSV_CNT", typeof(decimal));

            GridStyle gs = new GridStyle(this.grid, this.gridView);

            gs.AddColumn("영업장", "FACILITY_NAME", _ColumnType.Default, 80, _ColumnAlign.Center, true);
            gs.AddColumn("일자", "CALN_DATE", _ColumnType.Default, 80, _ColumnAlign.Center, true);
            gs.AddColumn("요일", "DAYWEEK", _ColumnType.Default, 40, _ColumnAlign.Center, true);
            gs.AddColumn("객실유형", "ROOM_TYPE_NAME", _ColumnType.Default, 70, _ColumnAlign.Center, true);
            gs.AddColumn("총객실", "USE_CNT", _ColumnType.Numbers, 70, _ColumnAlign.Right, true);
            gs.AddColumn("블럭", "BLOCK_CNT", _ColumnType.Numbers, 70, _ColumnAlign.Right, true);
            gs.AddColumn("고장객실", "DEFECT_CNT", _ColumnType.Numbers, 70, _ColumnAlign.Right, true);
            gs.AddColumn("인벤토리", "INVENTORY_CNT", _ColumnType.Numbers, 70, _ColumnAlign.Right, true);
            gs.AddColumn("투숙", "STAY_CNT", _ColumnType.Numbers, 70, _ColumnAlign.Right, true);
            gs.AddColumn("투숙예정", "STAY_TYPE_PLAN_CNT", _ColumnType.Numbers, 70, _ColumnAlign.Right, true);
            gs.AddColumn("입실예정", "IN_TYPE_PLAN_CNT", _ColumnType.Numbers, 70, _ColumnAlign.Right, true);
            gs.AddColumn("퇴실예정", "OUT_TYPE_PLAN_CNT", _ColumnType.Numbers, 70, _ColumnAlign.Right, true);
            gs.AddColumn("잔여", "REMAIN_CNT", _ColumnType.Numbers, 70, _ColumnAlign.Right, true);
            gs.AddColumn("점유율(%)", "USE_RATE", _ColumnType.Default, 70, _ColumnAlign.Right, true);
            gs.AddColumn("당일입실", "TODAY_IN_CNT", _ColumnType.Numbers, 70, _ColumnAlign.Right, false);
            gs.AddColumn("당일퇴실", "TODAY_OUT_CNT", _ColumnType.Numbers, 70, _ColumnAlign.Right, false);
            gs.AddColumn("인터넷운영", "INT_USE_CNT", _ColumnType.Numbers, 110, _ColumnAlign.Right, false);
            gs.AddColumn("인터넷예약", "INT_RSV_CNT", _ColumnType.Numbers, 110, _ColumnAlign.Right, false);

            Cls.Grid.Options.SelectedRow(this.gridView);
            Cls.Grid.Options.EmbeddedNavigater(this.grid);
            Cls.Grid.Options.FilterRow(this.gridView, true);

            this.grid.DataSource = dt;

            //소계 색상지정
            StyleFormatCondition condition1 = new DevExpress.XtraGrid.StyleFormatCondition();

            condition1.Column                          = gridView.Columns["CALN_DATE_YOIL"];
            condition1.ApplyToRow                      = true;
            condition1.Appearance.BackColor            = Parm.mColor.SUM_PART_TOT;
            condition1.Appearance.Options.UseBackColor = true;
            condition1.Condition                       = FormatConditionEnum.Expression;
            condition1.Expression                      = "DAYWEEK Like '%소계%'";
            gridView.FormatConditions.Add(condition1);

            //총계 색상지정
            StyleFormatCondition condition2 = new DevExpress.XtraGrid.StyleFormatCondition();

            condition2.Column                          = gridView.Columns["CALN_DATE_YOIL"];
            condition2.ApplyToRow                      = true;
            condition2.Appearance.BackColor            = Parm.mColor.SUM_TOT;
            condition2.Appearance.Options.UseBackColor = true;
            condition2.Condition                       = FormatConditionEnum.Expression;
            condition2.Expression                      = "DAYWEEK Like '%총계%'";
            gridView.FormatConditions.Add(condition2);

            //잔여 색상지정
            gridView.Columns["REMAIN_CNT"].AppearanceCell.BackColor = Color.LightSkyBlue;
        }
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition1 = new DevExpress.XtraGrid.StyleFormatCondition();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UserProfiles));
            this.panel1 = new System.Windows.Forms.Panel();
            this.checkEdit5 = new DevExpress.XtraEditors.CheckEdit();
            this.barManager1 = new DevExpress.XtraBars.BarManager(this.components);
            this.bar2 = new DevExpress.XtraBars.Bar();
            this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem();
            this.bar4 = new DevExpress.XtraBars.Bar();
            this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem4 = 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.barCheckItem1 = new DevExpress.XtraBars.BarCheckItem();
            this.checkEdit4 = new DevExpress.XtraEditors.CheckEdit();
            this.checkEdit3 = new DevExpress.XtraEditors.CheckEdit();
            this.checkEdit2 = new DevExpress.XtraEditors.CheckEdit();
            this.checkEdit1 = new DevExpress.XtraEditors.CheckEdit();
            this.lookUpEdit1 = new DevExpress.XtraEditors.LookUpEdit();
            this.pROFILENAMEMASTBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.dsMaster1 = new VIRETAILENTITIES.DsMaster();
            this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
            this.gridControl1 = new DevExpress.XtraGrid.GridControl();
            this.mENUNEWBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.colMENUID = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colMENUNAME = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colPARENTID = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colIMGIND = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colMPARENTID = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colDESCP = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colSEL = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colISLARGE = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colBGIMGINDX = new DevExpress.XtraGrid.Columns.GridColumn();
            this.bar3 = new DevExpress.XtraBars.Bar();
            this.panel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit5.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit4.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit3.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit2.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit1.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.lookUpEdit1.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pROFILENAMEMASTBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dsMaster1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.mENUNEWBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
            this.SuspendLayout();
            // 
            // panel1
            // 
            this.panel1.Controls.Add(this.checkEdit5);
            this.panel1.Controls.Add(this.checkEdit4);
            this.panel1.Controls.Add(this.checkEdit3);
            this.panel1.Controls.Add(this.checkEdit2);
            this.panel1.Controls.Add(this.checkEdit1);
            this.panel1.Controls.Add(this.lookUpEdit1);
            this.panel1.Controls.Add(this.labelControl1);
            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
            this.panel1.Location = new System.Drawing.Point(0, 26);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(709, 62);
            this.panel1.TabIndex = 0;
            // 
            // checkEdit5
            // 
            this.checkEdit5.EditValue = true;
            this.checkEdit5.Location = new System.Drawing.Point(385, 37);
            this.checkEdit5.MenuManager = this.barManager1;
            this.checkEdit5.Name = "checkEdit5";
            this.checkEdit5.Properties.Appearance.BackColor = System.Drawing.Color.Gray;
            this.checkEdit5.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.checkEdit5.Properties.Appearance.ForeColor = System.Drawing.Color.White;
            this.checkEdit5.Properties.Appearance.Options.UseBackColor = true;
            this.checkEdit5.Properties.Appearance.Options.UseFont = true;
            this.checkEdit5.Properties.Appearance.Options.UseForeColor = true;
            this.checkEdit5.Properties.Caption = "Communication";
            this.checkEdit5.Size = new System.Drawing.Size(127, 19);
            this.checkEdit5.TabIndex = 6;
            this.checkEdit5.CheckedChanged += new System.EventHandler(this.checkEdit5_CheckedChanged);
            // 
            // barManager1
            // 
            this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
            this.bar2,
            this.bar4});
            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.barButtonItem1,
            this.barButtonItem2,
            this.barCheckItem1,
            this.barButtonItem3,
            this.barButtonItem4});
            this.barManager1.MainMenu = this.bar2;
            this.barManager1.MaxItemId = 6;
            this.barManager1.StatusBar = this.bar4;
            // 
            // bar2
            // 
            this.bar2.BarName = "Main menu";
            this.bar2.DockCol = 0;
            this.bar2.DockRow = 0;
            this.bar2.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
            this.bar2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem1, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem2, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph)});
            this.bar2.OptionsBar.DrawBorder = false;
            this.bar2.OptionsBar.DrawDragBorder = false;
            this.bar2.OptionsBar.UseWholeRow = true;
            this.bar2.Text = "Main menu";
            // 
            // barButtonItem1
            // 
            this.barButtonItem1.Caption = "Save";
            this.barButtonItem1.Glyph = global::Store.Properties.Resources.Save16;
            this.barButtonItem1.Id = 0;
            this.barButtonItem1.Name = "barButtonItem1";
            this.barButtonItem1.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem1_ItemClick);
            // 
            // barButtonItem2
            // 
            this.barButtonItem2.Caption = "Close";
            this.barButtonItem2.Glyph = global::Store.Properties.Resources.Delete16;
            this.barButtonItem2.Id = 1;
            this.barButtonItem2.Name = "barButtonItem2";
            // 
            // bar4
            // 
            this.bar4.BarName = "Status bar";
            this.bar4.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Bottom;
            this.bar4.DockCol = 0;
            this.bar4.DockRow = 0;
            this.bar4.DockStyle = DevExpress.XtraBars.BarDockStyle.Bottom;
            this.bar4.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem3, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem4, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph)});
            this.bar4.OptionsBar.AllowQuickCustomization = false;
            this.bar4.OptionsBar.DrawDragBorder = false;
            this.bar4.OptionsBar.UseWholeRow = true;
            this.bar4.Text = "Status bar";
            // 
            // barButtonItem3
            // 
            this.barButtonItem3.Caption = "Check all";
            this.barButtonItem3.Glyph = global::Store.Properties.Resources.tickwhite;
            this.barButtonItem3.Id = 4;
            this.barButtonItem3.Name = "barButtonItem3";
            this.barButtonItem3.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem3_ItemClick);
            // 
            // barButtonItem4
            // 
            this.barButtonItem4.Caption = "Un Check";
            this.barButtonItem4.Glyph = global::Store.Properties.Resources.grayball;
            this.barButtonItem4.Id = 5;
            this.barButtonItem4.Name = "barButtonItem4";
            this.barButtonItem4.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem4_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(709, 26);
            // 
            // barDockControlBottom
            // 
            this.barDockControlBottom.CausesValidation = false;
            this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.barDockControlBottom.Location = new System.Drawing.Point(0, 468);
            this.barDockControlBottom.Size = new System.Drawing.Size(709, 27);
            // 
            // barDockControlLeft
            // 
            this.barDockControlLeft.CausesValidation = false;
            this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
            this.barDockControlLeft.Location = new System.Drawing.Point(0, 26);
            this.barDockControlLeft.Size = new System.Drawing.Size(0, 442);
            // 
            // barDockControlRight
            // 
            this.barDockControlRight.CausesValidation = false;
            this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
            this.barDockControlRight.Location = new System.Drawing.Point(709, 26);
            this.barDockControlRight.Size = new System.Drawing.Size(0, 442);
            // 
            // barCheckItem1
            // 
            this.barCheckItem1.Caption = "barCheckItem1";
            this.barCheckItem1.Id = 2;
            this.barCheckItem1.Name = "barCheckItem1";
            // 
            // checkEdit4
            // 
            this.checkEdit4.EditValue = true;
            this.checkEdit4.Location = new System.Drawing.Point(518, 37);
            this.checkEdit4.MenuManager = this.barManager1;
            this.checkEdit4.Name = "checkEdit4";
            this.checkEdit4.Properties.Appearance.BackColor = System.Drawing.Color.DarkRed;
            this.checkEdit4.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.checkEdit4.Properties.Appearance.ForeColor = System.Drawing.Color.White;
            this.checkEdit4.Properties.Appearance.Options.UseBackColor = true;
            this.checkEdit4.Properties.Appearance.Options.UseFont = true;
            this.checkEdit4.Properties.Appearance.Options.UseForeColor = true;
            this.checkEdit4.Properties.Caption = "Admintration";
            this.checkEdit4.Size = new System.Drawing.Size(110, 19);
            this.checkEdit4.TabIndex = 5;
            this.checkEdit4.CheckedChanged += new System.EventHandler(this.checkEdit4_CheckedChanged);
            // 
            // checkEdit3
            // 
            this.checkEdit3.EditValue = true;
            this.checkEdit3.Location = new System.Drawing.Point(278, 37);
            this.checkEdit3.MenuManager = this.barManager1;
            this.checkEdit3.Name = "checkEdit3";
            this.checkEdit3.Properties.Appearance.BackColor = System.Drawing.Color.RoyalBlue;
            this.checkEdit3.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.checkEdit3.Properties.Appearance.ForeColor = System.Drawing.Color.White;
            this.checkEdit3.Properties.Appearance.Options.UseBackColor = true;
            this.checkEdit3.Properties.Appearance.Options.UseFont = true;
            this.checkEdit3.Properties.Appearance.Options.UseForeColor = true;
            this.checkEdit3.Properties.Caption = "Inventory";
            this.checkEdit3.Size = new System.Drawing.Size(101, 19);
            this.checkEdit3.TabIndex = 4;
            this.checkEdit3.CheckedChanged += new System.EventHandler(this.checkEdit3_CheckedChanged);
            // 
            // checkEdit2
            // 
            this.checkEdit2.EditValue = true;
            this.checkEdit2.Location = new System.Drawing.Point(200, 37);
            this.checkEdit2.MenuManager = this.barManager1;
            this.checkEdit2.Name = "checkEdit2";
            this.checkEdit2.Properties.Appearance.BackColor = System.Drawing.Color.Teal;
            this.checkEdit2.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.checkEdit2.Properties.Appearance.ForeColor = System.Drawing.Color.White;
            this.checkEdit2.Properties.Appearance.Options.UseBackColor = true;
            this.checkEdit2.Properties.Appearance.Options.UseFont = true;
            this.checkEdit2.Properties.Appearance.Options.UseForeColor = true;
            this.checkEdit2.Properties.Caption = "Sales";
            this.checkEdit2.Size = new System.Drawing.Size(72, 19);
            this.checkEdit2.TabIndex = 3;
            this.checkEdit2.CheckedChanged += new System.EventHandler(this.checkEdit2_CheckedChanged);
            // 
            // checkEdit1
            // 
            this.checkEdit1.EditValue = true;
            this.checkEdit1.Location = new System.Drawing.Point(96, 37);
            this.checkEdit1.MenuManager = this.barManager1;
            this.checkEdit1.Name = "checkEdit1";
            this.checkEdit1.Properties.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
            this.checkEdit1.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.checkEdit1.Properties.Appearance.ForeColor = System.Drawing.Color.White;
            this.checkEdit1.Properties.Appearance.Options.UseBackColor = true;
            this.checkEdit1.Properties.Appearance.Options.UseFont = true;
            this.checkEdit1.Properties.Appearance.Options.UseForeColor = true;
            this.checkEdit1.Properties.Caption = "Purchasing";
            this.checkEdit1.Size = new System.Drawing.Size(98, 19);
            this.checkEdit1.TabIndex = 2;
            this.checkEdit1.CheckedChanged += new System.EventHandler(this.checkEdit1_CheckedChanged);
            // 
            // lookUpEdit1
            // 
            this.lookUpEdit1.Location = new System.Drawing.Point(236, 7);
            this.lookUpEdit1.Name = "lookUpEdit1";
            this.lookUpEdit1.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lookUpEdit1.Properties.Appearance.Options.UseFont = true;
            this.lookUpEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.lookUpEdit1.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("PROFILEID", "PROFILEID", 5, DevExpress.Utils.FormatType.Numeric, "", false, DevExpress.Utils.HorzAlignment.Far),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("PROFILENAME", "PROFILENAME", 5, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near)});
            this.lookUpEdit1.Properties.DataSource = this.pROFILENAMEMASTBindingSource;
            this.lookUpEdit1.Properties.DisplayMember = "PROFILENAME";
            this.lookUpEdit1.Properties.NullText = "";
            this.lookUpEdit1.Properties.ShowFooter = false;
            this.lookUpEdit1.Properties.ShowHeader = false;
            this.lookUpEdit1.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
            this.lookUpEdit1.Properties.ValueMember = "PROFILEID";
            this.lookUpEdit1.Size = new System.Drawing.Size(303, 20);
            this.lookUpEdit1.TabIndex = 1;
            this.lookUpEdit1.ProcessNewValue += new DevExpress.XtraEditors.Controls.ProcessNewValueEventHandler(this.lookUpEdit1_ProcessNewValue);
            this.lookUpEdit1.EditValueChanged += new System.EventHandler(this.LookUpEdit1EditValueChanged);
            // 
            // pROFILENAMEMASTBindingSource
            // 
            this.pROFILENAMEMASTBindingSource.DataMember = "PROFILENAMEMAST";
            this.pROFILENAMEMASTBindingSource.DataSource = this.dsMaster1;
            // 
            // dsMaster1
            // 
            this.dsMaster1.DataSetName = "DsMaster";
            this.dsMaster1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            // 
            // labelControl1
            // 
            this.labelControl1.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.labelControl1.Location = new System.Drawing.Point(156, 9);
            this.labelControl1.Name = "labelControl1";
            this.labelControl1.Size = new System.Drawing.Size(75, 14);
            this.labelControl1.TabIndex = 0;
            this.labelControl1.Text = "Profile name: ";
            // 
            // gridControl1
            // 
            this.gridControl1.DataSource = this.mENUNEWBindingSource;
            this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gridControl1.Location = new System.Drawing.Point(0, 88);
            this.gridControl1.MainView = this.gridView1;
            this.gridControl1.Name = "gridControl1";
            this.gridControl1.Size = new System.Drawing.Size(709, 380);
            this.gridControl1.TabIndex = 10;
            this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gridView1});
            // 
            // mENUNEWBindingSource
            // 
            this.mENUNEWBindingSource.DataMember = "MENUNEW";
            this.mENUNEWBindingSource.DataSource = this.dsMaster1;
            // 
            // gridView1
            // 
            this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.colMENUID,
            this.colMENUNAME,
            this.colPARENTID,
            this.colIMGIND,
            this.colMPARENTID,
            this.colDESCP,
            this.colSEL,
            this.colISLARGE,
            this.colBGIMGINDX});
            styleFormatCondition1.Appearance.BackColor = System.Drawing.Color.Gainsboro;
            styleFormatCondition1.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            styleFormatCondition1.Appearance.Options.UseBackColor = true;
            styleFormatCondition1.Appearance.Options.UseFont = true;
            styleFormatCondition1.ApplyToRow = true;
            styleFormatCondition1.Value1 = "0";
            this.gridView1.FormatConditions.AddRange(new DevExpress.XtraGrid.StyleFormatCondition[] {
            styleFormatCondition1});
            this.gridView1.GridControl = this.gridControl1;
            this.gridView1.Name = "gridView1";
            this.gridView1.OptionsView.ShowGroupPanel = false;
            // 
            // colMENUID
            // 
            this.colMENUID.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colMENUID.AppearanceCell.Options.UseFont = true;
            this.colMENUID.AppearanceCell.Options.UseTextOptions = true;
            this.colMENUID.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colMENUID.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colMENUID.AppearanceHeader.Options.UseFont = true;
            this.colMENUID.AppearanceHeader.Options.UseTextOptions = true;
            this.colMENUID.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colMENUID.FieldName = "MENUID";
            this.colMENUID.Name = "colMENUID";
            // 
            // colMENUNAME
            // 
            this.colMENUNAME.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colMENUNAME.AppearanceCell.Options.UseFont = true;
            this.colMENUNAME.AppearanceCell.Options.UseTextOptions = true;
            this.colMENUNAME.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colMENUNAME.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colMENUNAME.AppearanceHeader.Options.UseFont = true;
            this.colMENUNAME.AppearanceHeader.Options.UseTextOptions = true;
            this.colMENUNAME.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colMENUNAME.Caption = "Menu name";
            this.colMENUNAME.FieldName = "MENUNAME";
            this.colMENUNAME.Name = "colMENUNAME";
            this.colMENUNAME.Visible = true;
            this.colMENUNAME.VisibleIndex = 1;
            this.colMENUNAME.Width = 656;
            // 
            // colPARENTID
            // 
            this.colPARENTID.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colPARENTID.AppearanceCell.Options.UseFont = true;
            this.colPARENTID.AppearanceCell.Options.UseTextOptions = true;
            this.colPARENTID.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colPARENTID.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colPARENTID.AppearanceHeader.Options.UseFont = true;
            this.colPARENTID.AppearanceHeader.Options.UseTextOptions = true;
            this.colPARENTID.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colPARENTID.FieldName = "PARENTID";
            this.colPARENTID.Name = "colPARENTID";
            // 
            // colIMGIND
            // 
            this.colIMGIND.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colIMGIND.AppearanceCell.Options.UseFont = true;
            this.colIMGIND.AppearanceCell.Options.UseTextOptions = true;
            this.colIMGIND.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colIMGIND.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colIMGIND.AppearanceHeader.Options.UseFont = true;
            this.colIMGIND.AppearanceHeader.Options.UseTextOptions = true;
            this.colIMGIND.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colIMGIND.FieldName = "IMGIND";
            this.colIMGIND.Name = "colIMGIND";
            // 
            // colMPARENTID
            // 
            this.colMPARENTID.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colMPARENTID.AppearanceCell.Options.UseFont = true;
            this.colMPARENTID.AppearanceCell.Options.UseTextOptions = true;
            this.colMPARENTID.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colMPARENTID.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colMPARENTID.AppearanceHeader.Options.UseFont = true;
            this.colMPARENTID.AppearanceHeader.Options.UseTextOptions = true;
            this.colMPARENTID.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colMPARENTID.FieldName = "MPARENTID";
            this.colMPARENTID.Name = "colMPARENTID";
            // 
            // colDESCP
            // 
            this.colDESCP.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colDESCP.AppearanceCell.Options.UseFont = true;
            this.colDESCP.AppearanceCell.Options.UseTextOptions = true;
            this.colDESCP.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colDESCP.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colDESCP.AppearanceHeader.Options.UseFont = true;
            this.colDESCP.AppearanceHeader.Options.UseTextOptions = true;
            this.colDESCP.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colDESCP.FieldName = "DESCP";
            this.colDESCP.Name = "colDESCP";
            // 
            // colSEL
            // 
            this.colSEL.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSEL.AppearanceCell.Options.UseFont = true;
            this.colSEL.AppearanceCell.Options.UseTextOptions = true;
            this.colSEL.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSEL.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSEL.AppearanceHeader.Options.UseFont = true;
            this.colSEL.AppearanceHeader.Options.UseTextOptions = true;
            this.colSEL.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSEL.FieldName = "SEL";
            this.colSEL.Name = "colSEL";
            this.colSEL.OptionsColumn.ShowCaption = false;
            this.colSEL.Visible = true;
            this.colSEL.VisibleIndex = 0;
            this.colSEL.Width = 35;
            // 
            // colISLARGE
            // 
            this.colISLARGE.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colISLARGE.AppearanceCell.Options.UseFont = true;
            this.colISLARGE.AppearanceCell.Options.UseTextOptions = true;
            this.colISLARGE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colISLARGE.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colISLARGE.AppearanceHeader.Options.UseFont = true;
            this.colISLARGE.AppearanceHeader.Options.UseTextOptions = true;
            this.colISLARGE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colISLARGE.FieldName = "ISLARGE";
            this.colISLARGE.Name = "colISLARGE";
            // 
            // colBGIMGINDX
            // 
            this.colBGIMGINDX.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colBGIMGINDX.AppearanceCell.Options.UseFont = true;
            this.colBGIMGINDX.AppearanceCell.Options.UseTextOptions = true;
            this.colBGIMGINDX.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colBGIMGINDX.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colBGIMGINDX.AppearanceHeader.Options.UseFont = true;
            this.colBGIMGINDX.AppearanceHeader.Options.UseTextOptions = true;
            this.colBGIMGINDX.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colBGIMGINDX.FieldName = "BGIMGINDX";
            this.colBGIMGINDX.Name = "colBGIMGINDX";
            // 
            // bar3
            // 
            this.bar3.BarName = "Status bar";
            this.bar3.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Bottom;
            this.bar3.DockCol = 0;
            this.bar3.DockRow = 0;
            this.bar3.DockStyle = DevExpress.XtraBars.BarDockStyle.Bottom;
            this.bar3.OptionsBar.AllowQuickCustomization = false;
            this.bar3.OptionsBar.DrawDragBorder = false;
            this.bar3.OptionsBar.UseWholeRow = true;
            this.bar3.Text = "Status bar";
            // 
            // UserProfiles
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(709, 495);
            this.Controls.Add(this.gridControl1);
            this.Controls.Add(this.panel1);
            this.Controls.Add(this.barDockControlLeft);
            this.Controls.Add(this.barDockControlRight);
            this.Controls.Add(this.barDockControlBottom);
            this.Controls.Add(this.barDockControlTop);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "UserProfiles";
            this.Text = "Profiles";
            this.Load += new System.EventHandler(this.UserProfiles_Load);
            this.panel1.ResumeLayout(false);
            this.panel1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit5.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit4.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit3.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit2.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit1.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.lookUpEdit1.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pROFILENAMEMASTBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dsMaster1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mENUNEWBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
            this.ResumeLayout(false);

        }
Example #21
0
        /// <summary>
        /// 데이터 테이블을 정의합니다.
        /// </summary>
        private void SetDataTable()
        {
            try
            {
                dtMaster.Columns.Add("BIZ_CODE");
                dtMaster.Columns.Add("REG_DATE");
                dtMaster.Columns.Add("REG_SEQ", typeof(decimal));
                dtMaster.Columns.Add("CARD_CO_CODE");
                dtMaster.Columns.Add("CARD_CO_CODE_NAME");
                dtMaster.Columns.Add("FILE_MAKE_DATE");
                dtMaster.Columns.Add("CHARGE_DATE");
                dtMaster.Columns.Add("CARD_REG_DATE");
                dtMaster.Columns.Add("TOT_CNT", typeof(decimal));
                dtMaster.Columns.Add("TOT_AMT", typeof(decimal));
                dtMaster.Columns.Add("RETURN_CNT", typeof(decimal));
                dtMaster.Columns.Add("RETURN_AMT", typeof(decimal));
                dtMaster.Columns.Add("WAIT_CNT", typeof(decimal));
                dtMaster.Columns.Add("WAIT_AMT", typeof(decimal));
                dtMaster.Columns.Add("WIAT_COMPLATE_CNT", typeof(decimal));
                dtMaster.Columns.Add("WAIT_COMPLATE_AMT", typeof(decimal));
                dtMaster.Columns.Add("SUM_TOT_CNT", typeof(decimal));
                dtMaster.Columns.Add("SUM_TOT_AMT", typeof(decimal));
                dtMaster.Columns.Add("CHARGE_AMT", typeof(decimal));
                dtMaster.Columns.Add("IN_AMOUNT", typeof(decimal));
                dtMaster.Columns.Add("ACCOUNT_NUMBER");
                dtMaster.Columns.Add("MEMO");
                dtMaster.Columns.Add("U_EMP_NO");
                dtMaster.Columns.Add("U_DATE");
                dtMaster.Columns.Add("U_IP");
                dtMaster.Columns.Add("CONTRACT_NUMBER");
                dtMaster.Columns.Add("VAN_NAME");

                Cls.Grid.GridStyle gs = new Cls.Grid.GridStyle(this.gridMaster, this.gridViewMaster);

                gs.AddColumn("청구일자", "REG_DATE", _ColumnType.Default, 90, _ColumnAlign.Center, true);
                gs.AddColumn("VAN", "VAN_NAME", _ColumnType.Default, 90, _ColumnAlign.Center, true);
                gs.AddColumn("가맹점번호", "CONTRACT_NUMBER", _ColumnType.Default, 90, _ColumnAlign.Center, true);
                gs.AddColumn("매입사명", "CARD_CO_CODE_NAME", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs.AddColumn("코드", "CARD_CO_CODE", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs.AddColumn("지급예정일", "CHARGE_DATE", _ColumnType.Default, 90, _ColumnAlign.Center, true);

                gs.AddColumn("청구건수", "TOT_CNT", _ColumnType.Numbers, 80, _ColumnAlign.Right, true);
                gs.AddColumn("청구접수금액", "TOT_AMT", _ColumnType.Numbers, 100, _ColumnAlign.Right, true);
                gs.AddColumn("반송건수", "RETURN_CNT", _ColumnType.Numbers, 80, _ColumnAlign.Right, true);
                gs.AddColumn("반송접수금액", "RETURN_AMT", _ColumnType.Numbers, 100, _ColumnAlign.Right, true);
                gs.AddColumn("보류건수", "WAIT_CNT", _ColumnType.Numbers, 80, _ColumnAlign.Right, true);
                gs.AddColumn("보류접수금액", "WAIT_AMT", _ColumnType.Numbers, 100, _ColumnAlign.Right, true);
                gs.AddColumn("보류해제건수", "WIAT_COMPLATE_CNT", _ColumnType.Numbers, 100, _ColumnAlign.Right, true);
                gs.AddColumn("보류해제금액", "WAIT_COMPLATE_AMT", _ColumnType.Numbers, 120, _ColumnAlign.Right, true);
                gs.AddColumn("합계건수", "SUM_TOT_CNT", _ColumnType.Numbers, 80, _ColumnAlign.Right, true);
                gs.AddColumn("합계접수금액", "SUM_TOT_AMT", _ColumnType.Numbers, 100, _ColumnAlign.Right, true);
                //합계건수 = 접수건수 - 반송건수 - 보류건수 + 보류해제건수
                //합계금액 = 접수금액 - 반송금액 - 보류금액 + 보류해제금액
                gs.AddColumn("수수료합계", "CHARGE_AMT", _ColumnType.Numbers, 90, _ColumnAlign.Right, true);
                gs.AddColumn("입금액  ", "IN_AMOUNT", _ColumnType.Numbers, 80, _ColumnAlign.Right, true);
                //입금액 = 합계금액 - 수수료합계
                gs.AddColumn("결제계좌번호", "ACCOUNT_NUMBER", _ColumnType.Default, 100, _ColumnAlign.Center, true);


                Cls.Grid.Options.Footer(this.gridViewMaster, DevExpress.Data.SummaryItemType.Sum, "TOT_CNT", "TOT_CNT", SummaryFormat.Sum);
                Cls.Grid.Options.Footer(this.gridViewMaster, DevExpress.Data.SummaryItemType.Sum, "TOT_AMT", "TOT_AMT", SummaryFormat.Sum);
                Cls.Grid.Options.Footer(this.gridViewMaster, DevExpress.Data.SummaryItemType.Sum, "RETURN_CNT", "RETURN_CNT", SummaryFormat.Sum);
                Cls.Grid.Options.Footer(this.gridViewMaster, DevExpress.Data.SummaryItemType.Sum, "RETURN_AMT", "RETURN_AMT", SummaryFormat.Sum);
                Cls.Grid.Options.Footer(this.gridViewMaster, DevExpress.Data.SummaryItemType.Sum, "WAIT_CNT", "WAIT_CNT", SummaryFormat.Sum);
                Cls.Grid.Options.Footer(this.gridViewMaster, DevExpress.Data.SummaryItemType.Sum, "WAIT_AMT", "WAIT_AMT", SummaryFormat.Sum);
                Cls.Grid.Options.Footer(this.gridViewMaster, DevExpress.Data.SummaryItemType.Sum, "WIAT_COMPLATE_CNT", "WIAT_COMPLATE_CNT", SummaryFormat.Sum);
                Cls.Grid.Options.Footer(this.gridViewMaster, DevExpress.Data.SummaryItemType.Sum, "WAIT_COMPLATE_AMT", "WAIT_COMPLATE_AMT", SummaryFormat.Sum);
                Cls.Grid.Options.Footer(this.gridViewMaster, DevExpress.Data.SummaryItemType.Sum, "SUM_TOT_CNT", "SUM_TOT_CNT", SummaryFormat.Sum);
                Cls.Grid.Options.Footer(this.gridViewMaster, DevExpress.Data.SummaryItemType.Sum, "SUM_TOT_AMT", "SUM_TOT_AMT", SummaryFormat.Sum);
                Cls.Grid.Options.Footer(this.gridViewMaster, DevExpress.Data.SummaryItemType.Sum, "CHARGE_AMT", "CHARGE_AMT", SummaryFormat.Sum);
                Cls.Grid.Options.Footer(this.gridViewMaster, DevExpress.Data.SummaryItemType.Sum, "IN_AMOUNT", "IN_AMOUNT", SummaryFormat.Sum);

                Cls.Grid.Options.FixedColumn(this.gridViewMaster, new string[] { "IN_AMOUNT", "CHARGE_AMT", "SUM_TOT_AMT" }, PositionStyle.Right);

                //Cls.Grid.Options.SelectedRow(this.gridViewData);
                Cls.Grid.Options.EmbeddedNavigater(this.gridMaster);
                //Cls.Grid.Options.FilterRow(this.gridViewMaster, true);

                this.gridViewMaster.OptionsSelection.EnableAppearanceFocusedCell   = false;
                this.gridViewMaster.OptionsSelection.EnableAppearanceFocusedRow    = false;
                this.gridViewMaster.OptionsSelection.EnableAppearanceHideSelection = true;


                Cls.Grid.Options.SetColumnColor(this.gridViewMaster, StyleFormatConditionType.Column,
                                                gridViewMaster.Columns["IN_AMOUNT"], DevExpress.XtraGrid.FormatConditionEnum.GreaterOrEqual,
                                                Color.LightBlue, null);

                Cls.Grid.Options.SetColumnColor(this.gridViewMaster, StyleFormatConditionType.Column,
                                                gridViewMaster.Columns["CHARGE_AMT"], DevExpress.XtraGrid.FormatConditionEnum.GreaterOrEqual,
                                                Color.Pink, null);

                Cls.Grid.Options.SetColumnColor(this.gridViewMaster, StyleFormatConditionType.Column,
                                                gridViewMaster.Columns["SUM_TOT_AMT"], DevExpress.XtraGrid.FormatConditionEnum.GreaterOrEqual,
                                                Color.Pink, null);


                Cls.Grid.Options.SetColumnColor(this.gridViewMaster, StyleFormatConditionType.Column,
                                                gridViewMaster.Columns["CHARGE_DATE"], DevExpress.XtraGrid.FormatConditionEnum.GreaterOrEqual,
                                                Color.Pink, null);



                dtDetail.Columns.Add("BIZ_CODE");
                dtDetail.Columns.Add("REG_DATE");
                dtDetail.Columns.Add("REG_SEQ", typeof(decimal));
                dtDetail.Columns.Add("CARD_CO_CODE");
                dtDetail.Columns.Add("CARD_CO_CODE_NAME");
                dtDetail.Columns.Add("SALE_DATE");
                dtDetail.Columns.Add("FACILITY_CODE");
                dtDetail.Columns.Add("FACILITY_NAME");
                dtDetail.Columns.Add("POS_NO");
                dtDetail.Columns.Add("BILL_NO");
                dtDetail.Columns.Add("SALE_YN");
                dtDetail.Columns.Add("PAY_SEQ", typeof(decimal));
                dtDetail.Columns.Add("EDI_SALE_DATE");
                dtDetail.Columns.Add("EDI_REG_DATE");
                dtDetail.Columns.Add("EDI_CARD_NO");
                dtDetail.Columns.Add("EDI_INSTALLMENT_CNT", typeof(decimal));
                dtDetail.Columns.Add("EDI_SALE_AMT", typeof(decimal));
                dtDetail.Columns.Add("EDI_POS_NO");
                dtDetail.Columns.Add("CARD_RETURN_CODE");
                dtDetail.Columns.Add("CARD_RETURN_CODE_NAME");
                dtDetail.Columns.Add("VAN_RETURN_CODE");
                dtDetail.Columns.Add("ID_NO");
                dtDetail.Columns.Add("NAME_KOR");
                dtDetail.Columns.Add("NAME_ENG");
                dtDetail.Columns.Add("CUST_INFO");
                dtDetail.Columns.Add("MEMO");
                dtDetail.Columns.Add("U_EMP_NO");
                dtDetail.Columns.Add("U_DATE");
                dtDetail.Columns.Add("U_IP");
                dtDetail.Columns.Add("CONTRACT_NUMBER");
                dtDetail.Columns.Add("VAN_NAME");


                Cls.Grid.GridStyle gs1 = new Cls.Grid.GridStyle(this.gridDetail, this.gridViewDetail);

                gs1.AddColumn("매출일자", "SALE_DATE", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs1.AddColumn("VAN", "VAN_NAME", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs1.AddColumn("가맹점번호", "CONTRACT_NUMBER", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs1.AddColumn("업장코드", "FACILITY_CODE", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs1.AddColumn("업장이름", "FACILITY_NAME", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs1.AddColumn("POS", "POS_NO", _ColumnType.Default, 40, _ColumnAlign.Center, true);
                gs1.AddColumn("BILL", "BILL_NO", _ColumnType.Default, 40, _ColumnAlign.Center, true);
                gs1.AddColumn("판매구분", "SALE_YN", _ColumnType.Default, 40, _ColumnAlign.Center, true);
                gs1.AddColumn("순번", "PAY_SEQ", _ColumnType.Default, 40, _ColumnAlign.Center, true);
                gs1.AddColumn("매입사코드", "CARD_CO_CODE", _ColumnType.Default, 90, _ColumnAlign.Center, true);
                gs1.AddColumn("매입사명", "CARD_CO_CODE_NAME", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs1.AddColumn("카드번호", "EDI_CARD_NO", _ColumnType.Default, 100, _ColumnAlign.Center, true, true);
                gs1.AddColumn("할부", "EDI_INSTALLMENT_CNT", _ColumnType.Default, 40, _ColumnAlign.Center, true);
                gs1.AddColumn("금액", "EDI_SALE_AMT", _ColumnType.Numbers, 80, _ColumnAlign.Center, true);
                gs1.AddColumn("리턴코드", "CARD_RETURN_CODE", _ColumnType.Default, 120, _ColumnAlign.Center, true);
                gs1.AddColumn("리턴코드명", "CARD_RETURN_CODE_NAME", _ColumnType.Default, 120, _ColumnAlign.Center, true);
                gs1.AddColumn("매입구분", "MEMO", _ColumnType.Default, 80, _ColumnAlign.Center, true);

                Cls.Grid.Options.SelectedRow(this.gridViewDetail);
                Cls.Grid.Options.EmbeddedNavigater(this.gridDetail);
                Cls.Grid.Options.FilterRow(this.gridViewDetail, true);
                Cls.Grid.Options.Footer(this.gridViewDetail, DevExpress.Data.SummaryItemType.Sum, "EDI_SALE_AMT", "EDI_SALE_AMT", SummaryFormat.Sum);

                this.gridViewDetail.OptionsSelection.EnableAppearanceFocusedCell = true;

                dtMaster_Grid = dtMaster.Clone();
                dtDetail_Grid = dtDetail.Clone();
                this.gridMaster.DataSource = dtMaster_Grid;
                this.gridDetail.DataSource = dtDetail_Grid;



                StyleFormatCondition condition1 = new DevExpress.XtraGrid.StyleFormatCondition();
                condition1.Column                          = gridViewDetail.Columns["목록"];
                condition1.ApplyToRow                      = true;
                condition1.Appearance.BackColor            = Color.Pink;
                condition1.Appearance.Options.UseBackColor = true;
                condition1.Condition                       = FormatConditionEnum.Expression;
                condition1.Expression                      = "목록 Like '%재청구%'";
                gridViewDetail.FormatConditions.Add(condition1);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
        /// <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.Label label12;
            System.Windows.Forms.Label label6;
            System.Windows.Forms.Label label4;
            System.Windows.Forms.Label label3;
            System.Windows.Forms.Label cOMPNAMELabel;
            System.Windows.Forms.Label label1;
            System.Windows.Forms.Label label10;
            System.Windows.Forms.Label label15;
            System.Windows.Forms.Label label8;
            System.Windows.Forms.Label label7;
            System.Windows.Forms.Label label17;
            System.Windows.Forms.Label label14;
            System.Windows.Forms.Label label13;
            System.Windows.Forms.Label label11;
            System.Windows.Forms.Label label9;
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition1 = new DevExpress.XtraGrid.StyleFormatCondition();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BasePurInvoice));
            this.colQTY = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
            this.panel1 = new System.Windows.Forms.Panel();
            this.Lookupwarehouse = new DevExpress.XtraEditors.LookUpEdit();
            this.lookuppo = new DevExpress.XtraEditors.LookUpEdit();
            this.label2 = new System.Windows.Forms.Label();
            this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton();
            this.LookuptoStore = new DevExpress.XtraEditors.LookUpEdit();
            this.spdisc = new DevExpress.XtraEditors.TextEdit();
            this.duedays = new DevExpress.XtraEditors.TextEdit();
            this.invdate = new DevExpress.XtraEditors.DateEdit();
            this.invno = new DevExpress.XtraEditors.TextEdit();
            this.LookupSupplier = new DevExpress.XtraEditors.LookUpEdit();
            this.label16 = new System.Windows.Forms.Label();
            this.txtpurno = new DevExpress.XtraEditors.TextEdit();
            this.panel2 = new System.Windows.Forms.Panel();
            this.panel4 = new System.Windows.Forms.Panel();
            this.totdisc = new DevExpress.XtraEditors.TextEdit();
            this.totvalue = new DevExpress.XtraEditors.TextEdit();
            this.totnetamt = new DevExpress.XtraEditors.TextEdit();
            this.totspecdisc = new DevExpress.XtraEditors.TextEdit();
            this.paneltotcost = new System.Windows.Forms.Panel();
            this.totprofit = new DevExpress.XtraEditors.TextEdit();
            this.totsalevalue = new DevExpress.XtraEditors.TextEdit();
            this.totcostvalue = new DevExpress.XtraEditors.TextEdit();
            this.adjustval = new DevExpress.XtraEditors.TextEdit();
            this.pURINVDETAILBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.dsPurchase1 = new VIRETAILENTITIES.DsPurchase();
            this.dsInventory1 = new VIRETAILENTITIES.DsInventory();
            this.panel3 = new System.Windows.Forms.Panel();
            this.standaloneBarDockControl1 = new DevExpress.XtraBars.StandaloneBarDockControl();
            this.barManager1 = new DevExpress.XtraBars.BarManager(this.components);
            this.bar1 = new DevExpress.XtraBars.Bar();
            this.barEditItem2 = new DevExpress.XtraBars.BarEditItem();
            this.repositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
            this.FindItem = new DevExpress.XtraBars.BarButtonItem();
            this.ItemHistory = new DevExpress.XtraBars.BarButtonItem();
            this.CopyRow = new DevExpress.XtraBars.BarButtonItem();
            this.DeleteLine = new DevExpress.XtraBars.BarButtonItem();
            this.Autosalesbutton = new DevExpress.XtraBars.BarButtonItem();
            this.Unitconversionbutton = new DevExpress.XtraBars.BarCheckItem();
            this.bargift = 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.barButtonItem7 = new DevExpress.XtraBars.BarButtonItem();
            this.repositoryItemCheckEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
            this.repositoryItemPopupContainerEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemPopupContainerEdit();
            this.repositoryItemPopupContainerEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemPopupContainerEdit();
            this.repositoryItemLookUpEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
            this.rETURNDETAILBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.panelunit = new System.Windows.Forms.Panel();
            this.txttotunitvalue = new DevExpress.XtraEditors.TextEdit();
            this.label22 = new System.Windows.Forms.Label();
            this.txttotunits = new DevExpress.XtraEditors.TextEdit();
            this.label21 = new System.Windows.Forms.Label();
            this.txtunitqty = new DevExpress.XtraEditors.TextEdit();
            this.label20 = new System.Windows.Forms.Label();
            this.lookupunits = new DevExpress.XtraEditors.LookUpEdit();
            this.label19 = new System.Windows.Forms.Label();
            this.label18 = new System.Windows.Forms.Label();
            this.label5 = new System.Windows.Forms.Label();
            this.panelautosales = new System.Windows.Forms.Panel();
            this.simpleButton3 = new DevExpress.XtraEditors.SimpleButton();
            this.simpleButton2 = new DevExpress.XtraEditors.SimpleButton();
            this.radioGroup1 = new DevExpress.XtraEditors.RadioGroup();
            this.spinEdit1 = new DevExpress.XtraEditors.SpinEdit();
            this.label25 = new System.Windows.Forms.Label();
            this.label24 = new System.Windows.Forms.Label();
            this.label23 = new System.Windows.Forms.Label();
            this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
            this.dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(this.components);
            this.gridControl1 = new DevExpress.XtraGrid.GridControl();
            this.advBandedGridView1 = new DevExpress.XtraGrid.Views.BandedGrid.AdvBandedGridView();
            this.gridBand1 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand();
            this.colBARCODE = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
            this.colBATCHNO = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
            this.colStock = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
            this.colBONUSQTY = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
            this.colINVRATE = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
            this.repositoryItemTextEdit4 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
            this.colDISC = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
            this.repositoryItemTextEdit3 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
            this.colSPDISC = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
            this.colSPRICE = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
            this.colEXPDATE = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
            this.repositoryItemTextEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
            this.colEXPDT = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
            this.colLINETOTAL = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
            this.colITEMNO = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
            this.dropitem = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
            this.colGROUPID = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
            this.dropitemgroup = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
            this.colCPRICE = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
            this.colPROFIT = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
            this.colGROSSVALUE = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
            this.colTID = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
            this.colPONO = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
            this.colPURINVID = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
            this.colEXPR = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
            this.colTOSTORE = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
            this.colINVDISC = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
            this.dropitem1 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
            label12 = new System.Windows.Forms.Label();
            label6 = new System.Windows.Forms.Label();
            label4 = new System.Windows.Forms.Label();
            label3 = new System.Windows.Forms.Label();
            cOMPNAMELabel = new System.Windows.Forms.Label();
            label1 = new System.Windows.Forms.Label();
            label10 = new System.Windows.Forms.Label();
            label15 = new System.Windows.Forms.Label();
            label8 = new System.Windows.Forms.Label();
            label7 = new System.Windows.Forms.Label();
            label17 = new System.Windows.Forms.Label();
            label14 = new System.Windows.Forms.Label();
            label13 = new System.Windows.Forms.Label();
            label11 = new System.Windows.Forms.Label();
            label9 = new System.Windows.Forms.Label();
            ((System.ComponentModel.ISupportInitialize)(this.ribbon)).BeginInit();
            this.panel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.Lookupwarehouse.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.lookuppo.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.LookuptoStore.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.spdisc.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.duedays.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.invdate.Properties.CalendarTimeProperties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.invdate.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.invno.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.LookupSupplier.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtpurno.Properties)).BeginInit();
            this.panel2.SuspendLayout();
            this.panel4.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.totdisc.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.totvalue.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.totnetamt.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.totspecdisc.Properties)).BeginInit();
            this.paneltotcost.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.totprofit.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.totsalevalue.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.totcostvalue.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.adjustval.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pURINVDETAILBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dsPurchase1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dsInventory1)).BeginInit();
            this.panel3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPopupContainerEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPopupContainerEdit2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.rETURNDETAILBindingSource)).BeginInit();
            this.panelunit.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txttotunitvalue.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txttotunits.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtunitqty.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.lookupunits.Properties)).BeginInit();
            this.panelautosales.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.radioGroup1.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.spinEdit1.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dxErrorProvider1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.advBandedGridView1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit4)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dropitem)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dropitemgroup)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dropitem1)).BeginInit();
            this.SuspendLayout();
            // 
            // ribbon
            // 
            this.ribbon.ExpandCollapseItem.Id = 0;
            this.ribbon.Size = new System.Drawing.Size(807, 145);
            this.ribbon.Toolbar.ShowCustomizeItem = false;
            // 
            // label12
            // 
            label12.AutoSize = true;
            label12.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label12.Location = new System.Drawing.Point(235, 55);
            label12.Name = "label12";
            label12.Size = new System.Drawing.Size(78, 14);
            label12.TabIndex = 85;
            label12.Text = "Spl.Disc (%):";
            // 
            // label6
            // 
            label6.AutoSize = true;
            label6.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label6.Location = new System.Drawing.Point(9, 54);
            label6.Name = "label6";
            label6.Size = new System.Drawing.Size(62, 14);
            label6.TabIndex = 84;
            label6.Text = "Due Days:";
            // 
            // label4
            // 
            label4.AutoSize = true;
            label4.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label4.Location = new System.Drawing.Point(235, 32);
            label4.Name = "label4";
            label4.Size = new System.Drawing.Size(84, 14);
            label4.TabIndex = 83;
            label4.Text = "Invoice Date: ";
            // 
            // label3
            // 
            label3.AutoSize = true;
            label3.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label3.Location = new System.Drawing.Point(9, 32);
            label3.Name = "label3";
            label3.Size = new System.Drawing.Size(67, 14);
            label3.TabIndex = 82;
            label3.Text = "Invoice #: ";
            // 
            // cOMPNAMELabel
            // 
            cOMPNAMELabel.Anchor = System.Windows.Forms.AnchorStyles.Left;
            cOMPNAMELabel.AutoSize = true;
            cOMPNAMELabel.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            cOMPNAMELabel.Location = new System.Drawing.Point(9, 6);
            cOMPNAMELabel.Name = "cOMPNAMELabel";
            cOMPNAMELabel.Size = new System.Drawing.Size(88, 14);
            cOMPNAMELabel.TabIndex = 81;
            cOMPNAMELabel.Text = "Supplier name:";
            // 
            // label1
            // 
            label1.Anchor = System.Windows.Forms.AnchorStyles.Left;
            label1.AutoSize = true;
            label1.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label1.Location = new System.Drawing.Point(437, 6);
            label1.Name = "label1";
            label1.Size = new System.Drawing.Size(45, 14);
            label1.TabIndex = 24;
            label1.Text = "Doc #:";
            // 
            // label10
            // 
            label10.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            label10.AutoSize = true;
            label10.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label10.ForeColor = System.Drawing.Color.Black;
            label10.Location = new System.Drawing.Point(347, 73);
            label10.Name = "label10";
            label10.Size = new System.Drawing.Size(121, 14);
            label10.TabIndex = 23;
            label10.Text = "Adjusted Value(F7): ";
            // 
            // label15
            // 
            label15.AutoSize = true;
            label15.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label15.Location = new System.Drawing.Point(7, 62);
            label15.Name = "label15";
            label15.Size = new System.Drawing.Size(76, 14);
            label15.TabIndex = 38;
            label15.Text = "Total Profit: ";
            // 
            // label8
            // 
            label8.AutoSize = true;
            label8.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label8.Location = new System.Drawing.Point(7, 19);
            label8.Name = "label8";
            label8.Size = new System.Drawing.Size(103, 14);
            label8.TabIndex = 35;
            label8.Text = "Total Sale Value: ";
            // 
            // label7
            // 
            label7.AutoSize = true;
            label7.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label7.Location = new System.Drawing.Point(7, 40);
            label7.Name = "label7";
            label7.Size = new System.Drawing.Size(105, 14);
            label7.TabIndex = 34;
            label7.Text = "Total Cost Value: ";
            // 
            // label17
            // 
            label17.Anchor = System.Windows.Forms.AnchorStyles.Left;
            label17.AutoSize = true;
            label17.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label17.Location = new System.Drawing.Point(637, 7);
            label17.Name = "label17";
            label17.Size = new System.Drawing.Size(44, 14);
            label17.TabIndex = 94;
            label17.Text = "P.O #:";
            // 
            // label14
            // 
            label14.Anchor = System.Windows.Forms.AnchorStyles.None;
            label14.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label14.Location = new System.Drawing.Point(6, 29);
            label14.Name = "label14";
            label14.Size = new System.Drawing.Size(102, 14);
            label14.TabIndex = 42;
            label14.Text = "Total  Disc Value: ";
            // 
            // label13
            // 
            label13.Anchor = System.Windows.Forms.AnchorStyles.None;
            label13.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label13.Location = new System.Drawing.Point(6, 8);
            label13.Name = "label13";
            label13.Size = new System.Drawing.Size(73, 14);
            label13.TabIndex = 41;
            label13.Text = "Total Value: ";
            // 
            // label11
            // 
            label11.Anchor = System.Windows.Forms.AnchorStyles.None;
            label11.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label11.Location = new System.Drawing.Point(6, 70);
            label11.Name = "label11";
            label11.Size = new System.Drawing.Size(83, 14);
            label11.TabIndex = 40;
            label11.Text = "Net Amount : ";
            // 
            // label9
            // 
            label9.Anchor = System.Windows.Forms.AnchorStyles.None;
            label9.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            label9.Location = new System.Drawing.Point(6, 50);
            label9.Name = "label9";
            label9.Size = new System.Drawing.Size(88, 14);
            label9.TabIndex = 39;
            label9.Text = "Total Spl Disc.: ";
            // 
            // colQTY
            // 
            this.colQTY.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colQTY.AppearanceCell.Options.UseFont = true;
            this.colQTY.AppearanceCell.Options.UseTextOptions = true;
            this.colQTY.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colQTY.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colQTY.AppearanceHeader.Options.UseFont = true;
            this.colQTY.AppearanceHeader.Options.UseTextOptions = true;
            this.colQTY.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colQTY.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colQTY.Caption = "Qty.";
            this.colQTY.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.colQTY.FieldName = "QTY";
            this.colQTY.Name = "colQTY";
            this.colQTY.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colQTY.OptionsFilter.AllowAutoFilter = false;
            this.colQTY.OptionsFilter.AllowFilter = false;
            this.colQTY.Visible = true;
            this.colQTY.Width = 53;
            // 
            // panel1
            // 
            this.panel1.Controls.Add(this.Lookupwarehouse);
            this.panel1.Controls.Add(this.lookuppo);
            this.panel1.Controls.Add(this.label2);
            this.panel1.Controls.Add(label17);
            this.panel1.Controls.Add(this.simpleButton1);
            this.panel1.Controls.Add(this.LookuptoStore);
            this.panel1.Controls.Add(this.spdisc);
            this.panel1.Controls.Add(label12);
            this.panel1.Controls.Add(this.duedays);
            this.panel1.Controls.Add(label6);
            this.panel1.Controls.Add(this.invdate);
            this.panel1.Controls.Add(label4);
            this.panel1.Controls.Add(this.invno);
            this.panel1.Controls.Add(label3);
            this.panel1.Controls.Add(cOMPNAMELabel);
            this.panel1.Controls.Add(this.LookupSupplier);
            this.panel1.Controls.Add(this.label16);
            this.panel1.Controls.Add(this.txtpurno);
            this.panel1.Controls.Add(label1);
            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
            this.panel1.Location = new System.Drawing.Point(0, 145);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(807, 75);
            this.panel1.TabIndex = 0;
            // 
            // Lookupwarehouse
            // 
            this.Lookupwarehouse.Anchor = System.Windows.Forms.AnchorStyles.Left;
            this.Lookupwarehouse.Location = new System.Drawing.Point(538, 29);
            this.Lookupwarehouse.Name = "Lookupwarehouse";
            this.Lookupwarehouse.Properties.Appearance.BackColor = System.Drawing.Color.White;
            this.Lookupwarehouse.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.Lookupwarehouse.Properties.Appearance.ForeColor = System.Drawing.Color.Black;
            this.Lookupwarehouse.Properties.Appearance.Options.UseBackColor = true;
            this.Lookupwarehouse.Properties.Appearance.Options.UseFont = true;
            this.Lookupwarehouse.Properties.Appearance.Options.UseForeColor = true;
            this.Lookupwarehouse.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.Lookupwarehouse.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("STORECODE", "STORECODE", 92, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("STORENAME", "STORENAME", 80, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("STORETYPE", "STORETYPE")});
            this.Lookupwarehouse.Properties.DisplayMember = "STORENAME";
            this.Lookupwarehouse.Properties.NullText = "";
            this.Lookupwarehouse.Properties.ShowFooter = false;
            this.Lookupwarehouse.Properties.ShowHeader = false;
            this.Lookupwarehouse.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
            this.Lookupwarehouse.Properties.ValueMember = "STORECODE";
            this.Lookupwarehouse.Size = new System.Drawing.Size(266, 20);
            this.Lookupwarehouse.TabIndex = 5;
            // 
            // lookuppo
            // 
            this.lookuppo.Location = new System.Drawing.Point(679, 5);
            this.lookuppo.MenuManager = this.ribbon;
            this.lookuppo.Name = "lookuppo";
            this.lookuppo.Properties.Appearance.BackColor = System.Drawing.Color.White;
            this.lookuppo.Properties.Appearance.ForeColor = System.Drawing.Color.Black;
            this.lookuppo.Properties.Appearance.Options.UseBackColor = true;
            this.lookuppo.Properties.Appearance.Options.UseForeColor = true;
            this.lookuppo.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.lookuppo.Properties.DisplayMember = "PONO";
            this.lookuppo.Properties.NullText = "";
            this.lookuppo.Properties.ValueMember = "PONO";
            this.lookuppo.Size = new System.Drawing.Size(99, 20);
            this.lookuppo.TabIndex = 96;
            // 
            // label2
            // 
            this.label2.Anchor = System.Windows.Forms.AnchorStyles.Left;
            this.label2.AutoSize = true;
            this.label2.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label2.Location = new System.Drawing.Point(437, 54);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(101, 14);
            this.label2.TabIndex = 95;
            this.label2.Text = "Allocation  Store:";
            // 
            // simpleButton1
            // 
            this.simpleButton1.Anchor = System.Windows.Forms.AnchorStyles.Left;
            this.simpleButton1.Image = global::Store.Properties.Resources.page_white_magnify;
            this.simpleButton1.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleLeft;
            this.simpleButton1.Location = new System.Drawing.Point(782, 4);
            this.simpleButton1.Name = "simpleButton1";
            this.simpleButton1.Size = new System.Drawing.Size(20, 19);
            this.simpleButton1.TabIndex = 92;
            // 
            // LookuptoStore
            // 
            this.LookuptoStore.Anchor = System.Windows.Forms.AnchorStyles.Left;
            this.LookuptoStore.EnterMoveNextControl = true;
            this.LookuptoStore.Location = new System.Drawing.Point(538, 52);
            this.LookuptoStore.Name = "LookuptoStore";
            this.LookuptoStore.Properties.Appearance.BackColor = System.Drawing.Color.White;
            this.LookuptoStore.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.LookuptoStore.Properties.Appearance.ForeColor = System.Drawing.Color.Black;
            this.LookuptoStore.Properties.Appearance.Options.UseBackColor = true;
            this.LookuptoStore.Properties.Appearance.Options.UseFont = true;
            this.LookuptoStore.Properties.Appearance.Options.UseForeColor = true;
            this.LookuptoStore.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.LookuptoStore.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("STORECODE", "STORECODE", 92, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("STORENAME", "STORENAME", 80, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near)});
            this.LookuptoStore.Properties.DisplayMember = "STORENAME";
            this.LookuptoStore.Properties.NullText = "";
            this.LookuptoStore.Properties.ShowFooter = false;
            this.LookuptoStore.Properties.ShowHeader = false;
            this.LookuptoStore.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
            this.LookuptoStore.Properties.ValueMember = "STORECODE";
            this.LookuptoStore.Size = new System.Drawing.Size(266, 20);
            this.LookuptoStore.TabIndex = 6;
            this.LookuptoStore.EditValueChanged += new System.EventHandler(this.LookuptoStore_EditValueChanged);
            this.LookuptoStore.KeyDown += new System.Windows.Forms.KeyEventHandler(this.LookuptoStoreKeyDown);
            // 
            // spdisc
            // 
            this.spdisc.EditValue = new decimal(new int[] {
            0,
            0,
            0,
            0});
            this.spdisc.EnterMoveNextControl = true;
            this.spdisc.Location = new System.Drawing.Point(319, 52);
            this.spdisc.Name = "spdisc";
            this.spdisc.Properties.Appearance.BackColor = System.Drawing.Color.White;
            this.spdisc.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.spdisc.Properties.Appearance.ForeColor = System.Drawing.Color.Black;
            this.spdisc.Properties.Appearance.Options.UseBackColor = true;
            this.spdisc.Properties.Appearance.Options.UseFont = true;
            this.spdisc.Properties.Appearance.Options.UseForeColor = true;
            this.spdisc.Properties.Appearance.Options.UseTextOptions = true;
            this.spdisc.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.spdisc.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.spdisc.Properties.NullText = "0";
            this.spdisc.Size = new System.Drawing.Size(103, 20);
            this.spdisc.TabIndex = 4;
            // 
            // duedays
            // 
            this.duedays.EnterMoveNextControl = true;
            this.duedays.Location = new System.Drawing.Point(98, 52);
            this.duedays.Name = "duedays";
            this.duedays.Properties.Appearance.BackColor = System.Drawing.Color.White;
            this.duedays.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.duedays.Properties.Appearance.ForeColor = System.Drawing.Color.Black;
            this.duedays.Properties.Appearance.Options.UseBackColor = true;
            this.duedays.Properties.Appearance.Options.UseFont = true;
            this.duedays.Properties.Appearance.Options.UseForeColor = true;
            this.duedays.Properties.Appearance.Options.UseTextOptions = true;
            this.duedays.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.duedays.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.duedays.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.duedays.Properties.NullText = "0";
            this.duedays.Size = new System.Drawing.Size(113, 20);
            this.duedays.TabIndex = 3;
            // 
            // invdate
            // 
            this.invdate.EditValue = new System.DateTime(2012, 7, 17, 0, 0, 0, 0);
            this.invdate.EnterMoveNextControl = true;
            this.invdate.Location = new System.Drawing.Point(319, 29);
            this.invdate.Name = "invdate";
            this.invdate.Properties.Appearance.BackColor = System.Drawing.Color.White;
            this.invdate.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.invdate.Properties.Appearance.ForeColor = System.Drawing.Color.Black;
            this.invdate.Properties.Appearance.Options.UseBackColor = true;
            this.invdate.Properties.Appearance.Options.UseFont = true;
            this.invdate.Properties.Appearance.Options.UseForeColor = true;
            this.invdate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.invdate.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.invdate.Properties.DisplayFormat.FormatString = "dd-MM-yyyy";
            this.invdate.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
            this.invdate.Properties.EditFormat.FormatString = "dd-MM-yyyy";
            this.invdate.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
            this.invdate.Size = new System.Drawing.Size(104, 20);
            this.invdate.TabIndex = 2;
            // 
            // invno
            // 
            this.invno.EnterMoveNextControl = true;
            this.invno.Location = new System.Drawing.Point(98, 29);
            this.invno.Name = "invno";
            this.invno.Properties.Appearance.BackColor = System.Drawing.Color.White;
            this.invno.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.invno.Properties.Appearance.ForeColor = System.Drawing.Color.Black;
            this.invno.Properties.Appearance.Options.UseBackColor = true;
            this.invno.Properties.Appearance.Options.UseFont = true;
            this.invno.Properties.Appearance.Options.UseForeColor = true;
            this.invno.Properties.Appearance.Options.UseTextOptions = true;
            this.invno.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.invno.Properties.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.invno.Size = new System.Drawing.Size(113, 20);
            this.invno.TabIndex = 1;
            // 
            // LookupSupplier
            // 
            this.LookupSupplier.Anchor = System.Windows.Forms.AnchorStyles.Left;
            this.LookupSupplier.EnterMoveNextControl = true;
            this.LookupSupplier.Location = new System.Drawing.Point(98, 4);
            this.LookupSupplier.Name = "LookupSupplier";
            this.LookupSupplier.Properties.Appearance.BackColor = System.Drawing.Color.White;
            this.LookupSupplier.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.LookupSupplier.Properties.Appearance.ForeColor = System.Drawing.Color.Black;
            this.LookupSupplier.Properties.Appearance.Options.UseBackColor = true;
            this.LookupSupplier.Properties.Appearance.Options.UseFont = true;
            this.LookupSupplier.Properties.Appearance.Options.UseForeColor = true;
            this.LookupSupplier.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.LookupSupplier.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("SUPPLIERNO", "SUPPLIERNO", 85, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("SUPPLIERNAME", "SUPPLIERNAME", 85, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("DUEDAYS", "DUEDAYS", 56, DevExpress.Utils.FormatType.Numeric, "", false, DevExpress.Utils.HorzAlignment.Far)});
            this.LookupSupplier.Properties.DisplayMember = "SUPPLIERNAME";
            this.LookupSupplier.Properties.NullText = "";
            this.LookupSupplier.Properties.ShowHeader = false;
            this.LookupSupplier.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
            this.LookupSupplier.Properties.ValueMember = "SUPPLIERNO";
            this.LookupSupplier.Size = new System.Drawing.Size(324, 20);
            this.LookupSupplier.TabIndex = 0;
            this.LookupSupplier.EditValueChanged += new System.EventHandler(this.SupplierEditValueChanged);
            // 
            // label16
            // 
            this.label16.Anchor = System.Windows.Forms.AnchorStyles.Left;
            this.label16.AutoSize = true;
            this.label16.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label16.Location = new System.Drawing.Point(437, 32);
            this.label16.Name = "label16";
            this.label16.Size = new System.Drawing.Size(73, 14);
            this.label16.TabIndex = 75;
            this.label16.Text = "Warehouse:";
            // 
            // txtpurno
            // 
            this.txtpurno.Anchor = System.Windows.Forms.AnchorStyles.Left;
            this.txtpurno.Location = new System.Drawing.Point(538, 5);
            this.txtpurno.Name = "txtpurno";
            this.txtpurno.Properties.Appearance.BackColor = System.Drawing.Color.White;
            this.txtpurno.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpurno.Properties.Appearance.ForeColor = System.Drawing.Color.Black;
            this.txtpurno.Properties.Appearance.Options.UseBackColor = true;
            this.txtpurno.Properties.Appearance.Options.UseFont = true;
            this.txtpurno.Properties.Appearance.Options.UseForeColor = true;
            this.txtpurno.Properties.Appearance.Options.UseTextOptions = true;
            this.txtpurno.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.txtpurno.Properties.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.txtpurno.Properties.ReadOnly = true;
            this.txtpurno.Size = new System.Drawing.Size(97, 20);
            this.txtpurno.TabIndex = 25;
            this.txtpurno.TabStop = false;
            // 
            // panel2
            // 
            this.panel2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(207)))), ((int)(((byte)(221)))), ((int)(((byte)(238)))));
            this.panel2.Controls.Add(this.panel4);
            this.panel2.Controls.Add(this.paneltotcost);
            this.panel2.Controls.Add(this.adjustval);
            this.panel2.Controls.Add(label10);
            this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.panel2.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.panel2.ForeColor = System.Drawing.Color.White;
            this.panel2.Location = new System.Drawing.Point(0, 440);
            this.panel2.Name = "panel2";
            this.panel2.Size = new System.Drawing.Size(807, 99);
            this.panel2.TabIndex = 88;
            // 
            // panel4
            // 
            this.panel4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.panel4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(69)))), ((int)(((byte)(84)))));
            this.panel4.Controls.Add(this.totdisc);
            this.panel4.Controls.Add(this.totvalue);
            this.panel4.Controls.Add(this.totnetamt);
            this.panel4.Controls.Add(this.totspecdisc);
            this.panel4.Controls.Add(label14);
            this.panel4.Controls.Add(label13);
            this.panel4.Controls.Add(label11);
            this.panel4.Controls.Add(label9);
            this.panel4.Location = new System.Drawing.Point(567, 5);
            this.panel4.Name = "panel4";
            this.panel4.Size = new System.Drawing.Size(233, 90);
            this.panel4.TabIndex = 39;
            // 
            // totdisc
            // 
            this.totdisc.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
            this.totdisc.Location = new System.Drawing.Point(112, 23);
            this.totdisc.Name = "totdisc";
            this.totdisc.Properties.Appearance.BackColor = System.Drawing.Color.White;
            this.totdisc.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.totdisc.Properties.Appearance.Options.UseBackColor = true;
            this.totdisc.Properties.Appearance.Options.UseFont = true;
            this.totdisc.Properties.Appearance.Options.UseTextOptions = true;
            this.totdisc.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.totdisc.Properties.DisplayFormat.FormatString = "###,###,##0.00";
            this.totdisc.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom;
            this.totdisc.Properties.NullText = "0";
            this.totdisc.Properties.ReadOnly = true;
            this.totdisc.Size = new System.Drawing.Size(118, 20);
            this.totdisc.TabIndex = 70;
            // 
            // totvalue
            // 
            this.totvalue.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
            this.totvalue.Location = new System.Drawing.Point(112, 2);
            this.totvalue.Name = "totvalue";
            this.totvalue.Properties.Appearance.BackColor = System.Drawing.Color.White;
            this.totvalue.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.totvalue.Properties.Appearance.Options.UseBackColor = true;
            this.totvalue.Properties.Appearance.Options.UseFont = true;
            this.totvalue.Properties.Appearance.Options.UseTextOptions = true;
            this.totvalue.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.totvalue.Properties.DisplayFormat.FormatString = "###,###,###,###.00";
            this.totvalue.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom;
            this.totvalue.Properties.NullText = "0";
            this.totvalue.Properties.ReadOnly = true;
            this.totvalue.Size = new System.Drawing.Size(118, 20);
            this.totvalue.TabIndex = 69;
            // 
            // totnetamt
            // 
            this.totnetamt.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
            this.totnetamt.Location = new System.Drawing.Point(112, 65);
            this.totnetamt.Name = "totnetamt";
            this.totnetamt.Properties.Appearance.BackColor = System.Drawing.Color.White;
            this.totnetamt.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.totnetamt.Properties.Appearance.Options.UseBackColor = true;
            this.totnetamt.Properties.Appearance.Options.UseFont = true;
            this.totnetamt.Properties.Appearance.Options.UseTextOptions = true;
            this.totnetamt.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.totnetamt.Properties.DisplayFormat.FormatString = "###,###,##0.00";
            this.totnetamt.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom;
            this.totnetamt.Properties.NullText = "0";
            this.totnetamt.Properties.ReadOnly = true;
            this.totnetamt.Size = new System.Drawing.Size(118, 20);
            this.totnetamt.TabIndex = 9;
            // 
            // totspecdisc
            // 
            this.totspecdisc.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
            this.totspecdisc.Location = new System.Drawing.Point(112, 44);
            this.totspecdisc.Name = "totspecdisc";
            this.totspecdisc.Properties.Appearance.BackColor = System.Drawing.Color.White;
            this.totspecdisc.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.totspecdisc.Properties.Appearance.Options.UseBackColor = true;
            this.totspecdisc.Properties.Appearance.Options.UseFont = true;
            this.totspecdisc.Properties.Appearance.Options.UseTextOptions = true;
            this.totspecdisc.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.totspecdisc.Properties.DisplayFormat.FormatString = "###,###,##0.00";
            this.totspecdisc.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom;
            this.totspecdisc.Properties.NullText = "0";
            this.totspecdisc.Properties.ReadOnly = true;
            this.totspecdisc.Size = new System.Drawing.Size(118, 20);
            this.totspecdisc.TabIndex = 67;
            // 
            // paneltotcost
            // 
            this.paneltotcost.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(69)))), ((int)(((byte)(84)))));
            this.paneltotcost.Controls.Add(this.totprofit);
            this.paneltotcost.Controls.Add(label15);
            this.paneltotcost.Controls.Add(this.totsalevalue);
            this.paneltotcost.Controls.Add(this.totcostvalue);
            this.paneltotcost.Controls.Add(label8);
            this.paneltotcost.Controls.Add(label7);
            this.paneltotcost.Location = new System.Drawing.Point(3, 5);
            this.paneltotcost.Name = "paneltotcost";
            this.paneltotcost.Size = new System.Drawing.Size(231, 83);
            this.paneltotcost.TabIndex = 34;
            // 
            // totprofit
            // 
            this.totprofit.Location = new System.Drawing.Point(109, 60);
            this.totprofit.Name = "totprofit";
            this.totprofit.Properties.Appearance.BackColor = System.Drawing.Color.White;
            this.totprofit.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.totprofit.Properties.Appearance.Options.UseBackColor = true;
            this.totprofit.Properties.Appearance.Options.UseFont = true;
            this.totprofit.Properties.Appearance.Options.UseTextOptions = true;
            this.totprofit.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.totprofit.Properties.DisplayFormat.FormatString = "###,###,##0.00";
            this.totprofit.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom;
            this.totprofit.Properties.NullText = "0";
            this.totprofit.Properties.ReadOnly = true;
            this.totprofit.Size = new System.Drawing.Size(118, 20);
            this.totprofit.TabIndex = 39;
            // 
            // totsalevalue
            // 
            this.totsalevalue.Location = new System.Drawing.Point(109, 17);
            this.totsalevalue.Name = "totsalevalue";
            this.totsalevalue.Properties.Appearance.BackColor = System.Drawing.Color.White;
            this.totsalevalue.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.totsalevalue.Properties.Appearance.Options.UseBackColor = true;
            this.totsalevalue.Properties.Appearance.Options.UseFont = true;
            this.totsalevalue.Properties.Appearance.Options.UseTextOptions = true;
            this.totsalevalue.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.totsalevalue.Properties.DisplayFormat.FormatString = "###,###,##0.00";
            this.totsalevalue.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom;
            this.totsalevalue.Properties.NullText = "0";
            this.totsalevalue.Properties.ReadOnly = true;
            this.totsalevalue.Size = new System.Drawing.Size(118, 20);
            this.totsalevalue.TabIndex = 37;
            // 
            // totcostvalue
            // 
            this.totcostvalue.Location = new System.Drawing.Point(109, 38);
            this.totcostvalue.Name = "totcostvalue";
            this.totcostvalue.Properties.Appearance.BackColor = System.Drawing.Color.White;
            this.totcostvalue.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.totcostvalue.Properties.Appearance.Options.UseBackColor = true;
            this.totcostvalue.Properties.Appearance.Options.UseFont = true;
            this.totcostvalue.Properties.Appearance.Options.UseTextOptions = true;
            this.totcostvalue.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.totcostvalue.Properties.DisplayFormat.FormatString = "###,###,##0.00";
            this.totcostvalue.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom;
            this.totcostvalue.Properties.NullText = "0";
            this.totcostvalue.Properties.ReadOnly = true;
            this.totcostvalue.Size = new System.Drawing.Size(118, 20);
            this.totcostvalue.TabIndex = 36;
            // 
            // adjustval
            // 
            this.adjustval.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.adjustval.EditValue = "0";
            this.adjustval.EnterMoveNextControl = true;
            this.adjustval.Location = new System.Drawing.Point(466, 70);
            this.adjustval.Name = "adjustval";
            this.adjustval.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.adjustval.Properties.Appearance.Options.UseFont = true;
            this.adjustval.Properties.Appearance.Options.UseTextOptions = true;
            this.adjustval.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.adjustval.Properties.DisplayFormat.FormatString = "n2";
            this.adjustval.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.adjustval.Properties.EditFormat.FormatString = "n2";
            this.adjustval.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.adjustval.Properties.Mask.EditMask = "n2";
            this.adjustval.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
            this.adjustval.Properties.NullText = "0";
            this.adjustval.Size = new System.Drawing.Size(67, 20);
            this.adjustval.TabIndex = 8;
            this.adjustval.TextChanged += new System.EventHandler(this.adjustval_EditValueChanged);
            this.adjustval.Enter += new System.EventHandler(this.adjustval_Enter);
            // 
            // pURINVDETAILBindingSource
            // 
            this.pURINVDETAILBindingSource.DataMember = "PURINVDETAIL";
            this.pURINVDETAILBindingSource.DataSource = this.dsPurchase1;
            this.pURINVDETAILBindingSource.CurrentChanged += new System.EventHandler(this.PUrinvdetailBindingSourceCurrentChanged);
            // 
            // dsPurchase1
            // 
            this.dsPurchase1.DataSetName = "DsPurchase";
            this.dsPurchase1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            // 
            // dsInventory1
            // 
            this.dsInventory1.DataSetName = "DsInventory";
            this.dsInventory1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            // 
            // panel3
            // 
            this.panel3.Controls.Add(this.standaloneBarDockControl1);
            this.panel3.Dock = System.Windows.Forms.DockStyle.Top;
            this.panel3.Location = new System.Drawing.Point(0, 220);
            this.panel3.Name = "panel3";
            this.panel3.Size = new System.Drawing.Size(807, 30);
            this.panel3.TabIndex = 4;
            // 
            // standaloneBarDockControl1
            // 
            this.standaloneBarDockControl1.CausesValidation = false;
            this.standaloneBarDockControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.standaloneBarDockControl1.Location = new System.Drawing.Point(0, 0);
            this.standaloneBarDockControl1.Name = "standaloneBarDockControl1";
            this.standaloneBarDockControl1.Size = new System.Drawing.Size(807, 30);
            this.standaloneBarDockControl1.Text = "standaloneBarDockControl1";
            // 
            // 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.DockControls.Add(this.standaloneBarDockControl1);
            this.barManager1.Form = this;
            this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
            this.FindItem,
            this.CopyRow,
            this.DeleteLine,
            this.ItemHistory,
            this.barButtonItem7,
            this.barEditItem2,
            this.Autosalesbutton,
            this.Unitconversionbutton,
            this.bargift});
            this.barManager1.MaxItemId = 16;
            this.barManager1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
            this.repositoryItemCheckEdit1,
            this.repositoryItemPopupContainerEdit1,
            this.repositoryItemTextEdit1,
            this.repositoryItemPopupContainerEdit2,
            this.repositoryItemLookUpEdit1});
            this.barManager1.UseF10KeyForMenu = false;
            this.barManager1.EditorKeyDown += new System.Windows.Forms.KeyEventHandler(this.BarManager1EditorKeyDown);
            // 
            // bar1
            // 
            this.bar1.BarName = "Tools";
            this.bar1.DockCol = 0;
            this.bar1.DockRow = 0;
            this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Standalone;
            this.bar1.FloatLocation = new System.Drawing.Point(315, 342);
            this.bar1.FloatSize = new System.Drawing.Size(785, 31);
            this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barEditItem2, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.Caption),
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.FindItem, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.ItemHistory, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.CopyRow, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.DeleteLine, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.Autosalesbutton, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.Unitconversionbutton, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.bargift, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph)});
            this.bar1.OptionsBar.AllowQuickCustomization = false;
            this.bar1.OptionsBar.DrawDragBorder = false;
            this.bar1.OptionsBar.UseWholeRow = true;
            this.bar1.StandaloneBarDockControl = this.standaloneBarDockControl1;
            this.bar1.Text = "Tools";
            // 
            // barEditItem2
            // 
            this.barEditItem2.AutoFillWidth = true;
            this.barEditItem2.Edit = this.repositoryItemTextEdit1;
            this.barEditItem2.Id = 8;
            this.barEditItem2.IEBehavior = true;
            this.barEditItem2.Name = "barEditItem2";
            this.barEditItem2.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
            // 
            // repositoryItemTextEdit1
            // 
            this.repositoryItemTextEdit1.AutoHeight = false;
            this.repositoryItemTextEdit1.Name = "repositoryItemTextEdit1";
            this.repositoryItemTextEdit1.NullText = "Barcode / Name";
            this.repositoryItemTextEdit1.NullValuePrompt = "Barcode / Name";
            this.repositoryItemTextEdit1.NullValuePromptShowForEmptyValue = true;
            this.repositoryItemTextEdit1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.repositoryItemTextEdit1_KeyDown);
            // 
            // FindItem
            // 
            this.FindItem.Caption = "Find Item - F10";
            this.FindItem.Glyph = global::Store.Properties.Resources.page_white_magnify;
            this.FindItem.Id = 0;
            this.FindItem.Name = "FindItem";
            this.FindItem.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.BarButtonItemItemClick);
            // 
            // ItemHistory
            // 
            this.ItemHistory.Caption = "Item Histroy - F8";
            this.ItemHistory.Glyph = global::Store.Properties.Resources.date_magnify;
            this.ItemHistory.Id = 3;
            this.ItemHistory.Name = "ItemHistory";
            this.ItemHistory.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.BarButtonItemItemClick);
            // 
            // CopyRow
            // 
            this.CopyRow.Caption = "Copy Row - F5";
            this.CopyRow.Glyph = global::Store.Properties.Resources.page_copy;
            this.CopyRow.Id = 1;
            this.CopyRow.Name = "CopyRow";
            this.CopyRow.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.BarButtonItemItemClick);
            // 
            // DeleteLine
            // 
            this.DeleteLine.Caption = "Delete Line - F4";
            this.DeleteLine.Glyph = global::Store.Properties.Resources.remove;
            this.DeleteLine.Id = 2;
            this.DeleteLine.Name = "DeleteLine";
            this.DeleteLine.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.BarButtonItemItemClick);
            // 
            // Autosalesbutton
            // 
            this.Autosalesbutton.Caption = "Auto - F11";
            this.Autosalesbutton.Glyph = global::Store.Properties.Resources.run;
            this.Autosalesbutton.Hint = "Auto Sales Price - F3";
            this.Autosalesbutton.Id = 11;
            this.Autosalesbutton.Name = "Autosalesbutton";
            this.Autosalesbutton.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
            this.Autosalesbutton.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.BarButtonItemItemClick);
            // 
            // Unitconversionbutton
            // 
            this.Unitconversionbutton.Caption = "Unit - F12";
            this.Unitconversionbutton.Glyph = global::Store.Properties.Resources.scales;
            this.Unitconversionbutton.Id = 12;
            this.Unitconversionbutton.Name = "Unitconversionbutton";
            this.Unitconversionbutton.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
            // 
            // bargift
            // 
            this.bargift.Caption = "Gift - F2";
            this.bargift.Glyph = global::Store.Properties.Resources.gifticon;
            this.bargift.Id = 15;
            this.bargift.Name = "bargift";
            this.bargift.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
            // 
            // 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(807, 0);
            // 
            // barDockControlBottom
            // 
            this.barDockControlBottom.CausesValidation = false;
            this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.barDockControlBottom.Location = new System.Drawing.Point(0, 571);
            this.barDockControlBottom.Size = new System.Drawing.Size(807, 0);
            // 
            // barDockControlLeft
            // 
            this.barDockControlLeft.CausesValidation = false;
            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, 571);
            // 
            // barDockControlRight
            // 
            this.barDockControlRight.CausesValidation = false;
            this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
            this.barDockControlRight.Location = new System.Drawing.Point(807, 0);
            this.barDockControlRight.Size = new System.Drawing.Size(0, 571);
            // 
            // barButtonItem7
            // 
            this.barButtonItem7.Caption = "Merge Rows";
            this.barButtonItem7.Id = 5;
            this.barButtonItem7.Name = "barButtonItem7";
            // 
            // repositoryItemCheckEdit1
            // 
            this.repositoryItemCheckEdit1.AutoHeight = false;
            this.repositoryItemCheckEdit1.Name = "repositoryItemCheckEdit1";
            // 
            // repositoryItemPopupContainerEdit1
            // 
            this.repositoryItemPopupContainerEdit1.AutoHeight = false;
            this.repositoryItemPopupContainerEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemPopupContainerEdit1.Name = "repositoryItemPopupContainerEdit1";
            // 
            // repositoryItemPopupContainerEdit2
            // 
            this.repositoryItemPopupContainerEdit2.AutoHeight = false;
            this.repositoryItemPopupContainerEdit2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemPopupContainerEdit2.Name = "repositoryItemPopupContainerEdit2";
            // 
            // 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.Name = "repositoryItemLookUpEdit1";
            // 
            // rETURNDETAILBindingSource
            // 
            this.rETURNDETAILBindingSource.DataMember = "RETURNDETAIL";
            this.rETURNDETAILBindingSource.DataSource = this.dsPurchase1;
            this.rETURNDETAILBindingSource.CurrentChanged += new System.EventHandler(this.REturndetailBindingSourceCurrentChanged);
            // 
            // panelunit
            // 
            this.panelunit.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.panelunit.Controls.Add(this.txttotunitvalue);
            this.panelunit.Controls.Add(this.label22);
            this.panelunit.Controls.Add(this.txttotunits);
            this.panelunit.Controls.Add(this.label21);
            this.panelunit.Controls.Add(this.txtunitqty);
            this.panelunit.Controls.Add(this.label20);
            this.panelunit.Controls.Add(this.lookupunits);
            this.panelunit.Controls.Add(this.label19);
            this.panelunit.Controls.Add(this.label18);
            this.panelunit.Controls.Add(this.label5);
            this.panelunit.Location = new System.Drawing.Point(62, 313);
            this.panelunit.Name = "panelunit";
            this.panelunit.Size = new System.Drawing.Size(436, 46);
            this.panelunit.TabIndex = 99;
            this.panelunit.Visible = false;
            // 
            // txttotunitvalue
            // 
            this.txttotunitvalue.Location = new System.Drawing.Point(361, 22);
            this.txttotunitvalue.Name = "txttotunitvalue";
            this.txttotunitvalue.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txttotunitvalue.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txttotunitvalue.Size = new System.Drawing.Size(71, 20);
            this.txttotunitvalue.TabIndex = 10;
            this.txttotunitvalue.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.TxttotunitvalueKeyPress);
            // 
            // label22
            // 
            this.label22.Location = new System.Drawing.Point(300, 25);
            this.label22.Name = "label22";
            this.label22.Size = new System.Drawing.Size(59, 13);
            this.label22.TabIndex = 8;
            this.label22.Text = "Unit Value: ";
            // 
            // txttotunits
            // 
            this.txttotunits.Location = new System.Drawing.Point(260, 22);
            this.txttotunits.Name = "txttotunits";
            this.txttotunits.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txttotunits.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txttotunits.Size = new System.Drawing.Size(37, 20);
            this.txttotunits.TabIndex = 9;
            this.txttotunits.KeyDown += new System.Windows.Forms.KeyEventHandler(this.TxttotunitsKeyDown);
            // 
            // label21
            // 
            this.label21.AutoSize = true;
            this.label21.Location = new System.Drawing.Point(197, 25);
            this.label21.Name = "label21";
            this.label21.Size = new System.Drawing.Size(65, 13);
            this.label21.TabIndex = 6;
            this.label21.Text = "Total Units: ";
            // 
            // txtunitqty
            // 
            this.txtunitqty.Location = new System.Drawing.Point(156, 22);
            this.txtunitqty.Name = "txtunitqty";
            this.txtunitqty.Properties.ReadOnly = true;
            this.txtunitqty.Size = new System.Drawing.Size(37, 20);
            this.txtunitqty.TabIndex = 15;
            // 
            // label20
            // 
            this.label20.AutoSize = true;
            this.label20.Location = new System.Drawing.Point(138, 25);
            this.label20.Name = "label20";
            this.label20.Size = new System.Drawing.Size(15, 13);
            this.label20.TabIndex = 14;
            this.label20.Text = "=";
            // 
            // lookupunits
            // 
            this.lookupunits.Location = new System.Drawing.Point(34, 22);
            this.lookupunits.Name = "lookupunits";
            this.lookupunits.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.lookupunits.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("UNITDESC", "Unit"),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("UNITVALUE", "Qty"),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("UNITID", "UNITID", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("UCODE", "UCODE", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default)});
            this.lookupunits.Properties.DisplayMember = "UNITDESC";
            this.lookupunits.Properties.NullText = "";
            this.lookupunits.Properties.ValueMember = "UNITDESC";
            this.lookupunits.Size = new System.Drawing.Size(100, 20);
            this.lookupunits.TabIndex = 8;
            this.lookupunits.EditValueChanged += new System.EventHandler(this.LookUpEdit1EditValueChanged);
            // 
            // label19
            // 
            this.label19.AutoSize = true;
            this.label19.Location = new System.Drawing.Point(3, 25);
            this.label19.Name = "label19";
            this.label19.Size = new System.Drawing.Size(33, 13);
            this.label19.TabIndex = 20;
            this.label19.Text = "Unit: ";
            // 
            // label18
            // 
            this.label18.AutoSize = true;
            this.label18.BackColor = System.Drawing.Color.Gray;
            this.label18.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.label18.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this.label18.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label18.Location = new System.Drawing.Point(418, 1);
            this.label18.Name = "label18";
            this.label18.Size = new System.Drawing.Size(17, 16);
            this.label18.TabIndex = 31;
            this.label18.Text = "X";
            this.label18.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.label18.Click += new System.EventHandler(this.Label18Click);
            // 
            // label5
            // 
            this.label5.BackColor = System.Drawing.Color.Silver;
            this.label5.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.label5.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label5.Location = new System.Drawing.Point(0, 0);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(434, 17);
            this.label5.TabIndex = 30;
            this.label5.Text = "Unit Conversion";
            this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // panelautosales
            // 
            this.panelautosales.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.panelautosales.Controls.Add(this.simpleButton3);
            this.panelautosales.Controls.Add(this.simpleButton2);
            this.panelautosales.Controls.Add(this.radioGroup1);
            this.panelautosales.Controls.Add(this.spinEdit1);
            this.panelautosales.Controls.Add(this.label25);
            this.panelautosales.Controls.Add(this.label24);
            this.panelautosales.Controls.Add(this.label23);
            this.panelautosales.Location = new System.Drawing.Point(63, 365);
            this.panelautosales.Name = "panelautosales";
            this.panelautosales.Size = new System.Drawing.Size(436, 56);
            this.panelautosales.TabIndex = 104;
            this.panelautosales.Visible = false;
            // 
            // simpleButton3
            // 
            this.simpleButton3.Location = new System.Drawing.Point(385, 35);
            this.simpleButton3.Name = "simpleButton3";
            this.simpleButton3.Size = new System.Drawing.Size(47, 18);
            this.simpleButton3.TabIndex = 39;
            this.simpleButton3.Text = "Clear";
            this.simpleButton3.Click += new System.EventHandler(this.SimpleButton3Click);
            // 
            // simpleButton2
            // 
            this.simpleButton2.Location = new System.Drawing.Point(385, 17);
            this.simpleButton2.Name = "simpleButton2";
            this.simpleButton2.Size = new System.Drawing.Size(47, 17);
            this.simpleButton2.TabIndex = 36;
            this.simpleButton2.Text = "Set";
            this.simpleButton2.Click += new System.EventHandler(this.SimpleButton2Click);
            // 
            // radioGroup1
            // 
            this.radioGroup1.EditValue = true;
            this.radioGroup1.Location = new System.Drawing.Point(177, 24);
            this.radioGroup1.Name = "radioGroup1";
            this.radioGroup1.Properties.Items.AddRange(new DevExpress.XtraEditors.Controls.RadioGroupItem[] {
            new DevExpress.XtraEditors.Controls.RadioGroupItem(true, "By Invoice Rate"),
            new DevExpress.XtraEditors.Controls.RadioGroupItem(false, "By Cost Price")});
            this.radioGroup1.Size = new System.Drawing.Size(205, 21);
            this.radioGroup1.TabIndex = 35;
            // 
            // spinEdit1
            // 
            this.spinEdit1.EditValue = new decimal(new int[] {
            0,
            0,
            0,
            0});
            this.spinEdit1.Location = new System.Drawing.Point(121, 25);
            this.spinEdit1.Name = "spinEdit1";
            this.spinEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.spinEdit1.Size = new System.Drawing.Size(52, 20);
            this.spinEdit1.TabIndex = 34;
            this.spinEdit1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.SpinEdit1KeyDown);
            // 
            // label25
            // 
            this.label25.AutoSize = true;
            this.label25.Location = new System.Drawing.Point(2, 28);
            this.label25.Name = "label25";
            this.label25.Size = new System.Drawing.Size(117, 13);
            this.label25.TabIndex = 33;
            this.label25.Text = "Profit Percentage: (%)";
            // 
            // label24
            // 
            this.label24.AutoSize = true;
            this.label24.BackColor = System.Drawing.Color.Gray;
            this.label24.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.label24.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this.label24.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label24.Location = new System.Drawing.Point(418, 1);
            this.label24.Name = "label24";
            this.label24.Size = new System.Drawing.Size(17, 16);
            this.label24.TabIndex = 32;
            this.label24.Text = "X";
            this.label24.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.label24.Click += new System.EventHandler(this.Label24Click);
            // 
            // label23
            // 
            this.label23.BackColor = System.Drawing.Color.Silver;
            this.label23.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.label23.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label23.Location = new System.Drawing.Point(0, 0);
            this.label23.Name = "label23";
            this.label23.Size = new System.Drawing.Size(434, 17);
            this.label23.TabIndex = 31;
            this.label23.Text = "Auto Sales Price Calculation";
            this.label23.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // dxErrorProvider1
            // 
            this.dxErrorProvider1.ContainerControl = this;
            // 
            // gridControl1
            // 
            this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gridControl1.Location = new System.Drawing.Point(0, 250);
            this.gridControl1.LookAndFeel.SkinName = "Office 2010 Blue";
            this.gridControl1.MainView = this.advBandedGridView1;
            this.gridControl1.MenuManager = this.ribbon;
            this.gridControl1.Name = "gridControl1";
            this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
            this.dropitem,
            this.dropitem1,
            this.dropitemgroup,
            this.repositoryItemTextEdit2,
            this.repositoryItemTextEdit3,
            this.repositoryItemTextEdit4});
            this.gridControl1.Size = new System.Drawing.Size(807, 190);
            this.gridControl1.TabIndex = 7;
            this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.advBandedGridView1});
            this.gridControl1.EditorKeyDown += new System.Windows.Forms.KeyEventHandler(this.GridControl1EditorKeyDown);
            // 
            // advBandedGridView1
            // 
            this.advBandedGridView1.Bands.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.GridBand[] {
            this.gridBand1});
            this.advBandedGridView1.Columns.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn[] {
            this.colTID,
            this.colBARCODE,
            this.colQTY,
            this.colBONUSQTY,
            this.colINVRATE,
            this.colDISC,
            this.colSPDISC,
            this.colSPRICE,
            this.colCPRICE,
            this.colEXPDT,
            this.colLINETOTAL,
            this.colGROSSVALUE,
            this.colPROFIT,
            this.colBATCHNO,
            this.colPONO,
            this.colPURINVID,
            this.colEXPR,
            this.colITEMNO,
            this.colGROUPID,
            this.colStock,
            this.colTOSTORE,
            this.colINVDISC,
            this.colEXPDATE});
            styleFormatCondition1.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            styleFormatCondition1.Appearance.ForeColor = System.Drawing.Color.Red;
            styleFormatCondition1.Appearance.Options.UseFont = true;
            styleFormatCondition1.Appearance.Options.UseForeColor = true;
            styleFormatCondition1.ApplyToRow = true;
            styleFormatCondition1.Column = this.colQTY;
            styleFormatCondition1.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
            styleFormatCondition1.Value1 = ((short)(0));
            this.advBandedGridView1.FormatConditions.AddRange(new DevExpress.XtraGrid.StyleFormatCondition[] {
            styleFormatCondition1});
            this.advBandedGridView1.GridControl = this.gridControl1;
            this.advBandedGridView1.HorzScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Always;
            this.advBandedGridView1.IndicatorWidth = 55;
            this.advBandedGridView1.Name = "advBandedGridView1";
            this.advBandedGridView1.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False;
            this.advBandedGridView1.OptionsCustomization.AllowFilter = false;
            this.advBandedGridView1.OptionsCustomization.AllowGroup = false;
            this.advBandedGridView1.OptionsCustomization.AllowSort = false;
            this.advBandedGridView1.OptionsMenu.EnableColumnMenu = false;
            this.advBandedGridView1.OptionsNavigation.AutoFocusNewRow = true;
            this.advBandedGridView1.OptionsNavigation.EnterMoveNextColumn = true;
            this.advBandedGridView1.OptionsView.ShowBands = false;
            this.advBandedGridView1.OptionsView.ShowGroupPanel = false;
            this.advBandedGridView1.VertScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Always;
            this.advBandedGridView1.CustomDrawRowIndicator += new DevExpress.XtraGrid.Views.Grid.RowIndicatorCustomDrawEventHandler(this.CustomDrawRowIndicator);
            this.advBandedGridView1.ShowingEditor += new System.ComponentModel.CancelEventHandler(this.advBandedGridView1_ShowingEditor);
            this.advBandedGridView1.CellValueChanged += new DevExpress.XtraGrid.Views.Base.CellValueChangedEventHandler(this.AdvBandedGridView1CellValueChanged);
            this.advBandedGridView1.InvalidRowException += new DevExpress.XtraGrid.Views.Base.InvalidRowExceptionEventHandler(this.InvalidRowException);
            this.advBandedGridView1.ValidateRow += new DevExpress.XtraGrid.Views.Base.ValidateRowEventHandler(this.ValidateRow);
            // 
            // gridBand1
            // 
            this.gridBand1.Caption = "gridBand1";
            this.gridBand1.Columns.Add(this.colBARCODE);
            this.gridBand1.Columns.Add(this.colBATCHNO);
            this.gridBand1.Columns.Add(this.colStock);
            this.gridBand1.Columns.Add(this.colQTY);
            this.gridBand1.Columns.Add(this.colBONUSQTY);
            this.gridBand1.Columns.Add(this.colINVRATE);
            this.gridBand1.Columns.Add(this.colDISC);
            this.gridBand1.Columns.Add(this.colSPDISC);
            this.gridBand1.Columns.Add(this.colSPRICE);
            this.gridBand1.Columns.Add(this.colEXPDATE);
            this.gridBand1.Columns.Add(this.colEXPDT);
            this.gridBand1.Columns.Add(this.colLINETOTAL);
            this.gridBand1.Columns.Add(this.colITEMNO);
            this.gridBand1.Columns.Add(this.colGROUPID);
            this.gridBand1.Columns.Add(this.colCPRICE);
            this.gridBand1.Columns.Add(this.colPROFIT);
            this.gridBand1.Columns.Add(this.colGROSSVALUE);
            this.gridBand1.Columns.Add(this.colTID);
            this.gridBand1.Columns.Add(this.colPONO);
            this.gridBand1.Columns.Add(this.colPURINVID);
            this.gridBand1.Columns.Add(this.colEXPR);
            this.gridBand1.Columns.Add(this.colTOSTORE);
            this.gridBand1.Columns.Add(this.colINVDISC);
            this.gridBand1.Name = "gridBand1";
            this.gridBand1.VisibleIndex = 0;
            this.gridBand1.Width = 758;
            // 
            // colBARCODE
            // 
            this.colBARCODE.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colBARCODE.AppearanceCell.Options.UseFont = true;
            this.colBARCODE.AppearanceCell.Options.UseTextOptions = true;
            this.colBARCODE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colBARCODE.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colBARCODE.AppearanceHeader.Options.UseFont = true;
            this.colBARCODE.AppearanceHeader.Options.UseTextOptions = true;
            this.colBARCODE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colBARCODE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colBARCODE.Caption = "Barcode";
            this.colBARCODE.FieldName = "BARCODE";
            this.colBARCODE.Name = "colBARCODE";
            this.colBARCODE.OptionsColumn.AllowEdit = false;
            this.colBARCODE.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colBARCODE.OptionsFilter.AllowAutoFilter = false;
            this.colBARCODE.OptionsFilter.AllowFilter = false;
            this.colBARCODE.Visible = true;
            this.colBARCODE.Width = 172;
            // 
            // colBATCHNO
            // 
            this.colBATCHNO.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colBATCHNO.AppearanceCell.Options.UseFont = true;
            this.colBATCHNO.AppearanceCell.Options.UseTextOptions = true;
            this.colBATCHNO.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colBATCHNO.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colBATCHNO.AppearanceHeader.Options.UseFont = true;
            this.colBATCHNO.AppearanceHeader.Options.UseTextOptions = true;
            this.colBATCHNO.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colBATCHNO.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colBATCHNO.Caption = "Batch #";
            this.colBATCHNO.FieldName = "BATCHNO";
            this.colBATCHNO.Name = "colBATCHNO";
            this.colBATCHNO.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colBATCHNO.OptionsFilter.AllowAutoFilter = false;
            this.colBATCHNO.OptionsFilter.AllowFilter = false;
            this.colBATCHNO.Visible = true;
            this.colBATCHNO.Width = 59;
            // 
            // colStock
            // 
            this.colStock.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colStock.AppearanceCell.Options.UseFont = true;
            this.colStock.AppearanceCell.Options.UseTextOptions = true;
            this.colStock.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colStock.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colStock.AppearanceHeader.Options.UseFont = true;
            this.colStock.AppearanceHeader.Options.UseTextOptions = true;
            this.colStock.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colStock.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colStock.Caption = "Stock";
            this.colStock.FieldName = "STOCK";
            this.colStock.Name = "colStock";
            this.colStock.OptionsColumn.AllowEdit = false;
            this.colStock.OptionsColumn.AllowFocus = false;
            this.colStock.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colStock.OptionsFilter.AllowAutoFilter = false;
            this.colStock.OptionsFilter.AllowFilter = false;
            this.colStock.Visible = true;
            this.colStock.Width = 60;
            // 
            // colBONUSQTY
            // 
            this.colBONUSQTY.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colBONUSQTY.AppearanceCell.Options.UseFont = true;
            this.colBONUSQTY.AppearanceCell.Options.UseTextOptions = true;
            this.colBONUSQTY.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colBONUSQTY.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colBONUSQTY.AppearanceHeader.Options.UseFont = true;
            this.colBONUSQTY.AppearanceHeader.Options.UseTextOptions = true;
            this.colBONUSQTY.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colBONUSQTY.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colBONUSQTY.Caption = "Bns.";
            this.colBONUSQTY.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.colBONUSQTY.FieldName = "BONUSQTY";
            this.colBONUSQTY.Name = "colBONUSQTY";
            this.colBONUSQTY.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colBONUSQTY.OptionsFilter.AllowAutoFilter = false;
            this.colBONUSQTY.OptionsFilter.AllowFilter = false;
            this.colBONUSQTY.Visible = true;
            this.colBONUSQTY.Width = 43;
            // 
            // colINVRATE
            // 
            this.colINVRATE.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colINVRATE.AppearanceCell.Options.UseFont = true;
            this.colINVRATE.AppearanceCell.Options.UseTextOptions = true;
            this.colINVRATE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colINVRATE.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colINVRATE.AppearanceHeader.Options.UseFont = true;
            this.colINVRATE.AppearanceHeader.Options.UseTextOptions = true;
            this.colINVRATE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colINVRATE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colINVRATE.Caption = "Price";
            this.colINVRATE.ColumnEdit = this.repositoryItemTextEdit4;
            this.colINVRATE.DisplayFormat.FormatString = "N2";
            this.colINVRATE.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.colINVRATE.FieldName = "INVRATE";
            this.colINVRATE.Name = "colINVRATE";
            this.colINVRATE.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colINVRATE.OptionsFilter.AllowAutoFilter = false;
            this.colINVRATE.OptionsFilter.AllowFilter = false;
            this.colINVRATE.Visible = true;
            this.colINVRATE.Width = 70;
            // 
            // repositoryItemTextEdit4
            // 
            this.repositoryItemTextEdit4.AutoHeight = false;
            this.repositoryItemTextEdit4.DisplayFormat.FormatString = "N2";
            this.repositoryItemTextEdit4.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.repositoryItemTextEdit4.EditFormat.FormatString = "N2";
            this.repositoryItemTextEdit4.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.repositoryItemTextEdit4.Name = "repositoryItemTextEdit4";
            // 
            // colDISC
            // 
            this.colDISC.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colDISC.AppearanceCell.Options.UseFont = true;
            this.colDISC.AppearanceCell.Options.UseTextOptions = true;
            this.colDISC.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colDISC.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colDISC.AppearanceHeader.Options.UseFont = true;
            this.colDISC.AppearanceHeader.Options.UseTextOptions = true;
            this.colDISC.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colDISC.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colDISC.Caption = "Disc.";
            this.colDISC.ColumnEdit = this.repositoryItemTextEdit3;
            this.colDISC.DisplayFormat.FormatString = "##.##";
            this.colDISC.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.colDISC.FieldName = "DISC";
            this.colDISC.Name = "colDISC";
            this.colDISC.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colDISC.OptionsFilter.AllowAutoFilter = false;
            this.colDISC.OptionsFilter.AllowFilter = false;
            this.colDISC.Visible = true;
            this.colDISC.Width = 43;
            // 
            // repositoryItemTextEdit3
            // 
            this.repositoryItemTextEdit3.AutoHeight = false;
            this.repositoryItemTextEdit3.DisplayFormat.FormatString = "##.##";
            this.repositoryItemTextEdit3.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.repositoryItemTextEdit3.EditFormat.FormatString = "##.##";
            this.repositoryItemTextEdit3.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.repositoryItemTextEdit3.Name = "repositoryItemTextEdit3";
            // 
            // colSPDISC
            // 
            this.colSPDISC.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colSPDISC.AppearanceCell.Options.UseFont = true;
            this.colSPDISC.AppearanceCell.Options.UseTextOptions = true;
            this.colSPDISC.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSPDISC.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colSPDISC.AppearanceHeader.Options.UseFont = true;
            this.colSPDISC.AppearanceHeader.Options.UseTextOptions = true;
            this.colSPDISC.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSPDISC.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSPDISC.Caption = "Disc2";
            this.colSPDISC.ColumnEdit = this.repositoryItemTextEdit3;
            this.colSPDISC.DisplayFormat.FormatString = "N2";
            this.colSPDISC.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.colSPDISC.FieldName = "SPDISC";
            this.colSPDISC.Name = "colSPDISC";
            this.colSPDISC.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colSPDISC.OptionsFilter.AllowAutoFilter = false;
            this.colSPDISC.OptionsFilter.AllowFilter = false;
            this.colSPDISC.Visible = true;
            this.colSPDISC.Width = 45;
            // 
            // colSPRICE
            // 
            this.colSPRICE.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colSPRICE.AppearanceCell.Options.UseFont = true;
            this.colSPRICE.AppearanceCell.Options.UseTextOptions = true;
            this.colSPRICE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSPRICE.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colSPRICE.AppearanceHeader.Options.UseFont = true;
            this.colSPRICE.AppearanceHeader.Options.UseTextOptions = true;
            this.colSPRICE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSPRICE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSPRICE.Caption = "S.Price";
            this.colSPRICE.ColumnEdit = this.repositoryItemTextEdit4;
            this.colSPRICE.DisplayFormat.FormatString = "N2";
            this.colSPRICE.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.colSPRICE.FieldName = "SPRICE";
            this.colSPRICE.Name = "colSPRICE";
            this.colSPRICE.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colSPRICE.OptionsFilter.AllowAutoFilter = false;
            this.colSPRICE.OptionsFilter.AllowFilter = false;
            this.colSPRICE.Visible = true;
            this.colSPRICE.Width = 67;
            // 
            // colEXPDATE
            // 
            this.colEXPDATE.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colEXPDATE.AppearanceCell.Options.UseFont = true;
            this.colEXPDATE.AppearanceCell.Options.UseTextOptions = true;
            this.colEXPDATE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colEXPDATE.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colEXPDATE.AppearanceHeader.Options.UseFont = true;
            this.colEXPDATE.AppearanceHeader.Options.UseTextOptions = true;
            this.colEXPDATE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colEXPDATE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colEXPDATE.Caption = "Exp.Dt.";
            this.colEXPDATE.ColumnEdit = this.repositoryItemTextEdit2;
            this.colEXPDATE.FieldName = "EXPDATE1";
            this.colEXPDATE.Name = "colEXPDATE";
            this.colEXPDATE.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colEXPDATE.OptionsFilter.AllowAutoFilter = false;
            this.colEXPDATE.OptionsFilter.AllowFilter = false;
            this.colEXPDATE.Visible = true;
            this.colEXPDATE.Width = 71;
            // 
            // repositoryItemTextEdit2
            // 
            this.repositoryItemTextEdit2.AutoHeight = false;
            this.repositoryItemTextEdit2.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom;
            this.repositoryItemTextEdit2.EditFormat.FormatType = DevExpress.Utils.FormatType.Custom;
            this.repositoryItemTextEdit2.Mask.EditMask = "0#-##";
            this.repositoryItemTextEdit2.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Simple;
            this.repositoryItemTextEdit2.Mask.UseMaskAsDisplayFormat = true;
            this.repositoryItemTextEdit2.Name = "repositoryItemTextEdit2";
            // 
            // colEXPDT
            // 
            this.colEXPDT.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colEXPDT.AppearanceCell.Options.UseFont = true;
            this.colEXPDT.AppearanceCell.Options.UseTextOptions = true;
            this.colEXPDT.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colEXPDT.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colEXPDT.AppearanceHeader.Options.UseFont = true;
            this.colEXPDT.AppearanceHeader.Options.UseTextOptions = true;
            this.colEXPDT.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colEXPDT.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colEXPDT.FieldName = "EXPDATE";
            this.colEXPDT.Name = "colEXPDT";
            this.colEXPDT.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colEXPDT.OptionsFilter.AllowAutoFilter = false;
            this.colEXPDT.OptionsFilter.AllowFilter = false;
            this.colEXPDT.Width = 78;
            // 
            // colLINETOTAL
            // 
            this.colLINETOTAL.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colLINETOTAL.AppearanceCell.Options.UseFont = true;
            this.colLINETOTAL.AppearanceCell.Options.UseTextOptions = true;
            this.colLINETOTAL.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colLINETOTAL.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colLINETOTAL.AppearanceHeader.Options.UseFont = true;
            this.colLINETOTAL.AppearanceHeader.Options.UseTextOptions = true;
            this.colLINETOTAL.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colLINETOTAL.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colLINETOTAL.Caption = "Total";
            this.colLINETOTAL.DisplayFormat.FormatString = "N2";
            this.colLINETOTAL.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.colLINETOTAL.FieldName = "LINETOTAL";
            this.colLINETOTAL.Name = "colLINETOTAL";
            this.colLINETOTAL.OptionsColumn.AllowEdit = false;
            this.colLINETOTAL.OptionsColumn.AllowFocus = false;
            this.colLINETOTAL.OptionsColumn.AllowMove = false;
            this.colLINETOTAL.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colLINETOTAL.OptionsFilter.AllowAutoFilter = false;
            this.colLINETOTAL.OptionsFilter.AllowFilter = false;
            this.colLINETOTAL.Visible = true;
            // 
            // colITEMNO
            // 
            this.colITEMNO.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colITEMNO.AppearanceCell.Options.UseFont = true;
            this.colITEMNO.AppearanceCell.Options.UseTextOptions = true;
            this.colITEMNO.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colITEMNO.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colITEMNO.AppearanceHeader.Options.UseFont = true;
            this.colITEMNO.AppearanceHeader.Options.UseTextOptions = true;
            this.colITEMNO.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colITEMNO.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colITEMNO.Caption = "Item name";
            this.colITEMNO.ColumnEdit = this.dropitem;
            this.colITEMNO.FieldName = "ITEMNO";
            this.colITEMNO.Name = "colITEMNO";
            this.colITEMNO.OptionsColumn.AllowEdit = false;
            this.colITEMNO.OptionsColumn.AllowFocus = false;
            this.colITEMNO.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colITEMNO.OptionsFilter.AllowAutoFilter = false;
            this.colITEMNO.OptionsFilter.AllowFilter = false;
            this.colITEMNO.RowIndex = 1;
            this.colITEMNO.Visible = true;
            this.colITEMNO.Width = 386;
            // 
            // dropitem
            // 
            this.dropitem.AutoHeight = false;
            this.dropitem.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.dropitem.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("BARCODE", "Name1"),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("ITEMNAME", "ITEMNAME")});
            this.dropitem.DisplayMember = "ITEMNAME";
            this.dropitem.Name = "dropitem";
            this.dropitem.NullText = "";
            this.dropitem.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
            this.dropitem.ValueMember = "ITEMNO";
            // 
            // colGROUPID
            // 
            this.colGROUPID.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colGROUPID.AppearanceCell.Options.UseFont = true;
            this.colGROUPID.AppearanceCell.Options.UseTextOptions = true;
            this.colGROUPID.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colGROUPID.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colGROUPID.AppearanceHeader.Options.UseFont = true;
            this.colGROUPID.AppearanceHeader.Options.UseTextOptions = true;
            this.colGROUPID.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colGROUPID.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colGROUPID.Caption = "Category";
            this.colGROUPID.ColumnEdit = this.dropitemgroup;
            this.colGROUPID.FieldName = "GROUPID";
            this.colGROUPID.Name = "colGROUPID";
            this.colGROUPID.OptionsColumn.AllowEdit = false;
            this.colGROUPID.OptionsColumn.AllowFocus = false;
            this.colGROUPID.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colGROUPID.OptionsFilter.AllowAutoFilter = false;
            this.colGROUPID.OptionsFilter.AllowFilter = false;
            this.colGROUPID.RowIndex = 1;
            this.colGROUPID.Visible = true;
            this.colGROUPID.Width = 159;
            // 
            // dropitemgroup
            // 
            this.dropitemgroup.AutoHeight = false;
            this.dropitemgroup.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.dropitemgroup.DisplayMember = "GROUPNAME";
            this.dropitemgroup.Name = "dropitemgroup";
            this.dropitemgroup.NullText = "";
            this.dropitemgroup.ValueMember = "GROUPID";
            // 
            // colCPRICE
            // 
            this.colCPRICE.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colCPRICE.AppearanceCell.Options.UseFont = true;
            this.colCPRICE.AppearanceCell.Options.UseTextOptions = true;
            this.colCPRICE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colCPRICE.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colCPRICE.AppearanceHeader.Options.UseFont = true;
            this.colCPRICE.AppearanceHeader.Options.UseTextOptions = true;
            this.colCPRICE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colCPRICE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colCPRICE.Caption = "Cost";
            this.colCPRICE.DisplayFormat.FormatString = "N2";
            this.colCPRICE.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.colCPRICE.FieldName = "CPRICE";
            this.colCPRICE.Name = "colCPRICE";
            this.colCPRICE.OptionsColumn.AllowEdit = false;
            this.colCPRICE.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colCPRICE.OptionsFilter.AllowAutoFilter = false;
            this.colCPRICE.OptionsFilter.AllowFilter = false;
            this.colCPRICE.RowIndex = 1;
            this.colCPRICE.Visible = true;
            this.colCPRICE.Width = 67;
            // 
            // colPROFIT
            // 
            this.colPROFIT.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colPROFIT.AppearanceCell.Options.UseFont = true;
            this.colPROFIT.AppearanceCell.Options.UseTextOptions = true;
            this.colPROFIT.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colPROFIT.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colPROFIT.AppearanceHeader.Options.UseFont = true;
            this.colPROFIT.AppearanceHeader.Options.UseTextOptions = true;
            this.colPROFIT.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colPROFIT.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colPROFIT.Caption = "Profit";
            this.colPROFIT.DisplayFormat.FormatString = "n2";
            this.colPROFIT.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.colPROFIT.FieldName = "PROFIT";
            this.colPROFIT.Name = "colPROFIT";
            this.colPROFIT.OptionsColumn.AllowEdit = false;
            this.colPROFIT.OptionsColumn.AllowFocus = false;
            this.colPROFIT.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colPROFIT.OptionsFilter.AllowAutoFilter = false;
            this.colPROFIT.OptionsFilter.AllowFilter = false;
            this.colPROFIT.RowIndex = 1;
            this.colPROFIT.Visible = true;
            this.colPROFIT.Width = 71;
            // 
            // colGROSSVALUE
            // 
            this.colGROSSVALUE.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colGROSSVALUE.AppearanceCell.Options.UseFont = true;
            this.colGROSSVALUE.AppearanceCell.Options.UseTextOptions = true;
            this.colGROSSVALUE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colGROSSVALUE.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colGROSSVALUE.AppearanceHeader.Options.UseFont = true;
            this.colGROSSVALUE.AppearanceHeader.Options.UseTextOptions = true;
            this.colGROSSVALUE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colGROSSVALUE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colGROSSVALUE.Caption = "Gross";
            this.colGROSSVALUE.DisplayFormat.FormatString = "N2";
            this.colGROSSVALUE.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.colGROSSVALUE.FieldName = "GROSSVALUE";
            this.colGROSSVALUE.Name = "colGROSSVALUE";
            this.colGROSSVALUE.OptionsColumn.AllowFocus = false;
            this.colGROSSVALUE.OptionsColumn.AllowMove = false;
            this.colGROSSVALUE.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colGROSSVALUE.OptionsFilter.AllowAutoFilter = false;
            this.colGROSSVALUE.OptionsFilter.AllowFilter = false;
            this.colGROSSVALUE.RowIndex = 1;
            this.colGROSSVALUE.Visible = true;
            // 
            // colTID
            // 
            this.colTID.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colTID.AppearanceCell.Options.UseFont = true;
            this.colTID.AppearanceCell.Options.UseTextOptions = true;
            this.colTID.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTID.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colTID.AppearanceHeader.Options.UseFont = true;
            this.colTID.AppearanceHeader.Options.UseTextOptions = true;
            this.colTID.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colTID.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTID.FieldName = "TID";
            this.colTID.Name = "colTID";
            this.colTID.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colTID.OptionsColumn.ReadOnly = true;
            this.colTID.OptionsFilter.AllowAutoFilter = false;
            this.colTID.OptionsFilter.AllowFilter = false;
            this.colTID.RowIndex = 2;
            this.colTID.Width = 93;
            // 
            // colPONO
            // 
            this.colPONO.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colPONO.AppearanceCell.Options.UseFont = true;
            this.colPONO.AppearanceCell.Options.UseTextOptions = true;
            this.colPONO.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colPONO.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colPONO.AppearanceHeader.Options.UseFont = true;
            this.colPONO.AppearanceHeader.Options.UseTextOptions = true;
            this.colPONO.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colPONO.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colPONO.FieldName = "PONO";
            this.colPONO.Name = "colPONO";
            this.colPONO.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colPONO.OptionsFilter.AllowAutoFilter = false;
            this.colPONO.OptionsFilter.AllowFilter = false;
            this.colPONO.RowIndex = 2;
            this.colPONO.Width = 93;
            // 
            // colPURINVID
            // 
            this.colPURINVID.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colPURINVID.AppearanceCell.Options.UseFont = true;
            this.colPURINVID.AppearanceCell.Options.UseTextOptions = true;
            this.colPURINVID.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colPURINVID.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colPURINVID.AppearanceHeader.Options.UseFont = true;
            this.colPURINVID.AppearanceHeader.Options.UseTextOptions = true;
            this.colPURINVID.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colPURINVID.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colPURINVID.FieldName = "PURINVID";
            this.colPURINVID.Name = "colPURINVID";
            this.colPURINVID.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colPURINVID.OptionsFilter.AllowAutoFilter = false;
            this.colPURINVID.OptionsFilter.AllowFilter = false;
            this.colPURINVID.RowIndex = 2;
            this.colPURINVID.Width = 93;
            // 
            // colEXPR
            // 
            this.colEXPR.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colEXPR.AppearanceCell.Options.UseFont = true;
            this.colEXPR.AppearanceCell.Options.UseTextOptions = true;
            this.colEXPR.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colEXPR.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colEXPR.AppearanceHeader.Options.UseFont = true;
            this.colEXPR.AppearanceHeader.Options.UseTextOptions = true;
            this.colEXPR.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colEXPR.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colEXPR.FieldName = "EXPR";
            this.colEXPR.Name = "colEXPR";
            this.colEXPR.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colEXPR.OptionsFilter.AllowAutoFilter = false;
            this.colEXPR.OptionsFilter.AllowFilter = false;
            this.colEXPR.RowIndex = 2;
            this.colEXPR.Width = 93;
            // 
            // colTOSTORE
            // 
            this.colTOSTORE.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colTOSTORE.AppearanceCell.Options.UseFont = true;
            this.colTOSTORE.AppearanceCell.Options.UseTextOptions = true;
            this.colTOSTORE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTOSTORE.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colTOSTORE.AppearanceHeader.Options.UseFont = true;
            this.colTOSTORE.AppearanceHeader.Options.UseTextOptions = true;
            this.colTOSTORE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colTOSTORE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTOSTORE.FieldName = "TOSTORE";
            this.colTOSTORE.Name = "colTOSTORE";
            this.colTOSTORE.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colTOSTORE.OptionsFilter.AllowAutoFilter = false;
            this.colTOSTORE.OptionsFilter.AllowFilter = false;
            this.colTOSTORE.RowIndex = 2;
            this.colTOSTORE.Width = 70;
            // 
            // colINVDISC
            // 
            this.colINVDISC.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colINVDISC.AppearanceCell.Options.UseFont = true;
            this.colINVDISC.AppearanceCell.Options.UseTextOptions = true;
            this.colINVDISC.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colINVDISC.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F);
            this.colINVDISC.AppearanceHeader.Options.UseFont = true;
            this.colINVDISC.AppearanceHeader.Options.UseTextOptions = true;
            this.colINVDISC.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colINVDISC.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colINVDISC.FieldName = "INVDISC";
            this.colINVDISC.Name = "colINVDISC";
            this.colINVDISC.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            this.colINVDISC.OptionsFilter.AllowAutoFilter = false;
            this.colINVDISC.OptionsFilter.AllowFilter = false;
            this.colINVDISC.RowIndex = 2;
            this.colINVDISC.Width = 93;
            // 
            // dropitem1
            // 
            this.dropitem1.AutoHeight = false;
            this.dropitem1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.dropitem1.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("ITEMNO", "ITEMNO"),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("ITEMNAME", "ITEMNAME")});
            this.dropitem1.DisplayMember = "ITEMNAME";
            this.dropitem1.Name = "dropitem1";
            this.dropitem1.NullText = "";
            this.dropitem1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
            this.dropitem1.ValueMember = "ITEMNO";
            // 
            // BasePurInvoice
            // 
            this.Appearance.Options.UseFont = true;
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(807, 571);
            this.Controls.Add(this.panelautosales);
            this.Controls.Add(this.panelunit);
            this.Controls.Add(this.gridControl1);
            this.Controls.Add(this.panel3);
            this.Controls.Add(this.panel2);
            this.Controls.Add(this.panel1);
            this.Controls.Add(this.barDockControlLeft);
            this.Controls.Add(this.barDockControlRight);
            this.Controls.Add(this.barDockControlBottom);
            this.Controls.Add(this.barDockControlTop);
            this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.KeyPreview = true;
            this.Name = "BasePurInvoice";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "BasePurInvoice";
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            this.Load += new System.EventHandler(this.BasePurInvoiceLoad);
            this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.BasePurInvoiceKeyDown);
            this.Controls.SetChildIndex(this.barDockControlTop, 0);
            this.Controls.SetChildIndex(this.barDockControlBottom, 0);
            this.Controls.SetChildIndex(this.barDockControlRight, 0);
            this.Controls.SetChildIndex(this.barDockControlLeft, 0);
            this.Controls.SetChildIndex(this.ribbon, 0);
            this.Controls.SetChildIndex(this.panel1, 0);
            this.Controls.SetChildIndex(this.panel2, 0);
            this.Controls.SetChildIndex(this.panel3, 0);
            this.Controls.SetChildIndex(this.gridControl1, 0);
            this.Controls.SetChildIndex(this.panelunit, 0);
            this.Controls.SetChildIndex(this.panelautosales, 0);
            ((System.ComponentModel.ISupportInitialize)(this.ribbon)).EndInit();
            this.panel1.ResumeLayout(false);
            this.panel1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.Lookupwarehouse.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.lookuppo.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.LookuptoStore.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.spdisc.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.duedays.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.invdate.Properties.CalendarTimeProperties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.invdate.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.invno.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.LookupSupplier.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtpurno.Properties)).EndInit();
            this.panel2.ResumeLayout(false);
            this.panel2.PerformLayout();
            this.panel4.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.totdisc.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.totvalue.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.totnetamt.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.totspecdisc.Properties)).EndInit();
            this.paneltotcost.ResumeLayout(false);
            this.paneltotcost.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.totprofit.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.totsalevalue.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.totcostvalue.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.adjustval.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pURINVDETAILBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dsPurchase1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dsInventory1)).EndInit();
            this.panel3.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPopupContainerEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPopupContainerEdit2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.rETURNDETAILBindingSource)).EndInit();
            this.panelunit.ResumeLayout(false);
            this.panelunit.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txttotunitvalue.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txttotunits.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtunitqty.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.lookupunits.Properties)).EndInit();
            this.panelautosales.ResumeLayout(false);
            this.panelautosales.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.radioGroup1.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.spinEdit1.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dxErrorProvider1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.advBandedGridView1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit4)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dropitem)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dropitemgroup)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dropitem1)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
Example #23
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     DevExpress.XtraGrid.StyleFormatCondition       styleFormatCondition1 = new DevExpress.XtraGrid.StyleFormatCondition();
     System.ComponentModel.ComponentResourceManager resources             = new System.ComponentModel.ComponentResourceManager(typeof(FrmReaderList));
     this.colStatus                = new DevExpress.XtraGrid.Columns.GridColumn();
     this.bindingSource_0          = new System.Windows.Forms.BindingSource(this.components);
     this.gridControl1             = new DevExpress.XtraGrid.GridControl();
     this.gridView1                = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colid                    = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colfullname              = new DevExpress.XtraGrid.Columns.GridColumn();
     this.coladdress               = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colphone                 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colperson_id             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colemail                 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.coldue_date              = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colimage                 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemImageEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemImageEdit();
     this.colopen_date             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.btn_Exit                 = new DevExpress.XtraEditors.SimpleButton();
     this.btn_History              = new DevExpress.XtraEditors.SimpleButton();
     this.printingSystem_0         = new DevExpress.XtraPrinting.PrintingSystem(this.components);
     this.printableComponentLink_0 = new DevExpress.XtraPrinting.PrintableComponentLink(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.bindingSource_0)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.printingSystem_0)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.printableComponentLink_0.ImageCollection)).BeginInit();
     this.SuspendLayout();
     //
     // colStatus
     //
     this.colStatus.Caption   = "Trạng thái";
     this.colStatus.FieldName = "Status";
     this.colStatus.Name      = "colStatus";
     this.colStatus.OptionsColumn.AllowEdit = false;
     this.colStatus.Visible      = true;
     this.colStatus.VisibleIndex = 9;
     //
     // bindingSource_0
     //
     this.bindingSource_0.DataMember = "tblCustomer";
     //
     // gridControl1
     //
     this.gridControl1.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.gridControl1.DataSource = this.bindingSource_0;
     this.gridControl1.Location   = new System.Drawing.Point(13, 12);
     this.gridControl1.MainView   = this.gridView1;
     this.gridControl1.Name       = "gridControl1";
     this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
         this.repositoryItemImageEdit1
     });
     this.gridControl1.Size     = new System.Drawing.Size(637, 432);
     this.gridControl1.TabIndex = 0;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gridView1
     });
     //
     // gridView1
     //
     this.gridView1.Appearance.GroupFooter.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.gridView1.Appearance.GroupFooter.Options.UseFont = true;
     this.gridView1.Appearance.HeaderPanel.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.gridView1.Appearance.HeaderPanel.Options.UseFont = true;
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.colid,
         this.colfullname,
         this.coladdress,
         this.colphone,
         this.colperson_id,
         this.colemail,
         this.coldue_date,
         this.colimage,
         this.colopen_date,
         this.colStatus
     });
     styleFormatCondition1.Appearance.Font                 = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Strikeout, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     styleFormatCondition1.Appearance.ForeColor            = System.Drawing.SystemColors.ControlDark;
     styleFormatCondition1.Appearance.Options.UseFont      = true;
     styleFormatCondition1.Appearance.Options.UseForeColor = true;
     styleFormatCondition1.ApplyToRow = true;
     styleFormatCondition1.Column     = this.colStatus;
     styleFormatCondition1.Condition  = DevExpress.XtraGrid.FormatConditionEnum.Equal;
     styleFormatCondition1.Value1     = false;
     this.gridView1.FormatConditions.AddRange(new DevExpress.XtraGrid.StyleFormatCondition[] {
         styleFormatCondition1
     });
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name        = "gridView1";
     this.gridView1.OptionsView.ShowAutoFilterRow = true;
     this.gridView1.OptionsView.ShowFooter        = true;
     //
     // colid
     //
     this.colid.Caption   = "Số thẻ";
     this.colid.FieldName = "id";
     this.colid.Name      = "colid";
     this.colid.OptionsColumn.AllowEdit   = false;
     this.colid.SummaryItem.DisplayFormat = "{0:n0}";
     this.colid.SummaryItem.SummaryType   = DevExpress.Data.SummaryItemType.Count;
     this.colid.Visible      = true;
     this.colid.VisibleIndex = 0;
     //
     // colfullname
     //
     this.colfullname.Caption   = "Họ tên";
     this.colfullname.FieldName = "fullname";
     this.colfullname.Name      = "colfullname";
     this.colfullname.OptionsColumn.AllowEdit = false;
     this.colfullname.Visible      = true;
     this.colfullname.VisibleIndex = 1;
     //
     // coladdress
     //
     this.coladdress.Caption   = "Địa chỉ";
     this.coladdress.FieldName = "address";
     this.coladdress.Name      = "coladdress";
     this.coladdress.OptionsColumn.AllowEdit = false;
     this.coladdress.Visible      = true;
     this.coladdress.VisibleIndex = 6;
     //
     // colphone
     //
     this.colphone.Caption   = "Điện thoại";
     this.colphone.FieldName = "phone";
     this.colphone.Name      = "colphone";
     this.colphone.OptionsColumn.AllowEdit = false;
     this.colphone.Visible      = true;
     this.colphone.VisibleIndex = 4;
     //
     // colperson_id
     //
     this.colperson_id.Caption   = "Số CMTND";
     this.colperson_id.FieldName = "person_id";
     this.colperson_id.Name      = "colperson_id";
     this.colperson_id.OptionsColumn.AllowEdit = false;
     this.colperson_id.Visible      = true;
     this.colperson_id.VisibleIndex = 7;
     //
     // colemail
     //
     this.colemail.Caption   = "Email";
     this.colemail.FieldName = "email";
     this.colemail.Name      = "colemail";
     this.colemail.OptionsColumn.AllowEdit = false;
     this.colemail.Visible      = true;
     this.colemail.VisibleIndex = 5;
     //
     // coldue_date
     //
     this.coldue_date.AppearanceCell.BackColor            = System.Drawing.Color.LightCyan;
     this.coldue_date.AppearanceCell.Options.UseBackColor = true;
     this.coldue_date.Caption = "Ngày hết hạn";
     this.coldue_date.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.coldue_date.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.DateTime;
     this.coldue_date.FieldName = "due_date";
     this.coldue_date.Name      = "coldue_date";
     this.coldue_date.OptionsColumn.AllowEdit = false;
     this.coldue_date.Visible      = true;
     this.coldue_date.VisibleIndex = 3;
     //
     // colimage
     //
     this.colimage.Caption      = "Ảnh";
     this.colimage.ColumnEdit   = this.repositoryItemImageEdit1;
     this.colimage.FieldName    = "image";
     this.colimage.Name         = "colimage";
     this.colimage.Visible      = true;
     this.colimage.VisibleIndex = 8;
     //
     // repositoryItemImageEdit1
     //
     this.repositoryItemImageEdit1.AutoHeight = false;
     this.repositoryItemImageEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repositoryItemImageEdit1.Name     = "repositoryItemImageEdit1";
     this.repositoryItemImageEdit1.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Zoom;
     //
     // colopen_date
     //
     this.colopen_date.Caption = "Ngày cấp";
     this.colopen_date.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.colopen_date.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.DateTime;
     this.colopen_date.FieldName = "open_date";
     this.colopen_date.Name      = "colopen_date";
     this.colopen_date.OptionsColumn.AllowEdit = false;
     this.colopen_date.Visible      = true;
     this.colopen_date.VisibleIndex = 2;
     //
     // btn_Exit
     //
     this.btn_Exit.Anchor                     = System.Windows.Forms.AnchorStyles.Bottom;
     this.btn_Exit.Appearance.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btn_Exit.Appearance.Options.UseFont = true;
     this.btn_Exit.DialogResult               = System.Windows.Forms.DialogResult.Cancel;
     this.btn_Exit.Location                   = new System.Drawing.Point(340, 450);
     this.btn_Exit.Name     = "btn_Exit";
     this.btn_Exit.Size     = new System.Drawing.Size(88, 23);
     this.btn_Exit.TabIndex = 383;
     this.btn_Exit.Text     = "ESC-Thoát";
     this.btn_Exit.Click   += new System.EventHandler(this.btn_Exit_Click);
     //
     // btn_History
     //
     this.btn_History.Anchor                     = System.Windows.Forms.AnchorStyles.Bottom;
     this.btn_History.Appearance.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btn_History.Appearance.Options.UseFont = true;
     this.btn_History.Location                   = new System.Drawing.Point(235, 450);
     this.btn_History.Name     = "btn_History";
     this.btn_History.Size     = new System.Drawing.Size(88, 23);
     this.btn_History.TabIndex = 382;
     this.btn_History.Text     = "In";
     this.btn_History.Click   += new System.EventHandler(this.btn_History_Click);
     //
     // printingSystem_0
     //
     this.printingSystem_0.Links.AddRange(new object[] {
         this.printableComponentLink_0
     });
     //
     // printableComponentLink_0
     //
     this.printableComponentLink_0.Component = this.gridControl1;
     //
     //
     //
     this.printableComponentLink_0.ImageCollection.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("printableComponentLink_0.ImageCollection.ImageStream")));
     this.printableComponentLink_0.PrintingSystem          = this.printingSystem_0;
     this.printableComponentLink_0.PrintingSystemBase      = this.printingSystem_0;
     this.printableComponentLink_0.CreateReportHeaderArea += new DevExpress.XtraPrinting.CreateAreaEventHandler(this.printableComponentLink_0_CreateReportHeaderArea);
     //
     // FrmReaderList
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.CancelButton        = this.btn_Exit;
     this.ClientSize          = new System.Drawing.Size(662, 485);
     this.Controls.Add(this.btn_Exit);
     this.Controls.Add(this.btn_History);
     this.Controls.Add(this.gridControl1);
     this.Name       = "FrmReaderList";
     this.Text       = "Danh sách thẻ thư viện";
     this.Load      += new System.EventHandler(this.RrqIxZxw5);
     this.Activated += new System.EventHandler(this.FrmReaderList_Activated);
     ((System.ComponentModel.ISupportInitialize)(this.bindingSource_0)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.printingSystem_0)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.printableComponentLink_0.ImageCollection)).EndInit();
     this.ResumeLayout(false);
 }
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition1 = new DevExpress.XtraGrid.StyleFormatCondition();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmItemLookUp));
            this.colSEL = new DevExpress.XtraGrid.Columns.GridColumn();
            this.barManager2 = new DevExpress.XtraBars.BarManager(this.components);
            this.bar1 = new DevExpress.XtraBars.Bar();
            this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem5 = new DevExpress.XtraBars.BarButtonItem();
            this.barEditItem2 = new DevExpress.XtraBars.BarEditItem();
            this.repositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
            this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem();
            this.standaloneBarDockControl1 = new DevExpress.XtraBars.StandaloneBarDockControl();
            this.barDockControl1 = new DevExpress.XtraBars.BarDockControl();
            this.barDockControl2 = new DevExpress.XtraBars.BarDockControl();
            this.barDockControl3 = new DevExpress.XtraBars.BarDockControl();
            this.barDockControl4 = new DevExpress.XtraBars.BarDockControl();
            this.barButtonItem7 = new DevExpress.XtraBars.BarButtonItem();
            this.repositoryItemCheckEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
            this.repositoryItemPopupContainerEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemPopupContainerEdit();
            this.repositoryItemPopupContainerEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemPopupContainerEdit();
            this.iTEMMASTBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.textEdit1 = new DevExpress.XtraEditors.TextEdit();
            this.dsMaster1 = new VIRETAILENTITIES.DsMaster();
            this.gridControl1 = new DevExpress.XtraGrid.GridControl();
            this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.colITEMNAME = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colBARCODE = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colITEMNO = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colGROUPID = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colEXPDATEREQ = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colDISCOUNT = new DevExpress.XtraGrid.Columns.GridColumn();
            ((System.ComponentModel.ISupportInitialize)(this.barManager2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPopupContainerEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPopupContainerEdit2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.iTEMMASTBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dsMaster1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
            this.SuspendLayout();
            // 
            // colSEL
            // 
            this.colSEL.AppearanceCell.Options.UseTextOptions = true;
            this.colSEL.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSEL.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSEL.AppearanceHeader.Options.UseFont = true;
            this.colSEL.AppearanceHeader.Options.UseTextOptions = true;
            this.colSEL.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSEL.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSEL.FieldName = "SEL";
            this.colSEL.Name = "colSEL";
            this.colSEL.OptionsColumn.AllowEdit = false;
            this.colSEL.OptionsColumn.ShowCaption = false;
            this.colSEL.Visible = true;
            this.colSEL.VisibleIndex = 0;
            this.colSEL.Width = 33;
            // 
            // barManager2
            // 
            this.barManager2.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
            this.bar1});
            this.barManager2.DockControls.Add(this.barDockControl1);
            this.barManager2.DockControls.Add(this.barDockControl2);
            this.barManager2.DockControls.Add(this.barDockControl3);
            this.barManager2.DockControls.Add(this.barDockControl4);
            this.barManager2.DockControls.Add(this.standaloneBarDockControl1);
            this.barManager2.Form = this;
            this.barManager2.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
            this.barButtonItem3,
            this.barButtonItem7,
            this.barEditItem2,
            this.barButtonItem1,
            this.barButtonItem2,
            this.barButtonItem4,
            this.barButtonItem5});
            this.barManager2.MaxItemId = 15;
            this.barManager2.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
            this.repositoryItemCheckEdit1,
            this.repositoryItemPopupContainerEdit1,
            this.repositoryItemTextEdit1,
            this.repositoryItemPopupContainerEdit2});
            this.barManager2.EditorKeyDown += new System.Windows.Forms.KeyEventHandler(this.BarManager2EditorKeyDown);
            // 
            // bar1
            // 
            this.bar1.BarName = "Tools";
            this.bar1.DockCol = 0;
            this.bar1.DockRow = 0;
            this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Standalone;
            this.bar1.FloatLocation = new System.Drawing.Point(315, 342);
            this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem3, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem1, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem4, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem5, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barEditItem2, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem2, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph)});
            this.bar1.OptionsBar.AllowQuickCustomization = false;
            this.bar1.OptionsBar.DrawDragBorder = false;
            this.bar1.OptionsBar.UseWholeRow = true;
            this.bar1.StandaloneBarDockControl = this.standaloneBarDockControl1;
            this.bar1.Text = "Tools";
            // 
            // barButtonItem3
            // 
            this.barButtonItem3.Caption = "Item Setup ";
            this.barButtonItem3.Glyph = global::Store.Properties.Resources.NewAdd16;
            this.barButtonItem3.Id = 0;
            this.barButtonItem3.Name = "barButtonItem3";
            this.barButtonItem3.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
            this.barButtonItem3.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.BarButtonItem2ItemClick);
            // 
            // barButtonItem1
            // 
            this.barButtonItem1.Caption = "F1 - Bar Code Selection";
            this.barButtonItem1.Glyph = global::Store.Properties.Resources.barcode;
            this.barButtonItem1.Id = 11;
            this.barButtonItem1.Name = "barButtonItem1";
            this.barButtonItem1.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem1_ItemClick);
            // 
            // barButtonItem4
            // 
            this.barButtonItem4.Caption = "F2- Our Barcode";
            this.barButtonItem4.Glyph = global::Store.Properties.Resources.barcode;
            this.barButtonItem4.Id = 13;
            this.barButtonItem4.Name = "barButtonItem4";
            // 
            // barButtonItem5
            // 
            this.barButtonItem5.Caption = "ESC - CLOSE";
            this.barButtonItem5.Glyph = global::Store.Properties.Resources.Delete16;
            this.barButtonItem5.Id = 14;
            this.barButtonItem5.Name = "barButtonItem5";
            this.barButtonItem5.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem5_ItemClick);
            // 
            // barEditItem2
            // 
            this.barEditItem2.AutoFillWidth = true;
            this.barEditItem2.Caption = "Enter Item :";
            this.barEditItem2.Edit = this.repositoryItemTextEdit1;
            this.barEditItem2.Id = 8;
            this.barEditItem2.IEBehavior = true;
            this.barEditItem2.Name = "barEditItem2";
            this.barEditItem2.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
            // 
            // repositoryItemTextEdit1
            // 
            this.repositoryItemTextEdit1.AutoHeight = false;
            this.repositoryItemTextEdit1.Name = "repositoryItemTextEdit1";
            this.repositoryItemTextEdit1.NullText = "Barcode / Name";
            // 
            // barButtonItem2
            // 
            this.barButtonItem2.Caption = "Show Filter";
            this.barButtonItem2.Glyph = global::Store.Properties.Resources.funnelicon;
            this.barButtonItem2.Id = 12;
            this.barButtonItem2.Name = "barButtonItem2";
            this.barButtonItem2.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
            // 
            // standaloneBarDockControl1
            // 
            this.standaloneBarDockControl1.CausesValidation = false;
            this.standaloneBarDockControl1.Dock = System.Windows.Forms.DockStyle.Top;
            this.standaloneBarDockControl1.Location = new System.Drawing.Point(0, 0);
            this.standaloneBarDockControl1.Name = "standaloneBarDockControl1";
            this.standaloneBarDockControl1.Size = new System.Drawing.Size(632, 29);
            this.standaloneBarDockControl1.Text = "standaloneBarDockControl1";
            // 
            // barDockControl1
            // 
            this.barDockControl1.CausesValidation = false;
            this.barDockControl1.Dock = System.Windows.Forms.DockStyle.Top;
            this.barDockControl1.Location = new System.Drawing.Point(0, 0);
            this.barDockControl1.Size = new System.Drawing.Size(632, 0);
            // 
            // barDockControl2
            // 
            this.barDockControl2.CausesValidation = false;
            this.barDockControl2.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.barDockControl2.Location = new System.Drawing.Point(0, 440);
            this.barDockControl2.Size = new System.Drawing.Size(632, 0);
            // 
            // barDockControl3
            // 
            this.barDockControl3.CausesValidation = false;
            this.barDockControl3.Dock = System.Windows.Forms.DockStyle.Left;
            this.barDockControl3.Location = new System.Drawing.Point(0, 0);
            this.barDockControl3.Size = new System.Drawing.Size(0, 440);
            // 
            // barDockControl4
            // 
            this.barDockControl4.CausesValidation = false;
            this.barDockControl4.Dock = System.Windows.Forms.DockStyle.Right;
            this.barDockControl4.Location = new System.Drawing.Point(632, 0);
            this.barDockControl4.Size = new System.Drawing.Size(0, 440);
            // 
            // barButtonItem7
            // 
            this.barButtonItem7.Caption = "Merge Rows";
            this.barButtonItem7.Id = 5;
            this.barButtonItem7.Name = "barButtonItem7";
            // 
            // repositoryItemCheckEdit1
            // 
            this.repositoryItemCheckEdit1.AutoHeight = false;
            this.repositoryItemCheckEdit1.Name = "repositoryItemCheckEdit1";
            // 
            // repositoryItemPopupContainerEdit1
            // 
            this.repositoryItemPopupContainerEdit1.AutoHeight = false;
            this.repositoryItemPopupContainerEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemPopupContainerEdit1.Name = "repositoryItemPopupContainerEdit1";
            // 
            // repositoryItemPopupContainerEdit2
            // 
            this.repositoryItemPopupContainerEdit2.AutoHeight = false;
            this.repositoryItemPopupContainerEdit2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemPopupContainerEdit2.Name = "repositoryItemPopupContainerEdit2";
            // 
            // iTEMMASTBindingSource
            // 
            this.iTEMMASTBindingSource.DataMember = "ITEMMAST";
            this.iTEMMASTBindingSource.DataSource = typeof(VIRETAILENTITIES.DsMaster);
            // 
            // textEdit1
            // 
            this.textEdit1.Dock = System.Windows.Forms.DockStyle.Top;
            this.textEdit1.Location = new System.Drawing.Point(0, 29);
            this.textEdit1.MenuManager = this.barManager2;
            this.textEdit1.Name = "textEdit1";
            this.textEdit1.Properties.NullText = "Enter Item name";
            this.textEdit1.Properties.NullValuePrompt = "Enter Item name";
            this.textEdit1.Properties.NullValuePromptShowForEmptyValue = true;
            this.textEdit1.Size = new System.Drawing.Size(632, 20);
            this.textEdit1.TabIndex = 0;
            this.textEdit1.EditValueChanged += new System.EventHandler(this.textEdit1_EditValueChanged);
            this.textEdit1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textEdit1_KeyDown);
            // 
            // dsMaster1
            // 
            this.dsMaster1.DataSetName = "DsMaster";
            this.dsMaster1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            // 
            // gridControl1
            // 
            this.gridControl1.DataSource = this.iTEMMASTBindingSource;
            this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gridControl1.Location = new System.Drawing.Point(0, 49);
            this.gridControl1.MainView = this.gridView1;
            this.gridControl1.MenuManager = this.barManager2;
            this.gridControl1.Name = "gridControl1";
            this.gridControl1.Size = new System.Drawing.Size(632, 391);
            this.gridControl1.TabIndex = 24;
            this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gridView1});
            // 
            // gridView1
            // 
            this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.colSEL,
            this.colITEMNAME,
            this.colBARCODE,
            this.colITEMNO,
            this.colGROUPID,
            this.colEXPDATEREQ,
            this.colDISCOUNT});
            styleFormatCondition1.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(217)))), ((int)(((byte)(241)))), ((int)(((byte)(255)))));
            styleFormatCondition1.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            styleFormatCondition1.Appearance.Options.UseBackColor = true;
            styleFormatCondition1.Appearance.Options.UseFont = true;
            styleFormatCondition1.ApplyToRow = true;
            styleFormatCondition1.Column = this.colSEL;
            styleFormatCondition1.Condition = DevExpress.XtraGrid.FormatConditionEnum.Equal;
            styleFormatCondition1.Value1 = true;
            styleFormatCondition1.Value2 = true;
            this.gridView1.FormatConditions.AddRange(new DevExpress.XtraGrid.StyleFormatCondition[] {
            styleFormatCondition1});
            this.gridView1.GridControl = this.gridControl1;
            this.gridView1.Name = "gridView1";
            this.gridView1.OptionsCustomization.AllowGroup = false;
            this.gridView1.OptionsFind.ShowCloseButton = false;
            this.gridView1.OptionsFind.ShowFindButton = false;
            this.gridView1.OptionsView.ShowGroupPanel = false;
            this.gridView1.RowHeight = 24;
            this.gridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.gridView1_KeyDown);
            this.gridView1.DoubleClick += new System.EventHandler(this.gridView1_DoubleClick);
            // 
            // colITEMNAME
            // 
            this.colITEMNAME.AppearanceCell.Options.UseTextOptions = true;
            this.colITEMNAME.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colITEMNAME.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colITEMNAME.AppearanceHeader.Options.UseFont = true;
            this.colITEMNAME.AppearanceHeader.Options.UseTextOptions = true;
            this.colITEMNAME.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colITEMNAME.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colITEMNAME.Caption = "Item name";
            this.colITEMNAME.FieldName = "ITEMNAME";
            this.colITEMNAME.Name = "colITEMNAME";
            this.colITEMNAME.OptionsColumn.AllowEdit = false;
            this.colITEMNAME.OptionsColumn.ReadOnly = true;
            this.colITEMNAME.Visible = true;
            this.colITEMNAME.VisibleIndex = 1;
            this.colITEMNAME.Width = 350;
            // 
            // colBARCODE
            // 
            this.colBARCODE.AppearanceCell.Options.UseTextOptions = true;
            this.colBARCODE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colBARCODE.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colBARCODE.AppearanceHeader.Options.UseFont = true;
            this.colBARCODE.AppearanceHeader.Options.UseTextOptions = true;
            this.colBARCODE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colBARCODE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colBARCODE.Caption = "Manf .Barcode";
            this.colBARCODE.FieldName = "BARCODE";
            this.colBARCODE.Name = "colBARCODE";
            this.colBARCODE.OptionsColumn.AllowEdit = false;
            this.colBARCODE.OptionsColumn.ReadOnly = true;
            this.colBARCODE.Visible = true;
            this.colBARCODE.VisibleIndex = 2;
            this.colBARCODE.Width = 101;
            // 
            // colITEMNO
            // 
            this.colITEMNO.AppearanceCell.Options.UseTextOptions = true;
            this.colITEMNO.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colITEMNO.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colITEMNO.AppearanceHeader.Options.UseFont = true;
            this.colITEMNO.AppearanceHeader.Options.UseTextOptions = true;
            this.colITEMNO.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colITEMNO.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colITEMNO.Caption = "Our Barcode";
            this.colITEMNO.FieldName = "ITEMNO";
            this.colITEMNO.Name = "colITEMNO";
            this.colITEMNO.OptionsColumn.AllowEdit = false;
            this.colITEMNO.OptionsColumn.ReadOnly = true;
            this.colITEMNO.Visible = true;
            this.colITEMNO.VisibleIndex = 3;
            this.colITEMNO.Width = 123;
            // 
            // colGROUPID
            // 
            this.colGROUPID.AppearanceCell.Options.UseTextOptions = true;
            this.colGROUPID.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colGROUPID.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colGROUPID.AppearanceHeader.Options.UseFont = true;
            this.colGROUPID.AppearanceHeader.Options.UseTextOptions = true;
            this.colGROUPID.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colGROUPID.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colGROUPID.FieldName = "GROUPID";
            this.colGROUPID.Name = "colGROUPID";
            this.colGROUPID.OptionsColumn.AllowEdit = false;
            this.colGROUPID.OptionsColumn.ReadOnly = true;
            this.colGROUPID.Width = 124;
            // 
            // colEXPDATEREQ
            // 
            this.colEXPDATEREQ.AppearanceCell.Options.UseTextOptions = true;
            this.colEXPDATEREQ.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colEXPDATEREQ.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colEXPDATEREQ.AppearanceHeader.Options.UseFont = true;
            this.colEXPDATEREQ.AppearanceHeader.Options.UseTextOptions = true;
            this.colEXPDATEREQ.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colEXPDATEREQ.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colEXPDATEREQ.FieldName = "EXPDATEREQ";
            this.colEXPDATEREQ.Name = "colEXPDATEREQ";
            this.colEXPDATEREQ.OptionsColumn.AllowEdit = false;
            this.colEXPDATEREQ.OptionsColumn.ReadOnly = true;
            this.colEXPDATEREQ.Width = 124;
            // 
            // colDISCOUNT
            // 
            this.colDISCOUNT.AppearanceCell.Options.UseTextOptions = true;
            this.colDISCOUNT.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colDISCOUNT.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colDISCOUNT.AppearanceHeader.Options.UseFont = true;
            this.colDISCOUNT.AppearanceHeader.Options.UseTextOptions = true;
            this.colDISCOUNT.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colDISCOUNT.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colDISCOUNT.FieldName = "DISCOUNT";
            this.colDISCOUNT.Name = "colDISCOUNT";
            this.colDISCOUNT.OptionsColumn.AllowEdit = false;
            this.colDISCOUNT.OptionsColumn.ReadOnly = true;
            this.colDISCOUNT.Width = 139;
            // 
            // FrmItemLookUp
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(632, 440);
            this.Controls.Add(this.gridControl1);
            this.Controls.Add(this.textEdit1);
            this.Controls.Add(this.standaloneBarDockControl1);
            this.Controls.Add(this.barDockControl3);
            this.Controls.Add(this.barDockControl4);
            this.Controls.Add(this.barDockControl2);
            this.Controls.Add(this.barDockControl1);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.KeyPreview = true;
            this.LookAndFeel.SkinName = "Office 2013";
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "FrmItemLookUp";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Item Lookup";
            this.Load += new System.EventHandler(this.FrmItemLookUp_Load);
            this.Shown += new System.EventHandler(this.FrmItemLookUpShown);
            this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.FrmItemLookUp_KeyDown);
            ((System.ComponentModel.ISupportInitialize)(this.barManager2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPopupContainerEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPopupContainerEdit2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.iTEMMASTBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dsMaster1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
            this.ResumeLayout(false);

        }
Example #25
0
        /// <summary>
        /// 데이터 테이블을 정의 합니다.
        /// </summary>
        private void SetDataTable()
        {
            dt.Columns.Add("ONLY_DATE");
            dt.Columns.Add("USE_DATE");
            dt.Columns.Add("ROOM_TYPE");
            dt.Columns.Add("DEFECT_CNT", typeof(decimal));
            dt.Columns.Add("INVENTORY_CNT", typeof(decimal));
            dt.Columns.Add("SALE_USE_CNT");
            dt.Columns.Add("STAY_CNT", typeof(decimal));
            dt.Columns.Add("IN_PLAN_CNT", typeof(decimal));
            dt.Columns.Add("OUT_PLAN_CNT", typeof(decimal));
            dt.Columns.Add("REMAIN_CNT", typeof(decimal));
            dt.Columns.Add("USE_RATE");
            dt.Columns.Add("TODAY_IN_CNT", typeof(decimal));
            dt.Columns.Add("TODAY_OUT_CNT", typeof(decimal));
            dt.Columns.Add("TODAY");

            GridStyle gs = new GridStyle(this.grid, this.gridView);

            //AddColumn(string Caption, string Field, _ColumnType ColumnType, int Width, _ColumnAlign Align, bool IsVisble, bool IsAllowEdit, DefaultBoolean IsAllowSort);
            gs.AddColumn("코멘트가없습니다", "ONLY_DATE", _ColumnType.Default, 80, _ColumnAlign.Center, false, false, DevExpress.Utils.DefaultBoolean.False);
            gs.AddColumn("일자", "USE_DATE", _ColumnType.Default, 120, _ColumnAlign.Center, true, false, DevExpress.Utils.DefaultBoolean.False);
            gs.AddColumn("객실유형", "ROOM_TYPE", _ColumnType.Default, 80, _ColumnAlign.Center, true, false, DevExpress.Utils.DefaultBoolean.False);
            gs.AddColumn("고장", "DEFECT_CNT", _ColumnType.Numbers, 40, _ColumnAlign.Right, true, false, DevExpress.Utils.DefaultBoolean.False);
            gs.AddColumn("인벤토리", "INVENTORY_CNT", _ColumnType.Numbers, 80, _ColumnAlign.Right, true, false, DevExpress.Utils.DefaultBoolean.False);
            gs.AddColumn("가용", "SALE_USE_CNT", _ColumnType.Default, 40, _ColumnAlign.Center, true, false, DevExpress.Utils.DefaultBoolean.False);
            gs.AddColumn("재실", "STAY_CNT", _ColumnType.Numbers, 40, _ColumnAlign.Right, true, false, DevExpress.Utils.DefaultBoolean.False);
            gs.AddColumn("도착예정", "IN_PLAN_CNT", _ColumnType.Numbers, 80, _ColumnAlign.Right, true, false, DevExpress.Utils.DefaultBoolean.False);
            gs.AddColumn("퇴실예정", "OUT_PLAN_CNT", _ColumnType.Numbers, 80, _ColumnAlign.Right, true, false, DevExpress.Utils.DefaultBoolean.False);
            gs.AddColumn("잔여", "REMAIN_CNT", _ColumnType.Numbers, 40, _ColumnAlign.Right, true, false, DevExpress.Utils.DefaultBoolean.False);
            gs.AddColumn("점유율", "USE_RATE", _ColumnType.Default, 60, _ColumnAlign.Center, true, false, DevExpress.Utils.DefaultBoolean.False);
            gs.AddColumn("입실", "TODAY_IN_CNT", _ColumnType.Numbers, 40, _ColumnAlign.Right, true, false, DevExpress.Utils.DefaultBoolean.False);
            gs.AddColumn("퇴실", "TODAY_OUT_CNT", _ColumnType.Numbers, 40, _ColumnAlign.Right, true, false, DevExpress.Utils.DefaultBoolean.False);
            gs.AddColumn("예상점유 객실수", "TODAY", _ColumnType.Default, 150, _ColumnAlign.Center, true, false, DevExpress.Utils.DefaultBoolean.False);

            Cls.Grid.Options.SelectedRow(this.gridView);
            Cls.Grid.Options.EmbeddedNavigater(this.grid);
            Cls.Grid.Options.FilterRow(this.gridView, true);
            //Cls.Grid.Options.Footer(gridView, DevExpress.Data.SummaryItemType.Sum, "컬럼명", "필드명", SummaryFormat.Sum);
            this.grid.DataSource = dt;

            StyleFormatCondition condition1 = new DevExpress.XtraGrid.StyleFormatCondition();

            condition1.Appearance.BackColor            = Parm.mColor.SUM_PART_TOT;
            condition1.ApplyToRow                      = true;
            condition1.Appearance.Options.UseBackColor = true;
            condition1.Condition  = FormatConditionEnum.Expression;
            condition1.Expression = "ROOM_TYPE LIKE 'TTL%'";
            gridView.FormatConditions.Add(condition1);

            StyleFormatCondition condition2 = new DevExpress.XtraGrid.StyleFormatCondition();

            condition2.Appearance.ForeColor = Color.Red;
            condition2.Column     = this.gridView.Columns["REMAIN_CNT"];
            condition2.ApplyToRow = false;
            condition2.Appearance.Options.UseFont      = true;
            condition2.Appearance.Options.UseForeColor = true;
            condition2.Appearance.Font = new System.Drawing.Font("굴림체", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            condition2.Condition       = FormatConditionEnum.Expression;
            condition2.Expression      = "REMAIN_CNT > 0";
            gridView.FormatConditions.Add(condition2);
        }
Example #26
0
        /// <summary>
        /// 테이터 테이블을 설정합니다.
        /// </summary>
        private void SetDataTable()
        {
            try
            {
                dt.Columns.Add("RSV_NO");
                dt.Columns.Add("REAL_RSV_NO");
                dt.Columns.Add("ROOM_NO");
                dt.Columns.Add("GUEST_NAME");
                dt.Columns.Add("MEMBER_NO");
                dt.Columns.Add("MEMBER_NAME");
                dt.Columns.Add("CHECKIN_DATE");
                dt.Columns.Add("NIGHTS", typeof(decimal));
                dt.Columns.Add("CHECKOUT_DATE");
                dt.Columns.Add("ROOM_TYPE");
                dt.Columns.Add("ROOM_CNT", typeof(decimal));
                dt.Columns.Add("CHECKIN_ROOM_CNT", typeof(decimal));
                dt.Columns.Add("RSV_AMT", typeof(decimal));
                dt.Columns.Add("ROOM_AMT", typeof(decimal));
                dt.Columns.Add("ACCEPT_NAME");
                dt.Columns.Add("GUEST_TEL_NO");
                dt.Columns.Add("CHECKIN_TYPE");
                dt.Columns.Add("CHECKIN_TYPE_NAME");
                dt.Columns.Add("MAIN_MEMBER_NO");
                dt.Columns.Add("STATUS_CODE");
                dt.Columns.Add("REMARKS");
                dt.Columns.Add("USER_CODE");
                dt.Columns.Add("USER_NAME");

                GridStyle gs = new GridStyle(this.grid, this.gridView);
                gs.AddColumn("예약번호", "RSV_NO", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs.AddColumn("객실번호", "ROOM_NO", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs.AddColumn("투숙객명", "GUEST_NAME", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs.AddColumn("회원번호", "MEMBER_NO", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs.AddColumn("회원명", "MEMBER_NAME", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs.AddColumn("본인코드", "USER_CODE", _ColumnType.Default, 80, _ColumnAlign.Center, false);
                gs.AddColumn("본인여부", "USER_NAME", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs.AddColumn("입실일자", "CHECKIN_DATE", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs.AddColumn("박수", "NIGHTS", _ColumnType.Numbers, 80, _ColumnAlign.Right, true);
                gs.AddColumn("퇴실일자", "CHECKOUT_DATE", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs.AddColumn("객실유형", "ROOM_TYPE", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs.AddColumn("예약객실", "ROOM_CNT", _ColumnType.Numbers, 80, _ColumnAlign.Right, true);
                gs.AddColumn("입실객실", "CHECKIN_ROOM_CNT", _ColumnType.Numbers, 120, _ColumnAlign.Right, true);
                gs.AddColumn("예약금", "RSV_AMT", _ColumnType.Numbers, 60, _ColumnAlign.Right, true);
                gs.AddColumn("객실요금", "ROOM_AMT", _ColumnType.Numbers, 80, _ColumnAlign.Right, true);
                gs.AddColumn("예약자명", "ACCEPT_NAME", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs.AddColumn("연락처", "GUEST_TEL_NO", _ColumnType.Default, 120, _ColumnAlign.Center, true);
                gs.AddColumn("입실유형", "CHECKIN_TYPE", _ColumnType.Default, 80, _ColumnAlign.Center, false);
                gs.AddColumn("입실유형", "CHECKIN_TYPE_NAME", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs.AddColumn("주회원번호", "MAIN_MEMBER_NO", _ColumnType.Default, 100, _ColumnAlign.Center, true);
                gs.AddColumn("예약상태", "STATUS_CODE", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs.AddColumn("예약참고", "REMARKS", _ColumnType.Default, 120, _ColumnAlign.Center, true);

                Cls.Grid.Options.SetColumnColor(this.gridView,
                                                Cls.Grid.StyleFormatConditionType.Column,
                                                gridView.Columns["CHECKIN_TYPE_NAME"],
                                                DevExpress.XtraGrid.FormatConditionEnum.Equal,
                                                BizCommon.Parm.mColor.CHECK_IN_TYPE_AFTER,
                                                "이후");
                Cls.Grid.Options.SetColumnColor(this.gridView,
                                                Cls.Grid.StyleFormatConditionType.Column,
                                                gridView.Columns["CHECKIN_TYPE_NAME"],
                                                DevExpress.XtraGrid.FormatConditionEnum.Equal,
                                                BizCommon.Parm.mColor.CHECK_IN_TYPE_NOW,
                                                "오늘");
                Cls.Grid.Options.SetColumnColor(this.gridView,
                                                Cls.Grid.StyleFormatConditionType.Column,
                                                gridView.Columns["CHECKIN_TYPE_NAME"],
                                                DevExpress.XtraGrid.FormatConditionEnum.Equal,
                                                BizCommon.Parm.mColor.CHECK_IN_TYPE_BEFOR,
                                                "이전");

                Cls.Grid.Options.SelectedRow(this.gridView);
                Cls.Grid.Options.EmbeddedNavigater(this.grid);
                Cls.Grid.Options.FilterRow(this.gridView, true);
                Cls.Grid.Options.Footer(this.gridView, DevExpress.Data.SummaryItemType.Sum, "ROOM_CNT", "ROOM_CNT", SummaryFormat.Sum);
                Cls.Grid.Options.Footer(this.gridView, DevExpress.Data.SummaryItemType.Sum, "CHECKIN_ROOM_CNT", "CHECKIN_ROOM_CNT", SummaryFormat.Sum);
                this.grid.DataSource = dt;



                StyleFormatCondition condition = new DevExpress.XtraGrid.StyleFormatCondition();
                condition.Column     = this.gridView.Columns["RSV_AMT"];
                condition.ApplyToRow = true;
                condition.Appearance.Options.UseBackColor = true;
                condition.Appearance.BackColor            = Color.Red;
                condition.Condition  = FormatConditionEnum.Expression;
                condition.Expression = "RSV_AMT > 0";
                gridView.FormatConditions.Add(condition);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition1 = new DevExpress.XtraGrid.StyleFormatCondition();
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition2 = new DevExpress.XtraGrid.StyleFormatCondition();
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition3 = new DevExpress.XtraGrid.StyleFormatCondition();
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition4 = new DevExpress.XtraGrid.StyleFormatCondition();
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition5 = new DevExpress.XtraGrid.StyleFormatCondition();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RptDailySalesReport));
            this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.repositoryItemImageComboBox2 = new DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox();
            this.colType = new DevExpress.XtraGrid.Columns.GridColumn();
            this.repositoryItemImageComboBox1 = new DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox();
            this.dailySalesBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.panel2 = new System.Windows.Forms.Panel();
            this.labelControl7 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl6 = new DevExpress.XtraEditors.LabelControl();
            this.txtcashonhand = new DevExpress.XtraEditors.TextEdit();
            this.txtinitialcash = new DevExpress.XtraEditors.TextEdit();
            this.labelControl5 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
            this.txtsalevalue = new DevExpress.XtraEditors.TextEdit();
            this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
            this.txtcostvalue = new DevExpress.XtraEditors.TextEdit();
            this.barManager1 = new DevExpress.XtraBars.BarManager(this.components);
            this.bar2 = new DevExpress.XtraBars.Bar();
            this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem();
            this.barEditItem1 = new DevExpress.XtraBars.BarEditItem();
            this.repositoryItemDateEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
            this.barStaticItem1 = new DevExpress.XtraBars.BarStaticItem();
            this.barEditItem2 = new DevExpress.XtraBars.BarEditItem();
            this.repositoryItemDateEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
            this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem();
            this.barstorecaption = new DevExpress.XtraBars.BarStaticItem();
            this.barEditItem4 = new DevExpress.XtraBars.BarEditItem();
            this.repositoryItemLookUpEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
            this.sTOREMASTDBBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem();
            this.bar3 = new DevExpress.XtraBars.Bar();
            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.dockManager1 = new DevExpress.XtraBars.Docking.DockManager(this.components);
            this.hideContainerBottom = new DevExpress.XtraBars.Docking.AutoHideContainer();
            this.dockPanel2 = new DevExpress.XtraBars.Docking.DockPanel();
            this.dockPanel2_Container = new DevExpress.XtraBars.Docking.ControlContainer();
            this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
            this.gridControl2 = new DevExpress.XtraGrid.GridControl();
            this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView();
            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.dockPanel1 = new DevExpress.XtraBars.Docking.DockPanel();
            this.dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer();
            this.panelControl2 = new DevExpress.XtraEditors.PanelControl();
            this.gridControl3 = new DevExpress.XtraGrid.GridControl();
            this.dAILYCLOSINGDatesBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.gridView3 = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.colCDATE = new DevExpress.XtraGrid.Columns.GridColumn();
            this.repositoryItemLookUpEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
            this.repositoryItemComboBox1 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
            this.gridControl1 = new DevExpress.XtraGrid.GridControl();
            this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.colShift1 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colShift2 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colShift3 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colTotal = new DevExpress.XtraGrid.Columns.GridColumn();
            this.progressPanel1 = new DevExpress.XtraWaitForm.ProgressPanel();
            this.barEditItem3 = new DevExpress.XtraBars.BarEditItem();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageComboBox2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageComboBox1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dailySalesBindingSource)).BeginInit();
            this.panel2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txtcashonhand.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtinitialcash.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtsalevalue.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtcostvalue.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1.CalendarTimeProperties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2.CalendarTimeProperties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.sTOREMASTDBBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dockManager1)).BeginInit();
            this.hideContainerBottom.SuspendLayout();
            this.dockPanel2.SuspendLayout();
            this.dockPanel2_Container.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
            this.panelControl1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
            this.dockPanel1.SuspendLayout();
            this.dockPanel1_Container.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit();
            this.panelControl2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dAILYCLOSINGDatesBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
            this.SuspendLayout();
            // 
            // gridColumn1
            // 
            this.gridColumn1.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gridColumn1.AppearanceCell.Options.UseFont = true;
            this.gridColumn1.AppearanceCell.Options.UseTextOptions = true;
            this.gridColumn1.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.gridColumn1.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gridColumn1.AppearanceHeader.Options.UseFont = true;
            this.gridColumn1.AppearanceHeader.Options.UseTextOptions = true;
            this.gridColumn1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.gridColumn1.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.gridColumn1.Caption = "Credit Type";
            this.gridColumn1.ColumnEdit = this.repositoryItemImageComboBox2;
            this.gridColumn1.FieldName = "Ctype";
            this.gridColumn1.Name = "gridColumn1";
            this.gridColumn1.OptionsColumn.AllowEdit = false;
            this.gridColumn1.Visible = true;
            this.gridColumn1.VisibleIndex = 0;
            this.gridColumn1.Width = 184;
            // 
            // repositoryItemImageComboBox2
            // 
            this.repositoryItemImageComboBox2.AutoHeight = false;
            this.repositoryItemImageComboBox2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemImageComboBox2.Items.AddRange(new DevExpress.XtraEditors.Controls.ImageComboBoxItem[] {
            new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Credit/ Debit Card", 1, -1),
            new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Credit Customer", 2, -1),
            new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Companies", 3, -1)});
            this.repositoryItemImageComboBox2.Name = "repositoryItemImageComboBox2";
            // 
            // colType
            // 
            this.colType.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colType.AppearanceCell.Options.UseFont = true;
            this.colType.AppearanceCell.Options.UseTextOptions = true;
            this.colType.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colType.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colType.AppearanceHeader.Options.UseFont = true;
            this.colType.AppearanceHeader.Options.UseTextOptions = true;
            this.colType.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colType.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colType.Caption = "Description";
            this.colType.ColumnEdit = this.repositoryItemImageComboBox1;
            this.colType.FieldName = "Ctype";
            this.colType.Name = "colType";
            this.colType.OptionsColumn.AllowEdit = false;
            this.colType.Visible = true;
            this.colType.VisibleIndex = 0;
            this.colType.Width = 184;
            // 
            // repositoryItemImageComboBox1
            // 
            this.repositoryItemImageComboBox1.AutoHeight = false;
            this.repositoryItemImageComboBox1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemImageComboBox1.Items.AddRange(new DevExpress.XtraEditors.Controls.ImageComboBoxItem[] {
            new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Cash", 1, -1),
            new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Card Sales", 2, -1),
            new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Credit Sales", 3, -1),
            new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Sale Totals", 4, -1),
            new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Cash return", 5, -1),
            new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Return goods", 6, -1),
            new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Discount", 7, -1),
            new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Rounding off", 8, -1),
            new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Profit Value", 9, -1),
            new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Profit %", 10, -1),
            new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Cost Value", 11, -1),
            new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Sale Value", 12, -1),
            new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Initial Cash", 13, -1),
            new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Cash on hand", 14, -1),
            new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Closing Diffrence", 16, -1),
            new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Invoice Count", 20, -1)});
            this.repositoryItemImageComboBox1.Name = "repositoryItemImageComboBox1";
            // 
            // dailySalesBindingSource
            // 
            this.dailySalesBindingSource.DataMember = "DailySales";
            this.dailySalesBindingSource.DataSource = typeof(VIRETAILENTITIES.DsReports);
            // 
            // panel2
            // 
            this.panel2.Controls.Add(this.labelControl7);
            this.panel2.Controls.Add(this.labelControl6);
            this.panel2.Controls.Add(this.txtcashonhand);
            this.panel2.Controls.Add(this.txtinitialcash);
            this.panel2.Controls.Add(this.labelControl5);
            this.panel2.Controls.Add(this.labelControl4);
            this.panel2.Controls.Add(this.txtsalevalue);
            this.panel2.Controls.Add(this.labelControl3);
            this.panel2.Controls.Add(this.labelControl2);
            this.panel2.Controls.Add(this.txtcostvalue);
            this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.panel2.Location = new System.Drawing.Point(173, 419);
            this.panel2.Name = "panel2";
            this.panel2.Size = new System.Drawing.Size(706, 10);
            this.panel2.TabIndex = 4;
            this.panel2.Visible = false;
            // 
            // labelControl7
            // 
            this.labelControl7.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.labelControl7.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
            this.labelControl7.LineColor = System.Drawing.Color.LightSteelBlue;
            this.labelControl7.LineLocation = DevExpress.XtraEditors.LineLocation.Center;
            this.labelControl7.LineVisible = true;
            this.labelControl7.Location = new System.Drawing.Point(3, 40);
            this.labelControl7.Name = "labelControl7";
            this.labelControl7.Size = new System.Drawing.Size(142, 14);
            this.labelControl7.TabIndex = 9;
            this.labelControl7.Text = "Cash Details:";
            // 
            // labelControl6
            // 
            this.labelControl6.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.labelControl6.Location = new System.Drawing.Point(384, 40);
            this.labelControl6.Name = "labelControl6";
            this.labelControl6.Size = new System.Drawing.Size(88, 14);
            this.labelControl6.TabIndex = 8;
            this.labelControl6.Text = "Cash on hand:";
            // 
            // txtcashonhand
            // 
            this.txtcashonhand.Location = new System.Drawing.Point(478, 36);
            this.txtcashonhand.Name = "txtcashonhand";
            this.txtcashonhand.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtcashonhand.Properties.Appearance.Options.UseFont = true;
            this.txtcashonhand.Properties.AppearanceReadOnly.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
            this.txtcashonhand.Properties.AppearanceReadOnly.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtcashonhand.Properties.AppearanceReadOnly.Options.UseBackColor = true;
            this.txtcashonhand.Properties.AppearanceReadOnly.Options.UseFont = true;
            this.txtcashonhand.Properties.AppearanceReadOnly.Options.UseTextOptions = true;
            this.txtcashonhand.Properties.AppearanceReadOnly.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.txtcashonhand.Properties.AppearanceReadOnly.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.txtcashonhand.Properties.DisplayFormat.FormatString = "N2";
            this.txtcashonhand.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txtcashonhand.Properties.EditFormat.FormatString = "N2";
            this.txtcashonhand.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txtcashonhand.Properties.ReadOnly = true;
            this.txtcashonhand.Size = new System.Drawing.Size(153, 20);
            this.txtcashonhand.TabIndex = 7;
            // 
            // txtinitialcash
            // 
            this.txtinitialcash.Location = new System.Drawing.Point(228, 37);
            this.txtinitialcash.Name = "txtinitialcash";
            this.txtinitialcash.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtinitialcash.Properties.Appearance.Options.UseFont = true;
            this.txtinitialcash.Properties.AppearanceReadOnly.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
            this.txtinitialcash.Properties.AppearanceReadOnly.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtinitialcash.Properties.AppearanceReadOnly.Options.UseBackColor = true;
            this.txtinitialcash.Properties.AppearanceReadOnly.Options.UseFont = true;
            this.txtinitialcash.Properties.AppearanceReadOnly.Options.UseTextOptions = true;
            this.txtinitialcash.Properties.AppearanceReadOnly.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.txtinitialcash.Properties.AppearanceReadOnly.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.txtinitialcash.Properties.DisplayFormat.FormatString = "N2";
            this.txtinitialcash.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txtinitialcash.Properties.EditFormat.FormatString = "N2";
            this.txtinitialcash.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txtinitialcash.Properties.ReadOnly = true;
            this.txtinitialcash.Size = new System.Drawing.Size(153, 20);
            this.txtinitialcash.TabIndex = 6;
            // 
            // labelControl5
            // 
            this.labelControl5.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.labelControl5.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
            this.labelControl5.LineColor = System.Drawing.Color.LightSteelBlue;
            this.labelControl5.LineLocation = DevExpress.XtraEditors.LineLocation.Center;
            this.labelControl5.LineVisible = true;
            this.labelControl5.Location = new System.Drawing.Point(3, 9);
            this.labelControl5.Name = "labelControl5";
            this.labelControl5.Size = new System.Drawing.Size(142, 14);
            this.labelControl5.TabIndex = 5;
            this.labelControl5.Text = "Stock Value :";
            // 
            // labelControl4
            // 
            this.labelControl4.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.labelControl4.Location = new System.Drawing.Point(146, 40);
            this.labelControl4.Name = "labelControl4";
            this.labelControl4.Size = new System.Drawing.Size(76, 14);
            this.labelControl4.TabIndex = 4;
            this.labelControl4.Text = "Initial Cash :";
            // 
            // txtsalevalue
            // 
            this.txtsalevalue.Location = new System.Drawing.Point(478, 6);
            this.txtsalevalue.Name = "txtsalevalue";
            this.txtsalevalue.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtsalevalue.Properties.Appearance.Options.UseFont = true;
            this.txtsalevalue.Properties.AppearanceReadOnly.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
            this.txtsalevalue.Properties.AppearanceReadOnly.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtsalevalue.Properties.AppearanceReadOnly.Options.UseBackColor = true;
            this.txtsalevalue.Properties.AppearanceReadOnly.Options.UseFont = true;
            this.txtsalevalue.Properties.AppearanceReadOnly.Options.UseTextOptions = true;
            this.txtsalevalue.Properties.AppearanceReadOnly.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.txtsalevalue.Properties.AppearanceReadOnly.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.txtsalevalue.Properties.DisplayFormat.FormatString = "N2";
            this.txtsalevalue.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txtsalevalue.Properties.EditFormat.FormatString = "N2";
            this.txtsalevalue.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txtsalevalue.Properties.ReadOnly = true;
            this.txtsalevalue.Size = new System.Drawing.Size(153, 20);
            this.txtsalevalue.TabIndex = 3;
            // 
            // labelControl3
            // 
            this.labelControl3.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.labelControl3.Location = new System.Drawing.Point(386, 9);
            this.labelControl3.Name = "labelControl3";
            this.labelControl3.Size = new System.Drawing.Size(76, 14);
            this.labelControl3.TabIndex = 2;
            this.labelControl3.Text = "Sales Value :";
            // 
            // labelControl2
            // 
            this.labelControl2.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.labelControl2.Location = new System.Drawing.Point(149, 9);
            this.labelControl2.Name = "labelControl2";
            this.labelControl2.Size = new System.Drawing.Size(73, 14);
            this.labelControl2.TabIndex = 1;
            this.labelControl2.Text = "Cost Value :";
            // 
            // txtcostvalue
            // 
            this.txtcostvalue.Location = new System.Drawing.Point(228, 6);
            this.txtcostvalue.Name = "txtcostvalue";
            this.txtcostvalue.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtcostvalue.Properties.Appearance.Options.UseFont = true;
            this.txtcostvalue.Properties.AppearanceReadOnly.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
            this.txtcostvalue.Properties.AppearanceReadOnly.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtcostvalue.Properties.AppearanceReadOnly.Options.UseBackColor = true;
            this.txtcostvalue.Properties.AppearanceReadOnly.Options.UseFont = true;
            this.txtcostvalue.Properties.AppearanceReadOnly.Options.UseTextOptions = true;
            this.txtcostvalue.Properties.AppearanceReadOnly.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.txtcostvalue.Properties.AppearanceReadOnly.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.txtcostvalue.Properties.DisplayFormat.FormatString = "N2";
            this.txtcostvalue.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txtcostvalue.Properties.EditFormat.FormatString = "N2";
            this.txtcostvalue.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.txtcostvalue.Properties.ReadOnly = true;
            this.txtcostvalue.Size = new System.Drawing.Size(153, 20);
            this.txtcostvalue.TabIndex = 0;
            // 
            // barManager1
            // 
            this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
            this.bar2,
            this.bar3});
            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.DockManager = this.dockManager1;
            this.barManager1.Form = this;
            this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
            this.barButtonItem1,
            this.barButtonItem2,
            this.barEditItem1,
            this.barButtonItem3,
            this.barEditItem2,
            this.barStaticItem1,
            this.barstorecaption,
            this.barEditItem4,
            this.barButtonItem4});
            this.barManager1.MainMenu = this.bar2;
            this.barManager1.MaxItemId = 11;
            this.barManager1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
            this.repositoryItemDateEdit1,
            this.repositoryItemDateEdit2,
            this.repositoryItemLookUpEdit1,
            this.repositoryItemComboBox1,
            this.repositoryItemLookUpEdit2});
            this.barManager1.StatusBar = this.bar3;
            // 
            // bar2
            // 
            this.bar2.BarName = "Main menu";
            this.bar2.DockCol = 0;
            this.bar2.DockRow = 0;
            this.bar2.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
            this.bar2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem1, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem2, true),
            new DevExpress.XtraBars.LinkPersistInfo(this.barEditItem1),
            new DevExpress.XtraBars.LinkPersistInfo(this.barStaticItem1),
            new DevExpress.XtraBars.LinkPersistInfo(this.barEditItem2),
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem3, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(this.barstorecaption, true),
            new DevExpress.XtraBars.LinkPersistInfo(this.barEditItem4)});
            this.bar2.OptionsBar.AllowQuickCustomization = false;
            this.bar2.OptionsBar.DrawBorder = false;
            this.bar2.OptionsBar.UseWholeRow = true;
            this.bar2.Text = "Main menu";
            // 
            // barButtonItem1
            // 
            this.barButtonItem1.Caption = "Print";
            this.barButtonItem1.Glyph = global::Store.Properties.Resources.printer1;
            this.barButtonItem1.Id = 0;
            this.barButtonItem1.Name = "barButtonItem1";
            this.barButtonItem1.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem1_ItemClick);
            // 
            // barButtonItem2
            // 
            this.barButtonItem2.Caption = "Date :";
            this.barButtonItem2.Id = 1;
            this.barButtonItem2.Name = "barButtonItem2";
            // 
            // barEditItem1
            // 
            this.barEditItem1.Caption = "barEditItem1";
            this.barEditItem1.Edit = this.repositoryItemDateEdit1;
            this.barEditItem1.Id = 2;
            this.barEditItem1.Name = "barEditItem1";
            this.barEditItem1.Width = 150;
            // 
            // repositoryItemDateEdit1
            // 
            this.repositoryItemDateEdit1.AutoHeight = false;
            this.repositoryItemDateEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemDateEdit1.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.repositoryItemDateEdit1.Name = "repositoryItemDateEdit1";
            // 
            // barStaticItem1
            // 
            this.barStaticItem1.Caption = "To :";
            this.barStaticItem1.Id = 5;
            this.barStaticItem1.Name = "barStaticItem1";
            this.barStaticItem1.TextAlignment = System.Drawing.StringAlignment.Near;
            // 
            // barEditItem2
            // 
            this.barEditItem2.Caption = "To Date :";
            this.barEditItem2.Edit = this.repositoryItemDateEdit2;
            this.barEditItem2.Id = 4;
            this.barEditItem2.Name = "barEditItem2";
            this.barEditItem2.Width = 150;
            // 
            // repositoryItemDateEdit2
            // 
            this.repositoryItemDateEdit2.AutoHeight = false;
            this.repositoryItemDateEdit2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemDateEdit2.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.repositoryItemDateEdit2.Name = "repositoryItemDateEdit2";
            // 
            // barButtonItem3
            // 
            this.barButtonItem3.Caption = "Show Report";
            this.barButtonItem3.Glyph = global::Store.Properties.Resources.date_magnify;
            this.barButtonItem3.Id = 3;
            this.barButtonItem3.Name = "barButtonItem3";
            this.barButtonItem3.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem3_ItemClick);
            // 
            // barstorecaption
            // 
            this.barstorecaption.Caption = "Store";
            this.barstorecaption.Id = 6;
            this.barstorecaption.Name = "barstorecaption";
            this.barstorecaption.TextAlignment = System.Drawing.StringAlignment.Near;
            this.barstorecaption.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
            this.barstorecaption.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barstorecaption_ItemClick);
            // 
            // barEditItem4
            // 
            this.barEditItem4.Caption = "barEditItem4";
            this.barEditItem4.Edit = this.repositoryItemLookUpEdit2;
            this.barEditItem4.Id = 9;
            this.barEditItem4.Name = "barEditItem4";
            this.barEditItem4.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
            this.barEditItem4.Width = 150;
            this.barEditItem4.EditValueChanged += new System.EventHandler(this.barEditItem4_EditValueChanged);
            // 
            // 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("STORENAME", "STORENAME", 84, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("DBNAME", "DBNAME", 51, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Near)});
            this.repositoryItemLookUpEdit2.DataSource = this.sTOREMASTDBBindingSource;
            this.repositoryItemLookUpEdit2.DisplayMember = "STORENAME";
            this.repositoryItemLookUpEdit2.Name = "repositoryItemLookUpEdit2";
            this.repositoryItemLookUpEdit2.NullText = "";
            this.repositoryItemLookUpEdit2.ShowHeader = false;
            this.repositoryItemLookUpEdit2.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
            this.repositoryItemLookUpEdit2.ValueMember = "DBNAME";
            // 
            // sTOREMASTDBBindingSource
            // 
            this.sTOREMASTDBBindingSource.DataMember = "STOREMASTDB";
            this.sTOREMASTDBBindingSource.DataSource = typeof(VIRETAILENTITIES.DsReports);
            // 
            // barButtonItem4
            // 
            this.barButtonItem4.Caption = "Lapses";
            this.barButtonItem4.Id = 10;
            this.barButtonItem4.Name = "barButtonItem4";
            this.barButtonItem4.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem4_ItemClick);
            // 
            // bar3
            // 
            this.bar3.BarName = "Status bar";
            this.bar3.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Bottom;
            this.bar3.DockCol = 0;
            this.bar3.DockRow = 0;
            this.bar3.DockStyle = DevExpress.XtraBars.BarDockStyle.Bottom;
            this.bar3.OptionsBar.AllowQuickCustomization = false;
            this.bar3.OptionsBar.DrawDragBorder = false;
            this.bar3.OptionsBar.UseWholeRow = true;
            this.bar3.Text = "Status bar";
            // 
            // 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(879, 24);
            // 
            // barDockControlBottom
            // 
            this.barDockControlBottom.CausesValidation = false;
            this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.barDockControlBottom.Location = new System.Drawing.Point(0, 448);
            this.barDockControlBottom.Size = new System.Drawing.Size(879, 23);
            // 
            // barDockControlLeft
            // 
            this.barDockControlLeft.CausesValidation = false;
            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, 424);
            // 
            // barDockControlRight
            // 
            this.barDockControlRight.CausesValidation = false;
            this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
            this.barDockControlRight.Location = new System.Drawing.Point(879, 24);
            this.barDockControlRight.Size = new System.Drawing.Size(0, 424);
            // 
            // dockManager1
            // 
            this.dockManager1.AutoHideContainers.AddRange(new DevExpress.XtraBars.Docking.AutoHideContainer[] {
            this.hideContainerBottom});
            this.dockManager1.Form = this;
            this.dockManager1.MenuManager = this.barManager1;
            this.dockManager1.RootPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] {
            this.dockPanel1});
            this.dockManager1.TopZIndexControls.AddRange(new string[] {
            "DevExpress.XtraBars.BarDockControl",
            "DevExpress.XtraBars.StandaloneBarDockControl",
            "System.Windows.Forms.StatusBar",
            "System.Windows.Forms.MenuStrip",
            "System.Windows.Forms.StatusStrip",
            "DevExpress.XtraBars.Ribbon.RibbonStatusBar",
            "DevExpress.XtraBars.Ribbon.RibbonControl"});
            // 
            // hideContainerBottom
            // 
            this.hideContainerBottom.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(236)))), ((int)(((byte)(239)))));
            this.hideContainerBottom.Controls.Add(this.dockPanel2);
            this.hideContainerBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.hideContainerBottom.Location = new System.Drawing.Point(0, 429);
            this.hideContainerBottom.Name = "hideContainerBottom";
            this.hideContainerBottom.Size = new System.Drawing.Size(879, 19);
            // 
            // dockPanel2
            // 
            this.dockPanel2.Controls.Add(this.dockPanel2_Container);
            this.dockPanel2.Dock = DevExpress.XtraBars.Docking.DockingStyle.Bottom;
            this.dockPanel2.ID = new System.Guid("7a9c8a16-214e-48c1-9038-2bfc3647a5e1");
            this.dockPanel2.Location = new System.Drawing.Point(0, 0);
            this.dockPanel2.Name = "dockPanel2";
            this.dockPanel2.OriginalSize = new System.Drawing.Size(200, 200);
            this.dockPanel2.SavedDock = DevExpress.XtraBars.Docking.DockingStyle.Bottom;
            this.dockPanel2.SavedIndex = 0;
            this.dockPanel2.Size = new System.Drawing.Size(769, 200);
            this.dockPanel2.Text = "Credit sales details";
            this.dockPanel2.Visibility = DevExpress.XtraBars.Docking.DockVisibility.AutoHide;
            // 
            // dockPanel2_Container
            // 
            this.dockPanel2_Container.Controls.Add(this.panelControl1);
            this.dockPanel2_Container.Location = new System.Drawing.Point(4, 25);
            this.dockPanel2_Container.Name = "dockPanel2_Container";
            this.dockPanel2_Container.Size = new System.Drawing.Size(761, 171);
            this.dockPanel2_Container.TabIndex = 0;
            // 
            // panelControl1
            // 
            this.panelControl1.Controls.Add(this.gridControl2);
            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(761, 171);
            this.panelControl1.TabIndex = 0;
            // 
            // gridControl2
            // 
            this.gridControl2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gridControl2.Location = new System.Drawing.Point(2, 2);
            this.gridControl2.MainView = this.gridView2;
            this.gridControl2.Name = "gridControl2";
            this.gridControl2.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
            this.repositoryItemImageComboBox2});
            this.gridControl2.Size = new System.Drawing.Size(757, 167);
            this.gridControl2.TabIndex = 13;
            this.gridControl2.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gridView2});
            // 
            // gridView2
            // 
            this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.gridColumn1,
            this.gridColumn2,
            this.gridColumn3,
            this.gridColumn4,
            this.gridColumn5});
            styleFormatCondition1.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            styleFormatCondition1.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            styleFormatCondition1.Appearance.Options.HighPriority = true;
            styleFormatCondition1.Appearance.Options.UseBackColor = true;
            styleFormatCondition1.Appearance.Options.UseFont = true;
            styleFormatCondition1.Appearance.Options.UseTextOptions = true;
            styleFormatCondition1.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            styleFormatCondition1.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            styleFormatCondition1.ApplyToRow = true;
            styleFormatCondition1.Column = this.gridColumn1;
            styleFormatCondition1.Condition = DevExpress.XtraGrid.FormatConditionEnum.Equal;
            styleFormatCondition1.Value1 = 11;
            styleFormatCondition1.Value2 = 13;
            styleFormatCondition2.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            styleFormatCondition2.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            styleFormatCondition2.Appearance.Options.HighPriority = true;
            styleFormatCondition2.Appearance.Options.UseBackColor = true;
            styleFormatCondition2.Appearance.Options.UseFont = true;
            styleFormatCondition2.Appearance.Options.UseTextOptions = true;
            styleFormatCondition2.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            styleFormatCondition2.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            styleFormatCondition2.ApplyToRow = true;
            styleFormatCondition2.Column = this.gridColumn1;
            styleFormatCondition2.Condition = DevExpress.XtraGrid.FormatConditionEnum.Equal;
            styleFormatCondition2.Value1 = 4;
            this.gridView2.FormatConditions.AddRange(new DevExpress.XtraGrid.StyleFormatCondition[] {
            styleFormatCondition1,
            styleFormatCondition2});
            this.gridView2.GridControl = this.gridControl2;
            this.gridView2.Name = "gridView2";
            this.gridView2.OptionsPrint.UsePrintStyles = false;
            this.gridView2.OptionsView.ShowGroupPanel = false;
            this.gridView2.OptionsView.ShowHorizontalLines = DevExpress.Utils.DefaultBoolean.False;
            this.gridView2.RowHeight = 26;
            // 
            // gridColumn2
            // 
            this.gridColumn2.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gridColumn2.AppearanceCell.Options.UseFont = true;
            this.gridColumn2.AppearanceCell.Options.UseTextOptions = true;
            this.gridColumn2.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.gridColumn2.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.gridColumn2.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gridColumn2.AppearanceHeader.Options.UseFont = true;
            this.gridColumn2.AppearanceHeader.Options.UseTextOptions = true;
            this.gridColumn2.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.gridColumn2.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.gridColumn2.DisplayFormat.FormatString = "###,###,###,###.00";
            this.gridColumn2.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.gridColumn2.FieldName = "Shift1";
            this.gridColumn2.Name = "gridColumn2";
            this.gridColumn2.OptionsColumn.AllowEdit = false;
            this.gridColumn2.Visible = true;
            this.gridColumn2.VisibleIndex = 1;
            this.gridColumn2.Width = 105;
            // 
            // gridColumn3
            // 
            this.gridColumn3.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gridColumn3.AppearanceCell.Options.UseFont = true;
            this.gridColumn3.AppearanceCell.Options.UseTextOptions = true;
            this.gridColumn3.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.gridColumn3.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.gridColumn3.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gridColumn3.AppearanceHeader.Options.UseFont = true;
            this.gridColumn3.AppearanceHeader.Options.UseTextOptions = true;
            this.gridColumn3.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.gridColumn3.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.gridColumn3.DisplayFormat.FormatString = "###,###,###,###.00";
            this.gridColumn3.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.gridColumn3.FieldName = "Shift2";
            this.gridColumn3.Name = "gridColumn3";
            this.gridColumn3.OptionsColumn.AllowEdit = false;
            this.gridColumn3.Visible = true;
            this.gridColumn3.VisibleIndex = 2;
            this.gridColumn3.Width = 105;
            // 
            // gridColumn4
            // 
            this.gridColumn4.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gridColumn4.AppearanceCell.Options.UseFont = true;
            this.gridColumn4.AppearanceCell.Options.UseTextOptions = true;
            this.gridColumn4.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.gridColumn4.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.gridColumn4.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gridColumn4.AppearanceHeader.Options.UseFont = true;
            this.gridColumn4.AppearanceHeader.Options.UseTextOptions = true;
            this.gridColumn4.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.gridColumn4.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.gridColumn4.DisplayFormat.FormatString = "###,###,###,###.00";
            this.gridColumn4.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.gridColumn4.FieldName = "Shift3";
            this.gridColumn4.Name = "gridColumn4";
            this.gridColumn4.OptionsColumn.AllowEdit = false;
            this.gridColumn4.Visible = true;
            this.gridColumn4.VisibleIndex = 3;
            this.gridColumn4.Width = 93;
            // 
            // gridColumn5
            // 
            this.gridColumn5.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gridColumn5.AppearanceCell.Options.UseFont = true;
            this.gridColumn5.AppearanceCell.Options.UseTextOptions = true;
            this.gridColumn5.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.gridColumn5.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.gridColumn5.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gridColumn5.AppearanceHeader.Options.UseFont = true;
            this.gridColumn5.AppearanceHeader.Options.UseTextOptions = true;
            this.gridColumn5.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.gridColumn5.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.gridColumn5.DisplayFormat.FormatString = "###,###,###,###.00";
            this.gridColumn5.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.gridColumn5.FieldName = "Total";
            this.gridColumn5.Name = "gridColumn5";
            this.gridColumn5.OptionsColumn.AllowEdit = false;
            this.gridColumn5.Visible = true;
            this.gridColumn5.VisibleIndex = 4;
            this.gridColumn5.Width = 129;
            // 
            // dockPanel1
            // 
            this.dockPanel1.Controls.Add(this.dockPanel1_Container);
            this.dockPanel1.Dock = DevExpress.XtraBars.Docking.DockingStyle.Left;
            this.dockPanel1.ID = new System.Guid("2efaff86-c96a-4a3f-ae12-bc31c4ca5d9a");
            this.dockPanel1.Location = new System.Drawing.Point(0, 24);
            this.dockPanel1.Name = "dockPanel1";
            this.dockPanel1.OriginalSize = new System.Drawing.Size(173, 200);
            this.dockPanel1.Size = new System.Drawing.Size(173, 405);
            this.dockPanel1.Text = "Closing History";
            // 
            // dockPanel1_Container
            // 
            this.dockPanel1_Container.Controls.Add(this.panelControl2);
            this.dockPanel1_Container.Location = new System.Drawing.Point(4, 23);
            this.dockPanel1_Container.Name = "dockPanel1_Container";
            this.dockPanel1_Container.Size = new System.Drawing.Size(165, 378);
            this.dockPanel1_Container.TabIndex = 0;
            // 
            // panelControl2
            // 
            this.panelControl2.Controls.Add(this.gridControl3);
            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(165, 378);
            this.panelControl2.TabIndex = 0;
            // 
            // gridControl3
            // 
            this.gridControl3.DataSource = this.dAILYCLOSINGDatesBindingSource;
            this.gridControl3.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gridControl3.Location = new System.Drawing.Point(2, 2);
            this.gridControl3.MainView = this.gridView3;
            this.gridControl3.MenuManager = this.barManager1;
            this.gridControl3.Name = "gridControl3";
            this.gridControl3.Size = new System.Drawing.Size(161, 374);
            this.gridControl3.TabIndex = 0;
            this.gridControl3.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gridView3});
            this.gridControl3.Click += new System.EventHandler(this.gridControl3_Click);
            this.gridControl3.DoubleClick += new System.EventHandler(this.gridControl3_DoubleClick);
            // 
            // dAILYCLOSINGDatesBindingSource
            // 
            this.dAILYCLOSINGDatesBindingSource.DataMember = "DAILYCLOSINGDates";
            this.dAILYCLOSINGDatesBindingSource.DataSource = typeof(VIRETAILENTITIES.Ledgers);
            // 
            // gridView3
            // 
            this.gridView3.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.colCDATE});
            this.gridView3.GridControl = this.gridControl3;
            this.gridView3.Name = "gridView3";
            this.gridView3.OptionsCustomization.AllowGroup = false;
            this.gridView3.OptionsView.ShowAutoFilterRow = true;
            this.gridView3.OptionsView.ShowGroupPanel = false;
            this.gridView3.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
            new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.colCDATE, DevExpress.Data.ColumnSortOrder.Descending)});
            // 
            // colCDATE
            // 
            this.colCDATE.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colCDATE.AppearanceCell.Options.UseFont = true;
            this.colCDATE.AppearanceCell.Options.UseTextOptions = true;
            this.colCDATE.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colCDATE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colCDATE.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colCDATE.AppearanceHeader.Options.UseFont = true;
            this.colCDATE.AppearanceHeader.Options.UseTextOptions = true;
            this.colCDATE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colCDATE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colCDATE.Caption = "Close Date";
            this.colCDATE.FieldName = "CDATE";
            this.colCDATE.Name = "colCDATE";
            this.colCDATE.OptionsColumn.AllowEdit = false;
            this.colCDATE.OptionsColumn.ReadOnly = true;
            this.colCDATE.Visible = true;
            this.colCDATE.VisibleIndex = 0;
            // 
            // 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.Name = "repositoryItemLookUpEdit1";
            this.repositoryItemLookUpEdit1.NullText = "";
            // 
            // repositoryItemComboBox1
            // 
            this.repositoryItemComboBox1.AutoHeight = false;
            this.repositoryItemComboBox1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemComboBox1.Name = "repositoryItemComboBox1";
            // 
            // gridControl1
            // 
            this.gridControl1.DataSource = this.dailySalesBindingSource;
            this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gridControl1.Location = new System.Drawing.Point(173, 24);
            this.gridControl1.MainView = this.gridView1;
            this.gridControl1.Name = "gridControl1";
            this.gridControl1.Size = new System.Drawing.Size(706, 405);
            this.gridControl1.TabIndex = 12;
            this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gridView1});
            this.gridControl1.Click += new System.EventHandler(this.gridControl1_Click);
            // 
            // gridView1
            // 
            this.gridView1.ColumnPanelRowHeight = 26;
            this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.colType,
            this.colShift1,
            this.colShift2,
            this.colShift3,
            this.colTotal});
            styleFormatCondition3.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            styleFormatCondition3.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            styleFormatCondition3.Appearance.ForeColor = System.Drawing.Color.Black;
            styleFormatCondition3.Appearance.Options.HighPriority = true;
            styleFormatCondition3.Appearance.Options.UseBackColor = true;
            styleFormatCondition3.Appearance.Options.UseFont = true;
            styleFormatCondition3.Appearance.Options.UseForeColor = true;
            styleFormatCondition3.Appearance.Options.UseTextOptions = true;
            styleFormatCondition3.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            styleFormatCondition3.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            styleFormatCondition3.ApplyToRow = true;
            styleFormatCondition3.Column = this.colType;
            styleFormatCondition3.Condition = DevExpress.XtraGrid.FormatConditionEnum.Equal;
            styleFormatCondition3.Value1 = 11;
            styleFormatCondition3.Value2 = 13;
            styleFormatCondition4.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            styleFormatCondition4.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            styleFormatCondition4.Appearance.ForeColor = System.Drawing.Color.Black;
            styleFormatCondition4.Appearance.Options.HighPriority = true;
            styleFormatCondition4.Appearance.Options.UseBackColor = true;
            styleFormatCondition4.Appearance.Options.UseFont = true;
            styleFormatCondition4.Appearance.Options.UseForeColor = true;
            styleFormatCondition4.Appearance.Options.UseTextOptions = true;
            styleFormatCondition4.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            styleFormatCondition4.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            styleFormatCondition4.ApplyToRow = true;
            styleFormatCondition4.Column = this.colType;
            styleFormatCondition4.Condition = DevExpress.XtraGrid.FormatConditionEnum.Equal;
            styleFormatCondition4.Value1 = 4;
            styleFormatCondition5.Appearance.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            styleFormatCondition5.Appearance.ForeColor = System.Drawing.Color.Red;
            styleFormatCondition5.Appearance.Options.UseFont = true;
            styleFormatCondition5.Appearance.Options.UseForeColor = true;
            styleFormatCondition5.ApplyToRow = true;
            styleFormatCondition5.Column = this.colType;
            styleFormatCondition5.Condition = DevExpress.XtraGrid.FormatConditionEnum.Equal;
            styleFormatCondition5.Value1 = 5;
            this.gridView1.FormatConditions.AddRange(new DevExpress.XtraGrid.StyleFormatCondition[] {
            styleFormatCondition3,
            styleFormatCondition4,
            styleFormatCondition5});
            this.gridView1.GridControl = this.gridControl1;
            this.gridView1.Name = "gridView1";
            this.gridView1.OptionsPrint.UsePrintStyles = false;
            this.gridView1.OptionsView.ShowGroupPanel = false;
            this.gridView1.OptionsView.ShowHorizontalLines = DevExpress.Utils.DefaultBoolean.False;
            this.gridView1.RowHeight = 26;
            // 
            // colShift1
            // 
            this.colShift1.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colShift1.AppearanceCell.Options.UseFont = true;
            this.colShift1.AppearanceCell.Options.UseTextOptions = true;
            this.colShift1.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.colShift1.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colShift1.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colShift1.AppearanceHeader.Options.UseFont = true;
            this.colShift1.AppearanceHeader.Options.UseTextOptions = true;
            this.colShift1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colShift1.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colShift1.DisplayFormat.FormatString = "###,###,###,###.00";
            this.colShift1.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.colShift1.FieldName = "Shift1";
            this.colShift1.Name = "colShift1";
            this.colShift1.OptionsColumn.AllowEdit = false;
            this.colShift1.Visible = true;
            this.colShift1.VisibleIndex = 1;
            this.colShift1.Width = 105;
            // 
            // colShift2
            // 
            this.colShift2.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colShift2.AppearanceCell.Options.UseFont = true;
            this.colShift2.AppearanceCell.Options.UseTextOptions = true;
            this.colShift2.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.colShift2.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colShift2.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colShift2.AppearanceHeader.Options.UseFont = true;
            this.colShift2.AppearanceHeader.Options.UseTextOptions = true;
            this.colShift2.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colShift2.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colShift2.DisplayFormat.FormatString = "###,###,###,###.00";
            this.colShift2.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.colShift2.FieldName = "Shift2";
            this.colShift2.Name = "colShift2";
            this.colShift2.OptionsColumn.AllowEdit = false;
            this.colShift2.Visible = true;
            this.colShift2.VisibleIndex = 2;
            this.colShift2.Width = 105;
            // 
            // colShift3
            // 
            this.colShift3.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colShift3.AppearanceCell.Options.UseFont = true;
            this.colShift3.AppearanceCell.Options.UseTextOptions = true;
            this.colShift3.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.colShift3.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colShift3.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colShift3.AppearanceHeader.Options.UseFont = true;
            this.colShift3.AppearanceHeader.Options.UseTextOptions = true;
            this.colShift3.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colShift3.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colShift3.DisplayFormat.FormatString = "###,###,###,###.00";
            this.colShift3.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.colShift3.FieldName = "Shift3";
            this.colShift3.Name = "colShift3";
            this.colShift3.OptionsColumn.AllowEdit = false;
            this.colShift3.Visible = true;
            this.colShift3.VisibleIndex = 3;
            this.colShift3.Width = 93;
            // 
            // colTotal
            // 
            this.colTotal.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colTotal.AppearanceCell.Options.UseFont = true;
            this.colTotal.AppearanceCell.Options.UseTextOptions = true;
            this.colTotal.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
            this.colTotal.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTotal.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colTotal.AppearanceHeader.Options.UseFont = true;
            this.colTotal.AppearanceHeader.Options.UseTextOptions = true;
            this.colTotal.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colTotal.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTotal.DisplayFormat.FormatString = "###,###,###,###.00";
            this.colTotal.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.colTotal.FieldName = "Total";
            this.colTotal.Name = "colTotal";
            this.colTotal.OptionsColumn.AllowEdit = false;
            this.colTotal.Visible = true;
            this.colTotal.VisibleIndex = 4;
            this.colTotal.Width = 129;
            // 
            // progressPanel1
            // 
            this.progressPanel1.Appearance.BackColor = System.Drawing.Color.Transparent;
            this.progressPanel1.Appearance.Options.UseBackColor = true;
            this.progressPanel1.AppearanceCaption.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
            this.progressPanel1.AppearanceCaption.Options.UseFont = true;
            this.progressPanel1.AppearanceDescription.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
            this.progressPanel1.AppearanceDescription.Options.UseFont = true;
            this.progressPanel1.Location = new System.Drawing.Point(364, 110);
            this.progressPanel1.Name = "progressPanel1";
            this.progressPanel1.Size = new System.Drawing.Size(281, 61);
            this.progressPanel1.TabIndex = 19;
            this.progressPanel1.Text = "progressPanel1";
            this.progressPanel1.Visible = false;
            // 
            // barEditItem3
            // 
            this.barEditItem3.Caption = "barEditItem3";
            this.barEditItem3.Edit = this.repositoryItemComboBox1;
            this.barEditItem3.Id = 8;
            this.barEditItem3.Name = "barEditItem3";
            this.barEditItem3.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
            this.barEditItem3.Width = 120;
            this.barEditItem3.EditValueChanged += new System.EventHandler(this.barEditItem3_EditValueChanged);
            this.barEditItem3.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barEditItem3_ItemClick);
            // 
            // RptDailySalesReport
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(879, 471);
            this.Controls.Add(this.progressPanel1);
            this.Controls.Add(this.panel2);
            this.Controls.Add(this.gridControl1);
            this.Controls.Add(this.dockPanel1);
            this.Controls.Add(this.hideContainerBottom);
            this.Controls.Add(this.barDockControlLeft);
            this.Controls.Add(this.barDockControlRight);
            this.Controls.Add(this.barDockControlBottom);
            this.Controls.Add(this.barDockControlTop);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "RptDailySalesReport";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Daily Sales Report";
            this.Load += new System.EventHandler(this.DailySalesReport_Load);
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageComboBox2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageComboBox1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dailySalesBindingSource)).EndInit();
            this.panel2.ResumeLayout(false);
            this.panel2.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txtcashonhand.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtinitialcash.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtsalevalue.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtcostvalue.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1.CalendarTimeProperties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2.CalendarTimeProperties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.sTOREMASTDBBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dockManager1)).EndInit();
            this.hideContainerBottom.ResumeLayout(false);
            this.dockPanel2.ResumeLayout(false);
            this.dockPanel2_Container.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
            this.panelControl1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gridControl2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit();
            this.dockPanel1.ResumeLayout(false);
            this.dockPanel1_Container.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit();
            this.panelControl2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gridControl3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dAILYCLOSINGDatesBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
            this.ResumeLayout(false);

        }
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition1 = new DevExpress.XtraGrid.StyleFormatCondition();
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition2 = new DevExpress.XtraGrid.StyleFormatCondition();
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition3 = new DevExpress.XtraGrid.StyleFormatCondition();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(YearEndProcess));
            this.colNOMASTER = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colCPRICE = new DevExpress.XtraGrid.Columns.GridColumn();
            this.barManager1 = new DevExpress.XtraBars.BarManager(this.components);
            this.bar2 = new DevExpress.XtraBars.Bar();
            this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem5 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem8 = new DevExpress.XtraBars.BarButtonItem();
            this.errorflg = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem10 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem9 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem11 = new DevExpress.XtraBars.BarButtonItem();
            this.bar3 = new DevExpress.XtraBars.Bar();
            this.txtitemsnomaster = new DevExpress.XtraBars.BarButtonItem();
            this.txtitemsnosprice = new DevExpress.XtraBars.BarButtonItem();
            this.txtitemsnocprice = new DevExpress.XtraBars.BarButtonItem();
            this.txtstockdifference = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem6 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem12 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem7 = new DevExpress.XtraBars.BarButtonItem();
            this.barEditItem1 = new DevExpress.XtraBars.BarEditItem();
            this.repositoryItemProgressBar1 = new DevExpress.XtraEditors.Repository.RepositoryItemProgressBar();
            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.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
            this.panel1 = new System.Windows.Forms.Panel();
            this.dateEdit1 = new DevExpress.XtraEditors.DateEdit();
            this.label8 = new System.Windows.Forms.Label();
            this.txtgrpid = new DevExpress.XtraEditors.TextEdit();
            this.panel2 = new System.Windows.Forms.Panel();
            this.label9 = new System.Windows.Forms.Label();
            this.txtexpdate = new DevExpress.XtraEditors.TextEdit();
            this.button2 = new System.Windows.Forms.Button();
            this.txxitemname = new System.Windows.Forms.TextBox();
            this.label7 = new System.Windows.Forms.Label();
            this.txtbarcode = new System.Windows.Forms.TextBox();
            this.label6 = new System.Windows.Forms.Label();
            this.lookUpEdit1 = new DevExpress.XtraEditors.LookUpEdit();
            this.sPCPRICEFROMHISTBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.label5 = new System.Windows.Forms.Label();
            this.button1 = new System.Windows.Forms.Button();
            this.label4 = new System.Windows.Forms.Label();
            this.txtstock = new DevExpress.XtraEditors.TextEdit();
            this.label3 = new System.Windows.Forms.Label();
            this.label1 = new System.Windows.Forms.Label();
            this.textBox1 = new System.Windows.Forms.TextBox();
            this.label2 = new System.Windows.Forms.Label();
            this.lookupfrom = new DevExpress.XtraEditors.LookUpEdit();
            this.yearEndInventoryBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.iTEMGROUPBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.gridControl1 = new DevExpress.XtraGrid.GridControl();
            this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.colTID = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colITEMNO = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colBARCODE = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colITEMNAME = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colINSTOCK = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colPHYSICALSTOCK = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colEXPDATE = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colSPRICE = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colCDATE = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colMACHINENO = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colMUSER = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colTRANSFERED = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colGroupid = new DevExpress.XtraGrid.Columns.GridColumn();
            this.repositoryItemLookUpEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
            this.colINVENTORYYEAR = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridISADDED = new DevExpress.XtraGrid.Columns.GridColumn();
            this.progressPanel1 = new DevExpress.XtraWaitForm.ProgressPanel();
            ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemProgressBar1)).BeginInit();
            this.panel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dateEdit1.Properties.CalendarTimeProperties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dateEdit1.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtgrpid.Properties)).BeginInit();
            this.panel2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txtexpdate.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.lookUpEdit1.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.sPCPRICEFROMHISTBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtstock.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.lookupfrom.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.yearEndInventoryBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.iTEMGROUPBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit1)).BeginInit();
            this.SuspendLayout();
            // 
            // colNOMASTER
            // 
            this.colNOMASTER.AppearanceCell.Options.UseTextOptions = true;
            this.colNOMASTER.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colNOMASTER.AppearanceHeader.Options.UseTextOptions = true;
            this.colNOMASTER.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colNOMASTER.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colNOMASTER.FieldName = "NOMASTER";
            this.colNOMASTER.Name = "colNOMASTER";
            this.colNOMASTER.OptionsColumn.AllowEdit = false;
            this.colNOMASTER.OptionsColumn.ReadOnly = true;
            // 
            // colCPRICE
            // 
            this.colCPRICE.AppearanceCell.Options.UseTextOptions = true;
            this.colCPRICE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colCPRICE.AppearanceHeader.Options.UseTextOptions = true;
            this.colCPRICE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colCPRICE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colCPRICE.Caption = "C.Price";
            this.colCPRICE.DisplayFormat.FormatString = "###,###.00";
            this.colCPRICE.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.colCPRICE.FieldName = "CPRICE";
            this.colCPRICE.Name = "colCPRICE";
            this.colCPRICE.Visible = true;
            this.colCPRICE.VisibleIndex = 7;
            this.colCPRICE.Width = 70;
            // 
            // barManager1
            // 
            this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
            this.bar2,
            this.bar3});
            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.barButtonItem3,
            this.barButtonItem4,
            this.barEditItem1,
            this.txtitemsnomaster,
            this.txtitemsnosprice,
            this.txtitemsnocprice,
            this.txtstockdifference,
            this.barButtonItem1,
            this.errorflg,
            this.barButtonItem2,
            this.barButtonItem5,
            this.barButtonItem6,
            this.barButtonItem7,
            this.barButtonItem8,
            this.barButtonItem9,
            this.barButtonItem10,
            this.barButtonItem11,
            this.barButtonItem12});
            this.barManager1.MainMenu = this.bar2;
            this.barManager1.MaxItemId = 23;
            this.barManager1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
            this.repositoryItemProgressBar1});
            this.barManager1.StatusBar = this.bar3;
            // 
            // bar2
            // 
            this.bar2.BarName = "Main menu";
            this.bar2.DockCol = 0;
            this.bar2.DockRow = 0;
            this.bar2.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
            this.bar2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem3, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem1, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem4, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem5, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem8, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.errorflg, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem10),
            new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem9),
            new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem11)});
            this.bar2.OptionsBar.AllowQuickCustomization = false;
            this.bar2.OptionsBar.UseWholeRow = true;
            this.bar2.Text = "Main menu";
            // 
            // barButtonItem3
            // 
            this.barButtonItem3.Caption = "Read Stock File";
            this.barButtonItem3.Glyph = global::Store.Properties.Resources.document_list;
            this.barButtonItem3.Id = 2;
            this.barButtonItem3.Name = "barButtonItem3";
            this.barButtonItem3.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem3_ItemClick);
            // 
            // barButtonItem1
            // 
            this.barButtonItem1.Caption = "Get Prices From Hist.";
            this.barButtonItem1.Glyph = global::Store.Properties.Resources.run;
            this.barButtonItem1.Id = 10;
            this.barButtonItem1.Name = "barButtonItem1";
            this.barButtonItem1.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem1_ItemClick);
            // 
            // barButtonItem4
            // 
            this.barButtonItem4.Caption = "Validate Data";
            this.barButtonItem4.Glyph = global::Store.Properties.Resources.OK16;
            this.barButtonItem4.Id = 3;
            this.barButtonItem4.Name = "barButtonItem4";
            this.barButtonItem4.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem4_ItemClick);
            // 
            // barButtonItem5
            // 
            this.barButtonItem5.Caption = "Upload Stock";
            this.barButtonItem5.Enabled = false;
            this.barButtonItem5.Glyph = global::Store.Properties.Resources.upreport;
            this.barButtonItem5.Id = 14;
            this.barButtonItem5.Name = "barButtonItem5";
            this.barButtonItem5.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem5_ItemClick);
            // 
            // barButtonItem8
            // 
            this.barButtonItem8.Caption = "Update Opening";
            this.barButtonItem8.Glyph = global::Store.Properties.Resources.grayball;
            this.barButtonItem8.Id = 18;
            this.barButtonItem8.Name = "barButtonItem8";
            this.barButtonItem8.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem8_ItemClick);
            // 
            // errorflg
            // 
            this.errorflg.Caption = "***Please Fix the issues***";
            this.errorflg.Glyph = global::Store.Properties.Resources.error1;
            this.errorflg.Id = 12;
            this.errorflg.ItemAppearance.Normal.ForeColor = System.Drawing.Color.Red;
            this.errorflg.ItemAppearance.Normal.Options.UseForeColor = true;
            this.errorflg.Name = "errorflg";
            this.errorflg.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.errorflg_ItemClick);
            // 
            // barButtonItem10
            // 
            this.barButtonItem10.Caption = "Update Grid";
            this.barButtonItem10.Id = 20;
            this.barButtonItem10.Name = "barButtonItem10";
            this.barButtonItem10.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem10_ItemClick);
            // 
            // barButtonItem9
            // 
            this.barButtonItem9.Caption = "Clear All";
            this.barButtonItem9.Id = 19;
            this.barButtonItem9.Name = "barButtonItem9";
            this.barButtonItem9.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem9_ItemClick);
            // 
            // barButtonItem11
            // 
            this.barButtonItem11.Caption = "GetQtyExpFrm";
            this.barButtonItem11.Id = 21;
            this.barButtonItem11.Name = "barButtonItem11";
            this.barButtonItem11.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem11_ItemClick);
            // 
            // bar3
            // 
            this.bar3.BarName = "Status bar";
            this.bar3.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Bottom;
            this.bar3.DockCol = 0;
            this.bar3.DockRow = 0;
            this.bar3.DockStyle = DevExpress.XtraBars.BarDockStyle.Bottom;
            this.bar3.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
            new DevExpress.XtraBars.LinkPersistInfo(this.txtitemsnomaster, true),
            new DevExpress.XtraBars.LinkPersistInfo(this.txtitemsnosprice, true),
            new DevExpress.XtraBars.LinkPersistInfo(this.txtitemsnocprice, true),
            new DevExpress.XtraBars.LinkPersistInfo(this.txtstockdifference, true),
            new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem2, true),
            new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem6, true),
            new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem12, true),
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem7, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(this.barEditItem1)});
            this.bar3.OptionsBar.AllowQuickCustomization = false;
            this.bar3.OptionsBar.DrawDragBorder = false;
            this.bar3.OptionsBar.UseWholeRow = true;
            this.bar3.Text = "Status bar";
            // 
            // txtitemsnomaster
            // 
            this.txtitemsnomaster.Caption = "Items with out master";
            this.txtitemsnomaster.Id = 5;
            this.txtitemsnomaster.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtitemsnomaster.ItemAppearance.Normal.ForeColor = System.Drawing.Color.Red;
            this.txtitemsnomaster.ItemAppearance.Normal.Options.UseFont = true;
            this.txtitemsnomaster.ItemAppearance.Normal.Options.UseForeColor = true;
            this.txtitemsnomaster.Name = "txtitemsnomaster";
            this.txtitemsnomaster.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.txtitemsnomaster_ItemClick);
            // 
            // txtitemsnosprice
            // 
            this.txtitemsnosprice.Caption = "Items with out S.Price";
            this.txtitemsnosprice.Id = 6;
            this.txtitemsnosprice.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtitemsnosprice.ItemAppearance.Normal.ForeColor = System.Drawing.Color.Blue;
            this.txtitemsnosprice.ItemAppearance.Normal.Options.UseFont = true;
            this.txtitemsnosprice.ItemAppearance.Normal.Options.UseForeColor = true;
            this.txtitemsnosprice.Name = "txtitemsnosprice";
            this.txtitemsnosprice.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.txtitemsnosprice_ItemClick);
            // 
            // txtitemsnocprice
            // 
            this.txtitemsnocprice.Caption = "Items with out C.Price";
            this.txtitemsnocprice.Id = 7;
            this.txtitemsnocprice.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtitemsnocprice.ItemAppearance.Normal.ForeColor = System.Drawing.Color.Teal;
            this.txtitemsnocprice.ItemAppearance.Normal.Options.UseFont = true;
            this.txtitemsnocprice.ItemAppearance.Normal.Options.UseForeColor = true;
            this.txtitemsnocprice.Name = "txtitemsnocprice";
            this.txtitemsnocprice.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.txtitemsnocprice_ItemClick);
            // 
            // txtstockdifference
            // 
            this.txtstockdifference.Caption = "Stock differences ";
            this.txtstockdifference.Id = 9;
            this.txtstockdifference.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtstockdifference.ItemAppearance.Normal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.txtstockdifference.ItemAppearance.Normal.Options.UseFont = true;
            this.txtstockdifference.ItemAppearance.Normal.Options.UseForeColor = true;
            this.txtstockdifference.Name = "txtstockdifference";
            this.txtstockdifference.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.txtstockdifference_ItemClick);
            // 
            // barButtonItem2
            // 
            this.barButtonItem2.Caption = "Manually added";
            this.barButtonItem2.Id = 13;
            this.barButtonItem2.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.barButtonItem2.ItemAppearance.Normal.Options.UseFont = true;
            this.barButtonItem2.Name = "barButtonItem2";
            this.barButtonItem2.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem2_ItemClick_1);
            // 
            // barButtonItem6
            // 
            this.barButtonItem6.Caption = "Show all";
            this.barButtonItem6.Id = 16;
            this.barButtonItem6.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.barButtonItem6.ItemAppearance.Normal.ForeColor = System.Drawing.Color.Purple;
            this.barButtonItem6.ItemAppearance.Normal.Options.UseFont = true;
            this.barButtonItem6.ItemAppearance.Normal.Options.UseForeColor = true;
            this.barButtonItem6.Name = "barButtonItem6";
            this.barButtonItem6.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem6_ItemClick);
            // 
            // barButtonItem12
            // 
            this.barButtonItem12.Caption = "Zero Qty";
            this.barButtonItem12.Id = 22;
            this.barButtonItem12.Name = "barButtonItem12";
            this.barButtonItem12.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem12_ItemClick);
            // 
            // barButtonItem7
            // 
            this.barButtonItem7.Caption = "Print";
            this.barButtonItem7.Glyph = global::Store.Properties.Resources.printer1;
            this.barButtonItem7.Id = 17;
            this.barButtonItem7.Name = "barButtonItem7";
            this.barButtonItem7.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem7_ItemClick);
            // 
            // barEditItem1
            // 
            this.barEditItem1.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right;
            this.barEditItem1.Caption = "barEditItem1";
            this.barEditItem1.Edit = this.repositoryItemProgressBar1;
            this.barEditItem1.Id = 4;
            this.barEditItem1.Name = "barEditItem1";
            this.barEditItem1.Width = 150;
            // 
            // repositoryItemProgressBar1
            // 
            this.repositoryItemProgressBar1.Name = "repositoryItemProgressBar1";
            // 
            // 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(1088, 24);
            // 
            // barDockControlBottom
            // 
            this.barDockControlBottom.CausesValidation = false;
            this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.barDockControlBottom.Location = new System.Drawing.Point(0, 481);
            this.barDockControlBottom.Size = new System.Drawing.Size(1088, 27);
            // 
            // barDockControlLeft
            // 
            this.barDockControlLeft.CausesValidation = false;
            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.CausesValidation = false;
            this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
            this.barDockControlRight.Location = new System.Drawing.Point(1088, 24);
            this.barDockControlRight.Size = new System.Drawing.Size(0, 457);
            // 
            // openFileDialog1
            // 
            this.openFileDialog1.FileName = "openFileDialog1";
            // 
            // panel1
            // 
            this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(232)))), ((int)(((byte)(242)))));
            this.panel1.Controls.Add(this.dateEdit1);
            this.panel1.Controls.Add(this.label8);
            this.panel1.Controls.Add(this.txtgrpid);
            this.panel1.Controls.Add(this.panel2);
            this.panel1.Controls.Add(this.label2);
            this.panel1.Controls.Add(this.lookupfrom);
            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
            this.panel1.Location = new System.Drawing.Point(0, 24);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(1088, 55);
            this.panel1.TabIndex = 9;
            // 
            // dateEdit1
            // 
            this.dateEdit1.EditValue = null;
            this.dateEdit1.Location = new System.Drawing.Point(54, 30);
            this.dateEdit1.MenuManager = this.barManager1;
            this.dateEdit1.Name = "dateEdit1";
            this.dateEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.dateEdit1.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.dateEdit1.Properties.Mask.EditMask = "g";
            this.dateEdit1.Size = new System.Drawing.Size(92, 20);
            this.dateEdit1.TabIndex = 50;
            // 
            // label8
            // 
            this.label8.AutoSize = true;
            this.label8.ForeColor = System.Drawing.Color.Black;
            this.label8.Location = new System.Drawing.Point(3, 36);
            this.label8.Name = "label8";
            this.label8.Size = new System.Drawing.Size(53, 13);
            this.label8.TabIndex = 49;
            this.label8.Text = "Opening :";
            // 
            // txtgrpid
            // 
            this.txtgrpid.Location = new System.Drawing.Point(161, 30);
            this.txtgrpid.MenuManager = this.barManager1;
            this.txtgrpid.Name = "txtgrpid";
            this.txtgrpid.Properties.Mask.EditMask = "n0";
            this.txtgrpid.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
            this.txtgrpid.Properties.Mask.ShowPlaceHolders = false;
            this.txtgrpid.Properties.MaxLength = 4;
            this.txtgrpid.Size = new System.Drawing.Size(56, 20);
            this.txtgrpid.TabIndex = 48;
            this.txtgrpid.Visible = false;
            // 
            // panel2
            // 
            this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(232)))), ((int)(((byte)(242)))));
            this.panel2.Controls.Add(this.label9);
            this.panel2.Controls.Add(this.txtexpdate);
            this.panel2.Controls.Add(this.button2);
            this.panel2.Controls.Add(this.txxitemname);
            this.panel2.Controls.Add(this.label7);
            this.panel2.Controls.Add(this.txtbarcode);
            this.panel2.Controls.Add(this.label6);
            this.panel2.Controls.Add(this.lookUpEdit1);
            this.panel2.Controls.Add(this.label5);
            this.panel2.Controls.Add(this.button1);
            this.panel2.Controls.Add(this.label4);
            this.panel2.Controls.Add(this.txtstock);
            this.panel2.Controls.Add(this.label3);
            this.panel2.Controls.Add(this.label1);
            this.panel2.Controls.Add(this.textBox1);
            this.panel2.Location = new System.Drawing.Point(220, 2);
            this.panel2.Name = "panel2";
            this.panel2.Size = new System.Drawing.Size(862, 52);
            this.panel2.TabIndex = 46;
            // 
            // label9
            // 
            this.label9.AutoSize = true;
            this.label9.ForeColor = System.Drawing.Color.Black;
            this.label9.Location = new System.Drawing.Point(672, 6);
            this.label9.Name = "label9";
            this.label9.Size = new System.Drawing.Size(60, 13);
            this.label9.TabIndex = 59;
            this.label9.Text = "(DD-YYYY)";
            // 
            // txtexpdate
            // 
            this.txtexpdate.EnterMoveNextControl = true;
            this.txtexpdate.Location = new System.Drawing.Point(581, 3);
            this.txtexpdate.MenuManager = this.barManager1;
            this.txtexpdate.Name = "txtexpdate";
            this.txtexpdate.Properties.Mask.EditMask = "d";
            this.txtexpdate.Properties.Mask.ShowPlaceHolders = false;
            this.txtexpdate.Properties.MaxLength = 7;
            this.txtexpdate.Size = new System.Drawing.Size(88, 20);
            this.txtexpdate.TabIndex = 3;
            // 
            // button2
            // 
            this.button2.Image = global::Store.Properties.Resources.page_white_star16;
            this.button2.Location = new System.Drawing.Point(271, 2);
            this.button2.Name = "button2";
            this.button2.Size = new System.Drawing.Size(27, 23);
            this.button2.TabIndex = 57;
            this.button2.UseVisualStyleBackColor = true;
            this.button2.Click += new System.EventHandler(this.button2_Click);
            // 
            // txxitemname
            // 
            this.txxitemname.Location = new System.Drawing.Point(60, 27);
            this.txxitemname.Name = "txxitemname";
            this.txxitemname.Size = new System.Drawing.Size(339, 20);
            this.txxitemname.TabIndex = 56;
            // 
            // label7
            // 
            this.label7.AutoSize = true;
            this.label7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(232)))), ((int)(((byte)(242)))));
            this.label7.ForeColor = System.Drawing.Color.Black;
            this.label7.Location = new System.Drawing.Point(401, 30);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(52, 13);
            this.label7.TabIndex = 55;
            this.label7.Text = "Manf no :";
            // 
            // txtbarcode
            // 
            this.txtbarcode.Location = new System.Drawing.Point(455, 27);
            this.txtbarcode.Name = "txtbarcode";
            this.txtbarcode.Size = new System.Drawing.Size(214, 20);
            this.txtbarcode.TabIndex = 54;
            // 
            // label6
            // 
            this.label6.AutoSize = true;
            this.label6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(232)))), ((int)(((byte)(242)))));
            this.label6.ForeColor = System.Drawing.Color.Black;
            this.label6.Location = new System.Drawing.Point(3, 27);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(47, 13);
            this.label6.TabIndex = 53;
            this.label6.Text = "Name . :";
            // 
            // lookUpEdit1
            // 
            this.lookUpEdit1.EnterMoveNextControl = true;
            this.lookUpEdit1.Location = new System.Drawing.Point(455, 3);
            this.lookUpEdit1.MenuManager = this.barManager1;
            this.lookUpEdit1.Name = "lookUpEdit1";
            this.lookUpEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.lookUpEdit1.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("SPRICE", "S.Price", 59, DevExpress.Utils.FormatType.Numeric, "", true, DevExpress.Utils.HorzAlignment.Far),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("CPRICE", "C.Price", 47, DevExpress.Utils.FormatType.Numeric, "", true, DevExpress.Utils.HorzAlignment.Far),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("INVDT", "Inv.Dt.", 23, DevExpress.Utils.FormatType.DateTime, "dd/MM/yyyy", true, DevExpress.Utils.HorzAlignment.Near)});
            this.lookUpEdit1.Properties.DataSource = this.sPCPRICEFROMHISTBindingSource;
            this.lookUpEdit1.Properties.DisplayMember = "SPRICE";
            this.lookUpEdit1.Properties.NullText = "";
            this.lookUpEdit1.Properties.ShowFooter = false;
            this.lookUpEdit1.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
            this.lookUpEdit1.Properties.ValueMember = "SPRICE";
            this.lookUpEdit1.Size = new System.Drawing.Size(88, 20);
            this.lookUpEdit1.TabIndex = 2;
            this.lookUpEdit1.EditValueChanged += new System.EventHandler(this.lookUpEdit1_EditValueChanged);
            // 
            // sPCPRICEFROMHISTBindingSource
            // 
            this.sPCPRICEFROMHISTBindingSource.DataMember = "SPCPRICEFROMHIST";
            this.sPCPRICEFROMHISTBindingSource.DataSource = typeof(VIRETAILENTITIES.Ledgers);
            // 
            // label5
            // 
            this.label5.AutoSize = true;
            this.label5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(232)))), ((int)(((byte)(242)))));
            this.label5.ForeColor = System.Drawing.Color.Black;
            this.label5.Location = new System.Drawing.Point(401, 7);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(47, 13);
            this.label5.TabIndex = 51;
            this.label5.Text = "S.Price :";
            // 
            // button1
            // 
            this.button1.Enabled = false;
            this.button1.Location = new System.Drawing.Point(675, 22);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(62, 28);
            this.button1.TabIndex = 4;
            this.button1.Text = "Add Item";
            this.button1.UseVisualStyleBackColor = true;
            this.button1.Click += new System.EventHandler(this.button1_Click);
            // 
            // label4
            // 
            this.label4.AutoSize = true;
            this.label4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(232)))), ((int)(((byte)(242)))));
            this.label4.ForeColor = System.Drawing.Color.Black;
            this.label4.Location = new System.Drawing.Point(542, 7);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(42, 13);
            this.label4.TabIndex = 48;
            this.label4.Text = "Exp Dt:";
            // 
            // txtstock
            // 
            this.txtstock.EnterMoveNextControl = true;
            this.txtstock.Location = new System.Drawing.Point(343, 4);
            this.txtstock.MenuManager = this.barManager1;
            this.txtstock.Name = "txtstock";
            this.txtstock.Properties.Mask.EditMask = "n0";
            this.txtstock.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
            this.txtstock.Properties.Mask.ShowPlaceHolders = false;
            this.txtstock.Properties.MaxLength = 4;
            this.txtstock.Size = new System.Drawing.Size(56, 20);
            this.txtstock.TabIndex = 1;
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(232)))), ((int)(((byte)(242)))));
            this.label3.ForeColor = System.Drawing.Color.Black;
            this.label3.Location = new System.Drawing.Point(304, 7);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(41, 13);
            this.label3.TabIndex = 45;
            this.label3.Text = "Stock :";
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(232)))), ((int)(((byte)(242)))));
            this.label1.ForeColor = System.Drawing.Color.Black;
            this.label1.Location = new System.Drawing.Point(3, 7);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(51, 13);
            this.label1.TabIndex = 44;
            this.label1.Text = "Item no. :";
            // 
            // textBox1
            // 
            this.textBox1.Location = new System.Drawing.Point(60, 4);
            this.textBox1.Name = "textBox1";
            this.textBox1.Size = new System.Drawing.Size(209, 20);
            this.textBox1.TabIndex = 0;
            this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
            this.textBox1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox1_KeyDown);
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.ForeColor = System.Drawing.Color.Black;
            this.label2.Location = new System.Drawing.Point(4, 8);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(38, 13);
            this.label2.TabIndex = 43;
            this.label2.Text = "Store :";
            // 
            // lookupfrom
            // 
            this.lookupfrom.Location = new System.Drawing.Point(44, 6);
            this.lookupfrom.Name = "lookupfrom";
            this.lookupfrom.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lookupfrom.Properties.Appearance.Options.UseFont = true;
            this.lookupfrom.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.lookupfrom.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("STORECODE", "Name1", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("STORENAME", "Name2")});
            this.lookupfrom.Properties.DisplayMember = "STORENAME";
            this.lookupfrom.Properties.NullText = "";
            this.lookupfrom.Properties.ShowFooter = false;
            this.lookupfrom.Properties.ShowHeader = false;
            this.lookupfrom.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
            this.lookupfrom.Properties.ValueMember = "STORECODE";
            this.lookupfrom.Size = new System.Drawing.Size(173, 20);
            this.lookupfrom.TabIndex = 42;
            // 
            // yearEndInventoryBindingSource
            // 
            this.yearEndInventoryBindingSource.DataMember = "YearEndInventory";
            this.yearEndInventoryBindingSource.DataSource = typeof(VIRETAILENTITIES.DsInventory);
            // 
            // iTEMGROUPBindingSource
            // 
            this.iTEMGROUPBindingSource.DataMember = "ITEMGROUP";
            this.iTEMGROUPBindingSource.DataSource = typeof(VIRETAILENTITIES.DsMaster);
            // 
            // gridControl1
            // 
            this.gridControl1.Cursor = System.Windows.Forms.Cursors.Default;
            this.gridControl1.DataSource = this.yearEndInventoryBindingSource;
            this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gridControl1.Location = new System.Drawing.Point(0, 79);
            this.gridControl1.MainView = this.gridView1;
            this.gridControl1.MenuManager = this.barManager1;
            this.gridControl1.Name = "gridControl1";
            this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
            this.repositoryItemLookUpEdit1});
            this.gridControl1.Size = new System.Drawing.Size(1088, 402);
            this.gridControl1.TabIndex = 15;
            this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gridView1});
            this.gridControl1.Click += new System.EventHandler(this.gridControl1_Click);
            // 
            // gridView1
            // 
            this.gridView1.Appearance.FooterPanel.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gridView1.Appearance.FooterPanel.Options.UseFont = true;
            this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.colTID,
            this.colITEMNO,
            this.colBARCODE,
            this.colITEMNAME,
            this.colINSTOCK,
            this.colPHYSICALSTOCK,
            this.colEXPDATE,
            this.colSPRICE,
            this.colCPRICE,
            this.colCDATE,
            this.colNOMASTER,
            this.colMACHINENO,
            this.colMUSER,
            this.colTRANSFERED,
            this.colGroupid,
            this.colINVENTORYYEAR,
            this.gridISADDED});
            styleFormatCondition1.Appearance.ForeColor = System.Drawing.Color.Red;
            styleFormatCondition1.Appearance.Options.UseForeColor = true;
            styleFormatCondition1.ApplyToRow = true;
            styleFormatCondition1.Column = this.colNOMASTER;
            styleFormatCondition1.Condition = DevExpress.XtraGrid.FormatConditionEnum.Equal;
            styleFormatCondition1.Value1 = true;
            styleFormatCondition2.Appearance.ForeColor = System.Drawing.Color.Blue;
            styleFormatCondition2.Appearance.Options.UseForeColor = true;
            styleFormatCondition2.ApplyToRow = true;
            styleFormatCondition2.Column = this.colCPRICE;
            styleFormatCondition2.Condition = DevExpress.XtraGrid.FormatConditionEnum.Equal;
            styleFormatCondition2.Value1 = 0D;
            styleFormatCondition3.Appearance.ForeColor = System.Drawing.Color.Teal;
            styleFormatCondition3.Appearance.Options.UseForeColor = true;
            styleFormatCondition3.ApplyToRow = true;
            styleFormatCondition3.Column = this.colCPRICE;
            styleFormatCondition3.Condition = DevExpress.XtraGrid.FormatConditionEnum.Equal;
            styleFormatCondition3.Value1 = new decimal(new int[] {
            0,
            0,
            0,
            0});
            this.gridView1.FormatConditions.AddRange(new DevExpress.XtraGrid.StyleFormatCondition[] {
            styleFormatCondition1,
            styleFormatCondition2,
            styleFormatCondition3});
            this.gridView1.GridControl = this.gridControl1;
            this.gridView1.GroupCount = 1;
            this.gridView1.GroupSummary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
            new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Count, "ITEMNO", this.colITEMNO, "Count {0}"),
            new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Sum, "PHYSICALSTOCK", this.colPHYSICALSTOCK, ""),
            new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Sum, "SPRICE", this.colSPRICE, "{0:###,####,###.00}"),
            new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Sum, "CPRICE", this.colCPRICE, "{0:###,####,###.00}")});
            this.gridView1.Name = "gridView1";
            this.gridView1.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False;
            this.gridView1.OptionsBehavior.AutoExpandAllGroups = true;
            this.gridView1.OptionsView.ShowAutoFilterRow = true;
            this.gridView1.OptionsView.ShowFooter = true;
            this.gridView1.OptionsView.ShowGroupPanel = false;
            this.gridView1.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
            new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.colGroupid, DevExpress.Data.ColumnSortOrder.Ascending)});
            this.gridView1.CustomSummaryCalculate += new DevExpress.Data.CustomSummaryEventHandler(this.gridView1_CustomSummaryCalculate);
            // 
            // colTID
            // 
            this.colTID.AppearanceCell.Options.UseTextOptions = true;
            this.colTID.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTID.AppearanceHeader.Options.UseTextOptions = true;
            this.colTID.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colTID.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTID.FieldName = "TID";
            this.colTID.Name = "colTID";
            // 
            // colITEMNO
            // 
            this.colITEMNO.AppearanceCell.Options.UseTextOptions = true;
            this.colITEMNO.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colITEMNO.AppearanceHeader.Options.UseTextOptions = true;
            this.colITEMNO.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colITEMNO.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colITEMNO.Caption = "Item No.";
            this.colITEMNO.FieldName = "ITEMNO";
            this.colITEMNO.Name = "colITEMNO";
            this.colITEMNO.OptionsColumn.AllowEdit = false;
            this.colITEMNO.OptionsColumn.ReadOnly = true;
            this.colITEMNO.Visible = true;
            this.colITEMNO.VisibleIndex = 0;
            this.colITEMNO.Width = 124;
            // 
            // colBARCODE
            // 
            this.colBARCODE.AppearanceCell.Options.UseTextOptions = true;
            this.colBARCODE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colBARCODE.AppearanceHeader.Options.UseTextOptions = true;
            this.colBARCODE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colBARCODE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colBARCODE.Caption = "Barcode";
            this.colBARCODE.FieldName = "BARCODE";
            this.colBARCODE.Name = "colBARCODE";
            this.colBARCODE.OptionsColumn.AllowEdit = false;
            this.colBARCODE.OptionsColumn.ReadOnly = true;
            this.colBARCODE.Visible = true;
            this.colBARCODE.VisibleIndex = 1;
            this.colBARCODE.Width = 200;
            // 
            // colITEMNAME
            // 
            this.colITEMNAME.AppearanceCell.Options.UseTextOptions = true;
            this.colITEMNAME.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colITEMNAME.AppearanceHeader.Options.UseTextOptions = true;
            this.colITEMNAME.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colITEMNAME.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colITEMNAME.Caption = "Item name";
            this.colITEMNAME.FieldName = "ITEMNAME";
            this.colITEMNAME.Name = "colITEMNAME";
            this.colITEMNAME.OptionsColumn.AllowEdit = false;
            this.colITEMNAME.OptionsColumn.ReadOnly = true;
            this.colITEMNAME.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
            new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Custom, "ITEMNAME", "", "1")});
            this.colITEMNAME.Visible = true;
            this.colITEMNAME.VisibleIndex = 2;
            this.colITEMNAME.Width = 284;
            // 
            // colINSTOCK
            // 
            this.colINSTOCK.AppearanceCell.Options.UseTextOptions = true;
            this.colINSTOCK.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colINSTOCK.AppearanceHeader.Options.UseTextOptions = true;
            this.colINSTOCK.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colINSTOCK.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colINSTOCK.Caption = "In Stock";
            this.colINSTOCK.FieldName = "INSTOCK";
            this.colINSTOCK.Name = "colINSTOCK";
            this.colINSTOCK.OptionsColumn.AllowEdit = false;
            this.colINSTOCK.OptionsColumn.ReadOnly = true;
            this.colINSTOCK.Visible = true;
            this.colINSTOCK.VisibleIndex = 3;
            this.colINSTOCK.Width = 58;
            // 
            // colPHYSICALSTOCK
            // 
            this.colPHYSICALSTOCK.AppearanceCell.Options.UseTextOptions = true;
            this.colPHYSICALSTOCK.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colPHYSICALSTOCK.AppearanceHeader.Options.UseTextOptions = true;
            this.colPHYSICALSTOCK.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colPHYSICALSTOCK.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colPHYSICALSTOCK.Caption = "Actual";
            this.colPHYSICALSTOCK.FieldName = "PHYSICALSTOCK";
            this.colPHYSICALSTOCK.Name = "colPHYSICALSTOCK";
            this.colPHYSICALSTOCK.Visible = true;
            this.colPHYSICALSTOCK.VisibleIndex = 4;
            this.colPHYSICALSTOCK.Width = 46;
            // 
            // colEXPDATE
            // 
            this.colEXPDATE.AppearanceCell.Options.UseTextOptions = true;
            this.colEXPDATE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colEXPDATE.AppearanceHeader.Options.UseTextOptions = true;
            this.colEXPDATE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colEXPDATE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colEXPDATE.Caption = "Exp.Dt.";
            this.colEXPDATE.DisplayFormat.FormatString = "MM-yyyy";
            this.colEXPDATE.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
            this.colEXPDATE.FieldName = "EXPDATE";
            this.colEXPDATE.Name = "colEXPDATE";
            this.colEXPDATE.Visible = true;
            this.colEXPDATE.VisibleIndex = 5;
            this.colEXPDATE.Width = 72;
            // 
            // colSPRICE
            // 
            this.colSPRICE.AppearanceCell.Options.UseTextOptions = true;
            this.colSPRICE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSPRICE.AppearanceHeader.Options.UseTextOptions = true;
            this.colSPRICE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSPRICE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSPRICE.Caption = "S.Price";
            this.colSPRICE.DisplayFormat.FormatString = "###,###.00";
            this.colSPRICE.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.colSPRICE.FieldName = "SPRICE";
            this.colSPRICE.Name = "colSPRICE";
            this.colSPRICE.Visible = true;
            this.colSPRICE.VisibleIndex = 6;
            this.colSPRICE.Width = 62;
            // 
            // colCDATE
            // 
            this.colCDATE.AppearanceCell.Options.UseTextOptions = true;
            this.colCDATE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colCDATE.AppearanceHeader.Options.UseTextOptions = true;
            this.colCDATE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colCDATE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colCDATE.FieldName = "CDATE";
            this.colCDATE.Name = "colCDATE";
            this.colCDATE.OptionsColumn.AllowEdit = false;
            this.colCDATE.OptionsColumn.ReadOnly = true;
            // 
            // colMACHINENO
            // 
            this.colMACHINENO.AppearanceCell.Options.UseTextOptions = true;
            this.colMACHINENO.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colMACHINENO.AppearanceHeader.Options.UseTextOptions = true;
            this.colMACHINENO.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colMACHINENO.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colMACHINENO.Caption = "Mach.No.";
            this.colMACHINENO.FieldName = "MACHINENO";
            this.colMACHINENO.Name = "colMACHINENO";
            this.colMACHINENO.OptionsColumn.AllowEdit = false;
            this.colMACHINENO.OptionsColumn.ReadOnly = true;
            this.colMACHINENO.Width = 56;
            // 
            // colMUSER
            // 
            this.colMUSER.AppearanceCell.Options.UseTextOptions = true;
            this.colMUSER.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colMUSER.AppearanceHeader.Options.UseTextOptions = true;
            this.colMUSER.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colMUSER.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colMUSER.Caption = "Taken By";
            this.colMUSER.FieldName = "MUSER";
            this.colMUSER.Name = "colMUSER";
            this.colMUSER.OptionsColumn.AllowEdit = false;
            this.colMUSER.OptionsColumn.ReadOnly = true;
            this.colMUSER.Visible = true;
            this.colMUSER.VisibleIndex = 8;
            this.colMUSER.Width = 94;
            // 
            // colTRANSFERED
            // 
            this.colTRANSFERED.AppearanceCell.Options.UseTextOptions = true;
            this.colTRANSFERED.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTRANSFERED.AppearanceHeader.Options.UseTextOptions = true;
            this.colTRANSFERED.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colTRANSFERED.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTRANSFERED.Caption = "Transfered";
            this.colTRANSFERED.FieldName = "TRANSFERED";
            this.colTRANSFERED.MaxWidth = 60;
            this.colTRANSFERED.Name = "colTRANSFERED";
            this.colTRANSFERED.OptionsColumn.AllowEdit = false;
            this.colTRANSFERED.OptionsColumn.ReadOnly = true;
            this.colTRANSFERED.Visible = true;
            this.colTRANSFERED.VisibleIndex = 9;
            this.colTRANSFERED.Width = 60;
            // 
            // colGroupid
            // 
            this.colGroupid.AppearanceCell.Options.UseTextOptions = true;
            this.colGroupid.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colGroupid.AppearanceHeader.Options.UseTextOptions = true;
            this.colGroupid.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colGroupid.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colGroupid.Caption = "Group";
            this.colGroupid.ColumnEdit = this.repositoryItemLookUpEdit1;
            this.colGroupid.FieldName = "Groupid";
            this.colGroupid.Name = "colGroupid";
            this.colGroupid.OptionsColumn.AllowEdit = false;
            this.colGroupid.OptionsColumn.ReadOnly = true;
            this.colGroupid.Visible = true;
            this.colGroupid.VisibleIndex = 14;
            // 
            // 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.DataSource = this.iTEMGROUPBindingSource;
            this.repositoryItemLookUpEdit1.DisplayMember = "GROUPNAME";
            this.repositoryItemLookUpEdit1.Name = "repositoryItemLookUpEdit1";
            this.repositoryItemLookUpEdit1.NullText = "";
            this.repositoryItemLookUpEdit1.ValueMember = "GROUPID";
            // 
            // colINVENTORYYEAR
            // 
            this.colINVENTORYYEAR.AppearanceCell.Options.UseTextOptions = true;
            this.colINVENTORYYEAR.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colINVENTORYYEAR.AppearanceHeader.Options.UseTextOptions = true;
            this.colINVENTORYYEAR.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colINVENTORYYEAR.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colINVENTORYYEAR.FieldName = "INVENTORYYEAR";
            this.colINVENTORYYEAR.Name = "colINVENTORYYEAR";
            this.colINVENTORYYEAR.OptionsColumn.AllowEdit = false;
            this.colINVENTORYYEAR.OptionsColumn.ReadOnly = true;
            // 
            // gridISADDED
            // 
            this.gridISADDED.FieldName = "ISADDED";
            this.gridISADDED.Name = "gridISADDED";
            this.gridISADDED.OptionsColumn.AllowEdit = false;
            this.gridISADDED.OptionsColumn.ShowCaption = false;
            this.gridISADDED.Width = 41;
            // 
            // progressPanel1
            // 
            this.progressPanel1.Appearance.BackColor = System.Drawing.Color.Transparent;
            this.progressPanel1.Appearance.Options.UseBackColor = true;
            this.progressPanel1.AppearanceCaption.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
            this.progressPanel1.AppearanceCaption.Options.UseFont = true;
            this.progressPanel1.AppearanceDescription.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
            this.progressPanel1.AppearanceDescription.Options.UseFont = true;
            this.progressPanel1.Location = new System.Drawing.Point(353, 155);
            this.progressPanel1.LookAndFeel.UseDefaultLookAndFeel = false;
            this.progressPanel1.Name = "progressPanel1";
            this.progressPanel1.Size = new System.Drawing.Size(283, 70);
            this.progressPanel1.TabIndex = 20;
            this.progressPanel1.Text = "progressPanel1";
            this.progressPanel1.Visible = false;
            // 
            // YearEndProcess
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(1088, 508);
            this.Controls.Add(this.progressPanel1);
            this.Controls.Add(this.gridControl1);
            this.Controls.Add(this.panel1);
            this.Controls.Add(this.barDockControlLeft);
            this.Controls.Add(this.barDockControlRight);
            this.Controls.Add(this.barDockControlBottom);
            this.Controls.Add(this.barDockControlTop);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "YearEndProcess";
            this.Text = "Year End Process";
            this.Load += new System.EventHandler(this.YearEndProcess_Load);
            this.Resize += new System.EventHandler(this.YearEndProcess_Resize);
            ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemProgressBar1)).EndInit();
            this.panel1.ResumeLayout(false);
            this.panel1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dateEdit1.Properties.CalendarTimeProperties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dateEdit1.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtgrpid.Properties)).EndInit();
            this.panel2.ResumeLayout(false);
            this.panel2.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txtexpdate.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.lookUpEdit1.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.sPCPRICEFROMHISTBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtstock.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.lookupfrom.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.yearEndInventoryBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.iTEMGROUPBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit1)).EndInit();
            this.ResumeLayout(false);

        }
Example #29
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.XtraGrid.StyleFormatCondition styleFormatCondition1 = new DevExpress.XtraGrid.StyleFormatCondition();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DataDisk));
            this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.ribbon = new DevExpress.XtraBars.Ribbon.RibbonControl();
            this.barEditItem2 = new DevExpress.XtraBars.BarEditItem();
            this.repositoryItemDateEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
            this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
            this.barStaticItem2 = new DevExpress.XtraBars.BarStaticItem();
            this.barStaticItem4 = new DevExpress.XtraBars.BarStaticItem();
            this.barEditItem5 = new DevExpress.XtraBars.BarEditItem();
            this.repositoryItemLookUpEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
            this.barStaticItem1 = new DevExpress.XtraBars.BarStaticItem();
            this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem();
            this.targetloc = new DevExpress.XtraBars.BarEditItem();
            this.repositoryItemComboBox1 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
            this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem5 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem6 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem7 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem8 = new DevExpress.XtraBars.BarButtonItem();
            this.barEditItem1 = new DevExpress.XtraBars.BarEditItem();
            this.repositoryItemCheckedComboBoxEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckedComboBoxEdit();
            this.barEditItem3 = new DevExpress.XtraBars.BarEditItem();
            this.repositoryItemLookUpEdit5 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
            this.barEditItem4 = new DevExpress.XtraBars.BarEditItem();
            this.repositoryItemTextEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
            this.barButtonItem9 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem10 = new DevExpress.XtraBars.BarButtonItem();
            this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage();
            this.ribbonPageGroup2 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPageGroup3 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPageGroup4 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.repositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
            this.repositoryItemLookUpEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
            this.mastMoveTypesBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
            this.repositoryItemProgressBar1 = new DevExpress.XtraEditors.Repository.RepositoryItemProgressBar();
            this.repositoryItemRadioGroup1 = new DevExpress.XtraEditors.Repository.RepositoryItemRadioGroup();
            this.repositoryItemButtonEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
            this.repositoryItemButtonEdit3 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
            this.repositoryItemLookUpEdit3 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
            this.repositoryItemLookUpEdit4 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
            this.ribbonStatusBar = new DevExpress.XtraBars.Ribbon.RibbonStatusBar();
            this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl();
            this.gridControl1 = new DevExpress.XtraGrid.GridControl();
            this.iTEMTRANSFERMAINBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.colTRANID = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colTOSTOREID = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colTRANDATE = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colUSERID = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colUDATE = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colHOLD = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colEUSERID = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colEDATE = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colTOTVALUE = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colTOTITEMS = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colNOTE = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colTTYPE = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colCOMPANY = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colFRMSTOREID = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colFRMNAME = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colTONAME = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colISREC = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colDOWNFILENO = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colAFILENO = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridControl2 = new DevExpress.XtraGrid.GridControl();
            this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
            ((System.ComponentModel.ISupportInitialize)(this.ribbon)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1.VistaTimeProperties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckedComboBoxEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit5)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.mastMoveTypesBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemProgressBar1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemRadioGroup1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit4)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
            this.splitContainerControl1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.iTEMTRANSFERMAINBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
            this.SuspendLayout();
            // 
            // gridColumn3
            // 
            this.gridColumn3.Caption = "DISKCREATED";
            this.gridColumn3.FieldName = "DISKCREATED";
            this.gridColumn3.Name = "gridColumn3";
            // 
            // ribbon
            // 
            this.ribbon.ExpandCollapseItem.Id = 0;
            this.ribbon.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
            this.ribbon.ExpandCollapseItem,
            this.barEditItem2,
            this.barButtonItem1,
            this.barStaticItem2,
            this.barStaticItem4,
            this.barEditItem5,
            this.barStaticItem1,
            this.barButtonItem3,
            this.targetloc,
            this.barButtonItem2,
            this.barButtonItem4,
            this.barButtonItem5,
            this.barButtonItem6,
            this.barButtonItem7,
            this.barButtonItem8,
            this.barEditItem1,
            this.barEditItem3,
            this.barEditItem4,
            this.barButtonItem9,
            this.barButtonItem10});
            this.ribbon.Location = new System.Drawing.Point(0, 0);
            this.ribbon.MaxItemId = 46;
            this.ribbon.Name = "ribbon";
            this.ribbon.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
            this.ribbonPage1});
            this.ribbon.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
            this.repositoryItemTextEdit1,
            this.repositoryItemDateEdit1,
            this.repositoryItemLookUpEdit1,
            this.repositoryItemButtonEdit1,
            this.repositoryItemLookUpEdit2,
            this.repositoryItemProgressBar1,
            this.repositoryItemRadioGroup1,
            this.repositoryItemButtonEdit2,
            this.repositoryItemButtonEdit3,
            this.repositoryItemComboBox1,
            this.repositoryItemLookUpEdit3,
            this.repositoryItemLookUpEdit4,
            this.repositoryItemCheckedComboBoxEdit1,
            this.repositoryItemLookUpEdit5,
            this.repositoryItemTextEdit2});
            this.ribbon.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonControlStyle.Office2010;
            this.ribbon.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.False;
            this.ribbon.ShowCategoryInCaption = false;
            this.ribbon.ShowExpandCollapseButton = DevExpress.Utils.DefaultBoolean.False;
            this.ribbon.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.Show;
            this.ribbon.ShowToolbarCustomizeItem = false;
            this.ribbon.Size = new System.Drawing.Size(753, 144);
            this.ribbon.StatusBar = this.ribbonStatusBar;
            this.ribbon.Toolbar.ShowCustomizeItem = false;
            this.ribbon.ToolbarLocation = DevExpress.XtraBars.Ribbon.RibbonQuickAccessToolbarLocation.Above;
            // 
            // barEditItem2
            // 
            this.barEditItem2.Caption = "Created Date :";
            this.barEditItem2.Edit = this.repositoryItemDateEdit1;
            this.barEditItem2.Id = 3;
            this.barEditItem2.Name = "barEditItem2";
            this.barEditItem2.Width = 100;
            // 
            // repositoryItemDateEdit1
            // 
            this.repositoryItemDateEdit1.AutoHeight = false;
            this.repositoryItemDateEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemDateEdit1.Name = "repositoryItemDateEdit1";
            this.repositoryItemDateEdit1.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            // 
            // barButtonItem1
            // 
            this.barButtonItem1.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right;
            this.barButtonItem1.Caption = "Generate";
            this.barButtonItem1.Enabled = false;
            this.barButtonItem1.Glyph = global::Store.Properties.Resources.run;
            this.barButtonItem1.Id = 6;
            this.barButtonItem1.Name = "barButtonItem1";
            this.barButtonItem1.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem1_ItemClick);
            // 
            // barStaticItem2
            // 
            this.barStaticItem2.Caption = "Double click to add to list";
            this.barStaticItem2.Id = 8;
            this.barStaticItem2.Name = "barStaticItem2";
            this.barStaticItem2.TextAlignment = System.Drawing.StringAlignment.Near;
            // 
            // barStaticItem4
            // 
            this.barStaticItem4.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right;
            this.barStaticItem4.Caption = "Double click on grid to remove";
            this.barStaticItem4.Id = 10;
            this.barStaticItem4.Name = "barStaticItem4";
            this.barStaticItem4.TextAlignment = System.Drawing.StringAlignment.Near;
            // 
            // barEditItem5
            // 
            this.barEditItem5.Caption = "Last File No. :  ";
            this.barEditItem5.Edit = this.repositoryItemLookUpEdit2;
            this.barEditItem5.Id = 11;
            this.barEditItem5.Name = "barEditItem5";
            this.barEditItem5.Width = 100;
            // 
            // 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.Name = "repositoryItemLookUpEdit2";
            this.repositoryItemLookUpEdit2.NullText = "";
            this.repositoryItemLookUpEdit2.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
            // 
            // barStaticItem1
            // 
            this.barStaticItem1.Caption = "Click to view the voucher";
            this.barStaticItem1.Id = 12;
            this.barStaticItem1.Name = "barStaticItem1";
            this.barStaticItem1.TextAlignment = System.Drawing.StringAlignment.Near;
            // 
            // barButtonItem3
            // 
            this.barButtonItem3.Caption = "barButtonItem3";
            this.barButtonItem3.Id = 25;
            this.barButtonItem3.Name = "barButtonItem3";
            // 
            // targetloc
            // 
            this.targetloc.Caption = "File Location :";
            this.targetloc.Edit = this.repositoryItemComboBox1;
            this.targetloc.Id = 27;
            this.targetloc.Name = "targetloc";
            // 
            // repositoryItemComboBox1
            // 
            this.repositoryItemComboBox1.AutoHeight = false;
            this.repositoryItemComboBox1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemComboBox1.Name = "repositoryItemComboBox1";
            // 
            // barButtonItem2
            // 
            this.barButtonItem2.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check;
            this.barButtonItem2.Caption = "Create File";
            this.barButtonItem2.Enabled = false;
            this.barButtonItem2.Glyph = global::Store.Properties.Resources.Process_Accept;
            this.barButtonItem2.Id = 28;
            this.barButtonItem2.LargeGlyph = global::Store.Properties.Resources.Process_Accept1;
            this.barButtonItem2.Name = "barButtonItem2";
            this.barButtonItem2.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem1_ItemClick);
            // 
            // barButtonItem4
            // 
            this.barButtonItem4.Caption = "New";
            this.barButtonItem4.Id = 32;
            this.barButtonItem4.LargeGlyph = global::Store.Properties.Resources.page_white_star;
            this.barButtonItem4.Name = "barButtonItem4";
            this.barButtonItem4.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem4_ItemClick);
            // 
            // barButtonItem5
            // 
            this.barButtonItem5.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right;
            this.barButtonItem5.Caption = "Send";
            this.barButtonItem5.Glyph = global::Store.Properties.Resources.mailsend;
            this.barButtonItem5.Id = 33;
            this.barButtonItem5.Name = "barButtonItem5";
            // 
            // barButtonItem6
            // 
            this.barButtonItem6.Caption = "Removable Media";
            this.barButtonItem6.Id = 35;
            this.barButtonItem6.Name = "barButtonItem6";
            // 
            // barButtonItem7
            // 
            this.barButtonItem7.Caption = "Network";
            this.barButtonItem7.Id = 36;
            this.barButtonItem7.Name = "barButtonItem7";
            // 
            // barButtonItem8
            // 
            this.barButtonItem8.Caption = "Email Client";
            this.barButtonItem8.Id = 37;
            this.barButtonItem8.Name = "barButtonItem8";
            // 
            // barEditItem1
            // 
            this.barEditItem1.Caption = "Transfer Type :  ";
            this.barEditItem1.Edit = this.repositoryItemCheckedComboBoxEdit1;
            this.barEditItem1.Id = 38;
            this.barEditItem1.Name = "barEditItem1";
            this.barEditItem1.Width = 120;
            // 
            // repositoryItemCheckedComboBoxEdit1
            // 
            this.repositoryItemCheckedComboBoxEdit1.AutoHeight = false;
            this.repositoryItemCheckedComboBoxEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemCheckedComboBoxEdit1.Items.AddRange(new DevExpress.XtraEditors.Controls.CheckedListBoxItem[] {
            new DevExpress.XtraEditors.Controls.CheckedListBoxItem(0, "Removable Media"),
            new DevExpress.XtraEditors.Controls.CheckedListBoxItem(1, "Network"),
            new DevExpress.XtraEditors.Controls.CheckedListBoxItem(2, "Email Client")});
            this.repositoryItemCheckedComboBoxEdit1.Name = "repositoryItemCheckedComboBoxEdit1";
            this.repositoryItemCheckedComboBoxEdit1.SelectAllItemVisible = false;
            this.repositoryItemCheckedComboBoxEdit1.ShowButtons = false;
            this.repositoryItemCheckedComboBoxEdit1.ShowPopupCloseButton = false;
            // 
            // barEditItem3
            // 
            this.barEditItem3.Caption = "File No.";
            this.barEditItem3.Edit = this.repositoryItemLookUpEdit5;
            this.barEditItem3.Id = 39;
            this.barEditItem3.Name = "barEditItem3";
            this.barEditItem3.Width = 30;
            // 
            // repositoryItemLookUpEdit5
            // 
            this.repositoryItemLookUpEdit5.AutoHeight = false;
            this.repositoryItemLookUpEdit5.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemLookUpEdit5.Name = "repositoryItemLookUpEdit5";
            this.repositoryItemLookUpEdit5.NullText = "";
            // 
            // barEditItem4
            // 
            this.barEditItem4.Caption = "File No.               ";
            this.barEditItem4.Edit = this.repositoryItemTextEdit2;
            this.barEditItem4.Id = 40;
            this.barEditItem4.Name = "barEditItem4";
            this.barEditItem4.Width = 100;
            // 
            // repositoryItemTextEdit2
            // 
            this.repositoryItemTextEdit2.AutoHeight = false;
            this.repositoryItemTextEdit2.Name = "repositoryItemTextEdit2";
            // 
            // barButtonItem9
            // 
            this.barButtonItem9.Caption = "Refresh";
            this.barButtonItem9.Id = 42;
            this.barButtonItem9.Name = "barButtonItem9";
            // 
            // barButtonItem10
            // 
            this.barButtonItem10.Caption = "Refresh";
            this.barButtonItem10.Id = 45;
            this.barButtonItem10.LargeGlyph = global::Store.Properties.Resources.gtkrefresh;
            this.barButtonItem10.Name = "barButtonItem10";
            this.barButtonItem10.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem10_ItemClick);
            // 
            // ribbonPage1
            // 
            this.ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
            this.ribbonPageGroup2,
            this.ribbonPageGroup1,
            this.ribbonPageGroup3,
            this.ribbonPageGroup4});
            this.ribbonPage1.Name = "ribbonPage1";
            this.ribbonPage1.Text = "Data Disk";
            // 
            // ribbonPageGroup2
            // 
            this.ribbonPageGroup2.ItemLinks.Add(this.barButtonItem4, true);
            this.ribbonPageGroup2.ItemLinks.Add(this.targetloc, true);
            this.ribbonPageGroup2.ItemLinks.Add(this.barButtonItem2);
            this.ribbonPageGroup2.Name = "ribbonPageGroup2";
            this.ribbonPageGroup2.ShowCaptionButton = false;
            this.ribbonPageGroup2.Text = "File";
            // 
            // ribbonPageGroup1
            // 
            this.ribbonPageGroup1.ItemLinks.Add(this.barEditItem4);
            this.ribbonPageGroup1.ItemLinks.Add(this.barEditItem1);
            this.ribbonPageGroup1.ItemLinks.Add(this.barButtonItem5, true);
            this.ribbonPageGroup1.Name = "ribbonPageGroup1";
            this.ribbonPageGroup1.ShowCaptionButton = false;
            this.ribbonPageGroup1.Text = "Transfer";
            this.ribbonPageGroup1.Visible = false;
            // 
            // ribbonPageGroup3
            // 
            this.ribbonPageGroup3.ItemLinks.Add(this.barEditItem3);
            this.ribbonPageGroup3.Name = "ribbonPageGroup3";
            this.ribbonPageGroup3.ShowCaptionButton = false;
            this.ribbonPageGroup3.Text = "History";
            this.ribbonPageGroup3.Visible = false;
            // 
            // ribbonPageGroup4
            // 
            this.ribbonPageGroup4.ItemLinks.Add(this.barButtonItem10);
            this.ribbonPageGroup4.Name = "ribbonPageGroup4";
            this.ribbonPageGroup4.ShowCaptionButton = false;
            this.ribbonPageGroup4.Text = "Refresh";
            // 
            // repositoryItemTextEdit1
            // 
            this.repositoryItemTextEdit1.AutoHeight = false;
            this.repositoryItemTextEdit1.Name = "repositoryItemTextEdit1";
            // 
            // 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.DataSource = this.mastMoveTypesBindingSource;
            this.repositoryItemLookUpEdit1.DisplayMember = "MoveType";
            this.repositoryItemLookUpEdit1.Name = "repositoryItemLookUpEdit1";
            this.repositoryItemLookUpEdit1.NullText = "";
            this.repositoryItemLookUpEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
            this.repositoryItemLookUpEdit1.ValueMember = "MoveTypeid";
            // 
            // mastMoveTypesBindingSource
            // 
            this.mastMoveTypesBindingSource.DataMember = "MastMoveTypes";
            this.mastMoveTypesBindingSource.DataSource = typeof(VIRETAILENTITIES.DsMaster);
            // 
            // repositoryItemButtonEdit1
            // 
            this.repositoryItemButtonEdit1.AutoHeight = false;
            this.repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.DropDown)});
            this.repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1";
            this.repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
            // 
            // repositoryItemProgressBar1
            // 
            this.repositoryItemProgressBar1.Name = "repositoryItemProgressBar1";
            // 
            // repositoryItemRadioGroup1
            // 
            this.repositoryItemRadioGroup1.EnableFocusRect = true;
            this.repositoryItemRadioGroup1.GlyphAlignment = DevExpress.Utils.HorzAlignment.Default;
            this.repositoryItemRadioGroup1.Items.AddRange(new DevExpress.XtraEditors.Controls.RadioGroupItem[] {
            new DevExpress.XtraEditors.Controls.RadioGroupItem(0, "On Line"),
            new DevExpress.XtraEditors.Controls.RadioGroupItem(1, "Create File"),
            new DevExpress.XtraEditors.Controls.RadioGroupItem(2, "Both")});
            this.repositoryItemRadioGroup1.Name = "repositoryItemRadioGroup1";
            // 
            // repositoryItemButtonEdit2
            // 
            this.repositoryItemButtonEdit2.AutoHeight = false;
            this.repositoryItemButtonEdit2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.repositoryItemButtonEdit2.Name = "repositoryItemButtonEdit2";
            // 
            // repositoryItemButtonEdit3
            // 
            this.repositoryItemButtonEdit3.AutoHeight = false;
            this.repositoryItemButtonEdit3.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.repositoryItemButtonEdit3.Name = "repositoryItemButtonEdit3";
            // 
            // repositoryItemLookUpEdit3
            // 
            this.repositoryItemLookUpEdit3.AutoHeight = false;
            this.repositoryItemLookUpEdit3.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemLookUpEdit3.Name = "repositoryItemLookUpEdit3";
            this.repositoryItemLookUpEdit3.NullText = "";
            // 
            // repositoryItemLookUpEdit4
            // 
            this.repositoryItemLookUpEdit4.AutoHeight = false;
            this.repositoryItemLookUpEdit4.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemLookUpEdit4.Name = "repositoryItemLookUpEdit4";
            this.repositoryItemLookUpEdit4.NullText = "";
            // 
            // ribbonStatusBar
            // 
            this.ribbonStatusBar.ItemLinks.Add(this.barStaticItem2, true);
            this.ribbonStatusBar.ItemLinks.Add(this.barStaticItem4, true);
            this.ribbonStatusBar.ItemLinks.Add(this.barStaticItem1, true);
            this.ribbonStatusBar.Location = new System.Drawing.Point(0, 484);
            this.ribbonStatusBar.Name = "ribbonStatusBar";
            this.ribbonStatusBar.Ribbon = this.ribbon;
            this.ribbonStatusBar.Size = new System.Drawing.Size(753, 31);
            // 
            // splitContainerControl1
            // 
            this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.splitContainerControl1.FixedPanel = DevExpress.XtraEditors.SplitFixedPanel.None;
            this.splitContainerControl1.Location = new System.Drawing.Point(0, 144);
            this.splitContainerControl1.Name = "splitContainerControl1";
            this.splitContainerControl1.Panel1.AutoScroll = true;
            this.splitContainerControl1.Panel1.Controls.Add(this.gridControl1);
            this.splitContainerControl1.Panel1.Text = "Panel1";
            this.splitContainerControl1.Panel2.Controls.Add(this.gridControl2);
            this.splitContainerControl1.Panel2.Text = "Panel2";
            this.splitContainerControl1.Size = new System.Drawing.Size(753, 340);
            this.splitContainerControl1.SplitterPosition = 504;
            this.splitContainerControl1.TabIndex = 2;
            this.splitContainerControl1.Text = "splitContainerControl1";
            // 
            // gridControl1
            // 
            this.gridControl1.DataSource = this.iTEMTRANSFERMAINBindingSource;
            this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gridControl1.Location = new System.Drawing.Point(0, 0);
            this.gridControl1.MainView = this.gridView1;
            this.gridControl1.MenuManager = this.ribbon;
            this.gridControl1.Name = "gridControl1";
            this.gridControl1.Size = new System.Drawing.Size(504, 340);
            this.gridControl1.TabIndex = 1;
            this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gridView1});
            this.gridControl1.Click += new System.EventHandler(this.gridControl1_Click);
            this.gridControl1.DoubleClick += new System.EventHandler(this.gridControl1_DoubleClick);
            // 
            // iTEMTRANSFERMAINBindingSource
            // 
            this.iTEMTRANSFERMAINBindingSource.DataMember = "ITEMTRANSFERMAIN";
            this.iTEMTRANSFERMAINBindingSource.DataSource = typeof(VIRETAILENTITIES.DsInventory);
            // 
            // gridView1
            // 
            this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.colTRANID,
            this.colTOSTOREID,
            this.colTRANDATE,
            this.colUSERID,
            this.colUDATE,
            this.colHOLD,
            this.colEUSERID,
            this.colEDATE,
            this.colTOTVALUE,
            this.colTOTITEMS,
            this.colNOTE,
            this.colTTYPE,
            this.colCOMPANY,
            this.colFRMSTOREID,
            this.colFRMNAME,
            this.colTONAME,
            this.colISREC,
            this.colDOWNFILENO,
            this.colAFILENO,
            this.gridColumn3});
            styleFormatCondition1.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Strikeout, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            styleFormatCondition1.Appearance.ForeColor = System.Drawing.Color.Red;
            styleFormatCondition1.Appearance.Options.HighPriority = true;
            styleFormatCondition1.Appearance.Options.UseFont = true;
            styleFormatCondition1.Appearance.Options.UseForeColor = true;
            styleFormatCondition1.ApplyToRow = true;
            styleFormatCondition1.Column = this.gridColumn3;
            styleFormatCondition1.Condition = DevExpress.XtraGrid.FormatConditionEnum.Equal;
            styleFormatCondition1.Value1 = true;
            this.gridView1.FormatConditions.AddRange(new DevExpress.XtraGrid.StyleFormatCondition[] {
            styleFormatCondition1});
            this.gridView1.GridControl = this.gridControl1;
            this.gridView1.Name = "gridView1";
            this.gridView1.OptionsDetail.ShowDetailTabs = false;
            this.gridView1.OptionsView.AutoCalcPreviewLineCount = true;
            this.gridView1.OptionsView.ShowAutoFilterRow = true;
            this.gridView1.OptionsView.ShowDetailButtons = false;
            this.gridView1.OptionsView.ShowGroupPanel = false;
            this.gridView1.OptionsView.ShowPreview = true;
            this.gridView1.PreviewFieldName = "NOTE";
            this.gridView1.SynchronizeClones = false;
            // 
            // colTRANID
            // 
            this.colTRANID.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colTRANID.AppearanceCell.Options.UseFont = true;
            this.colTRANID.AppearanceCell.Options.UseTextOptions = true;
            this.colTRANID.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTRANID.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colTRANID.AppearanceHeader.Options.UseFont = true;
            this.colTRANID.AppearanceHeader.Options.UseTextOptions = true;
            this.colTRANID.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colTRANID.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTRANID.Caption = "Doc #";
            this.colTRANID.FieldName = "TRANID";
            this.colTRANID.Name = "colTRANID";
            this.colTRANID.OptionsColumn.AllowEdit = false;
            this.colTRANID.OptionsColumn.ReadOnly = true;
            this.colTRANID.Visible = true;
            this.colTRANID.VisibleIndex = 0;
            this.colTRANID.Width = 93;
            // 
            // colTOSTOREID
            // 
            this.colTOSTOREID.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colTOSTOREID.AppearanceCell.Options.UseFont = true;
            this.colTOSTOREID.AppearanceCell.Options.UseTextOptions = true;
            this.colTOSTOREID.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTOSTOREID.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colTOSTOREID.AppearanceHeader.Options.UseFont = true;
            this.colTOSTOREID.AppearanceHeader.Options.UseTextOptions = true;
            this.colTOSTOREID.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colTOSTOREID.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTOSTOREID.FieldName = "TOSTOREID";
            this.colTOSTOREID.Name = "colTOSTOREID";
            this.colTOSTOREID.OptionsColumn.AllowEdit = false;
            this.colTOSTOREID.OptionsColumn.ReadOnly = true;
            // 
            // colTRANDATE
            // 
            this.colTRANDATE.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colTRANDATE.AppearanceCell.Options.UseFont = true;
            this.colTRANDATE.AppearanceCell.Options.UseTextOptions = true;
            this.colTRANDATE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTRANDATE.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colTRANDATE.AppearanceHeader.Options.UseFont = true;
            this.colTRANDATE.AppearanceHeader.Options.UseTextOptions = true;
            this.colTRANDATE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colTRANDATE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTRANDATE.Caption = "Tran.Dt.";
            this.colTRANDATE.FieldName = "TRANDATE";
            this.colTRANDATE.Name = "colTRANDATE";
            this.colTRANDATE.OptionsColumn.AllowEdit = false;
            this.colTRANDATE.OptionsColumn.ReadOnly = true;
            this.colTRANDATE.Visible = true;
            this.colTRANDATE.VisibleIndex = 1;
            this.colTRANDATE.Width = 105;
            // 
            // colUSERID
            // 
            this.colUSERID.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colUSERID.AppearanceCell.Options.UseFont = true;
            this.colUSERID.AppearanceCell.Options.UseTextOptions = true;
            this.colUSERID.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colUSERID.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colUSERID.AppearanceHeader.Options.UseFont = true;
            this.colUSERID.AppearanceHeader.Options.UseTextOptions = true;
            this.colUSERID.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colUSERID.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colUSERID.FieldName = "USERID";
            this.colUSERID.Name = "colUSERID";
            this.colUSERID.OptionsColumn.AllowEdit = false;
            this.colUSERID.OptionsColumn.ReadOnly = true;
            // 
            // colUDATE
            // 
            this.colUDATE.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colUDATE.AppearanceCell.Options.UseFont = true;
            this.colUDATE.AppearanceCell.Options.UseTextOptions = true;
            this.colUDATE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colUDATE.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colUDATE.AppearanceHeader.Options.UseFont = true;
            this.colUDATE.AppearanceHeader.Options.UseTextOptions = true;
            this.colUDATE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colUDATE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colUDATE.FieldName = "UDATE";
            this.colUDATE.Name = "colUDATE";
            this.colUDATE.OptionsColumn.AllowEdit = false;
            this.colUDATE.OptionsColumn.ReadOnly = true;
            // 
            // colHOLD
            // 
            this.colHOLD.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colHOLD.AppearanceCell.Options.UseFont = true;
            this.colHOLD.AppearanceCell.Options.UseTextOptions = true;
            this.colHOLD.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colHOLD.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colHOLD.AppearanceHeader.Options.UseFont = true;
            this.colHOLD.AppearanceHeader.Options.UseTextOptions = true;
            this.colHOLD.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colHOLD.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colHOLD.FieldName = "HOLD";
            this.colHOLD.Name = "colHOLD";
            this.colHOLD.OptionsColumn.AllowEdit = false;
            this.colHOLD.OptionsColumn.ReadOnly = true;
            // 
            // colEUSERID
            // 
            this.colEUSERID.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colEUSERID.AppearanceCell.Options.UseFont = true;
            this.colEUSERID.AppearanceCell.Options.UseTextOptions = true;
            this.colEUSERID.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colEUSERID.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colEUSERID.AppearanceHeader.Options.UseFont = true;
            this.colEUSERID.AppearanceHeader.Options.UseTextOptions = true;
            this.colEUSERID.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colEUSERID.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colEUSERID.FieldName = "EUSERID";
            this.colEUSERID.Name = "colEUSERID";
            this.colEUSERID.OptionsColumn.AllowEdit = false;
            this.colEUSERID.OptionsColumn.ReadOnly = true;
            // 
            // colEDATE
            // 
            this.colEDATE.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colEDATE.AppearanceCell.Options.UseFont = true;
            this.colEDATE.AppearanceCell.Options.UseTextOptions = true;
            this.colEDATE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colEDATE.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colEDATE.AppearanceHeader.Options.UseFont = true;
            this.colEDATE.AppearanceHeader.Options.UseTextOptions = true;
            this.colEDATE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colEDATE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colEDATE.FieldName = "EDATE";
            this.colEDATE.Name = "colEDATE";
            this.colEDATE.OptionsColumn.AllowEdit = false;
            this.colEDATE.OptionsColumn.ReadOnly = true;
            // 
            // colTOTVALUE
            // 
            this.colTOTVALUE.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colTOTVALUE.AppearanceCell.Options.UseFont = true;
            this.colTOTVALUE.AppearanceCell.Options.UseTextOptions = true;
            this.colTOTVALUE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTOTVALUE.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colTOTVALUE.AppearanceHeader.Options.UseFont = true;
            this.colTOTVALUE.AppearanceHeader.Options.UseTextOptions = true;
            this.colTOTVALUE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colTOTVALUE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTOTVALUE.FieldName = "TOTVALUE";
            this.colTOTVALUE.Name = "colTOTVALUE";
            this.colTOTVALUE.OptionsColumn.AllowEdit = false;
            this.colTOTVALUE.OptionsColumn.ReadOnly = true;
            // 
            // colTOTITEMS
            // 
            this.colTOTITEMS.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colTOTITEMS.AppearanceCell.Options.UseFont = true;
            this.colTOTITEMS.AppearanceCell.Options.UseTextOptions = true;
            this.colTOTITEMS.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTOTITEMS.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colTOTITEMS.AppearanceHeader.Options.UseFont = true;
            this.colTOTITEMS.AppearanceHeader.Options.UseTextOptions = true;
            this.colTOTITEMS.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colTOTITEMS.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTOTITEMS.FieldName = "TOTITEMS";
            this.colTOTITEMS.Name = "colTOTITEMS";
            this.colTOTITEMS.OptionsColumn.AllowEdit = false;
            this.colTOTITEMS.OptionsColumn.ReadOnly = true;
            // 
            // colNOTE
            // 
            this.colNOTE.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colNOTE.AppearanceCell.Options.UseFont = true;
            this.colNOTE.AppearanceCell.Options.UseTextOptions = true;
            this.colNOTE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colNOTE.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colNOTE.AppearanceHeader.Options.UseFont = true;
            this.colNOTE.AppearanceHeader.Options.UseTextOptions = true;
            this.colNOTE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colNOTE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colNOTE.FieldName = "NOTE";
            this.colNOTE.Name = "colNOTE";
            this.colNOTE.OptionsColumn.AllowEdit = false;
            this.colNOTE.OptionsColumn.ReadOnly = true;
            // 
            // colTTYPE
            // 
            this.colTTYPE.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colTTYPE.AppearanceCell.Options.UseFont = true;
            this.colTTYPE.AppearanceCell.Options.UseTextOptions = true;
            this.colTTYPE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTTYPE.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colTTYPE.AppearanceHeader.Options.UseFont = true;
            this.colTTYPE.AppearanceHeader.Options.UseTextOptions = true;
            this.colTTYPE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colTTYPE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTTYPE.FieldName = "TTYPE";
            this.colTTYPE.Name = "colTTYPE";
            this.colTTYPE.OptionsColumn.AllowEdit = false;
            this.colTTYPE.OptionsColumn.ReadOnly = true;
            // 
            // colCOMPANY
            // 
            this.colCOMPANY.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colCOMPANY.AppearanceCell.Options.UseFont = true;
            this.colCOMPANY.AppearanceCell.Options.UseTextOptions = true;
            this.colCOMPANY.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colCOMPANY.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colCOMPANY.AppearanceHeader.Options.UseFont = true;
            this.colCOMPANY.AppearanceHeader.Options.UseTextOptions = true;
            this.colCOMPANY.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colCOMPANY.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colCOMPANY.FieldName = "COMPANY";
            this.colCOMPANY.Name = "colCOMPANY";
            this.colCOMPANY.OptionsColumn.AllowEdit = false;
            this.colCOMPANY.OptionsColumn.ReadOnly = true;
            // 
            // colFRMSTOREID
            // 
            this.colFRMSTOREID.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colFRMSTOREID.AppearanceCell.Options.UseFont = true;
            this.colFRMSTOREID.AppearanceCell.Options.UseTextOptions = true;
            this.colFRMSTOREID.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colFRMSTOREID.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colFRMSTOREID.AppearanceHeader.Options.UseFont = true;
            this.colFRMSTOREID.AppearanceHeader.Options.UseTextOptions = true;
            this.colFRMSTOREID.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colFRMSTOREID.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colFRMSTOREID.FieldName = "FRMSTOREID";
            this.colFRMSTOREID.Name = "colFRMSTOREID";
            this.colFRMSTOREID.OptionsColumn.AllowEdit = false;
            this.colFRMSTOREID.OptionsColumn.ReadOnly = true;
            // 
            // colFRMNAME
            // 
            this.colFRMNAME.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colFRMNAME.AppearanceCell.Options.UseFont = true;
            this.colFRMNAME.AppearanceCell.Options.UseTextOptions = true;
            this.colFRMNAME.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colFRMNAME.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colFRMNAME.AppearanceHeader.Options.UseFont = true;
            this.colFRMNAME.AppearanceHeader.Options.UseTextOptions = true;
            this.colFRMNAME.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colFRMNAME.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colFRMNAME.Caption = "From Loc.";
            this.colFRMNAME.FieldName = "FRMNAME";
            this.colFRMNAME.Name = "colFRMNAME";
            this.colFRMNAME.OptionsColumn.AllowEdit = false;
            this.colFRMNAME.OptionsColumn.ReadOnly = true;
            this.colFRMNAME.Visible = true;
            this.colFRMNAME.VisibleIndex = 2;
            this.colFRMNAME.Width = 137;
            // 
            // colTONAME
            // 
            this.colTONAME.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colTONAME.AppearanceCell.Options.UseFont = true;
            this.colTONAME.AppearanceCell.Options.UseTextOptions = true;
            this.colTONAME.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTONAME.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colTONAME.AppearanceHeader.Options.UseFont = true;
            this.colTONAME.AppearanceHeader.Options.UseTextOptions = true;
            this.colTONAME.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colTONAME.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTONAME.Caption = "To Loc.";
            this.colTONAME.FieldName = "TONAME";
            this.colTONAME.Name = "colTONAME";
            this.colTONAME.OptionsColumn.AllowEdit = false;
            this.colTONAME.OptionsColumn.ReadOnly = true;
            this.colTONAME.Visible = true;
            this.colTONAME.VisibleIndex = 3;
            this.colTONAME.Width = 157;
            // 
            // colISREC
            // 
            this.colISREC.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colISREC.AppearanceCell.Options.UseFont = true;
            this.colISREC.AppearanceCell.Options.UseTextOptions = true;
            this.colISREC.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colISREC.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colISREC.AppearanceHeader.Options.UseFont = true;
            this.colISREC.AppearanceHeader.Options.UseTextOptions = true;
            this.colISREC.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colISREC.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colISREC.FieldName = "ISREC";
            this.colISREC.Name = "colISREC";
            this.colISREC.OptionsColumn.AllowEdit = false;
            this.colISREC.OptionsColumn.ReadOnly = true;
            // 
            // colDOWNFILENO
            // 
            this.colDOWNFILENO.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colDOWNFILENO.AppearanceCell.Options.UseFont = true;
            this.colDOWNFILENO.AppearanceCell.Options.UseTextOptions = true;
            this.colDOWNFILENO.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colDOWNFILENO.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colDOWNFILENO.AppearanceHeader.Options.UseFont = true;
            this.colDOWNFILENO.AppearanceHeader.Options.UseTextOptions = true;
            this.colDOWNFILENO.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colDOWNFILENO.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colDOWNFILENO.FieldName = "DOWNFILENO";
            this.colDOWNFILENO.Name = "colDOWNFILENO";
            this.colDOWNFILENO.OptionsColumn.AllowEdit = false;
            this.colDOWNFILENO.OptionsColumn.ReadOnly = true;
            // 
            // colAFILENO
            // 
            this.colAFILENO.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colAFILENO.AppearanceCell.Options.UseFont = true;
            this.colAFILENO.AppearanceCell.Options.UseTextOptions = true;
            this.colAFILENO.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colAFILENO.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colAFILENO.AppearanceHeader.Options.UseFont = true;
            this.colAFILENO.AppearanceHeader.Options.UseTextOptions = true;
            this.colAFILENO.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colAFILENO.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colAFILENO.FieldName = "AFILENO";
            this.colAFILENO.Name = "colAFILENO";
            this.colAFILENO.OptionsColumn.AllowEdit = false;
            this.colAFILENO.OptionsColumn.ReadOnly = true;
            // 
            // gridControl2
            // 
            this.gridControl2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gridControl2.Location = new System.Drawing.Point(0, 0);
            this.gridControl2.MainView = this.gridView2;
            this.gridControl2.MenuManager = this.ribbon;
            this.gridControl2.Name = "gridControl2";
            this.gridControl2.Size = new System.Drawing.Size(244, 340);
            this.gridControl2.TabIndex = 2;
            this.gridControl2.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gridView2});
            this.gridControl2.DoubleClick += new System.EventHandler(this.GridControl2DoubleClick);
            // 
            // gridView2
            // 
            this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.gridColumn1,
            this.gridColumn2});
            this.gridView2.GridControl = this.gridControl2;
            this.gridView2.Name = "gridView2";
            this.gridView2.OptionsDetail.EnableMasterViewMode = false;
            this.gridView2.OptionsDetail.ShowDetailTabs = false;
            this.gridView2.OptionsView.ShowGroupPanel = false;
            this.gridView2.PreviewFieldName = "NOTE";
            // 
            // gridColumn1
            // 
            this.gridColumn1.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gridColumn1.AppearanceCell.Options.UseFont = true;
            this.gridColumn1.AppearanceCell.Options.UseTextOptions = true;
            this.gridColumn1.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.gridColumn1.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gridColumn1.AppearanceHeader.Options.UseFont = true;
            this.gridColumn1.AppearanceHeader.Options.UseTextOptions = true;
            this.gridColumn1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.gridColumn1.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.gridColumn1.Caption = "Doc #";
            this.gridColumn1.FieldName = "TRANID";
            this.gridColumn1.Name = "gridColumn1";
            this.gridColumn1.Visible = true;
            this.gridColumn1.VisibleIndex = 0;
            this.gridColumn1.Width = 113;
            // 
            // gridColumn2
            // 
            this.gridColumn2.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gridColumn2.AppearanceCell.Options.UseFont = true;
            this.gridColumn2.AppearanceCell.Options.UseTextOptions = true;
            this.gridColumn2.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.gridColumn2.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gridColumn2.AppearanceHeader.Options.UseFont = true;
            this.gridColumn2.AppearanceHeader.Options.UseTextOptions = true;
            this.gridColumn2.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.gridColumn2.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.gridColumn2.Caption = "Tran.Dt.";
            this.gridColumn2.FieldName = "TRANDATE";
            this.gridColumn2.Name = "gridColumn2";
            this.gridColumn2.Visible = true;
            this.gridColumn2.VisibleIndex = 1;
            this.gridColumn2.Width = 137;
            // 
            // openFileDialog1
            // 
            this.openFileDialog1.FileName = "openFileDialog1";
            // 
            // DataDisk
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(753, 515);
            this.Controls.Add(this.splitContainerControl1);
            this.Controls.Add(this.ribbonStatusBar);
            this.Controls.Add(this.ribbon);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "DataDisk";
            this.Ribbon = this.ribbon;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.StatusBar = this.ribbonStatusBar;
            this.Text = "Data Disk";
            this.Activated += new System.EventHandler(this.DataDisk_Activated);
            this.Load += new System.EventHandler(this.DataDisk_Load);
            ((System.ComponentModel.ISupportInitialize)(this.ribbon)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1.VistaTimeProperties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckedComboBoxEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit5)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mastMoveTypesBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemProgressBar1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemRadioGroup1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit4)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit();
            this.splitContainerControl1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.iTEMTRANSFERMAINBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit();
            this.ResumeLayout(false);

        }
Example #30
0
        public void Load_QC(string sDate)
        {
            sSelectedDate  = sDate;
            iSamplePercent = ((frmMain)ParantForm).txtQCSamplePecent.Value;
            if (GV.sAccessTo == "TR")
            {
                sDateColumn = "TR_DATECALLED";
            }
            else
            {
                sDateColumn = "WR_DATE_OF_PROCESS";
            }



            if (((frmMain)ParantForm).switchQCProcessTable.Value)
            {
                sProcessTable = "Company";
            }
            else
            {
                sProcessTable = "Contact";
            }



            if (((frmMain)ParantForm).switchQCProcessType.Value)
            {
                sProcessType = "Reprocessed";
            }
            else
            {
                sProcessType = "Fresh";
            }

            lblProcessDate.Text   = "       Process Date :" + sDate;
            lblProcessTable.Text  = "       Process Table :" + sProcessTable;
            lblSamplePercent.Text = "       Sample Percent :" + iSamplePercent;
            lblProcessType.Text   = "       Process Type :" + sProcessType;


            splitQC.Panel2Collapsed = true;
            if (GV.sUserType == "QC" || GV.sUserType == "Admin")
            {
                gControl.DataSource = null;
                string sQuery = string.Empty;
                string sValidContactStatus = string.Empty;

                if (GV.sAccessTo == "TR")
                {
                    sValidContactStatus = GV.sTRContactstatusTobeValidated;
                }
                else
                {
                    sValidContactStatus = GV.sWRContactstatusTobeValidated;
                }

                string sProcessed = string.Empty;
                if (sProcessType == "Reprocessed")
                {
                    sProcessed = " WHERE (SendBack > 0 OR Reprocessed >0) ";
                }

                if (sProcessTable == "Contact")
                {
                    //sQuery = "SELECT T.AgentName,Processed, ROUND(((Pass + Fail)/Processed)*100,2,1) Sampled,ROUND((Pass/Processed)*100,2,1) Pass,ROUND((Fail/Processed)*100,2,1) Fail, SendBack,Reprocessed FROM (";
                    //sQuery += " SELECT " + GV.sAccessTo + "_AGENT_NAME AgentName,COUNT(*) Processed,";
                    //sQuery += " COUNT((SELECT 1 FROM " + GV.sQCTable + " QC WHERE QC.RecordID=CM.CONTACT_ID_P AND TABLENAME='Contact' AND QC.ResearchType='" + GV.sAccessTo + "' AND QC.QC_Sample_Status = 1)) Pass,";
                    //sQuery += " COUNT((SELECT 1 FROM " + GV.sQCTable + " QC WHERE QC.RecordID=CM.CONTACT_ID_P AND TABLENAME='Contact' AND QC.ResearchType='" + GV.sAccessTo + "'  AND QC.QC_Sample_Status = 0)) Fail,";
                    //sQuery += " COUNT((SELECT 1 FROM " + GV.sQCTable + " QC WHERE QC.RecordID=CM.CONTACT_ID_P AND TABLENAME='Contact' AND QC.ResearchType='" + GV.sAccessTo + "' AND QC.QC_STATUS='SendBack')) SendBack,";
                    //sQuery += " COUNT((SELECT 1 FROM " + GV.sQCTable + " QC WHERE QC.RecordID=CM.CONTACT_ID_P AND TABLENAME='Contact' AND QC.ResearchType='" + GV.sAccessTo + "'  AND QC.QC_STATUS='Reprocessed')) Reprocessed";
                    //sQuery += " FROM " + GV.sContactTable + "  CM WHERE cm." + GV.sAccessTo + "_CONTACT_STATUS IN (" + sValidContactStatus + ")";
                    //sQuery += " AND CAST(CM." + GV.sAccessTo + "_UPDATED_DATE AS DATE) = '" + sDate + "' GROUP BY " + GV.sAccessTo + "_AGENT_NAME)T " + sProcessed + " Order by T.Processed Desc;";

                    sQuery  = "select T.AgentName,Processed, ROUND(((Pass + Fail) / Processed) * 100, 2, 1) Sampled,ROUND((Pass / Processed) * 100, 2, 1) Pass,ROUND((Fail / Processed) * 100, 2, 1) Fail, SendBack, Reprocessed from (";
                    sQuery += " select cm." + GV.sAccessTo + "_AGENT_NAME agentname, COUNT(*) Processed,";
                    sQuery += " count(case when  QC.QC_Sample_Status = 1 then cm.CONTACT_ID_P end) Pass,";
                    sQuery += " count(case when  QC.QC_Sample_Status = 0 then cm.CONTACT_ID_P end) Fail,";
                    sQuery += " count(case when  QC.QC_STATUS = 'SENDBACK' then cm.CONTACT_ID_P end) SendBack,";
                    sQuery += " count(case when  QC.QC_STATUS = 'Reprocessed' then cm.CONTACT_ID_P end) Reprocessed";
                    sQuery += " from " + GV.sContactTable + " CM left join (select * from " + GV.sQCTable + " where TableName = 'Contact'  AND ResearchType = '" + GV.sAccessTo + "') QC";
                    sQuery += " on QC.RecordID = CM.CONTACT_ID_P WHERE cm." + GV.sAccessTo + "_CONTACT_STATUS IN (" + sValidContactStatus + ")";
                    sQuery += " AND CAST(CM." + GV.sAccessTo + "_UPDATED_DATE AS DATE) = '" + sDate + "' GROUP BY cm." + GV.sAccessTo + "_AGENT_NAME )t Order by T.Processed Desc;";
                }
                else
                {
                    //sQuery = "SELECT T.AgentName,Processed, ROUND(((Pass + Fail)/Processed)*100,2,1) Sampled,ROUND((Pass/Processed)*100,2,1) Pass,ROUND((Fail/Processed)*100,2,1) Fail, SendBack,Reprocessed FROM (";
                    //sQuery += " SELECT " + GV.sAccessTo + "_AGENTNAME AgentName,COUNT(*) Processed,";
                    //sQuery += " COUNT((SELECT 1 FROM " + GV.sQCTable + " QC WHERE QC.RecordID=CM.MASTER_ID AND TABLENAME='Company' AND QC.ResearchType='" + GV.sAccessTo + "' AND QC.QC_Sample_Status = 1)) Pass,";
                    //sQuery += " COUNT((SELECT 1 FROM " + GV.sQCTable + " QC WHERE QC.RecordID=CM.MASTER_ID AND TABLENAME='Company' AND QC.ResearchType='" + GV.sAccessTo + "'  AND QC.QC_Sample_Status = 0)) Fail,";
                    //sQuery += " COUNT((SELECT 1 FROM " + GV.sQCTable + " QC WHERE QC.RecordID=CM.MASTER_ID AND TABLENAME='Company' AND QC.ResearchType='" + GV.sAccessTo + "' AND QC.QC_STATUS='SendBack')) SendBack,";
                    //sQuery += " COUNT((SELECT 1 FROM " + GV.sQCTable + " QC WHERE QC.RecordID=CM.MASTER_ID AND TABLENAME='Company' AND QC.ResearchType='" + GV.sAccessTo + "'  AND QC.QC_STATUS='Reprocessed')) Reprocessed";
                    //sQuery += " FROM " + GV.sCompanyTable + "  CM WHERE ";
                    //sQuery += " CAST(CM." + sDateColumn + " AS DATE) = '" + sDate + "' GROUP BY " + GV.sAccessTo + "_AGENTNAME)T " + sProcessed + " Order by T.Processed Desc;";



                    sQuery  = "select T.AgentName,Processed, ROUND(((Pass + Fail) / Processed) * 100, 2, 1) Sampled,ROUND((Pass / Processed) * 100, 2, 1) Pass,ROUND((Fail / Processed) * 100, 2, 1) Fail, SendBack, Reprocessed from (";
                    sQuery += " select cm." + GV.sAccessTo + "_AGENT_NAME agentname, COUNT(*) Processed,";
                    sQuery += " count(case when  QC.QC_Sample_Status = 1 then cm.CONTACT_ID_P end) Pass,";
                    sQuery += " count(case when  QC.QC_Sample_Status = 0 then cm.CONTACT_ID_P end) Fail,";
                    sQuery += " count(case when  QC.QC_STATUS = 'SENDBACK' then cm.CONTACT_ID_P end) SendBack,";
                    sQuery += " count(case when  QC.QC_STATUS = 'Reprocessed' then cm.CONTACT_ID_P end) Reprocessed";
                    sQuery += " from " + GV.sContactTable + " CM left join (select * from " + GV.sQCTable + " where TableName = 'Contact'  AND ResearchType = '" + GV.sAccessTo + "') QC";
                    sQuery += " on QC.RecordID = CM.CONTACT_ID_P WHERE ";
                    sQuery += " CAST(CM." + sDateColumn + " AS DATE) = '" + sDate + "' GROUP BY cm." + GV.sAccessTo + "_AGENT_NAME )t Order by T.Processed Desc;";
                }



                dtQCTable = GV.MSSQL1.BAL_ExecuteQuery(sQuery);
                if (dtQCTable.Rows.Count > 0)
                {
                    DataColumn dcEmpImage = new DataColumn("EmpImage", typeof(System.Byte[]));
                    dtQCTable.Columns.Add("Random");
                    dtQCTable.Columns.Add("GetSample");
                    dtQCTable.Columns.Add("QCProcessed");
                    dtQCTable.Columns.Add(dcEmpImage);

                    sQuery = "SELECT UserName , EmployeeImage FROM RM..EmployeeImage A INNER JOIN CH1020BD02.Timesheet.dbo.Users B ON A.EmployeeID = B.EmployeeNo WHERE B.Active = 'Y' AND B.UserName IN (" + GM.ColumnToQString("AgentName", dtQCTable, "String") + ");";
                    DataTable dtEmpImage = GV.MSSQL1.BAL_ExecuteQuery(sQuery);

                    Byte[] bDummyImg = GM.imgToByte(Properties.Resources.Misc_User_icon__1_);

                    foreach (DataRow drImage in dtEmpImage.Rows)
                    {
                        string sEmpName = drImage["UserName"].ToString().ToUpper();
                        foreach (DataRow drQCTable in dtQCTable.Rows)
                        {
                            if (drQCTable["AgentName"].ToString().ToUpper() == sEmpName)
                            {
                                drQCTable["EmpImage"] = drImage["EmployeeImage"];
                                break;
                            }
                            if (drQCTable["EmpImage"] == DBNull.Value)
                            {
                                drQCTable["EmpImage"] = bDummyImg;
                            }
                        }
                    }

                    //System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmQC));
                    lView = new LayoutView(gControl);


                    gControl.LookAndFeel.SkinName = "Office 2010 Blue";
                    gControl.LookAndFeel.UseDefaultLookAndFeel = false;


                    lView.OptionsSelection.MultiSelect = false;

                    gControl.MainView = lView;

                    DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit btnItemRandom = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
                    btnItemRandom.Name = "btnRandom";
                    btnItemRandom.Buttons[0].Caption = "Random";
                    btnItemRandom.Buttons[0].IsLeft  = false;
                    btnItemRandom.Buttons[0].Width   = 30;
                    btnItemRandom.Buttons[0].Kind    = ButtonPredefines.Glyph;
                    btnItemRandom.Buttons[0].Image   = Properties.Resources.new_icon;
                    btnItemRandom.TextEditStyle      = TextEditStyles.HideTextEditor;
                    // btnItemRandom.AutoHeight = true;
                    btnItemRandom.BorderStyle  = DevExpress.XtraEditors.Controls.BorderStyles.Default;
                    btnItemRandom.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.btnRandom_ButtonClick);

                    DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit btnItemGetSample = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
                    btnItemGetSample.Name = "btnGetSample";
                    btnItemGetSample.Buttons[0].Caption = "Sampled";
                    btnItemGetSample.Buttons[0].IsLeft  = false;
                    btnItemGetSample.Buttons[0].Width   = 30;
                    btnItemGetSample.Buttons[0].Kind    = ButtonPredefines.Glyph;
                    btnItemGetSample.Buttons[0].Image   = Properties.Resources.contacts_3_icon;
                    btnItemGetSample.TextEditStyle      = TextEditStyles.HideTextEditor;
                    //btnItemGetSample.AutoHeight = true;
                    btnItemGetSample.BorderStyle  = DevExpress.XtraEditors.Controls.BorderStyles.Default;
                    btnItemGetSample.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.btnGetSample_ButtonClick);

                    DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit btnItemQCProcessed = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
                    btnItemQCProcessed.Name = "btnQCProcessed";
                    btnItemQCProcessed.Buttons[0].Caption = "QC Processed";
                    btnItemQCProcessed.Buttons[0].IsLeft  = false;
                    btnItemQCProcessed.Buttons[0].Width   = 30;
                    btnItemQCProcessed.Buttons[0].Kind    = ButtonPredefines.Glyph;
                    btnItemQCProcessed.Buttons[0].Image   = Properties.Resources.folder_icon__1_;
                    btnItemQCProcessed.TextEditStyle      = TextEditStyles.HideTextEditor;
                    //btnItemQCProcessed.AutoHeight = true;
                    btnItemQCProcessed.BorderStyle  = DevExpress.XtraEditors.Controls.BorderStyles.Default;
                    btnItemQCProcessed.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.btnShowProcessed_ButtonClick);


                    lView.OptionsBehavior.AutoPopulateColumns = false;
                    splitQC.Panel1.Controls.Add(gControl);
                    splitQC.Panel1.Controls.Add(panelQCInfo);
                    gControl.Dock    = DockStyle.Fill;
                    panelQCInfo.Dock = DockStyle.Top;



                    LayoutViewColumn colAgentName    = lView.Columns.AddField("AgentName");
                    LayoutViewColumn colProcessCount = lView.Columns.AddField("Processed");
                    LayoutViewColumn colSampled      = lView.Columns.AddField("Sampled");
                    LayoutViewColumn colPass;
                    LayoutViewColumn colFail;

                    if (sProcessType == "Fresh")
                    {
                        colPass = lView.Columns.AddField("Pass");
                        colFail = lView.Columns.AddField("Fail");
                    }
                    else
                    {
                        colPass = lView.Columns.AddField("SendBack");
                        colFail = lView.Columns.AddField("Reprocessed");
                    }

                    LayoutViewColumn colbtnRandom      = lView.Columns.AddField("Random");
                    LayoutViewColumn colbtnGetSample   = lView.Columns.AddField("GetSample");
                    LayoutViewColumn colbtnQCProcessed = lView.Columns.AddField("QCProcessed");
                    LayoutViewColumn colPhoto          = lView.Columns.AddField("EmpImage");


                    //colbtnRandom.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.ShowAlways;

                    LayoutViewField fieldAgentName      = colAgentName.LayoutViewField;
                    LayoutViewField fieldProcessCount   = colProcessCount.LayoutViewField;
                    LayoutViewField fieldSampled        = colSampled.LayoutViewField;
                    LayoutViewField fieldPass           = colPass.LayoutViewField;
                    LayoutViewField fieldFail           = colFail.LayoutViewField;
                    LayoutViewField fieldbtnRandom      = colbtnRandom.LayoutViewField;
                    LayoutViewField fieldbtnGetSample   = colbtnGetSample.LayoutViewField;
                    LayoutViewField fieldbtnQCProcessed = colbtnQCProcessed.LayoutViewField;
                    LayoutViewField fieldEmpPhoto       = colPhoto.LayoutViewField;
                    fieldEmpPhoto.SizeConstraintsType = SizeConstraintsType.Custom;
                    //fieldEmpPhoto.MaxSize = new System.Drawing.Size(20, 20);
                    fieldEmpPhoto.MinSize  = new System.Drawing.Size(100, 100);
                    fieldEmpPhoto.TextSize = new System.Drawing.Size(0, 0);
                    fieldEmpPhoto.TextToControlDistance = 0;
                    fieldEmpPhoto.TextVisible           = false;

                    fieldAgentName.MinSize  = new System.Drawing.Size(100, 100);
                    fieldAgentName.TextSize = new System.Drawing.Size(0, 0);
                    fieldAgentName.TextToControlDistance = 0;
                    fieldAgentName.TextVisible           = false;

                    colAgentName.AppearanceCell.Font = new System.Drawing.Font(colAgentName.AppearanceCell.Font.FontFamily, 12, FontStyle.Bold);

                    colPhoto.Visible = true;

                    //RepositoryItemPictureEdit riPictureEdit = grid.RepositoryItems.Add("PictureEdit") as RepositoryItemPictureEdit;

                    RepositoryItemPictureEdit riPictureEdit = new RepositoryItemPictureEdit();
                    riPictureEdit.SizeMode = PictureSizeMode.Zoom;

                    colPhoto.ColumnEdit = riPictureEdit;

                    lView.OptionsView.ShowHeaderPanel = false;
                    lView.OptionsView.ViewMode        = LayoutViewMode.MultiColumn;

                    colAgentName.OptionsColumn.AllowFocus    = false;
                    colProcessCount.OptionsColumn.AllowFocus = false;
                    colSampled.OptionsColumn.AllowFocus      = false;
                    colPass.OptionsColumn.AllowFocus         = false;
                    colFail.OptionsColumn.AllowFocus         = false;
                    colPhoto.OptionsColumn.AllowFocus        = false;

                    colAgentName.OptionsColumn.AllowEdit    = false;
                    colProcessCount.OptionsColumn.AllowEdit = false;
                    colSampled.OptionsColumn.AllowEdit      = false;
                    colPass.OptionsColumn.AllowEdit         = false;
                    colFail.OptionsColumn.AllowEdit         = false;
                    colPhoto.OptionsColumn.AllowEdit        = false;

                    colAgentName.OptionsFilter.AllowFilter      = false;
                    colProcessCount.OptionsFilter.AllowFilter   = false;
                    colSampled.OptionsFilter.AllowFilter        = false;
                    colPass.OptionsFilter.AllowFilter           = false;
                    colFail.OptionsFilter.AllowFilter           = false;
                    colbtnRandom.OptionsFilter.AllowFilter      = false;
                    colbtnGetSample.OptionsFilter.AllowFilter   = false;
                    colbtnQCProcessed.OptionsFilter.AllowFilter = false;
                    colPhoto.OptionsFilter.AllowFilter          = false;

                    colAgentName.OptionsColumn.AllowSort      = DevExpress.Utils.DefaultBoolean.False;
                    colProcessCount.OptionsColumn.AllowSort   = DevExpress.Utils.DefaultBoolean.False;
                    colSampled.OptionsColumn.AllowSort        = DevExpress.Utils.DefaultBoolean.False;
                    colPass.OptionsColumn.AllowSort           = DevExpress.Utils.DefaultBoolean.False;
                    colFail.OptionsColumn.AllowSort           = DevExpress.Utils.DefaultBoolean.False;
                    colbtnRandom.OptionsColumn.AllowSort      = DevExpress.Utils.DefaultBoolean.False;
                    colbtnGetSample.OptionsColumn.AllowSort   = DevExpress.Utils.DefaultBoolean.False;
                    colbtnQCProcessed.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
                    colPhoto.OptionsColumn.AllowSort          = DevExpress.Utils.DefaultBoolean.False;

                    colAgentName.OptionsColumn.ReadOnly      = true;
                    colProcessCount.OptionsColumn.ReadOnly   = true;
                    colSampled.OptionsColumn.ReadOnly        = true;
                    colPass.OptionsColumn.ReadOnly           = true;
                    colFail.OptionsColumn.ReadOnly           = true;
                    colbtnRandom.OptionsColumn.ReadOnly      = true;
                    colbtnGetSample.OptionsColumn.ReadOnly   = true;
                    colbtnQCProcessed.OptionsColumn.ReadOnly = true;
                    colPhoto.OptionsColumn.ReadOnly          = true;

                    colbtnRandom.ColumnEdit      = btnItemRandom;
                    colbtnGetSample.ColumnEdit   = btnItemGetSample;
                    colbtnQCProcessed.ColumnEdit = btnItemQCProcessed;

                    DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition1 = new DevExpress.XtraGrid.StyleFormatCondition();

                    styleFormatCondition1.Appearance.BackColor            = Color.RosyBrown;
                    styleFormatCondition1.Appearance.Options.UseBackColor = true;
                    styleFormatCondition1.ApplyToRow = false;
                    styleFormatCondition1.Column     = colProcessCount;
                    styleFormatCondition1.Condition  = DevExpress.XtraGrid.FormatConditionEnum.Expression;
                    styleFormatCondition1.Expression = "[Processed] > 20";
                    lView.FormatConditions.AddRange(new DevExpress.XtraGrid.StyleFormatCondition[] { styleFormatCondition1 });


                    fieldAgentName.Move(new LayoutItemDragController(fieldAgentName, fieldEmpPhoto, InsertLocation.After, LayoutType.Horizontal));

                    LayoutControlGroup groupAgentInfo = lView.TemplateCard.AddGroup("Agent Info", fieldAgentName, InsertType.Bottom);
                    //groupAddress.Add(colPhoto.LayoutViewField);
                    //groupAddress.Add(colAgentName.LayoutViewField);
                    groupAgentInfo.Add(colProcessCount.LayoutViewField);
                    groupAgentInfo.Add(colSampled.LayoutViewField);
                    groupAgentInfo.Add(colPass.LayoutViewField);
                    groupAgentInfo.Add(colFail.LayoutViewField);
                    groupAgentInfo.Add(colbtnRandom.LayoutViewField);
                    groupAgentInfo.Add(colbtnGetSample.LayoutViewField);
                    groupAgentInfo.Add(colbtnQCProcessed.LayoutViewField);


                    //LayoutControlGroup groupRecords = lView.TemplateCard.AddGroup("Record", groupAgentInfo, InsertType.Bottom);
                    //groupRecords.Add(colbtnRandom.LayoutViewField);
                    //groupRecords.Add(colbtnGetSample.LayoutViewField);
                    //groupRecords.Add(colbtnQCProcessed.LayoutViewField);

                    colAgentName.Caption    = "Agent Name";
                    colProcessCount.Caption = "Total Processed";
                    colSampled.Caption      = "Sampled %";
                    if (sProcessType == "Fresh")
                    {
                        colPass.Caption = "Pass %";
                        colFail.Caption = "Fail %";
                    }
                    else
                    {
                        colPass.Caption = "Send Back";
                        colFail.Caption = "Reprocessed";
                    }
                    colbtnRandom.Caption      = "Get a Random Record";
                    colbtnGetSample.Caption   = "Get " + iSamplePercent + "% sample";
                    colbtnQCProcessed.Caption = "Show Sampled Records";


                    //lView.Items[9].TextVisible = false;
                    lView.CardMinSize = new Size(60, 250);

                    gControl.DataSource = dtQCTable;
                }
                else
                {
                    gControl.DataSource = null;
                }

                dgvQCList.BackgroundColor = GV.pnlGlobalColor.Style.BackColor2.Color;
            }
        }
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition1 = new DevExpress.XtraGrid.StyleFormatCondition();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PaymentSelection));
            this.colINVAMOUNT = new DevExpress.XtraGrid.Columns.GridColumn();
            this.barManager1 = new DevExpress.XtraBars.BarManager(this.components);
            this.bar2 = new DevExpress.XtraBars.Bar();
            this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
            this.btnsave = new DevExpress.XtraBars.BarButtonItem();
            this.btnprint = new DevExpress.XtraBars.BarButtonItem();
            this.btndelete = new DevExpress.XtraBars.BarButtonItem();
            this.btnpost = new DevExpress.XtraBars.BarButtonItem();
            this.barStaticItem2 = new DevExpress.XtraBars.BarStaticItem();
            this.barEditItem1 = new DevExpress.XtraBars.BarEditItem();
            this.repositoryItemLookUpEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
            this.aRAPRECEIPTSBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.barEditItem2 = new DevExpress.XtraBars.BarEditItem();
            this.repositoryItemLookUpEdit5 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
            this.aRAPRECEIPTSBindingSource1 = new System.Windows.Forms.BindingSource(this.components);
            this.bar3 = new DevExpress.XtraBars.Bar();
            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.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem5 = new DevExpress.XtraBars.BarButtonItem();
            this.barStaticItem1 = new DevExpress.XtraBars.BarStaticItem();
            this.repositoryItemLookUpEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
            this.repositoryItemPopupContainerEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemPopupContainerEdit();
            this.repositoryItemLookUpEdit4 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
            this.repositoryItemPopupContainerEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemPopupContainerEdit();
            this.repositoryItemLookUpEdit3 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
            this.sUPPLIERBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.groupControl1 = new DevExpress.XtraEditors.GroupControl();
            this.checkEdit5 = new DevExpress.XtraEditors.CheckEdit();
            this.LookupSupplier = new DevExpress.XtraEditors.LookUpEdit();
            this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton();
            this.textEdit1 = new DevExpress.XtraEditors.TextEdit();
            this.checkEdit2 = new DevExpress.XtraEditors.CheckEdit();
            this.checkEdit1 = new DevExpress.XtraEditors.CheckEdit();
            this.panel1 = new System.Windows.Forms.Panel();
            this.label2 = new System.Windows.Forms.Label();
            this.lookupbankname = new DevExpress.XtraEditors.LookUpEdit();
            this.bANKSBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.dsMaster1 = new VIRETAILENTITIES.DsMaster();
            this.textEdit2 = new DevExpress.XtraEditors.TextEdit();
            this.label1 = new System.Windows.Forms.Label();
            this.gridControl1 = new DevExpress.XtraGrid.GridControl();
            this.aRAPRECEIPTSDETAILSBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.ledgers1 = new VIRETAILENTITIES.Ledgers();
            this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.colTID = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colARAPTRANID = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colTRANID = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colDUEDAYS = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colREFNO = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colINVOICEDATE = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colINVOICENO = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colPAIDAMOUNT = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colBALANCE = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colDISCOUNT = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colAppliedAmt = new DevExpress.XtraGrid.Columns.GridColumn();
            this.repositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
            this.colSEL = new DevExpress.XtraGrid.Columns.GridColumn();
            this.repositoryItemCheckEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
            this.checkEdit3 = new DevExpress.XtraEditors.CheckEdit();
            this.checkEdit4 = new DevExpress.XtraEditors.CheckEdit();
            this.lookupbatch = new DevExpress.XtraEditors.LookUpEdit();
            this.simpleButton2 = new DevExpress.XtraEditors.SimpleButton();
            this.popupControlContainer1 = new DevExpress.XtraBars.PopupControlContainer(this.components);
            ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.aRAPRECEIPTSBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit5)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.aRAPRECEIPTSBindingSource1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPopupContainerEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit4)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPopupContainerEdit2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.sUPPLIERBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit();
            this.groupControl1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit5.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.LookupSupplier.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit2.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit1.Properties)).BeginInit();
            this.panel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.lookupbankname.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.bANKSBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dsMaster1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit2.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.aRAPRECEIPTSDETAILSBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ledgers1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit3.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit4.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.lookupbatch.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.popupControlContainer1)).BeginInit();
            this.popupControlContainer1.SuspendLayout();
            this.SuspendLayout();
            // 
            // colINVAMOUNT
            // 
            this.colINVAMOUNT.AppearanceCell.Options.UseTextOptions = true;
            this.colINVAMOUNT.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colINVAMOUNT.AppearanceHeader.Options.UseTextOptions = true;
            this.colINVAMOUNT.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colINVAMOUNT.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colINVAMOUNT.Caption = "Invoice Amt.";
            this.colINVAMOUNT.DisplayFormat.FormatString = "###,###,###,###.##";
            this.colINVAMOUNT.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.colINVAMOUNT.FieldName = "INVAMOUNT";
            this.colINVAMOUNT.Name = "colINVAMOUNT";
            this.colINVAMOUNT.OptionsColumn.AllowEdit = false;
            this.colINVAMOUNT.OptionsColumn.ReadOnly = true;
            this.colINVAMOUNT.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
            new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "INVAMOUNT", "{0:#,0.00}")});
            this.colINVAMOUNT.Visible = true;
            this.colINVAMOUNT.VisibleIndex = 3;
            this.colINVAMOUNT.Width = 72;
            // 
            // barManager1
            // 
            this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
            this.bar2,
            this.bar3});
            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.btnsave,
            this.barButtonItem3,
            this.btnpost,
            this.btnprint,
            this.barButtonItem5,
            this.barEditItem1,
            this.barEditItem2,
            this.btndelete,
            this.barButtonItem1,
            this.barStaticItem1,
            this.barStaticItem2});
            this.barManager1.MainMenu = this.bar2;
            this.barManager1.MaxItemId = 21;
            this.barManager1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
            this.repositoryItemLookUpEdit1,
            this.repositoryItemLookUpEdit2,
            this.repositoryItemPopupContainerEdit1,
            this.repositoryItemLookUpEdit4,
            this.repositoryItemPopupContainerEdit2,
            this.repositoryItemLookUpEdit5});
            this.barManager1.StatusBar = this.bar3;
            // 
            // bar2
            // 
            this.bar2.BarName = "Main menu";
            this.bar2.DockCol = 0;
            this.bar2.DockRow = 0;
            this.bar2.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
            this.bar2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem1, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnsave, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnprint, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btndelete, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnpost, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(this.barStaticItem2, true),
            new DevExpress.XtraBars.LinkPersistInfo(this.barEditItem1),
            new DevExpress.XtraBars.LinkPersistInfo(this.barEditItem2)});
            this.bar2.OptionsBar.MultiLine = true;
            this.bar2.OptionsBar.UseWholeRow = true;
            this.bar2.Text = "Main menu";
            // 
            // barButtonItem1
            // 
            this.barButtonItem1.Caption = "New";
            this.barButtonItem1.Glyph = global::Store.Properties.Resources.page_white_star16;
            this.barButtonItem1.Id = 17;
            this.barButtonItem1.Name = "barButtonItem1";
            this.barButtonItem1.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem1_ItemClick_1);
            // 
            // btnsave
            // 
            this.btnsave.Caption = "&Batch";
            this.btnsave.Glyph = global::Store.Properties.Resources.tag;
            this.btnsave.Id = 0;
            this.btnsave.Name = "btnsave";
            this.btnsave.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem1_ItemClick);
            // 
            // btnprint
            // 
            this.btnprint.Caption = "&Print";
            this.btnprint.Glyph = global::Store.Properties.Resources.printer1;
            this.btnprint.Id = 4;
            this.btnprint.Name = "btnprint";
            this.btnprint.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnprint_ItemClick);
            // 
            // btndelete
            // 
            this.btndelete.Caption = "Revese - Invoices";
            this.btndelete.Enabled = false;
            this.btndelete.Glyph = global::Store.Properties.Resources.Delete16;
            this.btndelete.Id = 16;
            this.btndelete.Name = "btndelete";
            this.btndelete.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btndelete_ItemClick);
            // 
            // btnpost
            // 
            this.btnpost.Caption = "Reverse - Batch";
            this.btnpost.Enabled = false;
            this.btnpost.Glyph = global::Store.Properties.Resources.arrowreturn;
            this.btnpost.Id = 3;
            this.btnpost.Name = "btnpost";
            this.btnpost.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnpost_ItemClick);
            // 
            // barStaticItem2
            // 
            this.barStaticItem2.Caption = "Paid List";
            this.barStaticItem2.Id = 19;
            this.barStaticItem2.Name = "barStaticItem2";
            this.barStaticItem2.TextAlignment = System.Drawing.StringAlignment.Near;
            // 
            // barEditItem1
            // 
            this.barEditItem1.Caption = "Batch Nos";
            this.barEditItem1.Edit = this.repositoryItemLookUpEdit2;
            this.barEditItem1.Id = 7;
            this.barEditItem1.ItemAppearance.Hovered.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
            this.barEditItem1.ItemAppearance.Hovered.Options.UseBackColor = true;
            this.barEditItem1.Name = "barEditItem1";
            this.barEditItem1.Width = 100;
            this.barEditItem1.EditValueChanged += new System.EventHandler(this.barEditItem1_EditValueChanged);
            this.barEditItem1.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barEditItem1_ItemClick);
            // 
            // repositoryItemLookUpEdit2
            // 
            this.repositoryItemLookUpEdit2.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
            this.repositoryItemLookUpEdit2.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.repositoryItemLookUpEdit2.Appearance.Options.UseBackColor = true;
            this.repositoryItemLookUpEdit2.Appearance.Options.UseFont = true;
            this.repositoryItemLookUpEdit2.AutoHeight = false;
            this.repositoryItemLookUpEdit2.BestFitMode = DevExpress.XtraEditors.Controls.BestFitMode.BestFitResizePopup;
            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("ARAPTRANID", "Batch No.", 88, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("TDATE", "Date", 42, DevExpress.Utils.FormatType.DateTime, "dd/MM/yyyy", true, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("AMOUNT", "Amount", 53, DevExpress.Utils.FormatType.Numeric, "N2", true, DevExpress.Utils.HorzAlignment.Far)});
            this.repositoryItemLookUpEdit2.DataSource = this.aRAPRECEIPTSBindingSource;
            this.repositoryItemLookUpEdit2.DisplayMember = "ARAPTRANID";
            this.repositoryItemLookUpEdit2.DropDownRows = 15;
            this.repositoryItemLookUpEdit2.Name = "repositoryItemLookUpEdit2";
            this.repositoryItemLookUpEdit2.NullText = "Paid List";
            this.repositoryItemLookUpEdit2.ShowFooter = false;
            this.repositoryItemLookUpEdit2.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
            this.repositoryItemLookUpEdit2.ValueMember = "ARAPTRANID";
            // 
            // aRAPRECEIPTSBindingSource
            // 
            this.aRAPRECEIPTSBindingSource.DataMember = "ARAPRECEIPTS";
            this.aRAPRECEIPTSBindingSource.DataSource = typeof(VIRETAILENTITIES.Ledgers);
            // 
            // barEditItem2
            // 
            this.barEditItem2.Caption = "Postee Batch";
            this.barEditItem2.Edit = this.repositoryItemLookUpEdit5;
            this.barEditItem2.Id = 15;
            this.barEditItem2.Name = "barEditItem2";
            this.barEditItem2.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
            this.barEditItem2.Width = 10;
            this.barEditItem2.EditValueChanged += new System.EventHandler(this.barEditItem2_EditValueChanged);
            this.barEditItem2.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barEditItem2_ItemClick);
            // 
            // repositoryItemLookUpEdit5
            // 
            this.repositoryItemLookUpEdit5.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
            this.repositoryItemLookUpEdit5.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.repositoryItemLookUpEdit5.Appearance.Options.UseBackColor = true;
            this.repositoryItemLookUpEdit5.Appearance.Options.UseFont = true;
            this.repositoryItemLookUpEdit5.AutoHeight = false;
            this.repositoryItemLookUpEdit5.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemLookUpEdit5.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("ARAPTRANID", "Batch No.", 88, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("TDATE", "Date", 42, DevExpress.Utils.FormatType.DateTime, "dd/MM/yyyy", true, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("AMOUNT", "Amount", 53, DevExpress.Utils.FormatType.Numeric, "N2", true, DevExpress.Utils.HorzAlignment.Far)});
            this.repositoryItemLookUpEdit5.DataSource = this.aRAPRECEIPTSBindingSource1;
            this.repositoryItemLookUpEdit5.DisplayMember = "ARAPTRANID";
            this.repositoryItemLookUpEdit5.Name = "repositoryItemLookUpEdit5";
            this.repositoryItemLookUpEdit5.NullText = "Posted Batch No\'s";
            this.repositoryItemLookUpEdit5.ShowFooter = false;
            this.repositoryItemLookUpEdit5.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
            this.repositoryItemLookUpEdit5.ValueMember = "ARAPTRANID";
            // 
            // aRAPRECEIPTSBindingSource1
            // 
            this.aRAPRECEIPTSBindingSource1.DataMember = "ARAPRECEIPTS";
            this.aRAPRECEIPTSBindingSource1.DataSource = typeof(VIRETAILENTITIES.Ledgers);
            // 
            // bar3
            // 
            this.bar3.BarName = "Status bar";
            this.bar3.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Bottom;
            this.bar3.DockCol = 0;
            this.bar3.DockRow = 0;
            this.bar3.DockStyle = DevExpress.XtraBars.BarDockStyle.Bottom;
            this.bar3.OptionsBar.AllowQuickCustomization = false;
            this.bar3.OptionsBar.DrawDragBorder = false;
            this.bar3.OptionsBar.UseWholeRow = true;
            this.bar3.Text = "Status bar";
            // 
            // 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(785, 24);
            // 
            // barDockControlBottom
            // 
            this.barDockControlBottom.CausesValidation = false;
            this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.barDockControlBottom.Location = new System.Drawing.Point(0, 451);
            this.barDockControlBottom.Size = new System.Drawing.Size(785, 23);
            // 
            // barDockControlLeft
            // 
            this.barDockControlLeft.CausesValidation = false;
            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, 427);
            // 
            // barDockControlRight
            // 
            this.barDockControlRight.CausesValidation = false;
            this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
            this.barDockControlRight.Location = new System.Drawing.Point(785, 24);
            this.barDockControlRight.Size = new System.Drawing.Size(0, 427);
            // 
            // barButtonItem3
            // 
            this.barButtonItem3.Caption = "&List";
            this.barButtonItem3.Glyph = global::Store.Properties.Resources.viewlist16;
            this.barButtonItem3.Id = 2;
            this.barButtonItem3.Name = "barButtonItem3";
            // 
            // barButtonItem5
            // 
            this.barButtonItem5.Caption = "Batch Nos";
            this.barButtonItem5.Glyph = global::Store.Properties.Resources.Report;
            this.barButtonItem5.Id = 5;
            this.barButtonItem5.Name = "barButtonItem5";
            // 
            // barStaticItem1
            // 
            this.barStaticItem1.Caption = "Paid List";
            this.barStaticItem1.Id = 18;
            this.barStaticItem1.Name = "barStaticItem1";
            this.barStaticItem1.TextAlignment = System.Drawing.StringAlignment.Near;
            this.barStaticItem1.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
            // 
            // 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.Name = "repositoryItemLookUpEdit1";
            // 
            // repositoryItemPopupContainerEdit1
            // 
            this.repositoryItemPopupContainerEdit1.AutoHeight = false;
            this.repositoryItemPopupContainerEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemPopupContainerEdit1.Name = "repositoryItemPopupContainerEdit1";
            // 
            // repositoryItemLookUpEdit4
            // 
            this.repositoryItemLookUpEdit4.AutoHeight = false;
            this.repositoryItemLookUpEdit4.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemLookUpEdit4.Name = "repositoryItemLookUpEdit4";
            // 
            // repositoryItemPopupContainerEdit2
            // 
            this.repositoryItemPopupContainerEdit2.AutoHeight = false;
            this.repositoryItemPopupContainerEdit2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemPopupContainerEdit2.Name = "repositoryItemPopupContainerEdit2";
            // 
            // repositoryItemLookUpEdit3
            // 
            this.repositoryItemLookUpEdit3.AutoHeight = false;
            this.repositoryItemLookUpEdit3.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemLookUpEdit3.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("SUPPLIERNO", "SUPPLIERNO", 85, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("SUPPLIERNAME", "SUPPLIERNAME", 85, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near)});
            this.repositoryItemLookUpEdit3.DataSource = this.sUPPLIERBindingSource;
            this.repositoryItemLookUpEdit3.DisplayMember = "SUPPLIERNAME";
            this.repositoryItemLookUpEdit3.Name = "repositoryItemLookUpEdit3";
            this.repositoryItemLookUpEdit3.NullText = "";
            this.repositoryItemLookUpEdit3.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
            this.repositoryItemLookUpEdit3.ValueMember = "SUPPLIERNO";
            this.repositoryItemLookUpEdit3.EditValueChanged += new System.EventHandler(this.repositoryItemCheckEdit1_EditValueChanged);
            // 
            // sUPPLIERBindingSource
            // 
            this.sUPPLIERBindingSource.DataMember = "SUPPLIER";
            this.sUPPLIERBindingSource.DataSource = typeof(VIRETAILENTITIES.DsMaster);
            // 
            // groupControl1
            // 
            this.groupControl1.Controls.Add(this.checkEdit5);
            this.groupControl1.Controls.Add(this.LookupSupplier);
            this.groupControl1.Controls.Add(this.simpleButton1);
            this.groupControl1.Controls.Add(this.textEdit1);
            this.groupControl1.Controls.Add(this.checkEdit2);
            this.groupControl1.Controls.Add(this.checkEdit1);
            this.groupControl1.Dock = System.Windows.Forms.DockStyle.Top;
            this.groupControl1.Location = new System.Drawing.Point(0, 24);
            this.groupControl1.Name = "groupControl1";
            this.groupControl1.Size = new System.Drawing.Size(785, 49);
            this.groupControl1.TabIndex = 5;
            this.groupControl1.Text = "Filter";
            this.groupControl1.Paint += new System.Windows.Forms.PaintEventHandler(this.groupControl1_Paint);
            // 
            // checkEdit5
            // 
            this.checkEdit5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.checkEdit5.Location = new System.Drawing.Point(707, 25);
            this.checkEdit5.MenuManager = this.barManager1;
            this.checkEdit5.Name = "checkEdit5";
            this.checkEdit5.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.checkEdit5.Properties.Appearance.Options.UseFont = true;
            this.checkEdit5.Properties.Caption = "Check All";
            this.checkEdit5.Size = new System.Drawing.Size(75, 19);
            this.checkEdit5.TabIndex = 7;
            this.checkEdit5.CheckedChanged += new System.EventHandler(this.checkEdit5_CheckedChanged);
            // 
            // LookupSupplier
            // 
            this.LookupSupplier.Anchor = System.Windows.Forms.AnchorStyles.Left;
            this.LookupSupplier.Enabled = false;
            this.LookupSupplier.EnterMoveNextControl = true;
            this.LookupSupplier.Location = new System.Drawing.Point(210, 24);
            this.LookupSupplier.Name = "LookupSupplier";
            this.LookupSupplier.Properties.Appearance.BackColor = System.Drawing.Color.White;
            this.LookupSupplier.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.LookupSupplier.Properties.Appearance.ForeColor = System.Drawing.Color.Black;
            this.LookupSupplier.Properties.Appearance.Options.UseBackColor = true;
            this.LookupSupplier.Properties.Appearance.Options.UseFont = true;
            this.LookupSupplier.Properties.Appearance.Options.UseForeColor = true;
            this.LookupSupplier.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.LookupSupplier.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("SUPPLIERNO", "SUPPLIERNO", 85, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("SUPPLIERNAME", "SUPPLIERNAME", 85, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("DUEDAYS", "DUEDAYS", 56, DevExpress.Utils.FormatType.Numeric, "", false, DevExpress.Utils.HorzAlignment.Far)});
            this.LookupSupplier.Properties.DisplayMember = "SUPPLIERNAME";
            this.LookupSupplier.Properties.NullText = "";
            this.LookupSupplier.Properties.ShowHeader = false;
            this.LookupSupplier.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
            this.LookupSupplier.Properties.ValueMember = "SUPPLIERNO";
            this.LookupSupplier.Size = new System.Drawing.Size(427, 20);
            this.LookupSupplier.TabIndex = 6;
            // 
            // simpleButton1
            // 
            this.simpleButton1.Image = global::Store.Properties.Resources.funnelicon;
            this.simpleButton1.Location = new System.Drawing.Point(644, 23);
            this.simpleButton1.Name = "simpleButton1";
            this.simpleButton1.Size = new System.Drawing.Size(59, 23);
            this.simpleButton1.TabIndex = 5;
            this.simpleButton1.Text = "&Show";
            this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click);
            // 
            // textEdit1
            // 
            this.textEdit1.EditValue = "90";
            this.textEdit1.Enabled = false;
            this.textEdit1.Location = new System.Drawing.Point(96, 23);
            this.textEdit1.Name = "textEdit1";
            this.textEdit1.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.textEdit1.Properties.Appearance.Options.UseFont = true;
            this.textEdit1.Properties.Mask.EditMask = "n0";
            this.textEdit1.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
            this.textEdit1.Size = new System.Drawing.Size(25, 20);
            this.textEdit1.TabIndex = 2;
            this.textEdit1.EditValueChanged += new System.EventHandler(this.textEdit1_EditValueChanged);
            // 
            // checkEdit2
            // 
            this.checkEdit2.Location = new System.Drawing.Point(124, 24);
            this.checkEdit2.Name = "checkEdit2";
            this.checkEdit2.Properties.Caption = "By Supplier :";
            this.checkEdit2.Size = new System.Drawing.Size(86, 19);
            this.checkEdit2.TabIndex = 1;
            this.checkEdit2.CheckedChanged += new System.EventHandler(this.checkEdit2_CheckedChanged);
            // 
            // checkEdit1
            // 
            this.checkEdit1.Location = new System.Drawing.Point(8, 24);
            this.checkEdit1.Name = "checkEdit1";
            this.checkEdit1.Properties.Caption = "By Due Date";
            this.checkEdit1.Size = new System.Drawing.Size(84, 19);
            this.checkEdit1.TabIndex = 0;
            this.checkEdit1.CheckedChanged += new System.EventHandler(this.checkEdit1_CheckedChanged);
            // 
            // panel1
            // 
            this.panel1.Controls.Add(this.label2);
            this.panel1.Controls.Add(this.lookupbankname);
            this.panel1.Controls.Add(this.textEdit2);
            this.panel1.Controls.Add(this.label1);
            this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.panel1.Location = new System.Drawing.Point(0, 422);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(785, 29);
            this.panel1.TabIndex = 7;
            // 
            // label2
            // 
            this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(461, 7);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(66, 13);
            this.label2.TabIndex = 3;
            this.label2.Text = "Bank name :";
            this.label2.Visible = false;
            // 
            // lookupbankname
            // 
            this.lookupbankname.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.lookupbankname.Location = new System.Drawing.Point(526, 4);
            this.lookupbankname.MenuManager = this.barManager1;
            this.lookupbankname.Name = "lookupbankname";
            this.lookupbankname.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.lookupbankname.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("BANKID", "BANKID", 60, DevExpress.Utils.FormatType.Numeric, "", false, DevExpress.Utils.HorzAlignment.Far),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("BANKNAME", "BANKNAME", 64, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near)});
            this.lookupbankname.Properties.DataSource = this.bANKSBindingSource;
            this.lookupbankname.Properties.DisplayMember = "BANKNAME";
            this.lookupbankname.Properties.NullText = "";
            this.lookupbankname.Properties.ShowFooter = false;
            this.lookupbankname.Properties.ShowHeader = false;
            this.lookupbankname.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
            this.lookupbankname.Properties.ValueMember = "BANKID";
            this.lookupbankname.Size = new System.Drawing.Size(255, 20);
            this.lookupbankname.TabIndex = 2;
            this.lookupbankname.ProcessNewValue += new DevExpress.XtraEditors.Controls.ProcessNewValueEventHandler(this.lookupbankname_ProcessNewValue);
            // 
            // bANKSBindingSource
            // 
            this.bANKSBindingSource.DataMember = "BANKS";
            this.bANKSBindingSource.DataSource = this.dsMaster1;
            // 
            // dsMaster1
            // 
            this.dsMaster1.DataSetName = "DsMaster";
            this.dsMaster1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            // 
            // textEdit2
            // 
            this.textEdit2.Location = new System.Drawing.Point(90, 3);
            this.textEdit2.MenuManager = this.barManager1;
            this.textEdit2.Name = "textEdit2";
            this.textEdit2.Properties.Mask.EditMask = "n";
            this.textEdit2.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
            this.textEdit2.Size = new System.Drawing.Size(142, 20);
            this.textEdit2.TabIndex = 1;
            this.textEdit2.Visible = false;
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(5, 7);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(79, 13);
            this.label1.TabIndex = 0;
            this.label1.Text = "Balance After :";
            this.label1.Visible = false;
            // 
            // gridControl1
            // 
            this.gridControl1.DataSource = this.aRAPRECEIPTSDETAILSBindingSource;
            this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gridControl1.Location = new System.Drawing.Point(0, 73);
            this.gridControl1.MainView = this.gridView1;
            this.gridControl1.MenuManager = this.barManager1;
            this.gridControl1.Name = "gridControl1";
            this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
            this.repositoryItemLookUpEdit3,
            this.repositoryItemCheckEdit1,
            this.repositoryItemTextEdit1});
            this.gridControl1.Size = new System.Drawing.Size(785, 349);
            this.gridControl1.TabIndex = 8;
            this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gridView1});
            this.gridControl1.Click += new System.EventHandler(this.gridControl1_Click);
            // 
            // aRAPRECEIPTSDETAILSBindingSource
            // 
            this.aRAPRECEIPTSDETAILSBindingSource.DataMember = "ARAPRECEIPTSDETAILS";
            this.aRAPRECEIPTSDETAILSBindingSource.DataSource = this.ledgers1;
            // 
            // ledgers1
            // 
            this.ledgers1.DataSetName = "Ledgers";
            this.ledgers1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            // 
            // gridView1
            // 
            this.gridView1.Appearance.FooterPanel.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gridView1.Appearance.FooterPanel.Options.UseFont = true;
            this.gridView1.Appearance.GroupFooter.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gridView1.Appearance.GroupFooter.Options.UseFont = true;
            this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.colTID,
            this.colARAPTRANID,
            this.colTRANID,
            this.colDUEDAYS,
            this.colREFNO,
            this.colINVOICEDATE,
            this.colINVOICENO,
            this.colINVAMOUNT,
            this.colPAIDAMOUNT,
            this.colBALANCE,
            this.colDISCOUNT,
            this.colAppliedAmt,
            this.colSEL});
            styleFormatCondition1.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            styleFormatCondition1.Appearance.ForeColor = System.Drawing.Color.Red;
            styleFormatCondition1.Appearance.Options.UseFont = true;
            styleFormatCondition1.Appearance.Options.UseForeColor = true;
            styleFormatCondition1.ApplyToRow = true;
            styleFormatCondition1.Column = this.colINVAMOUNT;
            styleFormatCondition1.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
            styleFormatCondition1.Value1 = new decimal(new int[] {
            0,
            0,
            0,
            0});
            this.gridView1.FormatConditions.AddRange(new DevExpress.XtraGrid.StyleFormatCondition[] {
            styleFormatCondition1});
            this.gridView1.GridControl = this.gridControl1;
            this.gridView1.GroupCount = 1;
            this.gridView1.GroupSummary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
            new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Sum, "AppliedAmt", this.colAppliedAmt, "{0:#,0.00}"),
            new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Sum, "BALANCE", this.colBALANCE, "{0:#,0.00}"),
            new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Sum, "INVAMOUNT", this.colINVAMOUNT, "{0:#,0.00}"),
            new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Sum, "PAIDAMOUNT", this.colPAIDAMOUNT, "{0:#,0.00}")});
            this.gridView1.Name = "gridView1";
            this.gridView1.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False;
            this.gridView1.OptionsBehavior.AutoExpandAllGroups = true;
            this.gridView1.OptionsNavigation.EnterMoveNextColumn = true;
            this.gridView1.OptionsView.ShowAutoFilterRow = true;
            this.gridView1.OptionsView.ShowFooter = true;
            this.gridView1.OptionsView.ShowGroupPanel = false;
            this.gridView1.OptionsView.ShowHorizontalLines = DevExpress.Utils.DefaultBoolean.True;
            this.gridView1.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
            new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.colREFNO, DevExpress.Data.ColumnSortOrder.Ascending)});
            this.gridView1.CellValueChanged += new DevExpress.XtraGrid.Views.Base.CellValueChangedEventHandler(this.gridView1_CellValueChanged);
            this.gridView1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.gridView1_MouseDown);
            // 
            // colTID
            // 
            this.colTID.AppearanceCell.Options.UseTextOptions = true;
            this.colTID.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTID.AppearanceHeader.Options.UseTextOptions = true;
            this.colTID.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colTID.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTID.FieldName = "TID";
            this.colTID.Name = "colTID";
            this.colTID.OptionsColumn.AllowEdit = false;
            this.colTID.OptionsColumn.ReadOnly = true;
            // 
            // colARAPTRANID
            // 
            this.colARAPTRANID.AppearanceCell.Options.UseTextOptions = true;
            this.colARAPTRANID.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colARAPTRANID.AppearanceHeader.Options.UseTextOptions = true;
            this.colARAPTRANID.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colARAPTRANID.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colARAPTRANID.FieldName = "ARAPTRANID";
            this.colARAPTRANID.Name = "colARAPTRANID";
            this.colARAPTRANID.OptionsColumn.AllowEdit = false;
            this.colARAPTRANID.OptionsColumn.ReadOnly = true;
            // 
            // colTRANID
            // 
            this.colTRANID.AppearanceCell.Options.UseTextOptions = true;
            this.colTRANID.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTRANID.AppearanceHeader.Options.UseTextOptions = true;
            this.colTRANID.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colTRANID.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTRANID.FieldName = "TRANID";
            this.colTRANID.Name = "colTRANID";
            this.colTRANID.OptionsColumn.AllowEdit = false;
            this.colTRANID.OptionsColumn.ReadOnly = true;
            // 
            // colDUEDAYS
            // 
            this.colDUEDAYS.AppearanceCell.Options.UseTextOptions = true;
            this.colDUEDAYS.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colDUEDAYS.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colDUEDAYS.AppearanceHeader.Options.UseTextOptions = true;
            this.colDUEDAYS.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colDUEDAYS.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colDUEDAYS.Caption = "Due Days";
            this.colDUEDAYS.FieldName = "DUEDAYS";
            this.colDUEDAYS.MaxWidth = 70;
            this.colDUEDAYS.Name = "colDUEDAYS";
            this.colDUEDAYS.OptionsColumn.AllowEdit = false;
            this.colDUEDAYS.OptionsColumn.ReadOnly = true;
            this.colDUEDAYS.Visible = true;
            this.colDUEDAYS.VisibleIndex = 0;
            this.colDUEDAYS.Width = 54;
            // 
            // colREFNO
            // 
            this.colREFNO.AppearanceCell.Options.UseTextOptions = true;
            this.colREFNO.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colREFNO.AppearanceHeader.Options.UseTextOptions = true;
            this.colREFNO.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colREFNO.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colREFNO.Caption = "Supplier name :";
            this.colREFNO.ColumnEdit = this.repositoryItemLookUpEdit3;
            this.colREFNO.FieldName = "REFNO";
            this.colREFNO.Name = "colREFNO";
            this.colREFNO.OptionsColumn.AllowEdit = false;
            this.colREFNO.OptionsColumn.ReadOnly = true;
            this.colREFNO.Visible = true;
            this.colREFNO.VisibleIndex = 0;
            // 
            // colINVOICEDATE
            // 
            this.colINVOICEDATE.AppearanceCell.Options.UseTextOptions = true;
            this.colINVOICEDATE.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colINVOICEDATE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colINVOICEDATE.AppearanceHeader.Options.UseTextOptions = true;
            this.colINVOICEDATE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colINVOICEDATE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colINVOICEDATE.Caption = "Invoice Date";
            this.colINVOICEDATE.DisplayFormat.FormatString = "dd MMM, yyyy";
            this.colINVOICEDATE.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
            this.colINVOICEDATE.FieldName = "INVOICEDATE";
            this.colINVOICEDATE.MaxWidth = 100;
            this.colINVOICEDATE.Name = "colINVOICEDATE";
            this.colINVOICEDATE.OptionsColumn.AllowEdit = false;
            this.colINVOICEDATE.OptionsColumn.ReadOnly = true;
            this.colINVOICEDATE.Visible = true;
            this.colINVOICEDATE.VisibleIndex = 1;
            this.colINVOICEDATE.Width = 90;
            // 
            // colINVOICENO
            // 
            this.colINVOICENO.AppearanceCell.Options.UseTextOptions = true;
            this.colINVOICENO.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colINVOICENO.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colINVOICENO.AppearanceHeader.Options.UseTextOptions = true;
            this.colINVOICENO.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colINVOICENO.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colINVOICENO.Caption = "Invoice No.";
            this.colINVOICENO.FieldName = "INVOICENO";
            this.colINVOICENO.Name = "colINVOICENO";
            this.colINVOICENO.OptionsColumn.AllowEdit = false;
            this.colINVOICENO.OptionsColumn.ReadOnly = true;
            this.colINVOICENO.Visible = true;
            this.colINVOICENO.VisibleIndex = 2;
            this.colINVOICENO.Width = 94;
            // 
            // colPAIDAMOUNT
            // 
            this.colPAIDAMOUNT.AppearanceCell.Options.UseTextOptions = true;
            this.colPAIDAMOUNT.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colPAIDAMOUNT.AppearanceHeader.Options.UseTextOptions = true;
            this.colPAIDAMOUNT.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colPAIDAMOUNT.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colPAIDAMOUNT.Caption = "Paid Amt.";
            this.colPAIDAMOUNT.DisplayFormat.FormatString = "###,###,###,###.##";
            this.colPAIDAMOUNT.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.colPAIDAMOUNT.FieldName = "PAIDAMOUNT";
            this.colPAIDAMOUNT.Name = "colPAIDAMOUNT";
            this.colPAIDAMOUNT.OptionsColumn.AllowEdit = false;
            this.colPAIDAMOUNT.OptionsColumn.ReadOnly = true;
            this.colPAIDAMOUNT.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
            new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "PAIDAMOUNT", "{0:#,0.00}")});
            this.colPAIDAMOUNT.Visible = true;
            this.colPAIDAMOUNT.VisibleIndex = 4;
            this.colPAIDAMOUNT.Width = 72;
            // 
            // colBALANCE
            // 
            this.colBALANCE.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colBALANCE.AppearanceCell.Options.UseFont = true;
            this.colBALANCE.AppearanceCell.Options.UseTextOptions = true;
            this.colBALANCE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colBALANCE.AppearanceHeader.Options.UseTextOptions = true;
            this.colBALANCE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colBALANCE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colBALANCE.Caption = "Balance";
            this.colBALANCE.DisplayFormat.FormatString = "###,###,###,###.##";
            this.colBALANCE.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.colBALANCE.FieldName = "BALANCE";
            this.colBALANCE.Name = "colBALANCE";
            this.colBALANCE.OptionsColumn.AllowEdit = false;
            this.colBALANCE.OptionsColumn.ReadOnly = true;
            this.colBALANCE.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
            new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "BALANCE", "{0:#,0.00}")});
            this.colBALANCE.Visible = true;
            this.colBALANCE.VisibleIndex = 5;
            this.colBALANCE.Width = 72;
            // 
            // colDISCOUNT
            // 
            this.colDISCOUNT.AppearanceCell.Options.UseTextOptions = true;
            this.colDISCOUNT.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colDISCOUNT.AppearanceHeader.Options.UseTextOptions = true;
            this.colDISCOUNT.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colDISCOUNT.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colDISCOUNT.Caption = "Discount";
            this.colDISCOUNT.DisplayFormat.FormatString = "###,###,###,###.##";
            this.colDISCOUNT.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.colDISCOUNT.FieldName = "DISCOUNT";
            this.colDISCOUNT.MaxWidth = 60;
            this.colDISCOUNT.Name = "colDISCOUNT";
            this.colDISCOUNT.OptionsColumn.AllowEdit = false;
            this.colDISCOUNT.OptionsColumn.ReadOnly = true;
            this.colDISCOUNT.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
            new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum)});
            this.colDISCOUNT.Visible = true;
            this.colDISCOUNT.VisibleIndex = 6;
            this.colDISCOUNT.Width = 59;
            // 
            // colAppliedAmt
            // 
            this.colAppliedAmt.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colAppliedAmt.AppearanceCell.Options.UseFont = true;
            this.colAppliedAmt.AppearanceCell.Options.UseTextOptions = true;
            this.colAppliedAmt.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colAppliedAmt.AppearanceHeader.Options.UseTextOptions = true;
            this.colAppliedAmt.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colAppliedAmt.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colAppliedAmt.Caption = "Applied Amt.";
            this.colAppliedAmt.ColumnEdit = this.repositoryItemTextEdit1;
            this.colAppliedAmt.DisplayFormat.FormatString = "###,###,###,###.##";
            this.colAppliedAmt.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.colAppliedAmt.FieldName = "AppliedAmt";
            this.colAppliedAmt.Name = "colAppliedAmt";
            this.colAppliedAmt.OptionsColumn.AllowEdit = false;
            this.colAppliedAmt.OptionsColumn.ReadOnly = true;
            this.colAppliedAmt.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
            new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "AppliedAmt", "{0:#,0.00}")});
            this.colAppliedAmt.Visible = true;
            this.colAppliedAmt.VisibleIndex = 7;
            this.colAppliedAmt.Width = 105;
            // 
            // repositoryItemTextEdit1
            // 
            this.repositoryItemTextEdit1.AutoHeight = false;
            this.repositoryItemTextEdit1.DisplayFormat.FormatString = "###,###,###.##";
            this.repositoryItemTextEdit1.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.repositoryItemTextEdit1.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.repositoryItemTextEdit1.Mask.EditMask = "n";
            this.repositoryItemTextEdit1.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
            this.repositoryItemTextEdit1.Name = "repositoryItemTextEdit1";
            // 
            // colSEL
            // 
            this.colSEL.AppearanceHeader.Options.UseTextOptions = true;
            this.colSEL.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSEL.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSEL.ColumnEdit = this.repositoryItemCheckEdit1;
            this.colSEL.FieldName = "SEL";
            this.colSEL.Name = "colSEL";
            this.colSEL.Visible = true;
            this.colSEL.VisibleIndex = 8;
            this.colSEL.Width = 35;
            // 
            // repositoryItemCheckEdit1
            // 
            this.repositoryItemCheckEdit1.AutoHeight = false;
            this.repositoryItemCheckEdit1.Name = "repositoryItemCheckEdit1";
            this.repositoryItemCheckEdit1.NullStyle = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked;
            this.repositoryItemCheckEdit1.CheckedChanged += new System.EventHandler(this.repositoryItemCheckEdit1_EditValueChanged);
            // 
            // checkEdit3
            // 
            this.checkEdit3.EditValue = true;
            this.checkEdit3.Location = new System.Drawing.Point(19, 11);
            this.checkEdit3.MenuManager = this.barManager1;
            this.checkEdit3.Name = "checkEdit3";
            this.checkEdit3.Properties.Caption = "New Batch";
            this.checkEdit3.Size = new System.Drawing.Size(150, 19);
            this.checkEdit3.TabIndex = 0;
            this.checkEdit3.CheckedChanged += new System.EventHandler(this.checkEdit3_CheckedChanged);
            // 
            // checkEdit4
            // 
            this.checkEdit4.Location = new System.Drawing.Point(19, 36);
            this.checkEdit4.MenuManager = this.barManager1;
            this.checkEdit4.Name = "checkEdit4";
            this.checkEdit4.Properties.Caption = "Existing Batch";
            this.checkEdit4.Size = new System.Drawing.Size(150, 19);
            this.checkEdit4.TabIndex = 1;
            this.checkEdit4.CheckedChanged += new System.EventHandler(this.checkEdit4_CheckedChanged);
            // 
            // lookupbatch
            // 
            this.lookupbatch.Enabled = false;
            this.lookupbatch.Location = new System.Drawing.Point(35, 65);
            this.lookupbatch.MenuManager = this.barManager1;
            this.lookupbatch.Name = "lookupbatch";
            this.lookupbatch.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.lookupbatch.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("ARAPTRANID", "Batch No.", 88, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("TDATE", "Date", 42, DevExpress.Utils.FormatType.DateTime, "dd/MM/yyyy", true, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("AMOUNT", "Amount", 53, DevExpress.Utils.FormatType.Numeric, "N2", true, DevExpress.Utils.HorzAlignment.Far)});
            this.lookupbatch.Properties.DataSource = this.aRAPRECEIPTSBindingSource1;
            this.lookupbatch.Properties.DisplayMember = "ARAPTRANID";
            this.lookupbatch.Properties.NullText = "";
            this.lookupbatch.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
            this.lookupbatch.Properties.ValueMember = "ARAPTRANID";
            this.lookupbatch.Size = new System.Drawing.Size(203, 20);
            this.lookupbatch.TabIndex = 2;
            // 
            // simpleButton2
            // 
            this.simpleButton2.Image = global::Store.Properties.Resources.Save16;
            this.simpleButton2.Location = new System.Drawing.Point(88, 93);
            this.simpleButton2.Name = "simpleButton2";
            this.simpleButton2.Size = new System.Drawing.Size(79, 23);
            this.simpleButton2.TabIndex = 3;
            this.simpleButton2.Text = "&Save";
            this.simpleButton2.Click += new System.EventHandler(this.simpleButton2_Click);
            // 
            // popupControlContainer1
            // 
            this.popupControlContainer1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
            this.popupControlContainer1.CloseOnLostFocus = false;
            this.popupControlContainer1.CloseOnOuterMouseClick = false;
            this.popupControlContainer1.Controls.Add(this.simpleButton2);
            this.popupControlContainer1.Controls.Add(this.checkEdit3);
            this.popupControlContainer1.Controls.Add(this.lookupbatch);
            this.popupControlContainer1.Controls.Add(this.checkEdit4);
            this.popupControlContainer1.Location = new System.Drawing.Point(35, 155);
            this.popupControlContainer1.LookAndFeel.SkinName = "Caramel";
            this.popupControlContainer1.LookAndFeel.UseDefaultLookAndFeel = false;
            this.popupControlContainer1.Manager = this.barManager1;
            this.popupControlContainer1.Name = "popupControlContainer1";
            this.popupControlContainer1.ShowCloseButton = true;
            this.popupControlContainer1.ShowSizeGrip = true;
            this.popupControlContainer1.Size = new System.Drawing.Size(253, 125);
            this.popupControlContainer1.TabIndex = 14;
            this.popupControlContainer1.Visible = false;
            // 
            // PaymentSelection
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(785, 474);
            this.Controls.Add(this.popupControlContainer1);
            this.Controls.Add(this.gridControl1);
            this.Controls.Add(this.panel1);
            this.Controls.Add(this.groupControl1);
            this.Controls.Add(this.barDockControlLeft);
            this.Controls.Add(this.barDockControlRight);
            this.Controls.Add(this.barDockControlBottom);
            this.Controls.Add(this.barDockControlTop);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "PaymentSelection";
            this.Text = "Payment Selection";
            this.Load += new System.EventHandler(this.PaymentSelection_Load);
            ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.aRAPRECEIPTSBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit5)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.aRAPRECEIPTSBindingSource1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPopupContainerEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit4)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPopupContainerEdit2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.sUPPLIERBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit();
            this.groupControl1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit5.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.LookupSupplier.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit2.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit1.Properties)).EndInit();
            this.panel1.ResumeLayout(false);
            this.panel1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.lookupbankname.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.bANKSBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dsMaster1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit2.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.aRAPRECEIPTSDETAILSBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ledgers1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit3.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit4.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.lookupbatch.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.popupControlContainer1)).EndInit();
            this.popupControlContainer1.ResumeLayout(false);
            this.ResumeLayout(false);

        }
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition1 = new DevExpress.XtraGrid.StyleFormatCondition();
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition2 = new DevExpress.XtraGrid.StyleFormatCondition();
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition3 = new DevExpress.XtraGrid.StyleFormatCondition();
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition4 = new DevExpress.XtraGrid.StyleFormatCondition();
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition5 = new DevExpress.XtraGrid.StyleFormatCondition();
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition6 = new DevExpress.XtraGrid.StyleFormatCondition();
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition7 = new DevExpress.XtraGrid.StyleFormatCondition();
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition8 = new DevExpress.XtraGrid.StyleFormatCondition();
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition9 = new DevExpress.XtraGrid.StyleFormatCondition();
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition10 = new DevExpress.XtraGrid.StyleFormatCondition();
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition11 = new DevExpress.XtraGrid.StyleFormatCondition();
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition12 = new DevExpress.XtraGrid.StyleFormatCondition();
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition13 = new DevExpress.XtraGrid.StyleFormatCondition();
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition14 = new DevExpress.XtraGrid.StyleFormatCondition();
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition15 = new DevExpress.XtraGrid.StyleFormatCondition();
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition16 = new DevExpress.XtraGrid.StyleFormatCondition();
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition17 = new DevExpress.XtraGrid.StyleFormatCondition();
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition18 = new DevExpress.XtraGrid.StyleFormatCondition();
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition19 = new DevExpress.XtraGrid.StyleFormatCondition();
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition20 = new DevExpress.XtraGrid.StyleFormatCondition();
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition21 = new DevExpress.XtraGrid.StyleFormatCondition();
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition22 = new DevExpress.XtraGrid.StyleFormatCondition();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ConsolidatedInventory));
            this.colSTORE01 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colSTORE02 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colSTORE03 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colSTORE04 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colSTORE05 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colSTORE06 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colSTORE07 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colSTORE08 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colSTORE09 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colSTORE10 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colSTORE11 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colSTORE12 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colSTORE13 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colSTORE14 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colSTORE15 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colSTORE16 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colSTORE17 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colSTORE18 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colSTORE19 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colSTORE20 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colTOTAL = new DevExpress.XtraGrid.Columns.GridColumn();
            this.barManager1 = new DevExpress.XtraBars.BarManager();
            this.bar2 = new DevExpress.XtraBars.Bar();
            this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem10 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem8 = new DevExpress.XtraBars.BarButtonItem();
            this.bar3 = new DevExpress.XtraBars.Bar();
            this.barButtonItem6 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem12 = new DevExpress.XtraBars.BarButtonItem();
            this.progressBar1 = new DevExpress.XtraBars.BarEditItem();
            this.repositoryItemProgressBar1 = new DevExpress.XtraEditors.Repository.RepositoryItemProgressBar();
            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.barButtonItem7 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem9 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem11 = new DevExpress.XtraBars.BarButtonItem();
            this.repositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
            this.repositoryItemCheckedComboBoxEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckedComboBoxEdit();
            this.panel1 = new System.Windows.Forms.Panel();
            this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
            this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
            this.LookupSupplier = new DevExpress.XtraEditors.LookUpEdit();
            this.sUPPLIERBindingSource = new System.Windows.Forms.BindingSource();
            this.dsMaster1 = new VIRETAILENTITIES.DsMaster();
            this.comboBoxEdit1 = new DevExpress.XtraEditors.ComboBoxEdit();
            this.lookUpEdit2 = new DevExpress.XtraEditors.LookUpEdit();
            this.iTEMGROUPBindingSource = new System.Windows.Forms.BindingSource();
            this.checkedComboBoxEdit1 = new DevExpress.XtraEditors.CheckedComboBoxEdit();
            this.sTOREMASTDBBindingSource = new System.Windows.Forms.BindingSource();
            this.txtbarcode = new DevExpress.XtraEditors.TextEdit();
            this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
            this.simpleButton4 = new DevExpress.XtraEditors.SimpleButton();
            this.panel2 = new System.Windows.Forms.Panel();
            this.gridControl2 = new DevExpress.XtraGrid.GridControl();
            this.pURCHASEREQUESTBindingSource = new System.Windows.Forms.BindingSource();
            this.dsPurchase1 = new VIRETAILENTITIES.DsPurchase();
            this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.colPRNO = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colCOMPANY = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colSUPPLIERNO = new DevExpress.XtraGrid.Columns.GridColumn();
            this.repositoryItemLookUpEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
            this.colITEMNO1 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.repositoryItemLookUpEdit3 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
            this.iTEMMASTBindingSource = new System.Windows.Forms.BindingSource();
            this.colQTY = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colREQDATE = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colUSERID = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colINORDER = new DevExpress.XtraGrid.Columns.GridColumn();
            this.repositoryItemLookUpEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
            this.gridControl1 = new DevExpress.XtraGrid.GridControl();
            this.cONSOLIDATEINVENTORYBindingSource = new System.Windows.Forms.BindingSource();
            this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.colTID = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colRUNDATE = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colItemCategory = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colSuppliername = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colPRGEN = new DevExpress.XtraGrid.Columns.GridColumn();
            this.repositoryItemCheckEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
            this.colItemname = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colItemno = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colbarcode = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colPURQTY = new DevExpress.XtraGrid.Columns.GridColumn();
            ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemProgressBar1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckedComboBoxEdit1)).BeginInit();
            this.panel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.LookupSupplier.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.sUPPLIERBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dsMaster1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit1.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.lookUpEdit2.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.iTEMGROUPBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkedComboBoxEdit1.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.sTOREMASTDBBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtbarcode.Properties)).BeginInit();
            this.panel2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pURCHASEREQUESTBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dsPurchase1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.iTEMMASTBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cONSOLIDATEINVENTORYBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).BeginInit();
            this.SuspendLayout();
            // 
            // colSTORE01
            // 
            this.colSTORE01.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSTORE01.AppearanceCell.Options.UseFont = true;
            this.colSTORE01.AppearanceCell.Options.UseTextOptions = true;
            this.colSTORE01.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE01.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE01.AppearanceHeader.Options.UseTextOptions = true;
            this.colSTORE01.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE01.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE01.FieldName = "STORE01";
            this.colSTORE01.MaxWidth = 60;
            this.colSTORE01.Name = "colSTORE01";
            this.colSTORE01.OptionsColumn.AllowEdit = false;
            this.colSTORE01.OptionsColumn.ReadOnly = true;
            this.colSTORE01.Visible = true;
            this.colSTORE01.VisibleIndex = 8;
            this.colSTORE01.Width = 60;
            // 
            // colSTORE02
            // 
            this.colSTORE02.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSTORE02.AppearanceCell.Options.UseFont = true;
            this.colSTORE02.AppearanceCell.Options.UseTextOptions = true;
            this.colSTORE02.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE02.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE02.AppearanceHeader.Options.UseTextOptions = true;
            this.colSTORE02.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE02.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE02.FieldName = "STORE02";
            this.colSTORE02.MaxWidth = 60;
            this.colSTORE02.Name = "colSTORE02";
            this.colSTORE02.OptionsColumn.AllowEdit = false;
            this.colSTORE02.OptionsColumn.ReadOnly = true;
            this.colSTORE02.Width = 55;
            // 
            // colSTORE03
            // 
            this.colSTORE03.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSTORE03.AppearanceCell.Options.UseFont = true;
            this.colSTORE03.AppearanceCell.Options.UseTextOptions = true;
            this.colSTORE03.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE03.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE03.AppearanceHeader.Options.UseTextOptions = true;
            this.colSTORE03.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE03.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE03.FieldName = "STORE03";
            this.colSTORE03.MaxWidth = 60;
            this.colSTORE03.Name = "colSTORE03";
            this.colSTORE03.OptionsColumn.AllowEdit = false;
            this.colSTORE03.OptionsColumn.ReadOnly = true;
            this.colSTORE03.Width = 55;
            // 
            // colSTORE04
            // 
            this.colSTORE04.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSTORE04.AppearanceCell.Options.UseFont = true;
            this.colSTORE04.AppearanceCell.Options.UseTextOptions = true;
            this.colSTORE04.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE04.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE04.AppearanceHeader.Options.UseTextOptions = true;
            this.colSTORE04.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE04.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE04.FieldName = "STORE04";
            this.colSTORE04.MaxWidth = 60;
            this.colSTORE04.Name = "colSTORE04";
            this.colSTORE04.OptionsColumn.AllowEdit = false;
            this.colSTORE04.OptionsColumn.ReadOnly = true;
            this.colSTORE04.Width = 55;
            // 
            // colSTORE05
            // 
            this.colSTORE05.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSTORE05.AppearanceCell.Options.UseFont = true;
            this.colSTORE05.AppearanceCell.Options.UseTextOptions = true;
            this.colSTORE05.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE05.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE05.AppearanceHeader.Options.UseTextOptions = true;
            this.colSTORE05.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE05.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE05.FieldName = "STORE05";
            this.colSTORE05.MaxWidth = 60;
            this.colSTORE05.Name = "colSTORE05";
            this.colSTORE05.OptionsColumn.AllowEdit = false;
            this.colSTORE05.OptionsColumn.ReadOnly = true;
            this.colSTORE05.Width = 55;
            // 
            // colSTORE06
            // 
            this.colSTORE06.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSTORE06.AppearanceCell.Options.UseFont = true;
            this.colSTORE06.AppearanceCell.Options.UseTextOptions = true;
            this.colSTORE06.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE06.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE06.AppearanceHeader.Options.UseTextOptions = true;
            this.colSTORE06.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE06.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE06.FieldName = "STORE06";
            this.colSTORE06.MaxWidth = 60;
            this.colSTORE06.Name = "colSTORE06";
            this.colSTORE06.OptionsColumn.AllowEdit = false;
            this.colSTORE06.OptionsColumn.ReadOnly = true;
            this.colSTORE06.Width = 55;
            // 
            // colSTORE07
            // 
            this.colSTORE07.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSTORE07.AppearanceCell.Options.UseFont = true;
            this.colSTORE07.AppearanceCell.Options.UseTextOptions = true;
            this.colSTORE07.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE07.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE07.AppearanceHeader.Options.UseTextOptions = true;
            this.colSTORE07.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE07.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE07.FieldName = "STORE07";
            this.colSTORE07.MaxWidth = 60;
            this.colSTORE07.Name = "colSTORE07";
            this.colSTORE07.OptionsColumn.AllowEdit = false;
            this.colSTORE07.OptionsColumn.ReadOnly = true;
            this.colSTORE07.Width = 55;
            // 
            // colSTORE08
            // 
            this.colSTORE08.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSTORE08.AppearanceCell.Options.UseFont = true;
            this.colSTORE08.AppearanceCell.Options.UseTextOptions = true;
            this.colSTORE08.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE08.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE08.AppearanceHeader.Options.UseTextOptions = true;
            this.colSTORE08.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE08.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE08.FieldName = "STORE08";
            this.colSTORE08.MaxWidth = 60;
            this.colSTORE08.Name = "colSTORE08";
            this.colSTORE08.OptionsColumn.AllowEdit = false;
            this.colSTORE08.OptionsColumn.ReadOnly = true;
            this.colSTORE08.Width = 55;
            // 
            // colSTORE09
            // 
            this.colSTORE09.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSTORE09.AppearanceCell.Options.UseFont = true;
            this.colSTORE09.AppearanceCell.Options.UseTextOptions = true;
            this.colSTORE09.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE09.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE09.AppearanceHeader.Options.UseTextOptions = true;
            this.colSTORE09.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE09.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE09.FieldName = "STORE09";
            this.colSTORE09.MaxWidth = 60;
            this.colSTORE09.Name = "colSTORE09";
            this.colSTORE09.OptionsColumn.AllowEdit = false;
            this.colSTORE09.OptionsColumn.ReadOnly = true;
            this.colSTORE09.Width = 55;
            // 
            // colSTORE10
            // 
            this.colSTORE10.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSTORE10.AppearanceCell.Options.UseFont = true;
            this.colSTORE10.AppearanceCell.Options.UseTextOptions = true;
            this.colSTORE10.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE10.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE10.AppearanceHeader.Options.UseTextOptions = true;
            this.colSTORE10.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE10.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE10.FieldName = "STORE10";
            this.colSTORE10.MaxWidth = 60;
            this.colSTORE10.Name = "colSTORE10";
            this.colSTORE10.OptionsColumn.AllowEdit = false;
            this.colSTORE10.OptionsColumn.ReadOnly = true;
            this.colSTORE10.Width = 55;
            // 
            // colSTORE11
            // 
            this.colSTORE11.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSTORE11.AppearanceCell.Options.UseFont = true;
            this.colSTORE11.AppearanceCell.Options.UseTextOptions = true;
            this.colSTORE11.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE11.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE11.AppearanceHeader.Options.UseTextOptions = true;
            this.colSTORE11.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE11.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE11.FieldName = "STORE11";
            this.colSTORE11.MaxWidth = 60;
            this.colSTORE11.Name = "colSTORE11";
            this.colSTORE11.OptionsColumn.AllowEdit = false;
            this.colSTORE11.OptionsColumn.ReadOnly = true;
            this.colSTORE11.Width = 55;
            // 
            // colSTORE12
            // 
            this.colSTORE12.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSTORE12.AppearanceCell.Options.UseFont = true;
            this.colSTORE12.AppearanceCell.Options.UseTextOptions = true;
            this.colSTORE12.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE12.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE12.AppearanceHeader.Options.UseTextOptions = true;
            this.colSTORE12.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE12.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE12.FieldName = "STORE12";
            this.colSTORE12.MaxWidth = 60;
            this.colSTORE12.Name = "colSTORE12";
            this.colSTORE12.OptionsColumn.AllowEdit = false;
            this.colSTORE12.OptionsColumn.ReadOnly = true;
            this.colSTORE12.Width = 55;
            // 
            // colSTORE13
            // 
            this.colSTORE13.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSTORE13.AppearanceCell.Options.UseFont = true;
            this.colSTORE13.AppearanceCell.Options.UseTextOptions = true;
            this.colSTORE13.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE13.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE13.AppearanceHeader.Options.UseTextOptions = true;
            this.colSTORE13.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE13.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE13.FieldName = "STORE13";
            this.colSTORE13.MaxWidth = 60;
            this.colSTORE13.Name = "colSTORE13";
            this.colSTORE13.OptionsColumn.AllowEdit = false;
            this.colSTORE13.OptionsColumn.ReadOnly = true;
            this.colSTORE13.Width = 55;
            // 
            // colSTORE14
            // 
            this.colSTORE14.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSTORE14.AppearanceCell.Options.UseFont = true;
            this.colSTORE14.AppearanceCell.Options.UseTextOptions = true;
            this.colSTORE14.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE14.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE14.AppearanceHeader.Options.UseTextOptions = true;
            this.colSTORE14.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE14.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE14.FieldName = "STORE14";
            this.colSTORE14.MaxWidth = 60;
            this.colSTORE14.Name = "colSTORE14";
            this.colSTORE14.OptionsColumn.AllowEdit = false;
            this.colSTORE14.OptionsColumn.ReadOnly = true;
            this.colSTORE14.Width = 55;
            // 
            // colSTORE15
            // 
            this.colSTORE15.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSTORE15.AppearanceCell.Options.UseFont = true;
            this.colSTORE15.AppearanceCell.Options.UseTextOptions = true;
            this.colSTORE15.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE15.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE15.AppearanceHeader.Options.UseTextOptions = true;
            this.colSTORE15.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE15.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE15.FieldName = "STORE15";
            this.colSTORE15.MaxWidth = 60;
            this.colSTORE15.Name = "colSTORE15";
            this.colSTORE15.OptionsColumn.AllowEdit = false;
            this.colSTORE15.OptionsColumn.ReadOnly = true;
            this.colSTORE15.Width = 55;
            // 
            // colSTORE16
            // 
            this.colSTORE16.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSTORE16.AppearanceCell.Options.UseFont = true;
            this.colSTORE16.AppearanceCell.Options.UseTextOptions = true;
            this.colSTORE16.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE16.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE16.AppearanceHeader.Options.UseTextOptions = true;
            this.colSTORE16.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE16.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE16.FieldName = "STORE16";
            this.colSTORE16.MaxWidth = 60;
            this.colSTORE16.Name = "colSTORE16";
            this.colSTORE16.OptionsColumn.AllowEdit = false;
            this.colSTORE16.OptionsColumn.ReadOnly = true;
            this.colSTORE16.Width = 55;
            // 
            // colSTORE17
            // 
            this.colSTORE17.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSTORE17.AppearanceCell.Options.UseFont = true;
            this.colSTORE17.AppearanceCell.Options.UseTextOptions = true;
            this.colSTORE17.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE17.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE17.AppearanceHeader.Options.UseTextOptions = true;
            this.colSTORE17.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE17.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE17.FieldName = "STORE17";
            this.colSTORE17.MaxWidth = 60;
            this.colSTORE17.Name = "colSTORE17";
            this.colSTORE17.OptionsColumn.AllowEdit = false;
            this.colSTORE17.OptionsColumn.ReadOnly = true;
            this.colSTORE17.Width = 55;
            // 
            // colSTORE18
            // 
            this.colSTORE18.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSTORE18.AppearanceCell.Options.UseFont = true;
            this.colSTORE18.AppearanceCell.Options.UseTextOptions = true;
            this.colSTORE18.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE18.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE18.AppearanceHeader.Options.UseTextOptions = true;
            this.colSTORE18.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE18.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE18.FieldName = "STORE18";
            this.colSTORE18.MaxWidth = 60;
            this.colSTORE18.Name = "colSTORE18";
            this.colSTORE18.OptionsColumn.AllowEdit = false;
            this.colSTORE18.OptionsColumn.ReadOnly = true;
            this.colSTORE18.Width = 55;
            // 
            // colSTORE19
            // 
            this.colSTORE19.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSTORE19.AppearanceCell.Options.UseFont = true;
            this.colSTORE19.AppearanceCell.Options.UseTextOptions = true;
            this.colSTORE19.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE19.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE19.AppearanceHeader.Options.UseTextOptions = true;
            this.colSTORE19.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE19.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE19.FieldName = "STORE19";
            this.colSTORE19.MaxWidth = 60;
            this.colSTORE19.Name = "colSTORE19";
            this.colSTORE19.OptionsColumn.AllowEdit = false;
            this.colSTORE19.OptionsColumn.ReadOnly = true;
            this.colSTORE19.Width = 55;
            // 
            // colSTORE20
            // 
            this.colSTORE20.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSTORE20.AppearanceCell.Options.UseFont = true;
            this.colSTORE20.AppearanceCell.Options.UseTextOptions = true;
            this.colSTORE20.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE20.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE20.AppearanceHeader.Options.UseTextOptions = true;
            this.colSTORE20.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSTORE20.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSTORE20.FieldName = "STORE20";
            this.colSTORE20.MaxWidth = 60;
            this.colSTORE20.Name = "colSTORE20";
            this.colSTORE20.OptionsColumn.AllowEdit = false;
            this.colSTORE20.OptionsColumn.ReadOnly = true;
            this.colSTORE20.Width = 55;
            // 
            // colTOTAL
            // 
            this.colTOTAL.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colTOTAL.AppearanceCell.Options.UseFont = true;
            this.colTOTAL.AppearanceCell.Options.UseTextOptions = true;
            this.colTOTAL.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colTOTAL.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTOTAL.AppearanceHeader.Options.UseTextOptions = true;
            this.colTOTAL.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colTOTAL.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTOTAL.Caption = "Total";
            this.colTOTAL.FieldName = "TOTAL";
            this.colTOTAL.MaxWidth = 50;
            this.colTOTAL.Name = "colTOTAL";
            this.colTOTAL.OptionsColumn.AllowEdit = false;
            this.colTOTAL.OptionsColumn.ReadOnly = true;
            this.colTOTAL.Visible = true;
            this.colTOTAL.VisibleIndex = 6;
            this.colTOTAL.Width = 50;
            // 
            // barManager1
            // 
            this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
            this.bar2,
            this.bar3});
            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.barButtonItem1,
            this.barButtonItem2,
            this.barButtonItem3,
            this.barButtonItem6,
            this.barButtonItem7,
            this.progressBar1,
            this.barButtonItem8,
            this.barButtonItem9,
            this.barButtonItem10,
            this.barButtonItem11,
            this.barButtonItem12});
            this.barManager1.MainMenu = this.bar2;
            this.barManager1.MaxItemId = 16;
            this.barManager1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
            this.repositoryItemTextEdit1,
            this.repositoryItemCheckedComboBoxEdit1,
            this.repositoryItemProgressBar1});
            this.barManager1.StatusBar = this.bar3;
            // 
            // bar2
            // 
            this.bar2.BarName = "Main menu";
            this.bar2.DockCol = 0;
            this.bar2.DockRow = 0;
            this.bar2.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
            this.bar2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem1, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem2, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem10, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem3, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem8, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph)});
            this.bar2.OptionsBar.MultiLine = true;
            this.bar2.OptionsBar.UseWholeRow = true;
            this.bar2.Text = "Main menu";
            // 
            // barButtonItem1
            // 
            this.barButtonItem1.Caption = "Save - Report";
            this.barButtonItem1.Glyph = global::Store.Properties.Resources.Save16;
            this.barButtonItem1.Id = 0;
            this.barButtonItem1.Name = "barButtonItem1";
            this.barButtonItem1.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
            this.barButtonItem1.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem1_ItemClick);
            // 
            // barButtonItem2
            // 
            this.barButtonItem2.Caption = "Print";
            this.barButtonItem2.Glyph = global::Store.Properties.Resources.printer1;
            this.barButtonItem2.Id = 1;
            this.barButtonItem2.Name = "barButtonItem2";
            this.barButtonItem2.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem2_ItemClick);
            // 
            // barButtonItem10
            // 
            this.barButtonItem10.Caption = "Generate P.O";
            this.barButtonItem10.Glyph = global::Store.Properties.Resources.tickwhite;
            this.barButtonItem10.Id = 13;
            this.barButtonItem10.Name = "barButtonItem10";
            this.barButtonItem10.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
            this.barButtonItem10.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem10_ItemClick);
            // 
            // barButtonItem3
            // 
            this.barButtonItem3.Caption = "Show Purchase History - F8";
            this.barButtonItem3.Glyph = global::Store.Properties.Resources.date_magnify;
            this.barButtonItem3.Id = 2;
            this.barButtonItem3.Name = "barButtonItem3";
            this.barButtonItem3.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem3_ItemClick);
            // 
            // barButtonItem8
            // 
            this.barButtonItem8.Caption = "Collapse all";
            this.barButtonItem8.Glyph = global::Store.Properties.Resources.listadd;
            this.barButtonItem8.Id = 11;
            this.barButtonItem8.Name = "barButtonItem8";
            this.barButtonItem8.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem8_ItemClick);
            // 
            // bar3
            // 
            this.bar3.BarName = "Status bar";
            this.bar3.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Bottom;
            this.bar3.DockCol = 0;
            this.bar3.DockRow = 0;
            this.bar3.DockStyle = DevExpress.XtraBars.BarDockStyle.Bottom;
            this.bar3.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem6, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem12, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(this.progressBar1)});
            this.bar3.OptionsBar.AllowQuickCustomization = false;
            this.bar3.OptionsBar.DrawDragBorder = false;
            this.bar3.OptionsBar.UseWholeRow = true;
            this.bar3.Text = "Status bar";
            // 
            // barButtonItem6
            // 
            this.barButtonItem6.Caption = "Save Purchase Request";
            this.barButtonItem6.Glyph = global::Store.Properties.Resources.Save16;
            this.barButtonItem6.Id = 8;
            this.barButtonItem6.Name = "barButtonItem6";
            this.barButtonItem6.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem6_ItemClick);
            // 
            // barButtonItem12
            // 
            this.barButtonItem12.Caption = "Print P.R List";
            this.barButtonItem12.Id = 15;
            this.barButtonItem12.Name = "barButtonItem12";
            this.barButtonItem12.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
            this.barButtonItem12.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem12_ItemClick);
            // 
            // progressBar1
            // 
            this.progressBar1.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right;
            this.progressBar1.Caption = "barEditItem1";
            this.progressBar1.Edit = this.repositoryItemProgressBar1;
            this.progressBar1.Id = 10;
            this.progressBar1.Name = "progressBar1";
            this.progressBar1.Width = 550;
            // 
            // repositoryItemProgressBar1
            // 
            this.repositoryItemProgressBar1.LookAndFeel.SkinName = "Office 2013";
            this.repositoryItemProgressBar1.LookAndFeel.UseDefaultLookAndFeel = false;
            this.repositoryItemProgressBar1.Name = "repositoryItemProgressBar1";
            this.repositoryItemProgressBar1.ProgressViewStyle = DevExpress.XtraEditors.Controls.ProgressViewStyle.Solid;
            // 
            // 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(908, 26);
            // 
            // barDockControlBottom
            // 
            this.barDockControlBottom.CausesValidation = false;
            this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.barDockControlBottom.Location = new System.Drawing.Point(0, 389);
            this.barDockControlBottom.Size = new System.Drawing.Size(908, 27);
            // 
            // barDockControlLeft
            // 
            this.barDockControlLeft.CausesValidation = false;
            this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
            this.barDockControlLeft.Location = new System.Drawing.Point(0, 26);
            this.barDockControlLeft.Size = new System.Drawing.Size(0, 363);
            // 
            // barDockControlRight
            // 
            this.barDockControlRight.CausesValidation = false;
            this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
            this.barDockControlRight.Location = new System.Drawing.Point(908, 26);
            this.barDockControlRight.Size = new System.Drawing.Size(0, 363);
            // 
            // barButtonItem7
            // 
            this.barButtonItem7.Caption = "Generate P.O";
            this.barButtonItem7.Id = 9;
            this.barButtonItem7.Name = "barButtonItem7";
            // 
            // barButtonItem9
            // 
            this.barButtonItem9.Caption = "barButtonItem9";
            this.barButtonItem9.Id = 12;
            this.barButtonItem9.Name = "barButtonItem9";
            // 
            // barButtonItem11
            // 
            this.barButtonItem11.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Left;
            this.barButtonItem11.Caption = "barButtonItem11";
            this.barButtonItem11.Id = 14;
            this.barButtonItem11.Name = "barButtonItem11";
            // 
            // repositoryItemTextEdit1
            // 
            this.repositoryItemTextEdit1.AutoHeight = false;
            this.repositoryItemTextEdit1.Name = "repositoryItemTextEdit1";
            // 
            // repositoryItemCheckedComboBoxEdit1
            // 
            this.repositoryItemCheckedComboBoxEdit1.AutoHeight = false;
            this.repositoryItemCheckedComboBoxEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemCheckedComboBoxEdit1.Name = "repositoryItemCheckedComboBoxEdit1";
            // 
            // panel1
            // 
            this.panel1.BackColor = System.Drawing.Color.Transparent;
            this.panel1.Controls.Add(this.dateTimePicker1);
            this.panel1.Controls.Add(this.labelControl2);
            this.panel1.Controls.Add(this.LookupSupplier);
            this.panel1.Controls.Add(this.comboBoxEdit1);
            this.panel1.Controls.Add(this.lookUpEdit2);
            this.panel1.Controls.Add(this.checkedComboBoxEdit1);
            this.panel1.Controls.Add(this.txtbarcode);
            this.panel1.Controls.Add(this.labelControl1);
            this.panel1.Controls.Add(this.simpleButton4);
            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
            this.panel1.Location = new System.Drawing.Point(0, 26);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(908, 31);
            this.panel1.TabIndex = 12;
            // 
            // dateTimePicker1
            // 
            this.dateTimePicker1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.dateTimePicker1.Cursor = System.Windows.Forms.Cursors.Default;
            this.dateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
            this.dateTimePicker1.Location = new System.Drawing.Point(717, 5);
            this.dateTimePicker1.Name = "dateTimePicker1";
            this.dateTimePicker1.Size = new System.Drawing.Size(95, 21);
            this.dateTimePicker1.TabIndex = 22;
            // 
            // labelControl2
            // 
            this.labelControl2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.labelControl2.Location = new System.Drawing.Point(645, 8);
            this.labelControl2.Name = "labelControl2";
            this.labelControl2.Size = new System.Drawing.Size(67, 13);
            this.labelControl2.TabIndex = 21;
            this.labelControl2.Text = "Last Run Dt. :";
            // 
            // LookupSupplier
            // 
            this.LookupSupplier.Anchor = System.Windows.Forms.AnchorStyles.Left;
            this.LookupSupplier.EnterMoveNextControl = true;
            this.LookupSupplier.Location = new System.Drawing.Point(604, 5);
            this.LookupSupplier.Name = "LookupSupplier";
            this.LookupSupplier.Properties.Appearance.BackColor = System.Drawing.Color.White;
            this.LookupSupplier.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.LookupSupplier.Properties.Appearance.ForeColor = System.Drawing.Color.Black;
            this.LookupSupplier.Properties.Appearance.Options.UseBackColor = true;
            this.LookupSupplier.Properties.Appearance.Options.UseFont = true;
            this.LookupSupplier.Properties.Appearance.Options.UseForeColor = true;
            this.LookupSupplier.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.LookupSupplier.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("SUPPLIERNO", "SUPPLIERNO", 85, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("SUPPLIERNAME", "SUPPLIERNAME", 85, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("DUEDAYS", "DUEDAYS", 56, DevExpress.Utils.FormatType.Numeric, "", false, DevExpress.Utils.HorzAlignment.Far)});
            this.LookupSupplier.Properties.DataSource = this.sUPPLIERBindingSource;
            this.LookupSupplier.Properties.DisplayMember = "SUPPLIERNAME";
            this.LookupSupplier.Properties.NullText = "";
            this.LookupSupplier.Properties.ShowHeader = false;
            this.LookupSupplier.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
            this.LookupSupplier.Properties.ValueMember = "SUPPLIERNO";
            this.LookupSupplier.Size = new System.Drawing.Size(35, 20);
            this.LookupSupplier.TabIndex = 20;
            // 
            // sUPPLIERBindingSource
            // 
            this.sUPPLIERBindingSource.DataMember = "SUPPLIER";
            this.sUPPLIERBindingSource.DataSource = this.dsMaster1;
            // 
            // dsMaster1
            // 
            this.dsMaster1.DataSetName = "DsMaster";
            this.dsMaster1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            // 
            // comboBoxEdit1
            // 
            this.comboBoxEdit1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.comboBoxEdit1.Location = new System.Drawing.Point(211, 5);
            this.comboBoxEdit1.MenuManager = this.barManager1;
            this.comboBoxEdit1.Name = "comboBoxEdit1";
            this.comboBoxEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.comboBoxEdit1.Properties.Items.AddRange(new object[] {
            "Category",
            "Item No",
            "Supplier"});
            this.comboBoxEdit1.Size = new System.Drawing.Size(107, 20);
            this.comboBoxEdit1.TabIndex = 19;
            this.comboBoxEdit1.SelectedIndexChanged += new System.EventHandler(this.comboBoxEdit1_SelectedIndexChanged);
            // 
            // lookUpEdit2
            // 
            this.lookUpEdit2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.lookUpEdit2.Location = new System.Drawing.Point(324, 5);
            this.lookUpEdit2.Name = "lookUpEdit2";
            this.lookUpEdit2.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.lookUpEdit2.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("GROUPID", "GROUPID", 69, DevExpress.Utils.FormatType.Numeric, "", false, DevExpress.Utils.HorzAlignment.Far),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("GROUPNAME", "GROUPNAME", 73, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("ARGROUPNAME", "ARGROUPNAME", 87, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("FIXDISC", "FIXDISC", 50, DevExpress.Utils.FormatType.Numeric, "", false, DevExpress.Utils.HorzAlignment.Far),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("UPD", "UPD", 30, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Near)});
            this.lookUpEdit2.Properties.DataSource = this.iTEMGROUPBindingSource;
            this.lookUpEdit2.Properties.DisplayMember = "GROUPNAME";
            this.lookUpEdit2.Properties.NullText = "";
            this.lookUpEdit2.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
            this.lookUpEdit2.Properties.ValueMember = "GROUPID";
            this.lookUpEdit2.Size = new System.Drawing.Size(250, 20);
            this.lookUpEdit2.TabIndex = 18;
            // 
            // iTEMGROUPBindingSource
            // 
            this.iTEMGROUPBindingSource.DataMember = "ITEMGROUP";
            this.iTEMGROUPBindingSource.DataSource = this.dsMaster1;
            // 
            // checkedComboBoxEdit1
            // 
            this.checkedComboBoxEdit1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkedComboBoxEdit1.EditValue = "";
            this.checkedComboBoxEdit1.Location = new System.Drawing.Point(75, 5);
            this.checkedComboBoxEdit1.MenuManager = this.barManager1;
            this.checkedComboBoxEdit1.Name = "checkedComboBoxEdit1";
            this.checkedComboBoxEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.checkedComboBoxEdit1.Properties.DataSource = this.sTOREMASTDBBindingSource;
            this.checkedComboBoxEdit1.Properties.DisplayMember = "STORENAME";
            this.checkedComboBoxEdit1.Properties.ValueMember = "DBNAME";
            this.checkedComboBoxEdit1.Size = new System.Drawing.Size(118, 20);
            this.checkedComboBoxEdit1.TabIndex = 17;
            this.checkedComboBoxEdit1.EditValueChanged += new System.EventHandler(this.checkedComboBoxEdit1_EditValueChanged);
            // 
            // sTOREMASTDBBindingSource
            // 
            this.sTOREMASTDBBindingSource.DataMember = "STOREMASTDB";
            this.sTOREMASTDBBindingSource.DataSource = typeof(VIRETAILENTITIES.DsReports);
            // 
            // txtbarcode
            // 
            this.txtbarcode.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.txtbarcode.Location = new System.Drawing.Point(580, 5);
            this.txtbarcode.MenuManager = this.barManager1;
            this.txtbarcode.Name = "txtbarcode";
            this.txtbarcode.Size = new System.Drawing.Size(18, 20);
            this.txtbarcode.TabIndex = 16;
            this.txtbarcode.Visible = false;
            this.txtbarcode.EditValueChanged += new System.EventHandler(this.textEdit1_EditValueChanged);
            // 
            // labelControl1
            // 
            this.labelControl1.Location = new System.Drawing.Point(7, 8);
            this.labelControl1.Name = "labelControl1";
            this.labelControl1.Size = new System.Drawing.Size(62, 13);
            this.labelControl1.TabIndex = 12;
            this.labelControl1.Text = "Store name :";
            // 
            // simpleButton4
            // 
            this.simpleButton4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.simpleButton4.Image = global::Store.Properties.Resources.run;
            this.simpleButton4.Location = new System.Drawing.Point(818, 4);
            this.simpleButton4.Name = "simpleButton4";
            this.simpleButton4.Size = new System.Drawing.Size(83, 23);
            this.simpleButton4.TabIndex = 8;
            this.simpleButton4.Text = "Create";
            this.simpleButton4.Click += new System.EventHandler(this.simpleButton4_Click);
            // 
            // panel2
            // 
            this.panel2.Controls.Add(this.gridControl2);
            this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.panel2.Location = new System.Drawing.Point(0, 283);
            this.panel2.Name = "panel2";
            this.panel2.Size = new System.Drawing.Size(908, 106);
            this.panel2.TabIndex = 27;
            // 
            // gridControl2
            // 
            this.gridControl2.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.gridControl2.DataSource = this.pURCHASEREQUESTBindingSource;
            this.gridControl2.Location = new System.Drawing.Point(3, 6);
            this.gridControl2.MainView = this.gridView2;
            this.gridControl2.Name = "gridControl2";
            this.gridControl2.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
            this.repositoryItemLookUpEdit1,
            this.repositoryItemLookUpEdit2,
            this.repositoryItemLookUpEdit3});
            this.gridControl2.Size = new System.Drawing.Size(908, 100);
            this.gridControl2.TabIndex = 5;
            this.gridControl2.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gridView2});
            // 
            // pURCHASEREQUESTBindingSource
            // 
            this.pURCHASEREQUESTBindingSource.DataMember = "PURCHASEREQUEST";
            this.pURCHASEREQUESTBindingSource.DataSource = this.dsPurchase1;
            // 
            // dsPurchase1
            // 
            this.dsPurchase1.DataSetName = "DsPurchase";
            this.dsPurchase1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            // 
            // gridView2
            // 
            this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.colPRNO,
            this.colCOMPANY,
            this.colSUPPLIERNO,
            this.colITEMNO1,
            this.colQTY,
            this.colREQDATE,
            this.colUSERID,
            this.colINORDER});
            this.gridView2.GridControl = this.gridControl2;
            this.gridView2.Name = "gridView2";
            this.gridView2.OptionsView.ShowGroupPanel = false;
            this.gridView2.RowHeight = 24;
            // 
            // colPRNO
            // 
            this.colPRNO.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colPRNO.AppearanceCell.Options.UseFont = true;
            this.colPRNO.AppearanceCell.Options.UseTextOptions = true;
            this.colPRNO.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colPRNO.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colPRNO.AppearanceHeader.Options.UseFont = true;
            this.colPRNO.AppearanceHeader.Options.UseTextOptions = true;
            this.colPRNO.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colPRNO.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colPRNO.Caption = "P.R No.";
            this.colPRNO.FieldName = "PRNO";
            this.colPRNO.MaxWidth = 80;
            this.colPRNO.Name = "colPRNO";
            this.colPRNO.Visible = true;
            this.colPRNO.VisibleIndex = 0;
            this.colPRNO.Width = 80;
            // 
            // colCOMPANY
            // 
            this.colCOMPANY.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colCOMPANY.AppearanceCell.Options.UseFont = true;
            this.colCOMPANY.AppearanceCell.Options.UseTextOptions = true;
            this.colCOMPANY.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colCOMPANY.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colCOMPANY.AppearanceHeader.Options.UseFont = true;
            this.colCOMPANY.AppearanceHeader.Options.UseTextOptions = true;
            this.colCOMPANY.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colCOMPANY.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colCOMPANY.FieldName = "COMPANY";
            this.colCOMPANY.Name = "colCOMPANY";
            // 
            // colSUPPLIERNO
            // 
            this.colSUPPLIERNO.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSUPPLIERNO.AppearanceCell.Options.UseFont = true;
            this.colSUPPLIERNO.AppearanceCell.Options.UseTextOptions = true;
            this.colSUPPLIERNO.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSUPPLIERNO.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSUPPLIERNO.AppearanceHeader.Options.UseFont = true;
            this.colSUPPLIERNO.AppearanceHeader.Options.UseTextOptions = true;
            this.colSUPPLIERNO.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSUPPLIERNO.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSUPPLIERNO.Caption = "Supplier name";
            this.colSUPPLIERNO.ColumnEdit = this.repositoryItemLookUpEdit2;
            this.colSUPPLIERNO.FieldName = "SUPPLIERNO";
            this.colSUPPLIERNO.Name = "colSUPPLIERNO";
            this.colSUPPLIERNO.Visible = true;
            this.colSUPPLIERNO.VisibleIndex = 1;
            this.colSUPPLIERNO.Width = 280;
            // 
            // 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.DataSource = this.sUPPLIERBindingSource;
            this.repositoryItemLookUpEdit2.DisplayMember = "SUPPLIERNAME";
            this.repositoryItemLookUpEdit2.Name = "repositoryItemLookUpEdit2";
            this.repositoryItemLookUpEdit2.NullText = "";
            this.repositoryItemLookUpEdit2.ValueMember = "SUPPLIERNO";
            // 
            // colITEMNO1
            // 
            this.colITEMNO1.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colITEMNO1.AppearanceCell.Options.UseFont = true;
            this.colITEMNO1.AppearanceCell.Options.UseTextOptions = true;
            this.colITEMNO1.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colITEMNO1.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colITEMNO1.AppearanceHeader.Options.UseFont = true;
            this.colITEMNO1.AppearanceHeader.Options.UseTextOptions = true;
            this.colITEMNO1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colITEMNO1.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colITEMNO1.Caption = "Item no";
            this.colITEMNO1.ColumnEdit = this.repositoryItemLookUpEdit3;
            this.colITEMNO1.FieldName = "ITEMNO";
            this.colITEMNO1.Name = "colITEMNO1";
            this.colITEMNO1.Visible = true;
            this.colITEMNO1.VisibleIndex = 2;
            this.colITEMNO1.Width = 360;
            // 
            // repositoryItemLookUpEdit3
            // 
            this.repositoryItemLookUpEdit3.AutoHeight = false;
            this.repositoryItemLookUpEdit3.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemLookUpEdit3.DataSource = this.iTEMMASTBindingSource;
            this.repositoryItemLookUpEdit3.DisplayMember = "ITEMNAME";
            this.repositoryItemLookUpEdit3.Name = "repositoryItemLookUpEdit3";
            this.repositoryItemLookUpEdit3.NullText = "";
            this.repositoryItemLookUpEdit3.ValueMember = "ITEMNO";
            // 
            // iTEMMASTBindingSource
            // 
            this.iTEMMASTBindingSource.DataMember = "ITEMMAST";
            this.iTEMMASTBindingSource.DataSource = this.dsMaster1;
            // 
            // colQTY
            // 
            this.colQTY.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colQTY.AppearanceCell.Options.UseFont = true;
            this.colQTY.AppearanceCell.Options.UseTextOptions = true;
            this.colQTY.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colQTY.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colQTY.AppearanceHeader.Options.UseFont = true;
            this.colQTY.AppearanceHeader.Options.UseTextOptions = true;
            this.colQTY.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colQTY.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colQTY.Caption = "Req.Qty";
            this.colQTY.FieldName = "QTY";
            this.colQTY.MaxWidth = 80;
            this.colQTY.Name = "colQTY";
            this.colQTY.Visible = true;
            this.colQTY.VisibleIndex = 3;
            this.colQTY.Width = 80;
            // 
            // colREQDATE
            // 
            this.colREQDATE.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colREQDATE.AppearanceCell.Options.UseFont = true;
            this.colREQDATE.AppearanceCell.Options.UseTextOptions = true;
            this.colREQDATE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colREQDATE.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colREQDATE.AppearanceHeader.Options.UseFont = true;
            this.colREQDATE.AppearanceHeader.Options.UseTextOptions = true;
            this.colREQDATE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colREQDATE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colREQDATE.Caption = "Req. Date";
            this.colREQDATE.FieldName = "REQDATE";
            this.colREQDATE.MaxWidth = 90;
            this.colREQDATE.Name = "colREQDATE";
            this.colREQDATE.Visible = true;
            this.colREQDATE.VisibleIndex = 4;
            this.colREQDATE.Width = 90;
            // 
            // colUSERID
            // 
            this.colUSERID.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colUSERID.AppearanceCell.Options.UseFont = true;
            this.colUSERID.AppearanceCell.Options.UseTextOptions = true;
            this.colUSERID.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colUSERID.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colUSERID.AppearanceHeader.Options.UseFont = true;
            this.colUSERID.AppearanceHeader.Options.UseTextOptions = true;
            this.colUSERID.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colUSERID.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colUSERID.FieldName = "USERID";
            this.colUSERID.Name = "colUSERID";
            // 
            // colINORDER
            // 
            this.colINORDER.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colINORDER.AppearanceCell.Options.UseFont = true;
            this.colINORDER.AppearanceCell.Options.UseTextOptions = true;
            this.colINORDER.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colINORDER.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colINORDER.AppearanceHeader.Options.UseFont = true;
            this.colINORDER.AppearanceHeader.Options.UseTextOptions = true;
            this.colINORDER.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colINORDER.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colINORDER.FieldName = "INORDER";
            this.colINORDER.Name = "colINORDER";
            // 
            // 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.DisplayMember = "ITEMNAME";
            this.repositoryItemLookUpEdit1.Name = "repositoryItemLookUpEdit1";
            this.repositoryItemLookUpEdit1.ValueMember = "ITEMNO";
            // 
            // gridControl1
            // 
            this.gridControl1.Cursor = System.Windows.Forms.Cursors.Default;
            this.gridControl1.DataSource = this.cONSOLIDATEINVENTORYBindingSource;
            this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gridControl1.Location = new System.Drawing.Point(0, 57);
            this.gridControl1.MainView = this.gridView1;
            this.gridControl1.MenuManager = this.barManager1;
            this.gridControl1.Name = "gridControl1";
            this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
            this.repositoryItemCheckEdit1});
            this.gridControl1.Size = new System.Drawing.Size(908, 226);
            this.gridControl1.TabIndex = 29;
            this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gridView1});
            // 
            // cONSOLIDATEINVENTORYBindingSource
            // 
            this.cONSOLIDATEINVENTORYBindingSource.DataMember = "CONSOLIDATEINVENTORY";
            this.cONSOLIDATEINVENTORYBindingSource.DataSource = typeof(VIRETAILENTITIES.DsReports);
            // 
            // gridView1
            // 
            this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.colTID,
            this.colRUNDATE,
            this.colItemCategory,
            this.colSuppliername,
            this.colPRGEN,
            this.colItemname,
            this.colItemno,
            this.colbarcode,
            this.colTOTAL,
            this.colPURQTY,
            this.colSTORE01,
            this.colSTORE02,
            this.colSTORE03,
            this.colSTORE04,
            this.colSTORE05,
            this.colSTORE06,
            this.colSTORE07,
            this.colSTORE08,
            this.colSTORE09,
            this.colSTORE10,
            this.colSTORE11,
            this.colSTORE12,
            this.colSTORE13,
            this.colSTORE14,
            this.colSTORE15,
            this.colSTORE16,
            this.colSTORE17,
            this.colSTORE18,
            this.colSTORE19,
            this.colSTORE20});
            styleFormatCondition1.Appearance.ForeColor = System.Drawing.Color.Red;
            styleFormatCondition1.Appearance.Options.UseForeColor = true;
            styleFormatCondition1.Column = this.colSTORE01;
            styleFormatCondition1.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
            styleFormatCondition1.Value1 = 0;
            styleFormatCondition2.Appearance.ForeColor = System.Drawing.Color.Red;
            styleFormatCondition2.Appearance.Options.UseForeColor = true;
            styleFormatCondition2.Column = this.colSTORE02;
            styleFormatCondition2.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
            styleFormatCondition2.Value1 = 0;
            styleFormatCondition3.Appearance.ForeColor = System.Drawing.Color.Red;
            styleFormatCondition3.Appearance.Options.UseForeColor = true;
            styleFormatCondition3.Column = this.colSTORE03;
            styleFormatCondition3.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
            styleFormatCondition3.Value1 = 0;
            styleFormatCondition4.Appearance.ForeColor = System.Drawing.Color.Red;
            styleFormatCondition4.Appearance.Options.UseForeColor = true;
            styleFormatCondition4.Column = this.colSTORE04;
            styleFormatCondition4.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
            styleFormatCondition4.Value1 = 0;
            styleFormatCondition5.Appearance.ForeColor = System.Drawing.Color.Red;
            styleFormatCondition5.Appearance.Options.UseForeColor = true;
            styleFormatCondition5.Column = this.colSTORE05;
            styleFormatCondition5.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
            styleFormatCondition5.Value1 = 0;
            styleFormatCondition6.Appearance.ForeColor = System.Drawing.Color.Red;
            styleFormatCondition6.Appearance.Options.UseForeColor = true;
            styleFormatCondition6.Column = this.colSTORE06;
            styleFormatCondition6.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
            styleFormatCondition6.Value1 = 0;
            styleFormatCondition7.Appearance.ForeColor = System.Drawing.Color.Red;
            styleFormatCondition7.Appearance.Options.UseForeColor = true;
            styleFormatCondition7.Column = this.colSTORE07;
            styleFormatCondition7.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
            styleFormatCondition7.Value1 = 0;
            styleFormatCondition8.Appearance.ForeColor = System.Drawing.Color.Red;
            styleFormatCondition8.Appearance.Options.UseForeColor = true;
            styleFormatCondition8.Column = this.colSTORE08;
            styleFormatCondition8.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
            styleFormatCondition8.Value1 = 0;
            styleFormatCondition9.Appearance.ForeColor = System.Drawing.Color.Red;
            styleFormatCondition9.Appearance.Options.UseForeColor = true;
            styleFormatCondition9.Column = this.colSTORE09;
            styleFormatCondition9.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
            styleFormatCondition9.Value1 = 0;
            styleFormatCondition10.Appearance.ForeColor = System.Drawing.Color.Red;
            styleFormatCondition10.Appearance.Options.UseForeColor = true;
            styleFormatCondition10.Column = this.colSTORE10;
            styleFormatCondition10.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
            styleFormatCondition10.Value1 = 0;
            styleFormatCondition11.Appearance.ForeColor = System.Drawing.Color.Red;
            styleFormatCondition11.Appearance.Options.UseForeColor = true;
            styleFormatCondition11.Column = this.colSTORE11;
            styleFormatCondition11.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
            styleFormatCondition11.Value1 = 0;
            styleFormatCondition12.Appearance.ForeColor = System.Drawing.Color.Red;
            styleFormatCondition12.Appearance.Options.UseForeColor = true;
            styleFormatCondition12.Column = this.colSTORE12;
            styleFormatCondition12.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
            styleFormatCondition12.Value1 = 0;
            styleFormatCondition13.Appearance.ForeColor = System.Drawing.Color.Red;
            styleFormatCondition13.Appearance.Options.UseForeColor = true;
            styleFormatCondition13.Column = this.colSTORE13;
            styleFormatCondition13.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
            styleFormatCondition13.Value1 = 0;
            styleFormatCondition14.Appearance.ForeColor = System.Drawing.Color.Red;
            styleFormatCondition14.Appearance.Options.UseForeColor = true;
            styleFormatCondition14.Column = this.colSTORE14;
            styleFormatCondition14.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
            styleFormatCondition14.Value1 = 0;
            styleFormatCondition15.Appearance.ForeColor = System.Drawing.Color.Red;
            styleFormatCondition15.Appearance.Options.UseForeColor = true;
            styleFormatCondition15.Column = this.colSTORE15;
            styleFormatCondition15.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
            styleFormatCondition15.Value1 = 0;
            styleFormatCondition16.Appearance.ForeColor = System.Drawing.Color.Red;
            styleFormatCondition16.Appearance.Options.UseForeColor = true;
            styleFormatCondition16.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
            styleFormatCondition16.Value1 = 0;
            styleFormatCondition17.Appearance.ForeColor = System.Drawing.Color.Red;
            styleFormatCondition17.Appearance.Options.UseForeColor = true;
            styleFormatCondition17.Column = this.colSTORE16;
            styleFormatCondition17.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
            styleFormatCondition17.Value1 = 0;
            styleFormatCondition18.Appearance.ForeColor = System.Drawing.Color.Red;
            styleFormatCondition18.Appearance.Options.UseForeColor = true;
            styleFormatCondition18.Column = this.colSTORE17;
            styleFormatCondition18.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
            styleFormatCondition18.Value1 = 0;
            styleFormatCondition19.Appearance.ForeColor = System.Drawing.Color.Red;
            styleFormatCondition19.Appearance.Options.UseForeColor = true;
            styleFormatCondition19.Column = this.colSTORE18;
            styleFormatCondition19.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
            styleFormatCondition19.Value1 = 0;
            styleFormatCondition20.Appearance.ForeColor = System.Drawing.Color.Red;
            styleFormatCondition20.Appearance.Options.UseForeColor = true;
            styleFormatCondition20.Column = this.colSTORE19;
            styleFormatCondition20.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
            styleFormatCondition20.Value1 = 0;
            styleFormatCondition21.Appearance.ForeColor = System.Drawing.Color.Red;
            styleFormatCondition21.Appearance.Options.UseForeColor = true;
            styleFormatCondition21.Column = this.colSTORE20;
            styleFormatCondition21.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
            styleFormatCondition21.Value1 = 0;
            styleFormatCondition22.Appearance.ForeColor = System.Drawing.Color.Red;
            styleFormatCondition22.Appearance.Options.UseForeColor = true;
            styleFormatCondition22.ApplyToRow = true;
            styleFormatCondition22.Column = this.colTOTAL;
            styleFormatCondition22.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
            styleFormatCondition22.Value1 = 0;
            this.gridView1.FormatConditions.AddRange(new DevExpress.XtraGrid.StyleFormatCondition[] {
            styleFormatCondition1,
            styleFormatCondition2,
            styleFormatCondition3,
            styleFormatCondition4,
            styleFormatCondition5,
            styleFormatCondition6,
            styleFormatCondition7,
            styleFormatCondition8,
            styleFormatCondition9,
            styleFormatCondition10,
            styleFormatCondition11,
            styleFormatCondition12,
            styleFormatCondition13,
            styleFormatCondition14,
            styleFormatCondition15,
            styleFormatCondition16,
            styleFormatCondition17,
            styleFormatCondition18,
            styleFormatCondition19,
            styleFormatCondition20,
            styleFormatCondition21,
            styleFormatCondition22});
            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.OptionsBehavior.AutoExpandAllGroups = true;
            this.gridView1.OptionsView.ShowAutoFilterRow = true;
            this.gridView1.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
            new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.colItemname, DevExpress.Data.ColumnSortOrder.Ascending)});
            // 
            // colTID
            // 
            this.colTID.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colTID.AppearanceCell.Options.UseFont = true;
            this.colTID.AppearanceCell.Options.UseTextOptions = true;
            this.colTID.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTID.AppearanceHeader.Options.UseTextOptions = true;
            this.colTID.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colTID.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colTID.FieldName = "TID";
            this.colTID.Name = "colTID";
            this.colTID.OptionsColumn.ReadOnly = true;
            // 
            // colRUNDATE
            // 
            this.colRUNDATE.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colRUNDATE.AppearanceCell.Options.UseFont = true;
            this.colRUNDATE.AppearanceCell.Options.UseTextOptions = true;
            this.colRUNDATE.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colRUNDATE.AppearanceHeader.Options.UseTextOptions = true;
            this.colRUNDATE.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colRUNDATE.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colRUNDATE.FieldName = "RUNDATE";
            this.colRUNDATE.Name = "colRUNDATE";
            // 
            // colItemCategory
            // 
            this.colItemCategory.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colItemCategory.AppearanceCell.Options.UseFont = true;
            this.colItemCategory.AppearanceCell.Options.UseTextOptions = true;
            this.colItemCategory.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colItemCategory.AppearanceHeader.Options.UseTextOptions = true;
            this.colItemCategory.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colItemCategory.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colItemCategory.FieldName = "ItemCategory";
            this.colItemCategory.Name = "colItemCategory";
            this.colItemCategory.OptionsColumn.AllowEdit = false;
            this.colItemCategory.OptionsColumn.ReadOnly = true;
            this.colItemCategory.Visible = true;
            this.colItemCategory.VisibleIndex = 1;
            // 
            // colSuppliername
            // 
            this.colSuppliername.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colSuppliername.AppearanceCell.Options.UseFont = true;
            this.colSuppliername.AppearanceCell.Options.UseTextOptions = true;
            this.colSuppliername.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSuppliername.AppearanceHeader.Options.UseTextOptions = true;
            this.colSuppliername.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colSuppliername.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colSuppliername.FieldName = "Suppliername";
            this.colSuppliername.Name = "colSuppliername";
            this.colSuppliername.OptionsColumn.AllowEdit = false;
            this.colSuppliername.OptionsColumn.ReadOnly = true;
            this.colSuppliername.Visible = true;
            this.colSuppliername.VisibleIndex = 0;
            // 
            // colPRGEN
            // 
            this.colPRGEN.Caption = "In. P.R";
            this.colPRGEN.ColumnEdit = this.repositoryItemCheckEdit1;
            this.colPRGEN.FieldName = "PRGEN";
            this.colPRGEN.MaxWidth = 25;
            this.colPRGEN.Name = "colPRGEN";
            this.colPRGEN.Visible = true;
            this.colPRGEN.VisibleIndex = 2;
            this.colPRGEN.Width = 25;
            // 
            // repositoryItemCheckEdit1
            // 
            this.repositoryItemCheckEdit1.AutoHeight = false;
            this.repositoryItemCheckEdit1.Name = "repositoryItemCheckEdit1";
            this.repositoryItemCheckEdit1.NullStyle = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked;
            this.repositoryItemCheckEdit1.EditValueChanged += new System.EventHandler(this.repositoryItemCheckEdit1_EditValueChanged);
            // 
            // colItemname
            // 
            this.colItemname.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colItemname.AppearanceCell.Options.UseFont = true;
            this.colItemname.AppearanceCell.Options.UseTextOptions = true;
            this.colItemname.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colItemname.AppearanceHeader.Options.UseTextOptions = true;
            this.colItemname.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colItemname.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colItemname.Caption = "Item Name";
            this.colItemname.FieldName = "Itemname";
            this.colItemname.MaxWidth = 350;
            this.colItemname.Name = "colItemname";
            this.colItemname.OptionsColumn.AllowEdit = false;
            this.colItemname.OptionsColumn.ReadOnly = true;
            this.colItemname.Visible = true;
            this.colItemname.VisibleIndex = 3;
            this.colItemname.Width = 350;
            // 
            // colItemno
            // 
            this.colItemno.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colItemno.AppearanceCell.Options.UseFont = true;
            this.colItemno.AppearanceCell.Options.UseTextOptions = true;
            this.colItemno.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colItemno.AppearanceHeader.Options.UseTextOptions = true;
            this.colItemno.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colItemno.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colItemno.Caption = "Item No.";
            this.colItemno.FieldName = "Itemno";
            this.colItemno.MaxWidth = 150;
            this.colItemno.Name = "colItemno";
            this.colItemno.OptionsColumn.AllowEdit = false;
            this.colItemno.OptionsColumn.ReadOnly = true;
            this.colItemno.Visible = true;
            this.colItemno.VisibleIndex = 4;
            this.colItemno.Width = 150;
            // 
            // colbarcode
            // 
            this.colbarcode.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colbarcode.AppearanceCell.Options.UseFont = true;
            this.colbarcode.AppearanceCell.Options.UseTextOptions = true;
            this.colbarcode.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colbarcode.AppearanceHeader.Options.UseTextOptions = true;
            this.colbarcode.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colbarcode.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colbarcode.Caption = "Barcode";
            this.colbarcode.FieldName = "barcode";
            this.colbarcode.MaxWidth = 150;
            this.colbarcode.Name = "colbarcode";
            this.colbarcode.OptionsColumn.AllowEdit = false;
            this.colbarcode.OptionsColumn.ReadOnly = true;
            this.colbarcode.Visible = true;
            this.colbarcode.VisibleIndex = 5;
            this.colbarcode.Width = 150;
            // 
            // colPURQTY
            // 
            this.colPURQTY.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colPURQTY.AppearanceCell.Options.UseFont = true;
            this.colPURQTY.AppearanceCell.Options.UseTextOptions = true;
            this.colPURQTY.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colPURQTY.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colPURQTY.AppearanceHeader.Options.UseTextOptions = true;
            this.colPURQTY.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colPURQTY.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
            this.colPURQTY.Caption = "P.R Qty";
            this.colPURQTY.FieldName = "PURQTY";
            this.colPURQTY.MaxWidth = 50;
            this.colPURQTY.Name = "colPURQTY";
            this.colPURQTY.Visible = true;
            this.colPURQTY.VisibleIndex = 7;
            this.colPURQTY.Width = 50;
            // 
            // ConsolidatedInventory
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(908, 416);
            this.Controls.Add(this.gridControl1);
            this.Controls.Add(this.panel2);
            this.Controls.Add(this.panel1);
            this.Controls.Add(this.barDockControlLeft);
            this.Controls.Add(this.barDockControlRight);
            this.Controls.Add(this.barDockControlBottom);
            this.Controls.Add(this.barDockControlTop);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.KeyPreview = true;
            this.Name = "ConsolidatedInventory";
            this.Text = "Consolidated Inventory";
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ConsolidatedInventory_FormClosing);
            this.Load += new System.EventHandler(this.ConsolidatedInventory_Load);
            this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ConsolidatedInventory_KeyDown);
            this.Resize += new System.EventHandler(this.ConsolidatedInventory_Resize);
            ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemProgressBar1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckedComboBoxEdit1)).EndInit();
            this.panel1.ResumeLayout(false);
            this.panel1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.LookupSupplier.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.sUPPLIERBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dsMaster1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit1.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.lookUpEdit2.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.iTEMGROUPBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkedComboBoxEdit1.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.sTOREMASTDBBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtbarcode.Properties)).EndInit();
            this.panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gridControl2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pURCHASEREQUESTBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dsPurchase1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.iTEMMASTBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cONSOLIDATEINVENTORYBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).EndInit();
            this.ResumeLayout(false);

        }
Example #33
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     DevExpress.XtraGrid.StyleFormatCondition       styleFormatCondition3 = new DevExpress.XtraGrid.StyleFormatCondition();
     System.ComponentModel.ComponentResourceManager resources             = new System.ComponentModel.ComponentResourceManager(typeof(FrmReaderInfo));
     DevExpress.XtraGrid.StyleFormatCondition       styleFormatCondition1 = new DevExpress.XtraGrid.StyleFormatCondition();
     this.gridControl1             = new DevExpress.XtraGrid.GridControl();
     this.dataSet_0                = new System.Data.DataSet();
     this.dataTable_0              = new System.Data.DataTable();
     this.dataColumn_0             = new System.Data.DataColumn();
     this.dataColumn_1             = new System.Data.DataColumn();
     this.dataColumn_2             = new System.Data.DataColumn();
     this.dataColumn_3             = new System.Data.DataColumn();
     this.dataTable_1              = new System.Data.DataTable();
     this.dataColumn_4             = new System.Data.DataColumn();
     this.dataColumn_5             = new System.Data.DataColumn();
     this.dataColumn_6             = new System.Data.DataColumn();
     this.dataColumn_7             = new System.Data.DataColumn();
     this.dataColumn_8             = new System.Data.DataColumn();
     this.kCnalMegv                = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.coltrans_num             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colgoods_id              = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colfull_name             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.coldue_date              = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemImageEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemImageEdit();
     this.btn_Exit                 = new DevExpress.XtraEditors.SimpleButton();
     this.btn_History              = new DevExpress.XtraEditors.SimpleButton();
     this.printingSystem_0         = new DevExpress.XtraPrinting.PrintingSystem(this.components);
     this.printableComponentLink_0 = new DevExpress.XtraPrinting.PrintableComponentLink(this.components);
     this.pictureEdit1             = new DevExpress.XtraEditors.PictureEdit();
     this.lblDueDate               = new DevExpress.XtraEditors.LabelControl();
     this.labelControl8            = new DevExpress.XtraEditors.LabelControl();
     this.lblOpenDate              = new DevExpress.XtraEditors.LabelControl();
     this.labelControl6            = new DevExpress.XtraEditors.LabelControl();
     this.labelControl4            = new DevExpress.XtraEditors.LabelControl();
     this.btnEdit                  = new DevExpress.XtraEditors.SimpleButton();
     this.lblPhone                 = new DevExpress.XtraEditors.LabelControl();
     this.lblEmail                 = new DevExpress.XtraEditors.LabelControl();
     this.lblFullName              = new DevExpress.XtraEditors.LabelControl();
     this.lblAddress               = new DevExpress.XtraEditors.LabelControl();
     this.LabelControl2            = new DevExpress.XtraEditors.LabelControl();
     this.LabelControl3            = new DevExpress.XtraEditors.LabelControl();
     this.LabelControl1            = new DevExpress.XtraEditors.LabelControl();
     this.LabelControl15           = new DevExpress.XtraEditors.LabelControl();
     this.txtCsId                  = new DevExpress.XtraEditors.TextEdit();
     this.gridControl2             = new DevExpress.XtraGrid.GridControl();
     this.gridView2                = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.coltrans_num1            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.coltran_date             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.coltran_time             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.coltrans_code            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colremark                = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemImageEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemImageEdit();
     this.labelControl5            = new DevExpress.XtraEditors.LabelControl();
     this.labelControl7            = new DevExpress.XtraEditors.LabelControl();
     this.btnView                  = new DevExpress.XtraEditors.SimpleButton();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataSet_0)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataTable_0)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataTable_1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.kCnalMegv)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.printingSystem_0)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.printableComponentLink_0.ImageCollection)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtCsId.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageEdit2)).BeginInit();
     this.SuspendLayout();
     //
     // gridControl1
     //
     this.gridControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.gridControl1.DataMember = "booklst";
     this.gridControl1.DataSource = this.dataSet_0;
     this.gridControl1.Location   = new System.Drawing.Point(26, 151);
     this.gridControl1.MainView   = this.kCnalMegv;
     this.gridControl1.Name       = "gridControl1";
     this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
         this.repositoryItemImageEdit1
     });
     this.gridControl1.Size     = new System.Drawing.Size(615, 133);
     this.gridControl1.TabIndex = 0;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.kCnalMegv
     });
     //
     // dataSet_0
     //
     this.dataSet_0.DataSetName = "NewDataSet";
     this.dataSet_0.Tables.AddRange(new System.Data.DataTable[] {
         this.dataTable_0,
         this.dataTable_1
     });
     //
     // dataTable_0
     //
     this.dataTable_0.Columns.AddRange(new System.Data.DataColumn[] {
         this.dataColumn_0,
         this.dataColumn_1,
         this.dataColumn_2,
         this.dataColumn_3
     });
     this.dataTable_0.TableName = "booklst";
     //
     // dataColumn_0
     //
     this.dataColumn_0.ColumnName = "trans_num";
     //
     // dataColumn_1
     //
     this.dataColumn_1.ColumnName = "goods_id";
     //
     // dataColumn_2
     //
     this.dataColumn_2.ColumnName = "full_name";
     //
     // dataColumn_3
     //
     this.dataColumn_3.ColumnName = "due_date";
     this.dataColumn_3.DataType   = typeof(System.DateTime);
     //
     // dataTable_1
     //
     this.dataTable_1.Columns.AddRange(new System.Data.DataColumn[] {
         this.dataColumn_4,
         this.dataColumn_5,
         this.dataColumn_6,
         this.dataColumn_7,
         this.dataColumn_8
     });
     this.dataTable_1.TableName = "histrans";
     //
     // dataColumn_4
     //
     this.dataColumn_4.ColumnName = "trans_num";
     //
     // dataColumn_5
     //
     this.dataColumn_5.ColumnName = "tran_date";
     this.dataColumn_5.DataType   = typeof(System.DateTime);
     //
     // dataColumn_6
     //
     this.dataColumn_6.ColumnName = "tran_time";
     //
     // dataColumn_7
     //
     this.dataColumn_7.ColumnName = "trans_code";
     //
     // dataColumn_8
     //
     this.dataColumn_8.ColumnName = "remark";
     //
     // kCnalMegv
     //
     this.kCnalMegv.Appearance.FooterPanel.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kCnalMegv.Appearance.FooterPanel.Options.UseFont = true;
     this.kCnalMegv.Appearance.GroupFooter.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kCnalMegv.Appearance.GroupFooter.Options.UseFont = true;
     this.kCnalMegv.Appearance.HeaderPanel.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kCnalMegv.Appearance.HeaderPanel.Options.UseFont = true;
     this.kCnalMegv.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.coltrans_num,
         this.colgoods_id,
         this.colfull_name,
         this.coldue_date
     });
     styleFormatCondition3.Appearance.Font                 = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Strikeout, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     styleFormatCondition3.Appearance.ForeColor            = System.Drawing.SystemColors.ControlDark;
     styleFormatCondition3.Appearance.Options.UseFont      = true;
     styleFormatCondition3.Appearance.Options.UseForeColor = true;
     styleFormatCondition3.ApplyToRow = true;
     styleFormatCondition3.Condition  = DevExpress.XtraGrid.FormatConditionEnum.Equal;
     styleFormatCondition3.Value1     = false;
     this.kCnalMegv.FormatConditions.AddRange(new DevExpress.XtraGrid.StyleFormatCondition[] {
         styleFormatCondition3
     });
     this.kCnalMegv.GridControl = this.gridControl1;
     this.kCnalMegv.Name        = "kCnalMegv";
     this.kCnalMegv.OptionsView.ShowAutoFilterRow = true;
     this.kCnalMegv.OptionsView.ShowFooter        = true;
     this.kCnalMegv.OptionsView.ShowGroupPanel    = false;
     //
     // coltrans_num
     //
     this.coltrans_num.Caption   = "Số phiếu";
     this.coltrans_num.FieldName = "trans_num";
     this.coltrans_num.Name      = "coltrans_num";
     this.coltrans_num.SummaryItem.DisplayFormat = "Tổng : {0:n0}";
     this.coltrans_num.SummaryItem.SummaryType   = DevExpress.Data.SummaryItemType.Count;
     this.coltrans_num.Visible      = true;
     this.coltrans_num.VisibleIndex = 0;
     //
     // colgoods_id
     //
     this.colgoods_id.Caption      = "Mã sách";
     this.colgoods_id.FieldName    = "goods_id";
     this.colgoods_id.Name         = "colgoods_id";
     this.colgoods_id.Visible      = true;
     this.colgoods_id.VisibleIndex = 1;
     //
     // colfull_name
     //
     this.colfull_name.Caption      = "Tên sách";
     this.colfull_name.FieldName    = "full_name";
     this.colfull_name.Name         = "colfull_name";
     this.colfull_name.Visible      = true;
     this.colfull_name.VisibleIndex = 2;
     //
     // coldue_date
     //
     this.coldue_date.Caption = "Ngày hẹn trả";
     this.coldue_date.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.coldue_date.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.DateTime;
     this.coldue_date.FieldName    = "due_date";
     this.coldue_date.Name         = "coldue_date";
     this.coldue_date.Visible      = true;
     this.coldue_date.VisibleIndex = 3;
     //
     // repositoryItemImageEdit1
     //
     this.repositoryItemImageEdit1.AutoHeight = false;
     this.repositoryItemImageEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repositoryItemImageEdit1.Name     = "repositoryItemImageEdit1";
     this.repositoryItemImageEdit1.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Zoom;
     //
     // btn_Exit
     //
     this.btn_Exit.Anchor                     = System.Windows.Forms.AnchorStyles.Bottom;
     this.btn_Exit.Appearance.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btn_Exit.Appearance.Options.UseFont = true;
     this.btn_Exit.DialogResult               = System.Windows.Forms.DialogResult.Cancel;
     this.btn_Exit.Location                   = new System.Drawing.Point(340, 450);
     this.btn_Exit.Name     = "btn_Exit";
     this.btn_Exit.Size     = new System.Drawing.Size(88, 23);
     this.btn_Exit.TabIndex = 383;
     this.btn_Exit.Text     = "ESC-Thoát";
     this.btn_Exit.Click   += new System.EventHandler(this.btn_Exit_Click);
     //
     // btn_History
     //
     this.btn_History.Anchor                     = System.Windows.Forms.AnchorStyles.Bottom;
     this.btn_History.Appearance.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btn_History.Appearance.Options.UseFont = true;
     this.btn_History.Location                   = new System.Drawing.Point(235, 450);
     this.btn_History.Name     = "btn_History";
     this.btn_History.Size     = new System.Drawing.Size(88, 23);
     this.btn_History.TabIndex = 382;
     this.btn_History.Text     = "In";
     this.btn_History.Click   += new System.EventHandler(this.btn_History_Click);
     //
     // printingSystem_0
     //
     this.printingSystem_0.Links.AddRange(new object[] {
         this.printableComponentLink_0
     });
     //
     // printableComponentLink_0
     //
     this.printableComponentLink_0.Component = this.gridControl1;
     //
     //
     //
     this.printableComponentLink_0.ImageCollection.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("printableComponentLink_0.ImageCollection.ImageStream")));
     this.printableComponentLink_0.PrintingSystem          = this.printingSystem_0;
     this.printableComponentLink_0.PrintingSystemBase      = this.printingSystem_0;
     this.printableComponentLink_0.CreateReportHeaderArea += new DevExpress.XtraPrinting.CreateAreaEventHandler(this.printableComponentLink_0_CreateReportHeaderArea);
     //
     // pictureEdit1
     //
     this.pictureEdit1.Location            = new System.Drawing.Point(434, 12);
     this.pictureEdit1.Name                = "pictureEdit1";
     this.pictureEdit1.Properties.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Zoom;
     this.pictureEdit1.Size                = new System.Drawing.Size(84, 89);
     this.pictureEdit1.TabIndex            = 409;
     //
     // lblDueDate
     //
     this.lblDueDate.Appearance.BackColor              = System.Drawing.Color.MediumTurquoise;
     this.lblDueDate.Appearance.BackColor2             = System.Drawing.Color.PaleTurquoise;
     this.lblDueDate.Appearance.BorderColor            = System.Drawing.Color.White;
     this.lblDueDate.Appearance.Font                   = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblDueDate.Appearance.ForeColor              = System.Drawing.Color.Black;
     this.lblDueDate.Appearance.Options.UseBackColor   = true;
     this.lblDueDate.Appearance.Options.UseBorderColor = true;
     this.lblDueDate.Appearance.Options.UseFont        = true;
     this.lblDueDate.Appearance.Options.UseForeColor   = true;
     this.lblDueDate.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.lblDueDate.BorderStyle  = DevExpress.XtraEditors.Controls.BorderStyles.UltraFlat;
     this.lblDueDate.Location     = new System.Drawing.Point(299, 54);
     this.lblDueDate.Name         = "lblDueDate";
     this.lblDueDate.Padding      = new System.Windows.Forms.Padding(3, 0, 0, 0);
     this.lblDueDate.Size         = new System.Drawing.Size(98, 15);
     this.lblDueDate.TabIndex     = 408;
     //
     // labelControl8
     //
     this.labelControl8.Appearance.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelControl8.Appearance.Options.UseFont = true;
     this.labelControl8.Location = new System.Drawing.Point(234, 54);
     this.labelControl8.Name     = "labelControl8";
     this.labelControl8.Size     = new System.Drawing.Size(59, 13);
     this.labelControl8.TabIndex = 407;
     this.labelControl8.Text     = "Hiệu lực đến";
     //
     // lblOpenDate
     //
     this.lblOpenDate.Appearance.BackColor              = System.Drawing.Color.MediumTurquoise;
     this.lblOpenDate.Appearance.BackColor2             = System.Drawing.Color.PaleTurquoise;
     this.lblOpenDate.Appearance.BorderColor            = System.Drawing.Color.White;
     this.lblOpenDate.Appearance.Font                   = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblOpenDate.Appearance.ForeColor              = System.Drawing.Color.Black;
     this.lblOpenDate.Appearance.Options.UseBackColor   = true;
     this.lblOpenDate.Appearance.Options.UseBorderColor = true;
     this.lblOpenDate.Appearance.Options.UseFont        = true;
     this.lblOpenDate.Appearance.Options.UseForeColor   = true;
     this.lblOpenDate.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.lblOpenDate.BorderStyle  = DevExpress.XtraEditors.Controls.BorderStyles.UltraFlat;
     this.lblOpenDate.Location     = new System.Drawing.Point(116, 54);
     this.lblOpenDate.Name         = "lblOpenDate";
     this.lblOpenDate.Padding      = new System.Windows.Forms.Padding(3, 0, 0, 0);
     this.lblOpenDate.Size         = new System.Drawing.Size(97, 15);
     this.lblOpenDate.TabIndex     = 406;
     //
     // labelControl6
     //
     this.labelControl6.Appearance.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelControl6.Appearance.Options.UseFont = true;
     this.labelControl6.Location = new System.Drawing.Point(32, 55);
     this.labelControl6.Name     = "labelControl6";
     this.labelControl6.Size     = new System.Drawing.Size(66, 13);
     this.labelControl6.TabIndex = 405;
     this.labelControl6.Text     = "Ngày đăng ký";
     //
     // labelControl4
     //
     this.labelControl4.Appearance.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelControl4.Appearance.Options.UseFont = true;
     this.labelControl4.Location = new System.Drawing.Point(32, 113);
     this.labelControl4.Name     = "labelControl4";
     this.labelControl4.Size     = new System.Drawing.Size(24, 13);
     this.labelControl4.TabIndex = 404;
     this.labelControl4.Text     = "Email";
     //
     // btnEdit
     //
     this.btnEdit.Appearance.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnEdit.Appearance.Options.UseFont = true;
     this.btnEdit.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnEdit.Location     = new System.Drawing.Point(220, 12);
     this.btnEdit.Name         = "btnEdit";
     this.btnEdit.Size         = new System.Drawing.Size(75, 20);
     this.btnEdit.TabIndex     = 403;
     this.btnEdit.Text         = "Bổ sung";
     this.btnEdit.Click       += new System.EventHandler(this.btnEdit_Click);
     //
     // lblPhone
     //
     this.lblPhone.Appearance.BackColor              = System.Drawing.Color.MediumTurquoise;
     this.lblPhone.Appearance.BackColor2             = System.Drawing.Color.PaleTurquoise;
     this.lblPhone.Appearance.BorderColor            = System.Drawing.Color.White;
     this.lblPhone.Appearance.Font                   = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblPhone.Appearance.ForeColor              = System.Drawing.Color.Black;
     this.lblPhone.Appearance.Options.UseBackColor   = true;
     this.lblPhone.Appearance.Options.UseBorderColor = true;
     this.lblPhone.Appearance.Options.UseFont        = true;
     this.lblPhone.Appearance.Options.UseForeColor   = true;
     this.lblPhone.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.lblPhone.BorderStyle  = DevExpress.XtraEditors.Controls.BorderStyles.UltraFlat;
     this.lblPhone.Location     = new System.Drawing.Point(116, 73);
     this.lblPhone.Name         = "lblPhone";
     this.lblPhone.Padding      = new System.Windows.Forms.Padding(3, 0, 0, 0);
     this.lblPhone.Size         = new System.Drawing.Size(281, 15);
     this.lblPhone.TabIndex     = 402;
     //
     // lblEmail
     //
     this.lblEmail.Appearance.BackColor              = System.Drawing.Color.MediumTurquoise;
     this.lblEmail.Appearance.BackColor2             = System.Drawing.Color.PaleTurquoise;
     this.lblEmail.Appearance.BorderColor            = System.Drawing.Color.White;
     this.lblEmail.Appearance.Font                   = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblEmail.Appearance.ForeColor              = System.Drawing.Color.Black;
     this.lblEmail.Appearance.Options.UseBackColor   = true;
     this.lblEmail.Appearance.Options.UseBorderColor = true;
     this.lblEmail.Appearance.Options.UseFont        = true;
     this.lblEmail.Appearance.Options.UseForeColor   = true;
     this.lblEmail.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.lblEmail.BorderStyle  = DevExpress.XtraEditors.Controls.BorderStyles.UltraFlat;
     this.lblEmail.Location     = new System.Drawing.Point(116, 92);
     this.lblEmail.Name         = "lblEmail";
     this.lblEmail.Padding      = new System.Windows.Forms.Padding(3, 0, 0, 0);
     this.lblEmail.Size         = new System.Drawing.Size(281, 15);
     this.lblEmail.TabIndex     = 401;
     //
     // lblFullName
     //
     this.lblFullName.Appearance.BackColor              = System.Drawing.Color.MediumTurquoise;
     this.lblFullName.Appearance.BackColor2             = System.Drawing.Color.PaleTurquoise;
     this.lblFullName.Appearance.BorderColor            = System.Drawing.Color.White;
     this.lblFullName.Appearance.Font                   = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblFullName.Appearance.ForeColor              = System.Drawing.Color.Black;
     this.lblFullName.Appearance.Options.UseBackColor   = true;
     this.lblFullName.Appearance.Options.UseBorderColor = true;
     this.lblFullName.Appearance.Options.UseFont        = true;
     this.lblFullName.Appearance.Options.UseForeColor   = true;
     this.lblFullName.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.lblFullName.BorderStyle  = DevExpress.XtraEditors.Controls.BorderStyles.UltraFlat;
     this.lblFullName.Location     = new System.Drawing.Point(116, 35);
     this.lblFullName.Name         = "lblFullName";
     this.lblFullName.Padding      = new System.Windows.Forms.Padding(3, 0, 0, 0);
     this.lblFullName.Size         = new System.Drawing.Size(281, 15);
     this.lblFullName.TabIndex     = 400;
     //
     // lblAddress
     //
     this.lblAddress.Appearance.BackColor              = System.Drawing.Color.MediumTurquoise;
     this.lblAddress.Appearance.BackColor2             = System.Drawing.Color.PaleTurquoise;
     this.lblAddress.Appearance.BorderColor            = System.Drawing.Color.White;
     this.lblAddress.Appearance.Font                   = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblAddress.Appearance.ForeColor              = System.Drawing.Color.Black;
     this.lblAddress.Appearance.Options.UseBackColor   = true;
     this.lblAddress.Appearance.Options.UseBorderColor = true;
     this.lblAddress.Appearance.Options.UseFont        = true;
     this.lblAddress.Appearance.Options.UseForeColor   = true;
     this.lblAddress.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.lblAddress.BorderStyle  = DevExpress.XtraEditors.Controls.BorderStyles.UltraFlat;
     this.lblAddress.Location     = new System.Drawing.Point(116, 111);
     this.lblAddress.Name         = "lblAddress";
     this.lblAddress.Padding      = new System.Windows.Forms.Padding(3, 0, 0, 0);
     this.lblAddress.Size         = new System.Drawing.Size(407, 15);
     this.lblAddress.TabIndex     = 399;
     //
     // LabelControl2
     //
     this.LabelControl2.Appearance.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.LabelControl2.Appearance.Options.UseFont = true;
     this.LabelControl2.Location = new System.Drawing.Point(32, 75);
     this.LabelControl2.Name     = "LabelControl2";
     this.LabelControl2.Size     = new System.Drawing.Size(49, 13);
     this.LabelControl2.TabIndex = 398;
     this.LabelControl2.Text     = "Điện thoại";
     //
     // LabelControl3
     //
     this.LabelControl3.Appearance.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.LabelControl3.Appearance.Options.UseFont = true;
     this.LabelControl3.Location = new System.Drawing.Point(32, 94);
     this.LabelControl3.Name     = "LabelControl3";
     this.LabelControl3.Size     = new System.Drawing.Size(32, 13);
     this.LabelControl3.TabIndex = 397;
     this.LabelControl3.Text     = "Địa chỉ";
     //
     // LabelControl1
     //
     this.LabelControl1.Appearance.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.LabelControl1.Appearance.Options.UseFont = true;
     this.LabelControl1.Location = new System.Drawing.Point(32, 15);
     this.LabelControl1.Name     = "LabelControl1";
     this.LabelControl1.Size     = new System.Drawing.Size(33, 13);
     this.LabelControl1.TabIndex = 396;
     this.LabelControl1.Text     = "Mã thẻ";
     //
     // LabelControl15
     //
     this.LabelControl15.Appearance.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.LabelControl15.Appearance.Options.UseFont = true;
     this.LabelControl15.Location = new System.Drawing.Point(32, 35);
     this.LabelControl15.Name     = "LabelControl15";
     this.LabelControl15.Size     = new System.Drawing.Size(32, 13);
     this.LabelControl15.TabIndex = 395;
     this.LabelControl15.Text     = "Họ tên";
     //
     // txtCsId
     //
     this.txtCsId.EnterMoveNextControl = true;
     this.txtCsId.Location             = new System.Drawing.Point(116, 12);
     this.txtCsId.Name = "txtCsId";
     this.txtCsId.Properties.Appearance.BackColor            = System.Drawing.Color.PapayaWhip;
     this.txtCsId.Properties.Appearance.Font                 = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtCsId.Properties.Appearance.Options.UseBackColor = true;
     this.txtCsId.Properties.Appearance.Options.UseFont      = true;
     this.txtCsId.Properties.CharacterCasing                 = System.Windows.Forms.CharacterCasing.Upper;
     this.txtCsId.Properties.Mask.PlaceHolder                = ' ';
     this.txtCsId.Properties.MaxLength          = 8;
     this.txtCsId.Properties.ValidateOnEnterKey = true;
     this.txtCsId.Size              = new System.Drawing.Size(98, 20);
     this.txtCsId.TabIndex          = 394;
     this.txtCsId.EditValueChanged += new System.EventHandler(this.txtCsId_EditValueChanged);
     this.txtCsId.KeyDown          += new System.Windows.Forms.KeyEventHandler(this.txtCsId_KeyDown);
     //
     // gridControl2
     //
     this.gridControl2.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.gridControl2.DataMember = "histrans";
     this.gridControl2.DataSource = this.dataSet_0;
     this.gridControl2.Location   = new System.Drawing.Point(26, 316);
     this.gridControl2.MainView   = this.gridView2;
     this.gridControl2.Name       = "gridControl2";
     this.gridControl2.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
         this.repositoryItemImageEdit2
     });
     this.gridControl2.Size     = new System.Drawing.Size(615, 126);
     this.gridControl2.TabIndex = 410;
     this.gridControl2.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gridView2
     });
     //
     // gridView2
     //
     this.gridView2.Appearance.GroupFooter.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.gridView2.Appearance.GroupFooter.Options.UseFont = true;
     this.gridView2.Appearance.HeaderPanel.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.gridView2.Appearance.HeaderPanel.Options.UseFont = true;
     this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.coltrans_num1,
         this.coltran_date,
         this.coltran_time,
         this.coltrans_code,
         this.colremark
     });
     styleFormatCondition1.Appearance.Font                 = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Strikeout, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     styleFormatCondition1.Appearance.ForeColor            = System.Drawing.SystemColors.ControlDark;
     styleFormatCondition1.Appearance.Options.UseFont      = true;
     styleFormatCondition1.Appearance.Options.UseForeColor = true;
     styleFormatCondition1.ApplyToRow = true;
     styleFormatCondition1.Condition  = DevExpress.XtraGrid.FormatConditionEnum.Equal;
     styleFormatCondition1.Value1     = false;
     this.gridView2.FormatConditions.AddRange(new DevExpress.XtraGrid.StyleFormatCondition[] {
         styleFormatCondition1
     });
     this.gridView2.GridControl = this.gridControl2;
     this.gridView2.Name        = "gridView2";
     this.gridView2.OptionsView.ShowGroupPanel = false;
     //
     // coltrans_num1
     //
     this.coltrans_num1.Caption      = "Số phiếu";
     this.coltrans_num1.FieldName    = "trans_num";
     this.coltrans_num1.Name         = "coltrans_num1";
     this.coltrans_num1.Visible      = true;
     this.coltrans_num1.VisibleIndex = 0;
     //
     // coltran_date
     //
     this.coltran_date.Caption = "Ngày";
     this.coltran_date.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.coltran_date.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.DateTime;
     this.coltran_date.FieldName    = "tran_date";
     this.coltran_date.Name         = "coltran_date";
     this.coltran_date.Visible      = true;
     this.coltran_date.VisibleIndex = 1;
     //
     // coltran_time
     //
     this.coltran_time.Caption      = "Giờ";
     this.coltran_time.FieldName    = "tran_time";
     this.coltran_time.Name         = "coltran_time";
     this.coltran_time.Visible      = true;
     this.coltran_time.VisibleIndex = 2;
     //
     // coltrans_code
     //
     this.coltrans_code.Caption      = "Loại";
     this.coltrans_code.FieldName    = "trans_code";
     this.coltrans_code.Name         = "coltrans_code";
     this.coltrans_code.Visible      = true;
     this.coltrans_code.VisibleIndex = 3;
     //
     // colremark
     //
     this.colremark.Caption      = "Diễn giải";
     this.colremark.FieldName    = "remark";
     this.colremark.Name         = "colremark";
     this.colremark.Visible      = true;
     this.colremark.VisibleIndex = 4;
     //
     // repositoryItemImageEdit2
     //
     this.repositoryItemImageEdit2.AutoHeight = false;
     this.repositoryItemImageEdit2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repositoryItemImageEdit2.Name     = "repositoryItemImageEdit2";
     this.repositoryItemImageEdit2.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Zoom;
     //
     // labelControl5
     //
     this.labelControl5.Appearance.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelControl5.Appearance.Options.UseFont = true;
     this.labelControl5.Location = new System.Drawing.Point(31, 134);
     this.labelControl5.Name     = "labelControl5";
     this.labelControl5.Size     = new System.Drawing.Size(136, 13);
     this.labelControl5.TabIndex = 411;
     this.labelControl5.Text     = "Danh mục sách chưa trả";
     //
     // labelControl7
     //
     this.labelControl7.Appearance.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelControl7.Appearance.Options.UseFont = true;
     this.labelControl7.Location = new System.Drawing.Point(32, 297);
     this.labelControl7.Name     = "labelControl7";
     this.labelControl7.Size     = new System.Drawing.Size(117, 13);
     this.labelControl7.TabIndex = 412;
     this.labelControl7.Text     = "Quá trình mượn sách";
     //
     // btnView
     //
     this.btnView.Appearance.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnView.Appearance.Options.UseFont = true;
     this.btnView.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnView.Location     = new System.Drawing.Point(155, 293);
     this.btnView.Name         = "btnView";
     this.btnView.Size         = new System.Drawing.Size(75, 20);
     this.btnView.TabIndex     = 413;
     this.btnView.Text         = "Xem";
     this.btnView.Click       += new System.EventHandler(this.btnView_Click);
     //
     // FrmReaderInfo
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.CancelButton        = this.btn_Exit;
     this.ClientSize          = new System.Drawing.Size(662, 485);
     this.Controls.Add(this.btnView);
     this.Controls.Add(this.labelControl7);
     this.Controls.Add(this.labelControl5);
     this.Controls.Add(this.gridControl2);
     this.Controls.Add(this.pictureEdit1);
     this.Controls.Add(this.lblDueDate);
     this.Controls.Add(this.labelControl8);
     this.Controls.Add(this.lblOpenDate);
     this.Controls.Add(this.labelControl6);
     this.Controls.Add(this.labelControl4);
     this.Controls.Add(this.btnEdit);
     this.Controls.Add(this.lblPhone);
     this.Controls.Add(this.lblEmail);
     this.Controls.Add(this.lblFullName);
     this.Controls.Add(this.lblAddress);
     this.Controls.Add(this.LabelControl2);
     this.Controls.Add(this.LabelControl3);
     this.Controls.Add(this.LabelControl1);
     this.Controls.Add(this.LabelControl15);
     this.Controls.Add(this.txtCsId);
     this.Controls.Add(this.btn_Exit);
     this.Controls.Add(this.btn_History);
     this.Controls.Add(this.gridControl1);
     this.Name       = "FrmReaderInfo";
     this.Text       = "FrmReaderInfo";
     this.Load      += new System.EventHandler(this.FrmReaderInfo_Load);
     this.Activated += new System.EventHandler(this.FrmReaderInfo_Activated);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataSet_0)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataTable_0)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataTable_1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.kCnalMegv)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.printingSystem_0)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.printableComponentLink_0.ImageCollection)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtCsId.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageEdit2)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Example #34
0
        private void toolCard_Click(object sender, EventArgs e)
        {
            Cursor currentCursor = Cursor.Current;

            Cursor.Current = Cursors.WaitCursor;

            IEnumerator enumGridControl = _componentContainer.GetEnumerator();

            while (enumGridControl.MoveNext())
            {
                GridControl grd = enumGridControl.Current as GridControl;

                if (grd != null)
                {
                    BaseView oldView = grd.MainView;

                    DevExpress.XtraGrid.StyleFormatCondition[] styles = new DevExpress.XtraGrid.StyleFormatCondition[grd.MainView.FormatConditions.Count];

                    for (int i = 0; i < styles.Length; i++)
                    {
                        styles[i] = grd.MainView.FormatConditions[i];
                    }

                    grd.MainView = grd.CreateView(toolCard.Text == "卡片" ? "CardView" : "GridView");

                    if (grd.MainView is GridView)
                    {
                        GridView gv = grd.MainView as GridView;
                        gv.OptionsView.ColumnAutoWidth      = false;
                        gv.OptionsView.ShowGroupPanel       = false;
                        gv.OptionsCustomization.AllowFilter = false;
                        gv.OptionsBehavior.Editable         = false;
                        gv.OptionsView.ShowDetailButtons    = false;
                        gv.OptionsView.ShowFooter           = true;
                        gv.FocusRectStyle = DrawFocusRectStyle.RowFocus;
                        gv.OptionsSelection.EnableAppearanceFocusedCell = false;
                        gv.PaintStyleName       = "WindowsXP";
                        gv.RowHeight            = 25;
                        gv.ColumnPanelRowHeight = 30;
                    }
                    else if (grd.MainView is CardView)
                    {
                        CardView gv = grd.MainView as CardView;
                        gv.OptionsBehavior.Editable = false;
                        gv.PaintStyleName           = "WindowsXP";
                    }

                    grd.MainView.FormatConditions.AddRange(styles);

                    if (toolCard.Text == "卡片")
                    {
                        toolCard.Text = "表格";
                    }
                    else
                    {
                        toolCard.Text = "卡片";
                    }

                    if (oldView != null)
                    {
                        oldView.Dispose();
                    }

                    Cursor.Current = currentCursor;
                }
            }
        }
Example #35
0
        /// <summary>
        /// 데이터 테이블을 정의합니다.
        /// </summary>
        private void SetDataTable()
        {
            try
            {
                dt.Columns.Add("CHK");
                dt.Columns.Add("SALE_DATE");
                dt.Columns.Add("AGREE_DATE");
                dt.Columns.Add("FACILITY_CODE");
                dt.Columns.Add("FACILITY_NAME");
                dt.Columns.Add("POS_NO");
                dt.Columns.Add("BILL_NO");
                dt.Columns.Add("SALE_YN");
                dt.Columns.Add("PAY_SEQ", typeof(decimal));
                dt.Columns.Add("SALE_AMT", typeof(decimal));
                dt.Columns.Add("CARD_NO");
                dt.Columns.Add("VALID_THRU_NAME");
                dt.Columns.Add("VALID_THRU");
                dt.Columns.Add("INSTALLMENT_CNT", typeof(decimal));
                dt.Columns.Add("AGREE_YN");
                dt.Columns.Add("AGREE_NO");
                dt.Columns.Add("ORG_AGREE_NO");
                dt.Columns.Add("AGREE_TIME");
                dt.Columns.Add("EASY_YN");
                dt.Columns.Add("CARD_CO_CODE");
                dt.Columns.Add("CARD_CO_NAME");
                dt.Columns.Add("ISSU_CO_CODE");
                dt.Columns.Add("ISSU_CO_NAME");
                dt.Columns.Add("CARD_JOIN_NO");
                dt.Columns.Add("KEYIN_YN");
                dt.Columns.Add("VAN_ID");
                dt.Columns.Add("COMPANY_ID");
                dt.Columns.Add("TRACK_TWO");
                dt.Columns.Add("KIND");
                dt.Columns.Add("SALE_AMT_ABS");

                Cls.Grid.GridStyle gs = new Cls.Grid.GridStyle(this.gridData, this.gridViewData);

                gs.AddColumn("제외건선택", "CHK", _ColumnType.CheckBox, 90, _ColumnAlign.Center, true, true, DevExpress.Utils.DefaultBoolean.False);
                gs.AddColumn("가맹번호", "VAN_ID", _ColumnType.Default, 80, _ColumnAlign.Center, true, true);
                gs.AddColumn("영업일자", "SALE_DATE", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs.AddColumn("승인일자", "AGREE_DATE", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs.AddColumn("코드", "FACILITY_CODE", _ColumnType.Default, 40, _ColumnAlign.Center, true);
                gs.AddColumn("영업장명", "FACILITY_NAME", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs.AddColumn("이지체크", "EASY_YN", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs.AddColumn("카드번호", "CARD_NO", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs.AddColumn("유효기간", "VALID_THRU", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs.AddColumn("승인번호", "AGREE_NO", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs.AddColumn("원승인번호", "ORG_AGREE_NO", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs.AddColumn("금액", "SALE_AMT", _ColumnType.Numbers, 60, _ColumnAlign.Right, true);
                gs.AddColumn("승인일시", "AGREE_TIME", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs.AddColumn("포스", "POS_NO", _ColumnType.Default, 40, _ColumnAlign.Center, true, false);
                gs.AddColumn("전표번호", "BILL_NO", _ColumnType.Default, 80, _ColumnAlign.Center, true, false);
                gs.AddColumn("판매", "SALE_YN", _ColumnType.Default, 40, _ColumnAlign.Center, true, false);
                gs.AddColumn("순번", "PAY_SEQ", _ColumnType.Numbers, 40, _ColumnAlign.Right, true, false);
                gs.AddColumn("할부기간", "INSTALLMENT_CNT", _ColumnType.Numbers, 80, _ColumnAlign.Right, true, false);
                gs.AddColumn("승인", "AGREE_YN", _ColumnType.Default, 40, _ColumnAlign.Center, true);

                gs.AddColumn("매입사", "CARD_CO_CODE", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs.AddColumn("매입사", "CARD_CO_NAME", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs.AddColumn("발급사", "ISSU_CO_CODE", _ColumnType.Default, 80, _ColumnAlign.Center, true, false);
                gs.AddColumn("발급사명", "ISSU_CO_NAME", _ColumnType.Default, 80, _ColumnAlign.Center, true, false);
                gs.AddColumn("키인", "KEYIN_YN", _ColumnType.Default, 40, _ColumnAlign.Center, true, false);
                gs.AddColumn("데이터구분", "KIND", _ColumnType.Default, 80, _ColumnAlign.Center, true);

                gs.AddColumn("유효기간", "VALID_THRU_NAME", _ColumnType.Default, 80, _ColumnAlign.Center, false);
                gs.AddColumn("가맹번호", "CARD_JOIN_NO", _ColumnType.Default, 80, _ColumnAlign.Center, false);
                gs.AddColumn("매입사사업자번호", "COMPANY_ID", _ColumnType.Default, 80, _ColumnAlign.Center, true);
                gs.AddColumn("트랙2정보", "TRACK_TWO", _ColumnType.Default, 80, _ColumnAlign.Center, false);

                this.gridViewData.OptionsView.ShowGroupPanel = true;
                //Cls.Grid.Options.SelectedRow(this.gridViewData);
                Cls.Grid.Options.EmbeddedNavigater(this.gridData);
                Cls.Grid.Options.FilterRow(this.gridViewData, true);
                Cls.Grid.Options.Footer(this.gridViewData, DevExpress.Data.SummaryItemType.Sum, "SALE_AMT", "SALE_AMT", SummaryFormat.Sum);
                this.gridData.DataSource = dt;


                this.gridViewData.OptionsSelection.EnableAppearanceFocusedCell   = false;
                this.gridViewData.OptionsSelection.EnableAppearanceFocusedRow    = false;
                this.gridViewData.OptionsSelection.EnableAppearanceHideSelection = true;


                DataRow[] r = Parm.mDataTable.dtZx010ms.Select("HEAD = 'Z0021' AND DETAIL <> ' ' AND USE_YN = 'Y' ", "USE_SORT");

                rr = r;

                string exp = "";

                dtSumery.Columns.Add("목록");


                Cls.Grid.GridStyle gs1 = new Cls.Grid.GridStyle(this.gridSummery, this.gridViewSummery);
                gs1.AddColumn("목록", "목록", _ColumnType.Default, 130, _ColumnAlign.Center, true);

                for (int j = 0; j < rr.Length; j++)
                {
                    string str = rr[j]["DETAIL_NAME"].ToString().Replace("(", "_").Replace(")", "");
                    dtSumery.Columns.Add(str, typeof(decimal));
                    exp += j == 0 ? str : " + " + str;

                    gs1.AddColumn(str, str, _ColumnType.Numbers, 80, _ColumnAlign.Right, true);

                    Cls.Grid.Options.Footer(this.gridViewSummery, DevExpress.Data.SummaryItemType.Sum, str, str, SummaryFormat.Sum);
                }
                gs1.AddColumn("합계", "TOT", _ColumnType.Numbers, 80, _ColumnAlign.Right, true);
                dtSumery.Columns.Add("TOT", typeof(decimal), exp);
                Cls.Grid.Options.Footer(this.gridViewSummery, DevExpress.Data.SummaryItemType.Sum, "TOT", "TOT", SummaryFormat.Sum);

                this.gridViewSummery.OptionsSelection.EnableAppearanceFocusedCell   = false;
                this.gridViewSummery.OptionsSelection.EnableAppearanceFocusedRow    = false;
                this.gridViewSummery.OptionsSelection.EnableAppearanceHideSelection = true;
                this.gridSummery.DataSource = dtSumery;



                Cls.Grid.Options.SetColumnColor(gridViewData,
                                                Cls.Grid.StyleFormatConditionType.Row,
                                                gridViewData.Columns["KIND"],
                                                FormatConditionEnum.Equal,
                                                Color.Pink,
                                                "재청구");


                StyleFormatCondition condition1 = new DevExpress.XtraGrid.StyleFormatCondition();
                condition1.Column                          = gridViewSummery.Columns["목록"];
                condition1.ApplyToRow                      = true;
                condition1.Appearance.BackColor            = Color.Pink;
                condition1.Appearance.Options.UseBackColor = true;
                condition1.Condition                       = FormatConditionEnum.Expression;
                condition1.Expression                      = "목록 Like '%재청구%'";
                gridViewSummery.FormatConditions.Add(condition1);



                StyleFormatCondition condition2 = new DevExpress.XtraGrid.StyleFormatCondition();
                condition2.Column                          = gridViewData.Columns["AGREE_DATE"];
                condition2.ApplyToRow                      = true;
                condition2.Appearance.BackColor            = Color.Red;
                condition2.Appearance.Options.UseBackColor = true;
                condition2.Condition                       = FormatConditionEnum.Expression;
                condition2.Expression                      = "LEN(ISNULL(AGREE_DATE,'')) <> 10 "; //OR SUBSTRING(VALID_THRU, 3, 2) > 12
                gridViewData.FormatConditions.Add(condition2);


                //StyleFormatCondition condition3 = new DevExpress.XtraGrid.StyleFormatCondition();
                //condition3.Column = gridViewData.Columns["VALID_THRU"];
                //condition3.ApplyToRow = true;
                //condition3.Appearance.BackColor = Color.Red;
                //condition3.Appearance.Options.UseBackColor = true;
                //condition3.Condition = FormatConditionEnum.Expression;
                //condition3.Expression = "SUBSTRING(VALID_THRU, 3, 2) > 12 "; //OR
                //gridViewData.FormatConditions.Add(condition3);
                //this.gridViewData.OptionsSelection.EnableAppearanceFocusedCell = true;



                StyleFormatCondition condition4 = new DevExpress.XtraGrid.StyleFormatCondition();
                condition4.Column                          = gridViewData.Columns["VAN_ID"];
                condition4.ApplyToRow                      = true;
                condition4.Appearance.BackColor            = Color.Red;
                condition4.Appearance.Options.UseBackColor = true;
                condition4.Condition                       = FormatConditionEnum.Expression;
                condition4.Expression                      = "ISNULL(VAN_ID,'')='' "; //OR
                gridViewData.FormatConditions.Add(condition4);
                this.gridViewData.OptionsSelection.EnableAppearanceFocusedCell = true;



                ContextMenu popUpMenus;
                MenuItem    chkAlls;
                MenuItem    checkClears;
                MenuItem    checConvert;

                popUpMenus = new ContextMenu();
                popUpMenus.MenuItems.Add("전체선택", new EventHandler(popup_Res));
                popUpMenus.MenuItems.Add("전체해제", new EventHandler(popup_Res));
                popUpMenus.MenuItems.Add("선택반전", new EventHandler(popup_Res));


                this.gridData.ContextMenu = popUpMenus;

                chkAlls     = gridData.ContextMenu.MenuItems[0];
                checkClears = gridData.ContextMenu.MenuItems[1];
                checConvert = gridData.ContextMenu.MenuItems[2];
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Example #36
0
        private object CreateObject(XmlElement xmlElement, bool suspend)
        {
            Type type = GetTypeByName(xmlElement.Name);

            if (xmlElement.Attributes["value"] != null)
            {
                try
                {
                    return(Convert.ChangeType(xmlElement.Attributes["value"].InnerText, type));
                }
                catch (Exception ex)
                {
                    MessageBox.Show(ex.Message, "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
            }

            if (type == null)
            {
                return(null);
            }

            object newObj;

            if (type.FullName == "System.Windows.Forms.Form")
            {
                newObj = this.mainPanel;
            }
            else if (type.FullName == "System.Windows.Forms.DataGridView")
            {
                GridControl grdEntity = new GridControl();
                grdEntity.Name = "grdEntity";
                grdEntity.Dock = DockStyle.Fill;
                grdEntity.LookAndFeel.UseWindowsXPTheme = true;
                XmlNode nodeTmp = xmlElement.SelectSingleNode("DataMember");
                if (nodeTmp != null)
                {
                    grdEntity.Text = nodeTmp.Attributes["value"].Value;
                }

                GridView viewEntity = new GridView();
                viewEntity.Appearance.GroupPanel.Options.UseBackColor       = true;
                viewEntity.Appearance.GroupPanel.BackColor                  = Color.SkyBlue;
                viewEntity.Appearance.GroupPanel.BackColor2                 = Color.White;
                viewEntity.Appearance.FocusedRow.Options.UseBackColor       = true;
                viewEntity.Appearance.FocusedRow.BackColor                  = Color.FromArgb(51, 153, 255);
                viewEntity.Appearance.HideSelectionRow.Options.UseBackColor = true;
                viewEntity.Appearance.HideSelectionRow.BackColor            = Color.FromArgb(51, 153, 255);
                viewEntity.Appearance.HideSelectionRow.Options.UseForeColor = true;
                viewEntity.Appearance.HideSelectionRow.ForeColor            = Color.White;

                viewEntity.OptionsView.ColumnAutoWidth = false;
                //viewEntity.OptionsView.ShowGroupPanel = false;
                //viewEntity.OptionsCustomization.AllowFilter = false;
                viewEntity.GroupPanelText                = "查询结果";
                viewEntity.OptionsBehavior.Editable      = false;
                viewEntity.GroupFooterShowMode           = GroupFooterShowMode.VisibleIfExpanded;
                viewEntity.OptionsView.ShowDetailButtons = false;
                viewEntity.OptionsView.ShowFooter        = true;
                viewEntity.FocusRectStyle                = DrawFocusRectStyle.None;
                viewEntity.GridControl = grdEntity;
                viewEntity.Name        = "GirdView";
                viewEntity.OptionsSelection.EnableAppearanceFocusedCell = false;
                viewEntity.PaintStyleName       = "WindowsXP";
                viewEntity.RowHeight            = 25;
                viewEntity.ColumnPanelRowHeight = 30;
                viewEntity.GroupFooterShowMode  = GroupFooterShowMode.VisibleAlways;
                GridGroupSummaryItem summaryItem;

                IEnumerator enumerator = _solution.DataSetList.GetEnumerator();
                SnDataSet   temp       = null;
                while (enumerator.MoveNext())
                {
                    temp = enumerator.Current as SnDataSet;
                    if (temp.DataSetID != grdEntity.Text && !string.IsNullOrEmpty(grdEntity.Text))
                    {
                        continue;
                    }

                    for (int i = 0; i < temp.FieldsList.Count; i++)
                    {
                        GridColumn gridColumn = new GridColumn();
                        gridColumn.FieldName = temp.FieldsList[i].FieldName;
                        gridColumn.Caption   = temp.FieldsList[i].FieldChineseName;
                        gridColumn.Width     = temp.FieldsList[i].DisplayWidth > 0 ? temp.FieldsList[i].DisplayWidth : 90;
                        if (!temp.FieldsList[i].ColumnVisible)
                        {
                            gridColumn.Visible      = false;
                            gridColumn.VisibleIndex = -1;
                        }
                        else
                        {
                            gridColumn.VisibleIndex = i;
                        }
                        switch (temp.FieldsList[i].CalcType)
                        {
                        case "Sum":
                            summaryItem                         = new GridGroupSummaryItem();
                            summaryItem.FieldName               = temp.FieldsList[i].FieldChineseName;
                            summaryItem.SummaryType             = DevExpress.Data.SummaryItemType.Sum;
                            summaryItem.DisplayFormat           = "合计:{0:0.00}";
                            summaryItem.ShowInGroupColumnFooter = gridColumn;
                            viewEntity.GroupSummary.Add(summaryItem);
                            gridColumn.SummaryItem.DisplayFormat = "合计:{0:0.00}";
                            gridColumn.SummaryItem.SummaryType   = DevExpress.Data.SummaryItemType.Sum;
                            break;

                        case "Average":
                            summaryItem                         = new GridGroupSummaryItem();
                            summaryItem.FieldName               = temp.FieldsList[i].FieldChineseName;
                            summaryItem.SummaryType             = DevExpress.Data.SummaryItemType.Average;
                            summaryItem.DisplayFormat           = "均值:{0:c2}";
                            summaryItem.ShowInGroupColumnFooter = gridColumn;
                            viewEntity.GroupSummary.Add(summaryItem);
                            gridColumn.SummaryItem.DisplayFormat = "均值:{0:c}";
                            gridColumn.SummaryItem.SummaryType   = DevExpress.Data.SummaryItemType.Average;
                            break;

                        case "Max":
                            gridColumn.SummaryItem.DisplayFormat = "最大:{0:c}";
                            gridColumn.SummaryItem.SummaryType   = DevExpress.Data.SummaryItemType.Max;
                            break;

                        case "Min":
                            gridColumn.SummaryItem.DisplayFormat = "最小:{0:c}";
                            gridColumn.SummaryItem.SummaryType   = DevExpress.Data.SummaryItemType.Min;
                            break;

                        case "Count":
                            gridColumn.SummaryItem.DisplayFormat = "行数:{0:d}";
                            gridColumn.SummaryItem.SummaryType   = DevExpress.Data.SummaryItemType.Count;
                            break;

                        default:
                            gridColumn.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.None;
                            break;
                        }

                        foreach (StyleFormat s in temp.FieldsList[i].StyleFormat)
                        {
                            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition = new DevExpress.XtraGrid.StyleFormatCondition();
                            styleFormatCondition.Column = gridColumn;
                            styleFormatCondition.Appearance.Options.UseForeColor = true;
                            styleFormatCondition.Appearance.Options.UseBackColor = true;

                            styleFormatCondition.Appearance.BackColor =
                                System.Drawing.Color.FromArgb(s.BackColorRed, s.BackColorGreen, s.BackColorBlue);

                            styleFormatCondition.Appearance.ForeColor =
                                System.Drawing.Color.FromArgb(s.ForeColorRed, s.ForeColorGreen, s.ForeColorBlue);

                            styleFormatCondition.ApplyToRow = s.ApplyToRow;

                            styleFormatCondition.Condition = s.Condition;

                            if (s.Value1 != null)
                            {
                                styleFormatCondition.Value1 = s.Value1.ToString() != "<Null>"
                                    ? GetValueByTypeName(s.Type1, s.Value1) : "<Null>";
                            }

                            if (s.Value2 != null)
                            {
                                styleFormatCondition.Value2 = s.Value2.ToString() != "<Null>"
                                    ? GetValueByTypeName(s.Type2, s.Value2) : "<Null>";
                            }

                            viewEntity.FormatConditions.Add(styleFormatCondition);
                        }

                        switch (temp.FieldsList[i].FieldType.ToUpper())
                        {
                        case "TIMESTAMP":
                        case "DATETIME":
                            gridColumn.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
                            break;

                        case "DECIMAL":
                            if (temp.FieldsList[i].DecimalDigits == 0 && temp.FieldsList[i].DecimalDigits > 6)
                            {
                                temp.FieldsList[i].DecimalDigits = 2;
                            }

                            string tempstr = "0.";

                            for (int j = 0; j < temp.FieldsList[i].DecimalDigits; j++)
                            {
                                tempstr += "0";
                            }

                            gridColumn.DisplayFormat.FormatString = tempstr;
                            gridColumn.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.Custom;
                            break;

                        case "INT":
                            gridColumn.DisplayFormat.FormatString = "0";
                            gridColumn.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.Custom;
                            break;
                        }

                        viewEntity.Columns.Add(gridColumn);
                    }
                    if (File.Exists(FileName + grdEntity.Text + ".xml"))
                    {
                        viewEntity.RestoreLayoutFromXml(FileName + grdEntity.Text + ".xml");
                    }
                }

                grdEntity.MainView = viewEntity;
                newObj             = grdEntity;
                _componentContainer.Add(newObj);
            }
            else
            {
                newObj = type.Assembly.CreateInstance(type.FullName);
                _componentContainer.Add(newObj);
            }

            string componentName = null;

            if (xmlElement["Name"] != null && xmlElement["Name"].Attributes["value"] != null)
            {
                componentName = xmlElement["Name"].Attributes["value"].InnerText;
            }

            bool hasSuspended = false;

            if (suspend && newObj is ContainerControl)
            {
                hasSuspended = true;
                ((Control)newObj).SuspendLayout();
            }

            foreach (XmlNode subNode in xmlElement.ChildNodes)
            {
                if (subNode is XmlElement)
                {
                    XmlElement subElement = (XmlElement)subNode;

                    if (subElement.Attributes["value"] != null)
                    {
                        try
                        {
                            SetValue(newObj, subElement.Name, subElement.Attributes["value"].InnerText);
                        }
                        catch (Exception ex)
                        {
                            MessageBox.Show(ex.Message, "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
                        }
                    }
                    else
                    {
                        PropertyInfo propertyInfo = newObj.GetType().GetProperty(subElement.Name);
                        object       pList        = propertyInfo.GetValue(newObj, null);

                        if (pList is IList)
                        {
                            foreach (XmlNode node in subElement.ChildNodes)
                            {
                                if (node is XmlElement)
                                {
                                    XmlElement cNode         = node as XmlElement;
                                    object     collectionObj = CreateObject(cNode, false);

                                    if (collectionObj != null)
                                    {
                                        try
                                        {
                                            ((IList)pList).Add(collectionObj);
                                        }
                                        catch (Exception ex)
                                        {
                                            MessageBox.Show(ex.Message, "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }

            if (_acceptButton != null && newObj is Form)
            {
                ((Form)newObj).AcceptButton = (IButtonControl)Container.Components[_acceptButton];
                _acceptButton = null;
            }

            if (_cancelButton != null && newObj is Form)
            {
                ((Form)newObj).CancelButton = (IButtonControl)Container.Components[_cancelButton];
                _cancelButton = null;
            }

            if (hasSuspended)
            {
                ((Control)newObj).ResumeLayout(false);
            }

            return(newObj);
        }
Example #37
0
        /// <summary>
        /// 가져온 데이터를 기준으로 크로스 탭을 만들어 뷰어한다.
        /// </summary>
        private void fnCreateCrossTab()
        {
            try
            {
                if (dtFactory.Rows.Count <= 0)
                {
                    return;
                }


                //유형별 탭을 동적으로 생성합니다.


                //-----------------------------------------------------------------------------
                //그리드 와 밴드를 동적으로 설정합니다.
                //        |                    유형별
                //-----------------------------------------------------------------------------
                //        | 총객실 | 잔여객실 | 블럭수 | 인터넷운영수 | 인터넷예약가능여부
                //-----------------------------------------------------------------------------
                //일자별  |
                //-----------------------------------------------------------------------------


                // 데이터 테이블을 동적으로 생성한다.
                // 1 유형별 그룹바이 갯수가 밴드가 되며 하위 밴드에  5개의 컬럼이 들어간다.

                //가져온데이터에서 유형를 그룹으로 데이터를 축출한다.

                Cls.GroupByHelper.DataSetHelper helper = new Cls.GroupByHelper.DataSetHelper();

                dt.Clear();
                //컬럼을 날린다.
                dt.Columns.Clear();
                SetClearGridBand();

                DataTable dtRoomTypeGroup = helper.SelectGroupByInto("ROOM_TYPE", dtFactory, "ROOM_TYPE, ROOM_TYPE_AND_NAME", "", "ROOM_TYPE, ROOM_TYPE_AND_NAME");
                DataTable dtCalnGroup     = helper.SelectGroupByInto("CALN_DATE", dtFactory,
                                                                     "CALN_DATE,CALN_DATE_YOIL,FACILITY_CODE,EXCLUSIVE_CODE , EXCLUSIVE_CODE_NAME", "",
                                                                     "CALN_DATE,CALN_DATE_YOIL,FACILITY_CODE,EXCLUSIVE_CODE , EXCLUSIVE_CODE_NAME");

                //DataTable dtCalnIdentity =  helper.SelectGroupByInto ("CALN_DATE" ,dtFactory, "CALN_DATE", "" , "CALN_DATE");

                if (dtRoomTypeGroup.Rows.Count <= 0)
                {
                    return;
                }

                dt.Columns.Add("CALN_DATE");
                dt.Columns.Add("CALN_DATE_YOIL");
                dt.Columns.Add("FACILITY_CODE");
                dt.Columns.Add("EXCLUSIVE_CODE");
                dt.Columns.Add("EXCLUSIVE_CODE_NAME");


                //------------------------------------------------------------------------------------------
                //그리드에밴드를 추가한다.
                //------------------------------------------------------------------------------------------
                DevExpress.XtraGrid.Views.BandedGrid.GridBand Band = new GridBand();
                Band.AppearanceHeader.Options.UseTextOptions = true;
                Band.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
                Band.Caption = "일자정보";
                //Band.MinWidth = 20;
                Band.Name = "Band";
                Band.OptionsBand.AllowSize = true;
                Band.Visible = true;
                //Band.Width = 134;
                this.advBandedGridViewFactory.Bands.Add(Band);
                //------------------------------------------------------------------------------------------
                //      밴드에 컬럼을 추가한다.
                //------------------------------------------------------------------------------------------
                SetAddBandColumn(Band, "일자", "CALN_DATE_YOIL", "CALN_DATE_YOIL", DevExpress.Utils.HorzAlignment.Center, 120);
                Cls.Grid.AdvBandedGrid.InitializeColumn(this.advBandedGridViewFactory, "CALN_DATE_YOIL", _ColumnType.Default, _ColumnAlign.Center, true);

                SetAddBandColumn(Band, "전용구분", "EXCLUSIVE_CODE_NAME", "EXCLUSIVE_CODE_NAME", DevExpress.Utils.HorzAlignment.Center, 80);
                Cls.Grid.AdvBandedGrid.InitializeColumn(this.advBandedGridViewFactory, "EXCLUSIVE_CODE_NAME", _ColumnType.Default, _ColumnAlign.Center, true);
                //------------------------------------------------------------------------------------------

                advBandedGridViewFactory.FormatConditions.Clear();

                StyleFormatCondition condition = new DevExpress.XtraGrid.StyleFormatCondition();
                //condition.Appearance.ForeColor = Color.Red;
                condition.Column                          = Band.Columns["CALN_DATE_YOIL"];
                condition.ApplyToRow                      = true;
                condition.Appearance.BackColor            = Color.LightBlue;
                condition.Appearance.Options.UseBackColor = true;
                //condition.Appearance.Options.UseFont = true;
                //condition.Appearance.Options.UseForeColor = true;
                //condition.Appearance.Font = new System.Drawing.Font("굴림체", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                condition.Condition  = FormatConditionEnum.Expression;
                condition.Expression = "CALN_DATE_YOIL Like '%토요일%'";
                advBandedGridViewFactory.FormatConditions.Add(condition);


                StyleFormatCondition condition1 = new DevExpress.XtraGrid.StyleFormatCondition();
                //condition1.Appearance.ForeColor = Color.Red;
                condition1.Column                          = Band.Columns["CALN_DATE_YOIL"];
                condition1.ApplyToRow                      = true;
                condition1.Appearance.BackColor            = Color.Pink;
                condition1.Appearance.Options.UseBackColor = true;
                //condition1.Appearance.Options.UseFont = true;
                //condition1.Appearance.Options.UseForeColor = true;
                //condition1.Appearance.Font = new System.Drawing.Font("굴림체", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                condition1.Condition  = FormatConditionEnum.Expression;
                condition1.Expression = "CALN_DATE_YOIL Like '%일요일%'";
                advBandedGridViewFactory.FormatConditions.Add(condition1);



                for (int iRoomType = 0; iRoomType < dtRoomTypeGroup.Rows.Count; iRoomType++)
                {
                    string freeFix = "_" + dtRoomTypeGroup.Rows[iRoomType]["ROOM_TYPE"].ToString();

                    string cRoomType        = "ROOM_TYPE" + freeFix;
                    string cRoomView        = "ROOM_VIEW" + freeFix;
                    string cRoomTypeAndName = "ROOM_TYPE_AND_NAME" + freeFix;
                    string cUseCntTot       = "USE_CNT_TOT" + freeFix;
                    string cRemainCnt       = "REMAIN_CNT" + freeFix;
                    string cBlockCnt        = "BLOCK_CNT" + freeFix;
                    string cIntRsvYn        = "INT_RSV_YN" + freeFix;
                    string cIntUseCnt       = "INT_USE_CNT" + freeFix;

                    dt.Columns.Add(cRoomType);
                    dt.Columns.Add(cRoomView);
                    dt.Columns.Add(cRoomTypeAndName);
                    dt.Columns.Add(cUseCntTot, typeof(decimal));
                    dt.Columns.Add(cRemainCnt, typeof(decimal));
                    dt.Columns.Add(cBlockCnt, typeof(decimal));
                    dt.Columns.Add(cIntRsvYn);
                    dt.Columns.Add(cIntUseCnt, typeof(decimal));


                    DevExpress.XtraGrid.Views.BandedGrid.GridBand Bandi = new GridBand();
                    Band.AppearanceHeader.Options.UseTextOptions = true;
                    Band.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
                    Bandi.Caption = dtRoomTypeGroup.Rows[iRoomType]["ROOM_TYPE_AND_NAME"].ToString();
                    //Bandi.MinWidth = 20;
                    Bandi.Name = "Band" + freeFix;
                    Bandi.OptionsBand.AllowSize = true;
                    Bandi.Visible = true;
                    //Bandi.Width = 134;
                    this.advBandedGridViewFactory.Bands.Add(Bandi);



                    SetAddBandColumn(Bandi, "잔여객실", cRemainCnt, cRemainCnt, DevExpress.Utils.HorzAlignment.Center, 120);
                    Cls.Grid.AdvBandedGrid.InitializeColumn(this.advBandedGridViewFactory, cRemainCnt, _ColumnType.Numbers, _ColumnAlign.Right, true);



                    Band.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
                }



                //데이터를 넣는다..
                for (int iCaln = 0; iCaln < dtCalnGroup.Rows.Count; iCaln++)
                {
                    DataRow ImportRow = dt.NewRow();

                    string strCaln         = dtCalnGroup.Rows[iCaln]["CALN_DATE"].ToString();
                    string strCalnYoiL     = dtCalnGroup.Rows[iCaln]["CALN_DATE_YOIL"].ToString();
                    string strFacility     = dtCalnGroup.Rows[iCaln]["FACILITY_CODE"].ToString();
                    string strExcusive     = dtCalnGroup.Rows[iCaln]["EXCLUSIVE_CODE"].ToString();
                    string strExcusiveName = dtCalnGroup.Rows[iCaln]["EXCLUSIVE_CODE_NAME"].ToString();

                    ImportRow["CALN_DATE"]           = strCaln;
                    ImportRow["CALN_DATE_YOIL"]      = strCalnYoiL;
                    ImportRow["FACILITY_CODE"]       = strFacility;
                    ImportRow["EXCLUSIVE_CODE"]      = strExcusive;
                    ImportRow["EXCLUSIVE_CODE_NAME"] = strExcusiveName;


                    //룸타입별로 루핑을 돈다.
                    for (int iRoomType1 = 0; iRoomType1 < dtRoomTypeGroup.Rows.Count; iRoomType1++)
                    {
                        string strRoomType = dtRoomTypeGroup.Rows[iRoomType1]["ROOM_TYPE"].ToString();

                        //해당되는 데이터의 유형별 레코드를 찾아서 데이터를 채운더.
                        string strFilter = string.Format(@"CALN_DATE      = '{0}' AND
                                                    CALN_DATE_YOIL = '{1}' AND
                                                    FACILITY_CODE  = '{2}' AND
                                                    ROOM_TYPE      = '{3}' AND
                                                    EXCLUSIVE_CODE = '{4}'  
                                                   "
                                                         , new object[] {
                            strCaln,
                            strCalnYoiL,
                            strFacility,
                            strRoomType,
                            strExcusive
                        });


                        DataRow[] r = dtFactory.Select(strFilter);

                        if (r == null || r.Length <= 0)
                        {
                            continue;
                        }


                        string freeFix = "_" + strRoomType;
                        /*컬럼명 정의*/
                        string cRoomType          = "ROOM_TYPE" + freeFix;
                        string cRoomView          = "ROOM_VIEW" + freeFix;
                        string cRoomType_And_Name = "ROOM_TYPE_AND_NAME" + freeFix;
                        string cUseCntTot         = "USE_CNT_TOT" + freeFix;
                        string ReaminCnt          = "REMAIN_CNT" + freeFix;
                        string BlockCnt           = "BLOCK_CNT" + freeFix;
                        string IntRsvYn           = "INT_RSV_YN" + freeFix;
                        string IntUseCnt          = "INT_USE_CNT" + freeFix;


                        ImportRow[cRoomType]          = r[0]["ROOM_TYPE"].ToString().Trim();
                        ImportRow[cRoomView]          = r[0]["ROOM_VIEW"].ToString().Trim();
                        ImportRow[cRoomType_And_Name] = r[0]["ROOM_TYPE_AND_NAME"].ToString().Trim();
                        ImportRow[cUseCntTot]         = r[0]["USE_CNT_TOT"].ToString().Trim();
                        ImportRow[ReaminCnt]          = r[0]["REMAIN_CNT"].ToString().Trim();
                        ImportRow[BlockCnt]           = r[0]["BLOCK_CNT"].ToString().Trim();
                        ImportRow[IntRsvYn]           = r[0]["INT_RSV_YN"].ToString().Trim();
                        ImportRow[IntUseCnt]          = r[0]["INT_USE_CNT"].ToString().Trim();
                    }

                    //dt.ImportRow(ImportRow);
                    dt.Rows.Add(ImportRow);
                }

                dt.AcceptChanges();
            }
            catch (Exception ex)
            {
                dt.RejectChanges();
                throw ex;
            }
        }