private List <Damany.PortraitCapturer.DAL.DTO.CapturedImageObject> SaveMotionFrames(List <Frame> motionFrames)
        {
            List <Damany.PortraitCapturer.DAL.DTO.CapturedImageObject> savedObjects = new List <Damany.PortraitCapturer.DAL.DTO.CapturedImageObject>();

            using (var uow = new DevExpress.Xpo.UnitOfWork())
            {
                foreach (var motionFrame in motionFrames)
                {
                    var f    = new Damany.PortraitCapturer.DAL.DTO.Frame(uow);
                    var path = SaveImage(motionFrame.GetImage(), motionFrame.CapturedAt);
                    f.CaptureTime   = motionFrame.CapturedAt;
                    f.ImagePath     = path;
                    f.ImageSourceId = motionFrame.DeviceId;
                    f.Save();
                    savedObjects.Add(f);
                }

                uow.CommitChanges();
            }

            for (int i = 0; i < motionFrames.Count; i++)
            {
                motionFrames[i].Oid = savedObjects[i].Oid;
            }

            return(savedObjects);
        }
Example #2
0
        void LoadData()
        {
            _UnitOfWork = new DevExpress.Xpo.UnitOfWork();
            var xpCollection = new DevExpress.Xpo.XPCollection <XPOIssues.Issues.User>(_UnitOfWork);

            xpCollection.Sorting.Add(new DevExpress.Xpo.SortProperty(nameof(XPOIssues.Issues.User.Oid), DevExpress.Xpo.DB.SortingDirection.Ascending));
            grid.ItemsSource = xpCollection;
        }
Example #3
0
 public BoardComputers()
 {
     try
     {
         InitializeComponent();
         Uow = new DevExpress.Xpo.UnitOfWork();
         FindAll();
     }
     catch (System.Exception exception1)
     {
         System.Exception innerException = exception1;
         throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException);
     }
 }
Example #4
0
 public BoardComputers()
 {
     try
     {
         InitializeComponent();
         Uow = new DevExpress.Xpo.UnitOfWork();
         FindAll();
     }
     catch (System.Exception exception1)
     {
         System.Exception innerException = exception1;
         throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException);
     }
 }
        private void SavePortraits(List <Portrait> portraits)
        {
            using (var uow = new DevExpress.Xpo.UnitOfWork())
            {
                foreach (var portrait in portraits)
                {
                    var path = SaveImage(portrait.GetIpl(), portrait.CapturedAt);
                    var p    = new Damany.PortraitCapturer.DAL.DTO.Portrait(uow);
                    p.ImagePath     = path;
                    p.FaceBounds    = portrait.FaceBounds;
                    p.CaptureTime   = portrait.CapturedAt;
                    p.ImageSourceId = portrait.DeviceId;

                    var frame = uow.GetObjectByKey(typeof(Damany.PortraitCapturer.DAL.DTO.Frame), portrait.Frame.Oid);
                    p.Frame = (Damany.PortraitCapturer.DAL.DTO.Frame)frame;
                }

                uow.CommitChanges();
            }
        }
Example #6
0
        internal Card[] GetElencoCardMyFE(DevExpress.Xpo.UnitOfWork uow)
        {
            // assumo che la card, se c'è ci sia per TUTTI
            Card[] elenco = new Card[this.NumeroPersone];

            int index = 0;

            foreach (SoluzioneIngressiItem sol in this.Elenco)
            {
                if (sol.ElencoCardMyFE != null)
                {
                    foreach (Card card in sol.ElencoCardMyFE)
                    {
                        elenco[index] = uow.GetObjectByKey <Card>(card.Oid);
                        index++;
                    }
                }
            }

            return(elenco);
        }
Example #7
0
        private void Populate()
        {
            DevExpress.Xpo.UnitOfWork uow = null;
            try
            {
                uow = XpoHelper.GetNewUnitOfWork();

                if (!Util.isExistXpoObject <Person>("Code", "ADM1"))
                {
                    Person person = new Person(uow)
                    {
                        Code                 = "ADM1",
                        Name                 = "Admin1",
                        RowStatus            = Utility.Constant.ROWSTATUS_ACTIVE,
                        RowCreationTimeStamp = DateTime.Now
                    };
                    LoginAccount loginAccount = new LoginAccount(uow)
                    {
                        Email = "*****@*****.**",
                        RowCreationTimeStamp = DateTime.Now,
                        RowStatus            = Utility.Constant.ROWSTATUS_ACTIVE,
                        PersonId             = person
                    };
                }
                uow.CommitChanges();
            }
            catch (Exception)
            {
                throw;
            }
            finally
            {
                if (uow != null)
                {
                    uow.Dispose();
                }
            }
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     this.gridControlData = new DevExpress.XtraGrid.GridControl();
     this.XPSCSData = new DevExpress.Xpo.XPServerCollectionSource(this.components);
     this.UOWData = new DevExpress.Xpo.UnitOfWork(this.components);
     this.gridViewData = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colDofatSarfAId = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colMMashatId = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colamanatrem = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemMemoExEditremarks = new DevExpress.XtraEditors.Repository.RepositoryItemMemoExEdit();
     this.colBeandate = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemDateEditDMY = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.coldateremember = new DevExpress.XtraGrid.Columns.GridColumn();
     this.coldeleted = new DevExpress.XtraGrid.Columns.GridColumn();
     this.coldatein = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemDateEditdatein = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.coluserin = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemGridLookUpEdituserin = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit();
     this.usersBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.dsRetirementCenter = new RetirementCenter.DataSources.dsRetirementCenter();
     this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colRealName = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnSave = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemButtonEditSave = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
     this.gridColumnDelete = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemButtonEditDel = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
     this.colMMashatName1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colsarfnumber = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colSyndicate = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colSubCommitte = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colEDARET = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colEDARET1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colEdaraMandopName = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colnkapaMandopName = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.groupControl1 = new DevExpress.XtraEditors.GroupControl();
     this.groupControl2 = new DevExpress.XtraEditors.GroupControl();
     this.btnNew = new DevExpress.XtraEditors.SimpleButton();
     this.usersTableAdapter = new RetirementCenter.DataSources.dsRetirementCenterTableAdapters.UsersTableAdapter();
     this.tBLBeanWarsaTableAdapter = new RetirementCenter.DataSources.dsRetirementCenterTableAdapters.TBLBeanWarsaTableAdapter();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlData)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.XPSCSData)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.UOWData)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewData)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoExEditremarks)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDMY)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDMY.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditdatein)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditdatein.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEdituserin)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.usersBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsRetirementCenter)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEditSave)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEditDel)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit();
     this.groupControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).BeginInit();
     this.groupControl2.SuspendLayout();
     this.SuspendLayout();
     //
     // gridControlData
     //
     this.gridControlData.DataSource = this.XPSCSData;
     this.gridControlData.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlData.EmbeddedNavigator.Buttons.Append.Visible = false;
     this.gridControlData.EmbeddedNavigator.Buttons.CancelEdit.Visible = false;
     this.gridControlData.EmbeddedNavigator.Buttons.Edit.Visible = false;
     this.gridControlData.EmbeddedNavigator.Buttons.EndEdit.Visible = false;
     this.gridControlData.EmbeddedNavigator.Buttons.Remove.Visible = false;
     this.gridControlData.Location = new System.Drawing.Point(2, 21);
     this.gridControlData.MainView = this.gridViewData;
     this.gridControlData.Name = "gridControlData";
     this.gridControlData.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemButtonEditSave,
     this.repositoryItemButtonEditDel,
     this.repositoryItemDateEditdatein,
     this.repositoryItemGridLookUpEdituserin,
     this.repositoryItemMemoExEditremarks,
     this.repositoryItemDateEditDMY});
     this.gridControlData.Size = new System.Drawing.Size(1051, 273);
     this.gridControlData.TabIndex = 0;
     this.gridControlData.UseEmbeddedNavigator = true;
     this.gridControlData.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewData});
     this.gridControlData.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ActiveKeyDownEvent);
     //
     // XPSCSData
     //
     this.XPSCSData.AllowEdit = true;
     this.XPSCSData.AllowNew = true;
     this.XPSCSData.AllowRemove = true;
     this.XPSCSData.ObjectType = typeof(RetirementCenter.DataSources.dsQueries.vQry59DataTable);
     this.XPSCSData.Session = this.UOWData;
     //
     // UOWData
     //
     this.UOWData.TrackPropertiesModifications = false;
     //
     // gridViewData
     //
     this.gridViewData.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colDofatSarfAId,
     this.colMMashatId,
     this.colamanatrem,
     this.colBeandate,
     this.coldateremember,
     this.coldeleted,
     this.coldatein,
     this.coluserin,
     this.gridColumnSave,
     this.gridColumnDelete,
     this.colMMashatName1,
     this.colsarfnumber,
     this.colSyndicate,
     this.colSubCommitte});
     this.gridViewData.GridControl = this.gridControlData;
     this.gridViewData.Name = "gridViewData";
     this.gridViewData.NewItemRowText = "اضغط لاضافة جديد";
     this.gridViewData.OptionsNavigation.AutoFocusNewRow = true;
     this.gridViewData.OptionsView.ColumnAutoWidth = false;
     this.gridViewData.OptionsView.ShowAutoFilterRow = true;
     this.gridViewData.OptionsView.ShowDetailButtons = false;
     //
     // colDofatSarfAId
     //
     this.colDofatSarfAId.AppearanceCell.Options.UseTextOptions = true;
     this.colDofatSarfAId.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colDofatSarfAId.AppearanceHeader.Options.UseTextOptions = true;
     this.colDofatSarfAId.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colDofatSarfAId.Caption = "الدفعة";
     this.colDofatSarfAId.FieldName = "DofatSarf";
     this.colDofatSarfAId.Name = "colDofatSarfAId";
     this.colDofatSarfAId.OptionsColumn.AllowEdit = false;
     this.colDofatSarfAId.Visible = true;
     this.colDofatSarfAId.VisibleIndex = 0;
     this.colDofatSarfAId.Width = 128;
     //
     // colMMashatId
     //
     this.colMMashatId.AppearanceCell.Options.UseTextOptions = true;
     this.colMMashatId.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colMMashatId.AppearanceHeader.Options.UseTextOptions = true;
     this.colMMashatId.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colMMashatId.Caption = "اسم الوريث";
     this.colMMashatId.FieldName = "personName";
     this.colMMashatId.Name = "colMMashatId";
     this.colMMashatId.OptionsColumn.AllowEdit = false;
     this.colMMashatId.Visible = true;
     this.colMMashatId.VisibleIndex = 3;
     this.colMMashatId.Width = 150;
     //
     // colamanatrem
     //
     this.colamanatrem.AppearanceCell.Options.UseTextOptions = true;
     this.colamanatrem.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colamanatrem.AppearanceHeader.Options.UseTextOptions = true;
     this.colamanatrem.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colamanatrem.Caption = "ملاحظات";
     this.colamanatrem.ColumnEdit = this.repositoryItemMemoExEditremarks;
     this.colamanatrem.FieldName = "remarks";
     this.colamanatrem.Name = "colamanatrem";
     this.colamanatrem.Visible = true;
     this.colamanatrem.VisibleIndex = 7;
     //
     // repositoryItemMemoExEditremarks
     //
     this.repositoryItemMemoExEditremarks.AutoHeight = false;
     this.repositoryItemMemoExEditremarks.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemMemoExEditremarks.Name = "repositoryItemMemoExEditremarks";
     //
     // colBeandate
     //
     this.colBeandate.AppearanceCell.Options.UseTextOptions = true;
     this.colBeandate.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colBeandate.AppearanceHeader.Options.UseTextOptions = true;
     this.colBeandate.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colBeandate.Caption = "التاريخ";
     this.colBeandate.ColumnEdit = this.repositoryItemDateEditDMY;
     this.colBeandate.FieldName = "Beandate";
     this.colBeandate.Name = "colBeandate";
     this.colBeandate.Visible = true;
     this.colBeandate.VisibleIndex = 8;
     //
     // repositoryItemDateEditDMY
     //
     this.repositoryItemDateEditDMY.AutoHeight = false;
     this.repositoryItemDateEditDMY.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemDateEditDMY.DisplayFormat.FormatString = "d/M/yyyy";
     this.repositoryItemDateEditDMY.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.repositoryItemDateEditDMY.EditFormat.FormatString = "d/M/yyyy";
     this.repositoryItemDateEditDMY.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.repositoryItemDateEditDMY.Mask.EditMask = "d/M/yyyy";
     this.repositoryItemDateEditDMY.Name = "repositoryItemDateEditDMY";
     this.repositoryItemDateEditDMY.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     //
     // coldateremember
     //
     this.coldateremember.AppearanceCell.Options.UseTextOptions = true;
     this.coldateremember.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.coldateremember.AppearanceHeader.Options.UseTextOptions = true;
     this.coldateremember.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.coldateremember.Caption = "تاريخ التذكير";
     this.coldateremember.FieldName = "dateremember";
     this.coldateremember.Name = "coldateremember";
     this.coldateremember.Visible = true;
     this.coldateremember.VisibleIndex = 9;
     //
     // coldeleted
     //
     this.coldeleted.AppearanceCell.Options.UseTextOptions = true;
     this.coldeleted.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.coldeleted.AppearanceHeader.Options.UseTextOptions = true;
     this.coldeleted.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.coldeleted.Caption = "منع";
     this.coldeleted.FieldName = "deleted";
     this.coldeleted.Name = "coldeleted";
     this.coldeleted.OptionsColumn.AllowEdit = false;
     this.coldeleted.Visible = true;
     this.coldeleted.VisibleIndex = 6;
     //
     // coldatein
     //
     this.coldatein.AppearanceCell.Options.UseTextOptions = true;
     this.coldatein.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.coldatein.AppearanceHeader.Options.UseTextOptions = true;
     this.coldatein.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.coldatein.Caption = "تاريخ الادخال";
     this.coldatein.ColumnEdit = this.repositoryItemDateEditdatein;
     this.coldatein.FieldName = "datein";
     this.coldatein.Name = "coldatein";
     this.coldatein.OptionsColumn.AllowEdit = false;
     this.coldatein.Width = 94;
     //
     // repositoryItemDateEditdatein
     //
     this.repositoryItemDateEditdatein.AutoHeight = false;
     this.repositoryItemDateEditdatein.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemDateEditdatein.DisplayFormat.FormatString = "g";
     this.repositoryItemDateEditdatein.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.repositoryItemDateEditdatein.EditFormat.FormatString = "g";
     this.repositoryItemDateEditdatein.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.repositoryItemDateEditdatein.Mask.EditMask = "g";
     this.repositoryItemDateEditdatein.Name = "repositoryItemDateEditdatein";
     this.repositoryItemDateEditdatein.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     //
     // coluserin
     //
     this.coluserin.AppearanceCell.Options.UseTextOptions = true;
     this.coluserin.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.coluserin.AppearanceHeader.Options.UseTextOptions = true;
     this.coluserin.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.coluserin.Caption = "مسئول الادخال";
     this.coluserin.ColumnEdit = this.repositoryItemGridLookUpEdituserin;
     this.coluserin.FieldName = "userin";
     this.coluserin.Name = "coluserin";
     this.coluserin.OptionsColumn.AllowEdit = false;
     this.coluserin.Width = 97;
     //
     // repositoryItemGridLookUpEdituserin
     //
     this.repositoryItemGridLookUpEdituserin.AutoHeight = false;
     this.repositoryItemGridLookUpEdituserin.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemGridLookUpEdituserin.DataSource = this.usersBindingSource;
     this.repositoryItemGridLookUpEdituserin.DisplayMember = "RealName";
     this.repositoryItemGridLookUpEdituserin.Name = "repositoryItemGridLookUpEdituserin";
     this.repositoryItemGridLookUpEdituserin.NullText = "";
     this.repositoryItemGridLookUpEdituserin.ValueMember = "UserID";
     this.repositoryItemGridLookUpEdituserin.View = this.gridView2;
     //
     // usersBindingSource
     //
     this.usersBindingSource.DataMember = "Users";
     this.usersBindingSource.DataSource = this.dsRetirementCenter;
     //
     // dsRetirementCenter
     //
     this.dsRetirementCenter.DataSetName = "dsRetirementCenter";
     this.dsRetirementCenter.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // gridView2
     //
     this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colRealName});
     this.gridView2.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
     this.gridView2.Name = "gridView2";
     this.gridView2.OptionsSelection.EnableAppearanceFocusedCell = false;
     this.gridView2.OptionsView.ShowGroupPanel = false;
     //
     // colRealName
     //
     this.colRealName.FieldName = "RealName";
     this.colRealName.Name = "colRealName";
     this.colRealName.Visible = true;
     this.colRealName.VisibleIndex = 0;
     //
     // gridColumnSave
     //
     this.gridColumnSave.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumnSave.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumnSave.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumnSave.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumnSave.Caption = "حفظ";
     this.gridColumnSave.ColumnEdit = this.repositoryItemButtonEditSave;
     this.gridColumnSave.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Right;
     this.gridColumnSave.Name = "gridColumnSave";
     this.gridColumnSave.Visible = true;
     this.gridColumnSave.VisibleIndex = 10;
     this.gridColumnSave.Width = 55;
     //
     // repositoryItemButtonEditSave
     //
     this.repositoryItemButtonEditSave.AutoHeight = false;
     this.repositoryItemButtonEditSave.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.OK)});
     this.repositoryItemButtonEditSave.Name = "repositoryItemButtonEditSave";
     this.repositoryItemButtonEditSave.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor;
     this.repositoryItemButtonEditSave.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemButtonEditSave_ButtonClick);
     //
     // gridColumnDelete
     //
     this.gridColumnDelete.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumnDelete.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumnDelete.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumnDelete.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumnDelete.Caption = "حذف";
     this.gridColumnDelete.ColumnEdit = this.repositoryItemButtonEditDel;
     this.gridColumnDelete.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Right;
     this.gridColumnDelete.Name = "gridColumnDelete";
     this.gridColumnDelete.Visible = true;
     this.gridColumnDelete.VisibleIndex = 11;
     this.gridColumnDelete.Width = 51;
     //
     // repositoryItemButtonEditDel
     //
     this.repositoryItemButtonEditDel.AutoHeight = false;
     this.repositoryItemButtonEditDel.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Delete)});
     this.repositoryItemButtonEditDel.Name = "repositoryItemButtonEditDel";
     this.repositoryItemButtonEditDel.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor;
     this.repositoryItemButtonEditDel.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemButtonEditDel_ButtonClick);
     //
     // colMMashatName1
     //
     this.colMMashatName1.AppearanceCell.Options.UseTextOptions = true;
     this.colMMashatName1.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colMMashatName1.AppearanceHeader.Options.UseTextOptions = true;
     this.colMMashatName1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colMMashatName1.Caption = "اسم الاب";
     this.colMMashatName1.FieldName = "MMashatName";
     this.colMMashatName1.Name = "colMMashatName1";
     this.colMMashatName1.OptionsColumn.AllowEdit = false;
     this.colMMashatName1.Visible = true;
     this.colMMashatName1.VisibleIndex = 1;
     //
     // colsarfnumber
     //
     this.colsarfnumber.AppearanceCell.Options.UseTextOptions = true;
     this.colsarfnumber.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colsarfnumber.AppearanceHeader.Options.UseTextOptions = true;
     this.colsarfnumber.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colsarfnumber.Caption = "رقم صرف";
     this.colsarfnumber.FieldName = "sarfnumber";
     this.colsarfnumber.Name = "colsarfnumber";
     this.colsarfnumber.OptionsColumn.AllowEdit = false;
     this.colsarfnumber.Visible = true;
     this.colsarfnumber.VisibleIndex = 2;
     //
     // colSyndicate
     //
     this.colSyndicate.AppearanceCell.Options.UseTextOptions = true;
     this.colSyndicate.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colSyndicate.AppearanceHeader.Options.UseTextOptions = true;
     this.colSyndicate.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colSyndicate.Caption = "فرعية";
     this.colSyndicate.FieldName = "Syndicate";
     this.colSyndicate.Name = "colSyndicate";
     this.colSyndicate.OptionsColumn.AllowEdit = false;
     this.colSyndicate.Visible = true;
     this.colSyndicate.VisibleIndex = 4;
     //
     // colSubCommitte
     //
     this.colSubCommitte.AppearanceCell.Options.UseTextOptions = true;
     this.colSubCommitte.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colSubCommitte.AppearanceHeader.Options.UseTextOptions = true;
     this.colSubCommitte.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colSubCommitte.Caption = "لجنة";
     this.colSubCommitte.FieldName = "SubCommitte";
     this.colSubCommitte.Name = "colSubCommitte";
     this.colSubCommitte.OptionsColumn.AllowEdit = false;
     this.colSubCommitte.Visible = true;
     this.colSubCommitte.VisibleIndex = 5;
     //
     // colEDARET
     //
     this.colEDARET.AppearanceCell.Options.UseTextOptions = true;
     this.colEDARET.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colEDARET.AppearanceHeader.Options.UseTextOptions = true;
     this.colEDARET.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colEDARET.Caption = "اسم الاداره";
     this.colEDARET.FieldName = "EDARET";
     this.colEDARET.Name = "colEDARET";
     this.colEDARET.Visible = true;
     this.colEDARET.VisibleIndex = 0;
     //
     // colEDARET1
     //
     this.colEDARET1.AppearanceCell.Options.UseTextOptions = true;
     this.colEDARET1.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colEDARET1.AppearanceHeader.Options.UseTextOptions = true;
     this.colEDARET1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colEDARET1.Caption = "الادارة";
     this.colEDARET1.FieldName = "EDARET";
     this.colEDARET1.Name = "colEDARET1";
     this.colEDARET1.Visible = true;
     this.colEDARET1.VisibleIndex = 0;
     //
     // colEdaraMandopName
     //
     this.colEdaraMandopName.AppearanceCell.Options.UseTextOptions = true;
     this.colEdaraMandopName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colEdaraMandopName.AppearanceHeader.Options.UseTextOptions = true;
     this.colEdaraMandopName.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colEdaraMandopName.Caption = "الاسم";
     this.colEdaraMandopName.FieldName = "EdaraMandopName";
     this.colEdaraMandopName.Name = "colEdaraMandopName";
     this.colEdaraMandopName.Visible = true;
     this.colEdaraMandopName.VisibleIndex = 0;
     //
     // colnkapaMandopName
     //
     this.colnkapaMandopName.AppearanceCell.Options.UseTextOptions = true;
     this.colnkapaMandopName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colnkapaMandopName.AppearanceHeader.Options.UseTextOptions = true;
     this.colnkapaMandopName.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colnkapaMandopName.Caption = "الاسم";
     this.colnkapaMandopName.FieldName = "nkapaMandopName";
     this.colnkapaMandopName.Name = "colnkapaMandopName";
     this.colnkapaMandopName.Visible = true;
     this.colnkapaMandopName.VisibleIndex = 0;
     //
     // gridColumn2
     //
     this.gridColumn2.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumn2.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn2.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumn2.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn2.Caption = "اسم الشهر";
     this.gridColumn2.FieldName = "MonthName";
     this.gridColumn2.Name = "gridColumn2";
     this.gridColumn2.Visible = true;
     this.gridColumn2.VisibleIndex = 0;
     //
     // groupControl1
     //
     this.groupControl1.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.groupControl1.Controls.Add(this.gridControlData);
     this.groupControl1.Location = new System.Drawing.Point(12, 12);
     this.groupControl1.Name = "groupControl1";
     this.groupControl1.Size = new System.Drawing.Size(1055, 296);
     this.groupControl1.TabIndex = 1;
     //
     // groupControl2
     //
     this.groupControl2.AllowTouchScroll = true;
     this.groupControl2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.groupControl2.Controls.Add(this.btnNew);
     this.groupControl2.Location = new System.Drawing.Point(12, 314);
     this.groupControl2.Name = "groupControl2";
     this.groupControl2.Size = new System.Drawing.Size(1055, 62);
     this.groupControl2.TabIndex = 2;
     //
     // btnNew
     //
     this.btnNew.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.btnNew.Image = global::RetirementCenter.Properties.Resources.Add;
     this.btnNew.Location = new System.Drawing.Point(850, 23);
     this.btnNew.Name = "btnNew";
     this.btnNew.Size = new System.Drawing.Size(200, 35);
     this.btnNew.TabIndex = 0;
     this.btnNew.Text = "جديد";
     this.btnNew.Click += new System.EventHandler(this.btnNew_Click);
     //
     // usersTableAdapter
     //
     this.usersTableAdapter.ClearBeforeFill = true;
     //
     // tBLBeanWarsaTableAdapter
     //
     this.tBLBeanWarsaTableAdapter.ClearBeforeFill = true;
     //
     // TBLBeanWarsaFrm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(1079, 388);
     this.Controls.Add(this.groupControl2);
     this.Controls.Add(this.groupControl1);
     this.Name = "TBLBeanWarsaFrm";
     this.Text = "بيان الورثة";
     this.Load += new System.EventHandler(this.FormFrm_Load);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlData)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.XPSCSData)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.UOWData)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewData)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoExEditremarks)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDMY.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDMY)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditdatein.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditdatein)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEdituserin)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.usersBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsRetirementCenter)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEditSave)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEditDel)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit();
     this.groupControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).EndInit();
     this.groupControl2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
 public EditIssueInfo(DevExpress.Xpo.UnitOfWork unitOfWork, IList users)
 {
     UnitOfWork = unitOfWork;
     Users      = users;
 }
 public void DataSourceRefresh(DevExpress.Mvvm.Xpf.DataSourceRefreshArgs args)
 {
     _ItemsSource = null;
     _UnitOfWork  = null;
     RaisePropertyChanged(nameof(ItemsSource));
 }
Example #11
0
 public UnitOfWork(IDataStore dataStore)
 {
     _unitOfWork = dataStore.CreateUnitOfWork();
 }
        private List<Damany.PortraitCapturer.DAL.DTO.CapturedImageObject> SaveMotionFrames(List<Frame> motionFrames)
        {
            List<Damany.PortraitCapturer.DAL.DTO.CapturedImageObject> savedObjects = new List<Damany.PortraitCapturer.DAL.DTO.CapturedImageObject>();
            using (var uow = new DevExpress.Xpo.UnitOfWork())
            {
                foreach (var motionFrame in motionFrames)
                {
                    var f = new Damany.PortraitCapturer.DAL.DTO.Frame(uow);
                    var path = SaveImage(motionFrame.GetImage(), motionFrame.CapturedAt);
                    f.CaptureTime = motionFrame.CapturedAt;
                    f.ImagePath = path;
                    f.ImageSourceId = motionFrame.DeviceId;
                    f.Save();
                    savedObjects.Add(f);
                }

                uow.CommitChanges();
            }

            for (int i = 0; i < motionFrames.Count; i++)
            {
                motionFrames[i].Oid = savedObjects[i].Oid;
            }

            return savedObjects;
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
     this.btnSelectOperator = new System.Windows.Forms.Button();
     this.comboxStauta = new System.Windows.Forms.ComboBox();
     this.btnClear = new System.Windows.Forms.Button();
     this.btnSelect = new System.Windows.Forms.Button();
     this.txtNum = new System.Windows.Forms.TextBox();
     this.txtOperator = new System.Windows.Forms.TextBox();
     this.txtGoodsName = new System.Windows.Forms.TextBox();
     this.txtBarcode = new System.Windows.Forms.TextBox();
     this.label5 = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     this.panel1 = new System.Windows.Forms.Panel();
     this.btnAlter = new System.Windows.Forms.Button();
     this.btnDelete = new System.Windows.Forms.Button();
     this.btnAdd = new System.Windows.Forms.Button();
     this.btnStop = new System.Windows.Forms.Button();
     this.btnStart = new System.Windows.Forms.Button();
     this.panel2 = new System.Windows.Forms.Panel();
     this.gridControl1 = new DevExpress.XtraGrid.GridControl();
     this.xpServerCollectionSource1 = new DevExpress.Xpo.XPServerCollectionSource();
     this.unitOfWork1 = new DevExpress.Xpo.UnitOfWork();
     this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colZT = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colSPBH = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colDJ = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colPM = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colCBNY = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colZZ = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colTXM = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colLRRQ = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colLRRY = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colSPXXID = new DevExpress.XtraGrid.Columns.GridColumn();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
     this.panelControl1.SuspendLayout();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xpServerCollectionSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.unitOfWork1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     this.SuspendLayout();
     //
     // panelControl1
     //
     this.panelControl1.Controls.Add(this.btnSelectOperator);
     this.panelControl1.Controls.Add(this.comboxStauta);
     this.panelControl1.Controls.Add(this.btnClear);
     this.panelControl1.Controls.Add(this.btnSelect);
     this.panelControl1.Controls.Add(this.txtNum);
     this.panelControl1.Controls.Add(this.txtOperator);
     this.panelControl1.Controls.Add(this.txtGoodsName);
     this.panelControl1.Controls.Add(this.txtBarcode);
     this.panelControl1.Controls.Add(this.label5);
     this.panelControl1.Controls.Add(this.label4);
     this.panelControl1.Controls.Add(this.label3);
     this.panelControl1.Controls.Add(this.label2);
     this.panelControl1.Controls.Add(this.label1);
     this.panelControl1.Dock = System.Windows.Forms.DockStyle.Top;
     this.panelControl1.Location = new System.Drawing.Point(0, 0);
     this.panelControl1.Name = "panelControl1";
     this.panelControl1.Size = new System.Drawing.Size(843, 108);
     this.panelControl1.TabIndex = 0;
     //
     // btnSelectOperator
     //
     this.btnSelectOperator.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.btnSelectOperator.Location = new System.Drawing.Point(402, 79);
     this.btnSelectOperator.Name = "btnSelectOperator";
     this.btnSelectOperator.Size = new System.Drawing.Size(28, 23);
     this.btnSelectOperator.TabIndex = 13;
     this.btnSelectOperator.Text = "V";
     this.btnSelectOperator.UseVisualStyleBackColor = false;
     this.btnSelectOperator.Click += new System.EventHandler(this.btnSelectOperator_Click);
     //
     // comboxStauta
     //
     this.comboxStauta.AutoCompleteCustomSource.AddRange(new string[] {
     "录入",
     "启用",
     "停用"});
     this.comboxStauta.FormattingEnabled = true;
     this.comboxStauta.Items.AddRange(new object[] {
     "录入",
     "启用",
     "停用"});
     this.comboxStauta.Location = new System.Drawing.Point(457, 47);
     this.comboxStauta.Name = "comboxStauta";
     this.comboxStauta.Size = new System.Drawing.Size(316, 20);
     this.comboxStauta.TabIndex = 12;
     //
     // btnClear
     //
     this.btnClear.Location = new System.Drawing.Point(723, 74);
     this.btnClear.Name = "btnClear";
     this.btnClear.Size = new System.Drawing.Size(90, 23);
     this.btnClear.TabIndex = 11;
     this.btnClear.Text = "清除";
     this.btnClear.UseVisualStyleBackColor = true;
     this.btnClear.Click += new System.EventHandler(this.btnClear_Click);
     //
     // btnSelect
     //
     this.btnSelect.Location = new System.Drawing.Point(616, 74);
     this.btnSelect.Name = "btnSelect";
     this.btnSelect.Size = new System.Drawing.Size(90, 23);
     this.btnSelect.TabIndex = 10;
     this.btnSelect.Text = "立刻查找";
     this.btnSelect.UseVisualStyleBackColor = true;
     this.btnSelect.Click += new System.EventHandler(this.btnSelect_Click);
     //
     // txtNum
     //
     this.txtNum.Location = new System.Drawing.Point(456, 8);
     this.txtNum.Name = "txtNum";
     this.txtNum.Size = new System.Drawing.Size(317, 21);
     this.txtNum.TabIndex = 8;
     //
     // txtOperator
     //
     this.txtOperator.Location = new System.Drawing.Point(86, 81);
     this.txtOperator.Name = "txtOperator";
     this.txtOperator.Size = new System.Drawing.Size(317, 21);
     this.txtOperator.TabIndex = 7;
     //
     // txtGoodsName
     //
     this.txtGoodsName.Location = new System.Drawing.Point(87, 42);
     this.txtGoodsName.Name = "txtGoodsName";
     this.txtGoodsName.Size = new System.Drawing.Size(317, 21);
     this.txtGoodsName.TabIndex = 6;
     //
     // txtBarcode
     //
     this.txtBarcode.Location = new System.Drawing.Point(87, 7);
     this.txtBarcode.Name = "txtBarcode";
     this.txtBarcode.Size = new System.Drawing.Size(317, 21);
     this.txtBarcode.TabIndex = 5;
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label5.Location = new System.Drawing.Point(24, 82);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(56, 16);
     this.label5.TabIndex = 4;
     this.label5.Text = "操作员";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label4.Location = new System.Drawing.Point(24, 47);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(40, 16);
     this.label4.TabIndex = 3;
     this.label4.Text = "品名";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label3.Location = new System.Drawing.Point(410, 13);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(40, 16);
     this.label3.TabIndex = 2;
     this.label3.Text = "编号";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label2.Location = new System.Drawing.Point(410, 47);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(40, 16);
     this.label2.TabIndex = 1;
     this.label2.Text = "状态";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label1.Location = new System.Drawing.Point(24, 13);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(56, 16);
     this.label1.TabIndex = 0;
     this.label1.Text = "条形码";
     //
     // panel1
     //
     this.panel1.Controls.Add(this.btnAlter);
     this.panel1.Controls.Add(this.btnDelete);
     this.panel1.Controls.Add(this.btnAdd);
     this.panel1.Controls.Add(this.btnStop);
     this.panel1.Controls.Add(this.btnStart);
     this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
     this.panel1.Location = new System.Drawing.Point(0, 108);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(843, 28);
     this.panel1.TabIndex = 1;
     //
     // btnAlter
     //
     this.btnAlter.Location = new System.Drawing.Point(745, 3);
     this.btnAlter.Name = "btnAlter";
     this.btnAlter.Size = new System.Drawing.Size(90, 23);
     this.btnAlter.TabIndex = 4;
     this.btnAlter.Text = "修改";
     this.btnAlter.UseVisualStyleBackColor = true;
     this.btnAlter.Click += new System.EventHandler(this.btnAlter_Click);
     //
     // btnDelete
     //
     this.btnDelete.Location = new System.Drawing.Point(457, 3);
     this.btnDelete.Name = "btnDelete";
     this.btnDelete.Size = new System.Drawing.Size(90, 23);
     this.btnDelete.TabIndex = 3;
     this.btnDelete.Text = "删除";
     this.btnDelete.UseVisualStyleBackColor = true;
     this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
     //
     // btnAdd
     //
     this.btnAdd.Location = new System.Drawing.Point(360, 3);
     this.btnAdd.Name = "btnAdd";
     this.btnAdd.Size = new System.Drawing.Size(90, 23);
     this.btnAdd.TabIndex = 2;
     this.btnAdd.Text = "增加";
     this.btnAdd.UseVisualStyleBackColor = true;
     this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
     //
     // btnStop
     //
     this.btnStop.Location = new System.Drawing.Point(649, 3);
     this.btnStop.Name = "btnStop";
     this.btnStop.Size = new System.Drawing.Size(90, 23);
     this.btnStop.TabIndex = 1;
     this.btnStop.Text = "停止";
     this.btnStop.UseVisualStyleBackColor = true;
     this.btnStop.Click += new System.EventHandler(this.btnStop_Click);
     //
     // btnStart
     //
     this.btnStart.Location = new System.Drawing.Point(553, 3);
     this.btnStart.Name = "btnStart";
     this.btnStart.Size = new System.Drawing.Size(90, 23);
     this.btnStart.TabIndex = 0;
     this.btnStart.Text = "启用";
     this.btnStart.UseVisualStyleBackColor = true;
     this.btnStart.Click += new System.EventHandler(this.btnStart_Click);
     //
     // panel2
     //
     this.panel2.Controls.Add(this.gridControl1);
     this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel2.Location = new System.Drawing.Point(0, 136);
     this.panel2.Name = "panel2";
     this.panel2.Size = new System.Drawing.Size(843, 282);
     this.panel2.TabIndex = 2;
     //
     // gridControl1
     //
     this.gridControl1.DataSource = this.xpServerCollectionSource1;
     this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControl1.Location = new System.Drawing.Point(0, 0);
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.Size = new System.Drawing.Size(843, 282);
     this.gridControl1.TabIndex = 0;
     this.gridControl1.UseEmbeddedNavigator = true;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridView1});
     //
     // xpServerCollectionSource1
     //
     this.xpServerCollectionSource1.ObjectType = typeof(XINHUA.VIEW_JT_J_SPXX_JD);
     this.xpServerCollectionSource1.Session = this.unitOfWork1;
     //
     // gridView1
     //
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colZT,
     this.colSPBH,
     this.colDJ,
     this.colPM,
     this.colCBNY,
     this.colZZ,
     this.colTXM,
     this.colLRRQ,
     this.colLRRY,
     this.colSPXXID});
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name = "gridView1";
     //
     // colZT
     //
     this.colZT.Caption = "状态";
     this.colZT.FieldName = "ZT";
     this.colZT.Name = "colZT";
     this.colZT.Visible = true;
     this.colZT.VisibleIndex = 0;
     //
     // colSPBH
     //
     this.colSPBH.Caption = "商品编号";
     this.colSPBH.FieldName = "SPBH";
     this.colSPBH.Name = "colSPBH";
     this.colSPBH.Visible = true;
     this.colSPBH.VisibleIndex = 1;
     //
     // colDJ
     //
     this.colDJ.Caption = "定价";
     this.colDJ.FieldName = "DJ";
     this.colDJ.Name = "colDJ";
     this.colDJ.Visible = true;
     this.colDJ.VisibleIndex = 2;
     //
     // colPM
     //
     this.colPM.Caption = "品名";
     this.colPM.FieldName = "PM";
     this.colPM.Name = "colPM";
     this.colPM.Visible = true;
     this.colPM.VisibleIndex = 3;
     //
     // colCBNY
     //
     this.colCBNY.Caption = "出版年月";
     this.colCBNY.FieldName = "CBNY";
     this.colCBNY.Name = "colCBNY";
     this.colCBNY.Visible = true;
     this.colCBNY.VisibleIndex = 4;
     //
     // colZZ
     //
     this.colZZ.Caption = "作者";
     this.colZZ.FieldName = "ZZ";
     this.colZZ.Name = "colZZ";
     this.colZZ.Visible = true;
     this.colZZ.VisibleIndex = 5;
     //
     // colTXM
     //
     this.colTXM.Caption = "条形码";
     this.colTXM.FieldName = "TXM";
     this.colTXM.Name = "colTXM";
     this.colTXM.Visible = true;
     this.colTXM.VisibleIndex = 6;
     //
     // colLRRQ
     //
     this.colLRRQ.Caption = "录入日期";
     this.colLRRQ.FieldName = "LRRQ";
     this.colLRRQ.Name = "colLRRQ";
     this.colLRRQ.Visible = true;
     this.colLRRQ.VisibleIndex = 7;
     //
     // colLRRY
     //
     this.colLRRY.Caption = "录入人员";
     this.colLRRY.FieldName = "LRRY";
     this.colLRRY.Name = "colLRRY";
     this.colLRRY.Visible = true;
     this.colLRRY.VisibleIndex = 8;
     //
     // colSPXXID
     //
     this.colSPXXID.Caption = "商品信息ID";
     this.colSPXXID.FieldName = "SPXXID";
     this.colSPXXID.Name = "colSPXXID";
     this.colSPXXID.Visible = true;
     this.colSPXXID.VisibleIndex = 9;
     //
     // FrmGoodsInformation
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoSize = true;
     this.ClientSize = new System.Drawing.Size(843, 418);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.panelControl1);
     this.Name = "FrmGoodsInformation";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text = "商品信息";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Load += new System.EventHandler(this.FrmGoodsInformation_Load);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
     this.panelControl1.ResumeLayout(false);
     this.panelControl1.PerformLayout();
     this.panel1.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xpServerCollectionSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.unitOfWork1)).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();
     this.gridControlData = new DevExpress.XtraGrid.GridControl();
     this.XPSCSData = new DevExpress.Xpo.XPServerCollectionSource(this.components);
     this.UOWData = new DevExpress.Xpo.UnitOfWork(this.components);
     this.gridViewData = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.coluserin = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemDateEditdatein = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.coldateincc = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colRealNamecc1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colMMashatName1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colsarfnumber = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colSyndicate = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colSubCommitte = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colyasref = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colMMashatId = new DevExpress.XtraGrid.Columns.GridColumn();
     this.coldeathdate = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemDateEditDMY = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.colMMashatNId = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemButtonEditUpdate = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
     this.colsarf = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colsheekno = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colsheekdate = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colEDARET = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colEDARET1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colEdaraMandopName = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colnkapaMandopName = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.groupControl1 = new DevExpress.XtraEditors.GroupControl();
     this.tblDeathMembersTableAdapter = new RetirementCenter.DataSources.dsRetirementCenterTableAdapters.TBLDeathMembersTableAdapter();
     this.groupControl2 = new DevExpress.XtraEditors.GroupControl();
     this.btnEdit = new DevExpress.XtraEditors.SimpleButton();
     this.btnClear = new DevExpress.XtraEditors.SimpleButton();
     this.lbc = new DevExpress.XtraEditors.ListBoxControl();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlData)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.XPSCSData)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.UOWData)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewData)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditdatein)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditdatein.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDMY)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDMY.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEditUpdate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit();
     this.groupControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).BeginInit();
     this.groupControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lbc)).BeginInit();
     this.SuspendLayout();
     //
     // gridControlData
     //
     this.gridControlData.DataSource = this.XPSCSData;
     this.gridControlData.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlData.EmbeddedNavigator.Buttons.Append.Visible = false;
     this.gridControlData.EmbeddedNavigator.Buttons.CancelEdit.Visible = false;
     this.gridControlData.EmbeddedNavigator.Buttons.Edit.Visible = false;
     this.gridControlData.EmbeddedNavigator.Buttons.EndEdit.Visible = false;
     this.gridControlData.EmbeddedNavigator.Buttons.Remove.Visible = false;
     this.gridControlData.Location = new System.Drawing.Point(2, 21);
     this.gridControlData.MainView = this.gridViewData;
     this.gridControlData.Name = "gridControlData";
     this.gridControlData.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemDateEditdatein,
     this.repositoryItemDateEditDMY,
     this.repositoryItemButtonEditUpdate});
     this.gridControlData.Size = new System.Drawing.Size(1075, 285);
     this.gridControlData.TabIndex = 0;
     this.gridControlData.UseEmbeddedNavigator = true;
     this.gridControlData.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewData});
     this.gridControlData.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ActiveKeyDownEvent);
     //
     // XPSCSData
     //
     this.XPSCSData.ObjectType = typeof(RetirementCenter.DataSources.dsQueries.vTBLDeathMembersDataTable);
     this.XPSCSData.Session = this.UOWData;
     //
     // UOWData
     //
     this.UOWData.TrackPropertiesModifications = false;
     //
     // gridViewData
     //
     this.gridViewData.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.coluserin,
     this.coldateincc,
     this.colRealNamecc1,
     this.colMMashatName1,
     this.colsarfnumber,
     this.colSyndicate,
     this.colSubCommitte,
     this.colyasref,
     this.colMMashatId,
     this.coldeathdate,
     this.colMMashatNId,
     this.gridColumn1,
     this.colsarf,
     this.colsheekno,
     this.colsheekdate});
     this.gridViewData.GridControl = this.gridControlData;
     this.gridViewData.Name = "gridViewData";
     this.gridViewData.NewItemRowText = "اضغط لاضافة جديد";
     this.gridViewData.OptionsNavigation.AutoFocusNewRow = true;
     this.gridViewData.OptionsView.ColumnAutoWidth = false;
     this.gridViewData.OptionsView.ShowAutoFilterRow = true;
     this.gridViewData.OptionsView.ShowDetailButtons = false;
     this.gridViewData.OptionsView.ShowGroupPanel = false;
     //
     // coluserin
     //
     this.coluserin.AppearanceCell.Options.UseTextOptions = true;
     this.coluserin.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.coluserin.AppearanceHeader.Options.UseTextOptions = true;
     this.coluserin.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.coluserin.Caption = "تاريخ الادخال";
     this.coluserin.ColumnEdit = this.repositoryItemDateEditdatein;
     this.coluserin.FieldName = "datein";
     this.coluserin.Name = "coluserin";
     this.coluserin.Visible = true;
     this.coluserin.VisibleIndex = 8;
     //
     // repositoryItemDateEditdatein
     //
     this.repositoryItemDateEditdatein.AutoHeight = false;
     this.repositoryItemDateEditdatein.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemDateEditdatein.DisplayFormat.FormatString = "g";
     this.repositoryItemDateEditdatein.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.repositoryItemDateEditdatein.EditFormat.FormatString = "g";
     this.repositoryItemDateEditdatein.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.repositoryItemDateEditdatein.Mask.EditMask = "g";
     this.repositoryItemDateEditdatein.Name = "repositoryItemDateEditdatein";
     this.repositoryItemDateEditdatein.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     //
     // coldateincc
     //
     this.coldateincc.AppearanceCell.Options.UseTextOptions = true;
     this.coldateincc.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.coldateincc.AppearanceHeader.Options.UseTextOptions = true;
     this.coldateincc.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.coldateincc.Caption = "تاريخ الادخال حسابات";
     this.coldateincc.ColumnEdit = this.repositoryItemDateEditdatein;
     this.coldateincc.FieldName = "dateinacc";
     this.coldateincc.Name = "coldateincc";
     this.coldateincc.OptionsColumn.AllowEdit = false;
     this.coldateincc.Visible = true;
     this.coldateincc.VisibleIndex = 13;
     this.coldateincc.Width = 115;
     //
     // colRealNamecc1
     //
     this.colRealNamecc1.Caption = "مسئول الادخال حسابات";
     this.colRealNamecc1.FieldName = "RealNamecc";
     this.colRealNamecc1.Name = "colRealNamecc1";
     this.colRealNamecc1.Visible = true;
     this.colRealNamecc1.VisibleIndex = 14;
     this.colRealNamecc1.Width = 128;
     //
     // colMMashatName1
     //
     this.colMMashatName1.AppearanceCell.Options.UseTextOptions = true;
     this.colMMashatName1.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colMMashatName1.AppearanceHeader.Options.UseTextOptions = true;
     this.colMMashatName1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colMMashatName1.Caption = "الاسم";
     this.colMMashatName1.FieldName = "MMashatName";
     this.colMMashatName1.Name = "colMMashatName1";
     this.colMMashatName1.OptionsColumn.AllowEdit = false;
     this.colMMashatName1.Visible = true;
     this.colMMashatName1.VisibleIndex = 1;
     this.colMMashatName1.Width = 212;
     //
     // colsarfnumber
     //
     this.colsarfnumber.AppearanceCell.Options.UseTextOptions = true;
     this.colsarfnumber.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colsarfnumber.AppearanceHeader.Options.UseTextOptions = true;
     this.colsarfnumber.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colsarfnumber.Caption = "رقم صرف";
     this.colsarfnumber.FieldName = "sarfnumber";
     this.colsarfnumber.Name = "colsarfnumber";
     this.colsarfnumber.OptionsColumn.AllowEdit = false;
     this.colsarfnumber.Visible = true;
     this.colsarfnumber.VisibleIndex = 4;
     //
     // colSyndicate
     //
     this.colSyndicate.AppearanceCell.Options.UseTextOptions = true;
     this.colSyndicate.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colSyndicate.AppearanceHeader.Options.UseTextOptions = true;
     this.colSyndicate.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colSyndicate.Caption = "فرعية";
     this.colSyndicate.FieldName = "Syndicate";
     this.colSyndicate.Name = "colSyndicate";
     this.colSyndicate.OptionsColumn.AllowEdit = false;
     this.colSyndicate.Visible = true;
     this.colSyndicate.VisibleIndex = 2;
     this.colSyndicate.Width = 93;
     //
     // colSubCommitte
     //
     this.colSubCommitte.AppearanceCell.Options.UseTextOptions = true;
     this.colSubCommitte.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colSubCommitte.AppearanceHeader.Options.UseTextOptions = true;
     this.colSubCommitte.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colSubCommitte.Caption = "لجنة";
     this.colSubCommitte.FieldName = "SubCommitte";
     this.colSubCommitte.Name = "colSubCommitte";
     this.colSubCommitte.OptionsColumn.AllowEdit = false;
     this.colSubCommitte.Visible = true;
     this.colSubCommitte.VisibleIndex = 3;
     this.colSubCommitte.Width = 104;
     //
     // colyasref
     //
     this.colyasref.AppearanceCell.Options.UseTextOptions = true;
     this.colyasref.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colyasref.AppearanceHeader.Options.UseTextOptions = true;
     this.colyasref.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colyasref.Caption = "يصرف";
     this.colyasref.FieldName = "yasref";
     this.colyasref.Name = "colyasref";
     this.colyasref.Visible = true;
     this.colyasref.VisibleIndex = 6;
     //
     // colMMashatId
     //
     this.colMMashatId.AppearanceCell.Options.UseTextOptions = true;
     this.colMMashatId.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colMMashatId.AppearanceHeader.Options.UseTextOptions = true;
     this.colMMashatId.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colMMashatId.Caption = "كود";
     this.colMMashatId.FieldName = "MMashatId";
     this.colMMashatId.Name = "colMMashatId";
     this.colMMashatId.Visible = true;
     this.colMMashatId.VisibleIndex = 0;
     //
     // coldeathdate
     //
     this.coldeathdate.AppearanceCell.Options.UseTextOptions = true;
     this.coldeathdate.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.coldeathdate.AppearanceHeader.Options.UseTextOptions = true;
     this.coldeathdate.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.coldeathdate.Caption = "تاريخ الوفاه";
     this.coldeathdate.ColumnEdit = this.repositoryItemDateEditDMY;
     this.coldeathdate.FieldName = "deathdate";
     this.coldeathdate.Name = "coldeathdate";
     this.coldeathdate.Visible = true;
     this.coldeathdate.VisibleIndex = 7;
     //
     // repositoryItemDateEditDMY
     //
     this.repositoryItemDateEditDMY.AutoHeight = false;
     this.repositoryItemDateEditDMY.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemDateEditDMY.DisplayFormat.FormatString = "d/M/yyyy";
     this.repositoryItemDateEditDMY.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.repositoryItemDateEditDMY.EditFormat.FormatString = "d/M/yyyy";
     this.repositoryItemDateEditDMY.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.repositoryItemDateEditDMY.Mask.EditMask = "d/M/yyyy";
     this.repositoryItemDateEditDMY.Name = "repositoryItemDateEditDMY";
     this.repositoryItemDateEditDMY.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     //
     // colMMashatNId
     //
     this.colMMashatNId.AppearanceCell.Options.UseTextOptions = true;
     this.colMMashatNId.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colMMashatNId.AppearanceHeader.Options.UseTextOptions = true;
     this.colMMashatNId.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colMMashatNId.Caption = "رقم قومي";
     this.colMMashatNId.FieldName = "MMashatNId";
     this.colMMashatNId.Name = "colMMashatNId";
     this.colMMashatNId.Visible = true;
     this.colMMashatNId.VisibleIndex = 5;
     //
     // gridColumn1
     //
     this.gridColumn1.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumn1.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn1.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumn1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn1.Caption = "تعديل";
     this.gridColumn1.ColumnEdit = this.repositoryItemButtonEditUpdate;
     this.gridColumn1.Name = "gridColumn1";
     this.gridColumn1.Visible = true;
     this.gridColumn1.VisibleIndex = 9;
     //
     // repositoryItemButtonEditUpdate
     //
     this.repositoryItemButtonEditUpdate.AutoHeight = false;
     this.repositoryItemButtonEditUpdate.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Plus)});
     this.repositoryItemButtonEditUpdate.Name = "repositoryItemButtonEditUpdate";
     this.repositoryItemButtonEditUpdate.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor;
     this.repositoryItemButtonEditUpdate.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemButtonEditUpdate_ButtonClick);
     //
     // colsarf
     //
     this.colsarf.AppearanceCell.Options.UseTextOptions = true;
     this.colsarf.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colsarf.AppearanceHeader.Options.UseTextOptions = true;
     this.colsarf.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colsarf.Caption = "صرف";
     this.colsarf.FieldName = "sarf";
     this.colsarf.Name = "colsarf";
     this.colsarf.Visible = true;
     this.colsarf.VisibleIndex = 12;
     //
     // colsheekno
     //
     this.colsheekno.AppearanceCell.Options.UseTextOptions = true;
     this.colsheekno.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colsheekno.AppearanceHeader.Options.UseTextOptions = true;
     this.colsheekno.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colsheekno.Caption = "رقم الشيك";
     this.colsheekno.FieldName = "sheekno";
     this.colsheekno.Name = "colsheekno";
     this.colsheekno.Visible = true;
     this.colsheekno.VisibleIndex = 10;
     //
     // colsheekdate
     //
     this.colsheekdate.AppearanceCell.Options.UseTextOptions = true;
     this.colsheekdate.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colsheekdate.AppearanceHeader.Options.UseTextOptions = true;
     this.colsheekdate.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colsheekdate.Caption = "تاريخ الشيك";
     this.colsheekdate.FieldName = "sheekdate";
     this.colsheekdate.Name = "colsheekdate";
     this.colsheekdate.Visible = true;
     this.colsheekdate.VisibleIndex = 11;
     //
     // colEDARET
     //
     this.colEDARET.AppearanceCell.Options.UseTextOptions = true;
     this.colEDARET.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colEDARET.AppearanceHeader.Options.UseTextOptions = true;
     this.colEDARET.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colEDARET.Caption = "اسم الاداره";
     this.colEDARET.FieldName = "EDARET";
     this.colEDARET.Name = "colEDARET";
     this.colEDARET.Visible = true;
     this.colEDARET.VisibleIndex = 0;
     //
     // colEDARET1
     //
     this.colEDARET1.AppearanceCell.Options.UseTextOptions = true;
     this.colEDARET1.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colEDARET1.AppearanceHeader.Options.UseTextOptions = true;
     this.colEDARET1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colEDARET1.Caption = "الادارة";
     this.colEDARET1.FieldName = "EDARET";
     this.colEDARET1.Name = "colEDARET1";
     this.colEDARET1.Visible = true;
     this.colEDARET1.VisibleIndex = 0;
     //
     // colEdaraMandopName
     //
     this.colEdaraMandopName.AppearanceCell.Options.UseTextOptions = true;
     this.colEdaraMandopName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colEdaraMandopName.AppearanceHeader.Options.UseTextOptions = true;
     this.colEdaraMandopName.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colEdaraMandopName.Caption = "الاسم";
     this.colEdaraMandopName.FieldName = "EdaraMandopName";
     this.colEdaraMandopName.Name = "colEdaraMandopName";
     this.colEdaraMandopName.Visible = true;
     this.colEdaraMandopName.VisibleIndex = 0;
     //
     // colnkapaMandopName
     //
     this.colnkapaMandopName.AppearanceCell.Options.UseTextOptions = true;
     this.colnkapaMandopName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colnkapaMandopName.AppearanceHeader.Options.UseTextOptions = true;
     this.colnkapaMandopName.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colnkapaMandopName.Caption = "الاسم";
     this.colnkapaMandopName.FieldName = "nkapaMandopName";
     this.colnkapaMandopName.Name = "colnkapaMandopName";
     this.colnkapaMandopName.Visible = true;
     this.colnkapaMandopName.VisibleIndex = 0;
     //
     // gridColumn2
     //
     this.gridColumn2.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumn2.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn2.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumn2.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn2.Caption = "اسم الشهر";
     this.gridColumn2.FieldName = "MonthName";
     this.gridColumn2.Name = "gridColumn2";
     this.gridColumn2.Visible = true;
     this.gridColumn2.VisibleIndex = 0;
     //
     // groupControl1
     //
     this.groupControl1.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.groupControl1.Controls.Add(this.gridControlData);
     this.groupControl1.Location = new System.Drawing.Point(0, 78);
     this.groupControl1.Name = "groupControl1";
     this.groupControl1.Size = new System.Drawing.Size(1079, 308);
     this.groupControl1.TabIndex = 1;
     //
     // tblDeathMembersTableAdapter
     //
     this.tblDeathMembersTableAdapter.ClearBeforeFill = true;
     //
     // groupControl2
     //
     this.groupControl2.Controls.Add(this.btnEdit);
     this.groupControl2.Controls.Add(this.btnClear);
     this.groupControl2.Controls.Add(this.lbc);
     this.groupControl2.Dock = System.Windows.Forms.DockStyle.Top;
     this.groupControl2.Location = new System.Drawing.Point(0, 0);
     this.groupControl2.Name = "groupControl2";
     this.groupControl2.Size = new System.Drawing.Size(1079, 72);
     this.groupControl2.TabIndex = 2;
     //
     // btnEdit
     //
     this.btnEdit.Location = new System.Drawing.Point(725, 22);
     this.btnEdit.Name = "btnEdit";
     this.btnEdit.Size = new System.Drawing.Size(147, 23);
     this.btnEdit.TabIndex = 1;
     this.btnEdit.Text = "تعديل القائمة";
     this.btnEdit.Click += new System.EventHandler(this.btnEdit_Click);
     //
     // btnClear
     //
     this.btnClear.Location = new System.Drawing.Point(725, 47);
     this.btnClear.Name = "btnClear";
     this.btnClear.Size = new System.Drawing.Size(147, 23);
     this.btnClear.TabIndex = 1;
     this.btnClear.Text = "مسح القائمة";
     this.btnClear.Click += new System.EventHandler(this.btnClear_Click);
     //
     // lbc
     //
     this.lbc.Dock = System.Windows.Forms.DockStyle.Right;
     this.lbc.Location = new System.Drawing.Point(878, 21);
     this.lbc.Name = "lbc";
     this.lbc.Size = new System.Drawing.Size(199, 49);
     this.lbc.TabIndex = 0;
     //
     // TBLDeathMembersAccFrm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(1079, 388);
     this.Controls.Add(this.groupControl2);
     this.Controls.Add(this.groupControl1);
     this.Name = "TBLDeathMembersAccFrm";
     this.Text = "بيان الورثة";
     this.Load += new System.EventHandler(this.FormFrm_Load);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlData)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.XPSCSData)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.UOWData)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewData)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditdatein.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditdatein)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDMY.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDMY)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEditUpdate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit();
     this.groupControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).EndInit();
     this.groupControl2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.lbc)).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()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmSaleStageJCAdd));
     this.panel1 = new System.Windows.Forms.Panel();
     this.toolStrip2 = new System.Windows.Forms.ToolStrip();
     this.btnSave = new System.Windows.Forms.ToolStripButton();
     this.btnReload = new System.Windows.Forms.ToolStripButton();
     this.btnExit = new System.Windows.Forms.ToolStripButton();
     this.btnAlter = new System.Windows.Forms.ToolStripButton();
     this.toolStripProgressBar1 = new System.Windows.Forms.ToolStripProgressBar();
     this.btnSelectCase = new System.Windows.Forms.ToolStripButton();
     this.btnDeleteCase = new System.Windows.Forms.ToolStripButton();
     this.btnPrintTable = new System.Windows.Forms.ToolStripButton();
     this.btnExportGrid = new System.Windows.Forms.ToolStripButton();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.label23 = new System.Windows.Forms.Label();
     this.txtBJS = new System.Windows.Forms.TextBox();
     this.ComboxJSFS = new System.Windows.Forms.ComboBox();
     this.txtWSJE = new System.Windows.Forms.TextBox();
     this.txtXSMY = new System.Windows.Forms.TextBox();
     this.label22 = new System.Windows.Forms.Label();
     this.txtSE = new System.Windows.Forms.TextBox();
     this.txtXSSY = new System.Windows.Forms.TextBox();
     this.label21 = new System.Windows.Forms.Label();
     this.txtZT = new System.Windows.Forms.TextBox();
     this.txtXSSL = new System.Windows.Forms.TextBox();
     this.txtJSHJ = new System.Windows.Forms.TextBox();
     this.txtPJZK = new System.Windows.Forms.TextBox();
     this.label20 = new System.Windows.Forms.Label();
     this.label19 = new System.Windows.Forms.Label();
     this.txtPZS = new System.Windows.Forms.TextBox();
     this.txtZKE = new System.Windows.Forms.TextBox();
     this.label18 = new System.Windows.Forms.Label();
     this.label17 = new System.Windows.Forms.Label();
     this.txtPJDJ = new System.Windows.Forms.TextBox();
     this.label16 = new System.Windows.Forms.Label();
     this.comboxSL = new System.Windows.Forms.ComboBox();
     this.label15 = new System.Windows.Forms.Label();
     this.txtBZ = new System.Windows.Forms.TextBox();
     this.btnDWselect = new System.Windows.Forms.Button();
     this.txtGHDW = new System.Windows.Forms.TextBox();
     this.label14 = new System.Windows.Forms.Label();
     this.label13 = new System.Windows.Forms.Label();
     this.txtJSR = new System.Windows.Forms.TextBox();
     this.txtCZY = new System.Windows.Forms.TextBox();
     this.dateTimePicker2 = new System.Windows.Forms.DateTimePicker();
     this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
     this.label12 = new System.Windows.Forms.Label();
     this.label11 = new System.Windows.Forms.Label();
     this.txtZTID = new System.Windows.Forms.TextBox();
     this.txtBM = new System.Windows.Forms.TextBox();
     this.txtJSDH = new System.Windows.Forms.TextBox();
     this.label10 = new System.Windows.Forms.Label();
     this.label9 = new System.Windows.Forms.Label();
     this.label8 = new System.Windows.Forms.Label();
     this.label7 = new System.Windows.Forms.Label();
     this.label6 = new System.Windows.Forms.Label();
     this.label5 = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     this.panel2 = new System.Windows.Forms.Panel();
     this.gridControl1 = new DevExpress.XtraGrid.GridControl();
     this.xpServerCollectionSource1 = new DevExpress.Xpo.XPServerCollectionSource();
     this.unitOfWork1 = new DevExpress.Xpo.UnitOfWork();
     this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colSJLX = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colXSJSDH = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colXSDH = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colXSBMMC = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colKHMC = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colXSSL = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colXSSY = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colXSMY = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colYSSL = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colYSSY = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colYSMY = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colZT = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colXSDID = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colXSJSDID = new DevExpress.XtraGrid.Columns.GridColumn();
     this.btnView = new System.Windows.Forms.ToolStripDropDownButton();
     this.btnColCustomize = new System.Windows.Forms.ToolStripMenuItem();
     this.btnSaveLayout = new System.Windows.Forms.ToolStripMenuItem();
     this.btnLoadLayout = new System.Windows.Forms.ToolStripMenuItem();
     this.panel1.SuspendLayout();
     this.toolStrip2.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.panel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xpServerCollectionSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.unitOfWork1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Controls.Add(this.toolStrip2);
     this.panel1.Controls.Add(this.groupBox1);
     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(867, 344);
     this.panel1.TabIndex = 0;
     //
     // toolStrip2
     //
     this.toolStrip2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.toolStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.btnSave,
     this.btnReload,
     this.btnExit,
     this.btnAlter,
     this.toolStripProgressBar1,
     this.btnSelectCase,
     this.btnDeleteCase,
     this.btnPrintTable,
     this.btnExportGrid,
     this.btnView});
     this.toolStrip2.Location = new System.Drawing.Point(0, 317);
     this.toolStrip2.Name = "toolStrip2";
     this.toolStrip2.Size = new System.Drawing.Size(867, 27);
     this.toolStrip2.TabIndex = 12;
     this.toolStrip2.Text = "toolStrip2";
     //
     // btnSave
     //
     this.btnSave.BackColor = System.Drawing.SystemColors.Control;
     this.btnSave.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.btnSave.Image = ((System.Drawing.Image)(resources.GetObject("btnSave.Image")));
     this.btnSave.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.btnSave.Name = "btnSave";
     this.btnSave.Size = new System.Drawing.Size(69, 24);
     this.btnSave.Text = "   保存   ";
     this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
     //
     // btnReload
     //
     this.btnReload.BackColor = System.Drawing.SystemColors.Control;
     this.btnReload.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.btnReload.Image = ((System.Drawing.Image)(resources.GetObject("btnReload.Image")));
     this.btnReload.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.btnReload.Name = "btnReload";
     this.btnReload.Size = new System.Drawing.Size(69, 24);
     this.btnReload.Text = "   重置   ";
     this.btnReload.Click += new System.EventHandler(this.btnReload_Click);
     //
     // btnExit
     //
     this.btnExit.BackColor = System.Drawing.SystemColors.Control;
     this.btnExit.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.btnExit.Image = ((System.Drawing.Image)(resources.GetObject("btnExit.Image")));
     this.btnExit.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.btnExit.Name = "btnExit";
     this.btnExit.Size = new System.Drawing.Size(69, 24);
     this.btnExit.Text = "   退出   ";
     this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
     //
     // btnAlter
     //
     this.btnAlter.BackColor = System.Drawing.SystemColors.Control;
     this.btnAlter.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.btnAlter.Image = ((System.Drawing.Image)(resources.GetObject("btnAlter.Image")));
     this.btnAlter.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.btnAlter.Name = "btnAlter";
     this.btnAlter.Size = new System.Drawing.Size(69, 24);
     this.btnAlter.Text = " 确认修改 ";
     this.btnAlter.Click += new System.EventHandler(this.btnAlter_Click);
     //
     // toolStripProgressBar1
     //
     this.toolStripProgressBar1.Name = "toolStripProgressBar1";
     this.toolStripProgressBar1.Size = new System.Drawing.Size(200, 24);
     //
     // btnSelectCase
     //
     this.btnSelectCase.BackColor = System.Drawing.SystemColors.Control;
     this.btnSelectCase.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.btnSelectCase.Image = ((System.Drawing.Image)(resources.GetObject("btnSelectCase.Image")));
     this.btnSelectCase.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.btnSelectCase.Name = "btnSelectCase";
     this.btnSelectCase.Size = new System.Drawing.Size(69, 24);
     this.btnSelectCase.Text = "   选单   ";
     this.btnSelectCase.Click += new System.EventHandler(this.btnSelectCase_Click);
     //
     // btnDeleteCase
     //
     this.btnDeleteCase.BackColor = System.Drawing.SystemColors.Control;
     this.btnDeleteCase.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.btnDeleteCase.Image = ((System.Drawing.Image)(resources.GetObject("btnDeleteCase.Image")));
     this.btnDeleteCase.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.btnDeleteCase.Name = "btnDeleteCase";
     this.btnDeleteCase.Size = new System.Drawing.Size(69, 24);
     this.btnDeleteCase.Text = "   减单   ";
     this.btnDeleteCase.Click += new System.EventHandler(this.btnDeleteCase_Click);
     //
     // btnPrintTable
     //
     this.btnPrintTable.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.btnPrintTable.Image = ((System.Drawing.Image)(resources.GetObject("btnPrintTable.Image")));
     this.btnPrintTable.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.btnPrintTable.Name = "btnPrintTable";
     this.btnPrintTable.Size = new System.Drawing.Size(57, 24);
     this.btnPrintTable.Text = "打印表格";
     //
     // btnExportGrid
     //
     this.btnExportGrid.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.btnExportGrid.Image = ((System.Drawing.Image)(resources.GetObject("btnExportGrid.Image")));
     this.btnExportGrid.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.btnExportGrid.Name = "btnExportGrid";
     this.btnExportGrid.Size = new System.Drawing.Size(57, 24);
     this.btnExportGrid.Text = "导出表格";
     //
     // groupBox1
     //
     this.groupBox1.BackColor = System.Drawing.Color.AliceBlue;
     this.groupBox1.Controls.Add(this.label23);
     this.groupBox1.Controls.Add(this.txtBJS);
     this.groupBox1.Controls.Add(this.ComboxJSFS);
     this.groupBox1.Controls.Add(this.txtWSJE);
     this.groupBox1.Controls.Add(this.txtXSMY);
     this.groupBox1.Controls.Add(this.label22);
     this.groupBox1.Controls.Add(this.txtSE);
     this.groupBox1.Controls.Add(this.txtXSSY);
     this.groupBox1.Controls.Add(this.label21);
     this.groupBox1.Controls.Add(this.txtZT);
     this.groupBox1.Controls.Add(this.txtXSSL);
     this.groupBox1.Controls.Add(this.txtJSHJ);
     this.groupBox1.Controls.Add(this.txtPJZK);
     this.groupBox1.Controls.Add(this.label20);
     this.groupBox1.Controls.Add(this.label19);
     this.groupBox1.Controls.Add(this.txtPZS);
     this.groupBox1.Controls.Add(this.txtZKE);
     this.groupBox1.Controls.Add(this.label18);
     this.groupBox1.Controls.Add(this.label17);
     this.groupBox1.Controls.Add(this.txtPJDJ);
     this.groupBox1.Controls.Add(this.label16);
     this.groupBox1.Controls.Add(this.comboxSL);
     this.groupBox1.Controls.Add(this.label15);
     this.groupBox1.Controls.Add(this.txtBZ);
     this.groupBox1.Controls.Add(this.btnDWselect);
     this.groupBox1.Controls.Add(this.txtGHDW);
     this.groupBox1.Controls.Add(this.label14);
     this.groupBox1.Controls.Add(this.label13);
     this.groupBox1.Controls.Add(this.txtJSR);
     this.groupBox1.Controls.Add(this.txtCZY);
     this.groupBox1.Controls.Add(this.dateTimePicker2);
     this.groupBox1.Controls.Add(this.dateTimePicker1);
     this.groupBox1.Controls.Add(this.label12);
     this.groupBox1.Controls.Add(this.label11);
     this.groupBox1.Controls.Add(this.txtZTID);
     this.groupBox1.Controls.Add(this.txtBM);
     this.groupBox1.Controls.Add(this.txtJSDH);
     this.groupBox1.Controls.Add(this.label10);
     this.groupBox1.Controls.Add(this.label9);
     this.groupBox1.Controls.Add(this.label8);
     this.groupBox1.Controls.Add(this.label7);
     this.groupBox1.Controls.Add(this.label6);
     this.groupBox1.Controls.Add(this.label5);
     this.groupBox1.Controls.Add(this.label4);
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top;
     this.groupBox1.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.groupBox1.Location = new System.Drawing.Point(0, 0);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(867, 317);
     this.groupBox1.TabIndex = 11;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "销售结算单";
     //
     // label23
     //
     this.label23.AutoSize = true;
     this.label23.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label23.Location = new System.Drawing.Point(303, 267);
     this.label23.Name = "label23";
     this.label23.Size = new System.Drawing.Size(49, 14);
     this.label23.TabIndex = 48;
     this.label23.Text = "包件数";
     //
     // txtBJS
     //
     this.txtBJS.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.txtBJS.Location = new System.Drawing.Point(372, 260);
     this.txtBJS.Name = "txtBJS";
     this.txtBJS.ReadOnly = true;
     this.txtBJS.Size = new System.Drawing.Size(184, 21);
     this.txtBJS.TabIndex = 47;
     //
     // ComboxJSFS
     //
     this.ComboxJSFS.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.ComboxJSFS.FormattingEnabled = true;
     this.ComboxJSFS.Location = new System.Drawing.Point(372, 89);
     this.ComboxJSFS.Name = "ComboxJSFS";
     this.ComboxJSFS.Size = new System.Drawing.Size(184, 22);
     this.ComboxJSFS.TabIndex = 45;
     //
     // txtWSJE
     //
     this.txtWSJE.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.txtWSJE.Location = new System.Drawing.Point(643, 230);
     this.txtWSJE.Name = "txtWSJE";
     this.txtWSJE.ReadOnly = true;
     this.txtWSJE.Size = new System.Drawing.Size(194, 21);
     this.txtWSJE.TabIndex = 44;
     //
     // txtXSMY
     //
     this.txtXSMY.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.txtXSMY.Location = new System.Drawing.Point(643, 191);
     this.txtXSMY.Name = "txtXSMY";
     this.txtXSMY.ReadOnly = true;
     this.txtXSMY.Size = new System.Drawing.Size(194, 21);
     this.txtXSMY.TabIndex = 43;
     //
     // label22
     //
     this.label22.AutoSize = true;
     this.label22.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label22.Location = new System.Drawing.Point(573, 232);
     this.label22.Name = "label22";
     this.label22.Size = new System.Drawing.Size(63, 14);
     this.label22.TabIndex = 42;
     this.label22.Text = "无税金额";
     //
     // txtSE
     //
     this.txtSE.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.txtSE.Location = new System.Drawing.Point(372, 224);
     this.txtSE.Name = "txtSE";
     this.txtSE.ReadOnly = true;
     this.txtSE.Size = new System.Drawing.Size(184, 21);
     this.txtSE.TabIndex = 41;
     //
     // txtXSSY
     //
     this.txtXSSY.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.txtXSSY.Location = new System.Drawing.Point(372, 191);
     this.txtXSSY.Name = "txtXSSY";
     this.txtXSSY.ReadOnly = true;
     this.txtXSSY.Size = new System.Drawing.Size(184, 21);
     this.txtXSSY.TabIndex = 40;
     //
     // label21
     //
     this.label21.AutoSize = true;
     this.label21.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label21.Location = new System.Drawing.Point(303, 231);
     this.label21.Name = "label21";
     this.label21.Size = new System.Drawing.Size(35, 14);
     this.label21.TabIndex = 39;
     this.label21.Text = "税额";
     //
     // txtZT
     //
     this.txtZT.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.txtZT.Location = new System.Drawing.Point(93, 260);
     this.txtZT.Name = "txtZT";
     this.txtZT.ReadOnly = true;
     this.txtZT.Size = new System.Drawing.Size(203, 21);
     this.txtZT.TabIndex = 38;
     //
     // txtXSSL
     //
     this.txtXSSL.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.txtXSSL.Location = new System.Drawing.Point(93, 191);
     this.txtXSSL.Name = "txtXSSL";
     this.txtXSSL.ReadOnly = true;
     this.txtXSSL.Size = new System.Drawing.Size(203, 21);
     this.txtXSSL.TabIndex = 37;
     //
     // txtJSHJ
     //
     this.txtJSHJ.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.txtJSHJ.Location = new System.Drawing.Point(93, 224);
     this.txtJSHJ.Name = "txtJSHJ";
     this.txtJSHJ.ReadOnly = true;
     this.txtJSHJ.Size = new System.Drawing.Size(203, 21);
     this.txtJSHJ.TabIndex = 36;
     //
     // txtPJZK
     //
     this.txtPJZK.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.txtPJZK.Location = new System.Drawing.Point(93, 156);
     this.txtPJZK.Name = "txtPJZK";
     this.txtPJZK.ReadOnly = true;
     this.txtPJZK.Size = new System.Drawing.Size(203, 21);
     this.txtPJZK.TabIndex = 35;
     //
     // label20
     //
     this.label20.AutoSize = true;
     this.label20.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label20.Location = new System.Drawing.Point(303, 198);
     this.label20.Name = "label20";
     this.label20.Size = new System.Drawing.Size(63, 14);
     this.label20.TabIndex = 34;
     this.label20.Text = "销售实洋";
     //
     // label19
     //
     this.label19.AutoSize = true;
     this.label19.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label19.Location = new System.Drawing.Point(573, 198);
     this.label19.Name = "label19";
     this.label19.Size = new System.Drawing.Size(63, 14);
     this.label19.TabIndex = 33;
     this.label19.Text = "销售码洋";
     //
     // txtPZS
     //
     this.txtPZS.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.txtPZS.Location = new System.Drawing.Point(642, 156);
     this.txtPZS.Name = "txtPZS";
     this.txtPZS.ReadOnly = true;
     this.txtPZS.Size = new System.Drawing.Size(194, 21);
     this.txtPZS.TabIndex = 32;
     //
     // txtZKE
     //
     this.txtZKE.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.txtZKE.Location = new System.Drawing.Point(372, 156);
     this.txtZKE.Name = "txtZKE";
     this.txtZKE.ReadOnly = true;
     this.txtZKE.Size = new System.Drawing.Size(184, 21);
     this.txtZKE.TabIndex = 31;
     //
     // label18
     //
     this.label18.AutoSize = true;
     this.label18.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label18.Location = new System.Drawing.Point(303, 163);
     this.label18.Name = "label18";
     this.label18.Size = new System.Drawing.Size(49, 14);
     this.label18.TabIndex = 30;
     this.label18.Text = "折扣额";
     //
     // label17
     //
     this.label17.AutoSize = true;
     this.label17.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label17.Location = new System.Drawing.Point(573, 163);
     this.label17.Name = "label17";
     this.label17.Size = new System.Drawing.Size(49, 14);
     this.label17.TabIndex = 29;
     this.label17.Text = "品种数";
     //
     // txtPJDJ
     //
     this.txtPJDJ.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.txtPJDJ.Location = new System.Drawing.Point(642, 122);
     this.txtPJDJ.Name = "txtPJDJ";
     this.txtPJDJ.ReadOnly = true;
     this.txtPJDJ.Size = new System.Drawing.Size(194, 21);
     this.txtPJDJ.TabIndex = 28;
     //
     // label16
     //
     this.label16.AutoSize = true;
     this.label16.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label16.Location = new System.Drawing.Point(573, 129);
     this.label16.Name = "label16";
     this.label16.Size = new System.Drawing.Size(63, 14);
     this.label16.TabIndex = 27;
     this.label16.Text = "平均单价";
     //
     // comboxSL
     //
     this.comboxSL.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.comboxSL.FormattingEnabled = true;
     this.comboxSL.Items.AddRange(new object[] {
     "13",
     "17"});
     this.comboxSL.Location = new System.Drawing.Point(94, 123);
     this.comboxSL.Name = "comboxSL";
     this.comboxSL.Size = new System.Drawing.Size(203, 20);
     this.comboxSL.TabIndex = 26;
     //
     // label15
     //
     this.label15.AutoSize = true;
     this.label15.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label15.Location = new System.Drawing.Point(303, 130);
     this.label15.Name = "label15";
     this.label15.Size = new System.Drawing.Size(35, 14);
     this.label15.TabIndex = 25;
     this.label15.Text = "备注";
     //
     // txtBZ
     //
     this.txtBZ.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.txtBZ.Location = new System.Drawing.Point(372, 123);
     this.txtBZ.Name = "txtBZ";
     this.txtBZ.Size = new System.Drawing.Size(184, 21);
     this.txtBZ.TabIndex = 24;
     //
     // btnDWselect
     //
     this.btnDWselect.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.btnDWselect.Location = new System.Drawing.Point(789, 86);
     this.btnDWselect.Name = "btnDWselect";
     this.btnDWselect.Size = new System.Drawing.Size(47, 23);
     this.btnDWselect.TabIndex = 23;
     this.btnDWselect.Text = "选择";
     this.btnDWselect.UseVisualStyleBackColor = true;
     this.btnDWselect.Click += new System.EventHandler(this.btnDWselect_Click);
     //
     // txtGHDW
     //
     this.txtGHDW.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.txtGHDW.Location = new System.Drawing.Point(642, 88);
     this.txtGHDW.Name = "txtGHDW";
     this.txtGHDW.ReadOnly = true;
     this.txtGHDW.Size = new System.Drawing.Size(141, 21);
     this.txtGHDW.TabIndex = 22;
     //
     // label14
     //
     this.label14.AutoSize = true;
     this.label14.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label14.Location = new System.Drawing.Point(573, 95);
     this.label14.Name = "label14";
     this.label14.Size = new System.Drawing.Size(63, 14);
     this.label14.TabIndex = 21;
     this.label14.Text = "购货单位";
     //
     // label13
     //
     this.label13.AutoSize = true;
     this.label13.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label13.Location = new System.Drawing.Point(303, 95);
     this.label13.Name = "label13";
     this.label13.Size = new System.Drawing.Size(63, 14);
     this.label13.TabIndex = 19;
     this.label13.Text = "结算方式";
     //
     // txtJSR
     //
     this.txtJSR.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.txtJSR.Location = new System.Drawing.Point(94, 88);
     this.txtJSR.Name = "txtJSR";
     this.txtJSR.Size = new System.Drawing.Size(203, 21);
     this.txtJSR.TabIndex = 18;
     //
     // txtCZY
     //
     this.txtCZY.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.txtCZY.Location = new System.Drawing.Point(94, 55);
     this.txtCZY.Name = "txtCZY";
     this.txtCZY.ReadOnly = true;
     this.txtCZY.Size = new System.Drawing.Size(203, 21);
     this.txtCZY.TabIndex = 17;
     //
     // dateTimePicker2
     //
     this.dateTimePicker2.CalendarFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.dateTimePicker2.CalendarTitleBackColor = System.Drawing.Color.Thistle;
     this.dateTimePicker2.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.dateTimePicker2.Location = new System.Drawing.Point(642, 53);
     this.dateTimePicker2.Name = "dateTimePicker2";
     this.dateTimePicker2.Size = new System.Drawing.Size(195, 23);
     this.dateTimePicker2.TabIndex = 16;
     //
     // dateTimePicker1
     //
     this.dateTimePicker1.CalendarFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.dateTimePicker1.CalendarTitleBackColor = System.Drawing.Color.Thistle;
     this.dateTimePicker1.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.dateTimePicker1.Location = new System.Drawing.Point(372, 55);
     this.dateTimePicker1.Name = "dateTimePicker1";
     this.dateTimePicker1.Size = new System.Drawing.Size(184, 23);
     this.dateTimePicker1.TabIndex = 15;
     //
     // label12
     //
     this.label12.AutoSize = true;
     this.label12.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label12.Location = new System.Drawing.Point(573, 66);
     this.label12.Name = "label12";
     this.label12.Size = new System.Drawing.Size(63, 14);
     this.label12.TabIndex = 14;
     this.label12.Text = "制单日期";
     //
     // label11
     //
     this.label11.AutoSize = true;
     this.label11.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label11.Location = new System.Drawing.Point(303, 62);
     this.label11.Name = "label11";
     this.label11.Size = new System.Drawing.Size(63, 14);
     this.label11.TabIndex = 13;
     this.label11.Text = "操作日期";
     //
     // txtZTID
     //
     this.txtZTID.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.txtZTID.Location = new System.Drawing.Point(614, 22);
     this.txtZTID.Name = "txtZTID";
     this.txtZTID.ReadOnly = true;
     this.txtZTID.Size = new System.Drawing.Size(223, 21);
     this.txtZTID.TabIndex = 12;
     //
     // txtBM
     //
     this.txtBM.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.txtBM.Location = new System.Drawing.Point(344, 24);
     this.txtBM.Name = "txtBM";
     this.txtBM.ReadOnly = true;
     this.txtBM.Size = new System.Drawing.Size(212, 21);
     this.txtBM.TabIndex = 11;
     //
     // txtJSDH
     //
     this.txtJSDH.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.txtJSDH.Location = new System.Drawing.Point(93, 22);
     this.txtJSDH.Name = "txtJSDH";
     this.txtJSDH.ReadOnly = true;
     this.txtJSDH.Size = new System.Drawing.Size(203, 21);
     this.txtJSDH.TabIndex = 10;
     //
     // label10
     //
     this.label10.AutoSize = true;
     this.label10.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label10.Location = new System.Drawing.Point(31, 198);
     this.label10.Name = "label10";
     this.label10.Size = new System.Drawing.Size(63, 14);
     this.label10.TabIndex = 9;
     this.label10.Text = "销售数量";
     //
     // label9
     //
     this.label9.AutoSize = true;
     this.label9.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label9.Location = new System.Drawing.Point(31, 231);
     this.label9.Name = "label9";
     this.label9.Size = new System.Drawing.Size(63, 14);
     this.label9.TabIndex = 8;
     this.label9.Text = "价税合计";
     //
     // label8
     //
     this.label8.AutoSize = true;
     this.label8.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label8.Location = new System.Drawing.Point(31, 267);
     this.label8.Name = "label8";
     this.label8.Size = new System.Drawing.Size(35, 14);
     this.label8.TabIndex = 7;
     this.label8.Text = "状态";
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label7.Location = new System.Drawing.Point(303, 29);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(35, 14);
     this.label7.TabIndex = 6;
     this.label7.Text = "部门";
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label6.Location = new System.Drawing.Point(573, 25);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(35, 14);
     this.label6.TabIndex = 5;
     this.label6.Text = "帐套";
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label5.Location = new System.Drawing.Point(31, 95);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(49, 14);
     this.label5.TabIndex = 4;
     this.label5.Text = "经手人";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label4.Location = new System.Drawing.Point(31, 130);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(35, 14);
     this.label4.TabIndex = 3;
     this.label4.Text = "税率";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label3.Location = new System.Drawing.Point(31, 163);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(63, 14);
     this.label3.TabIndex = 2;
     this.label3.Text = "平均折扣";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label2.Location = new System.Drawing.Point(31, 62);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(49, 14);
     this.label2.TabIndex = 1;
     this.label2.Text = "操作员";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label1.Location = new System.Drawing.Point(31, 29);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(63, 14);
     this.label1.TabIndex = 0;
     this.label1.Text = "结算单号";
     //
     // panel2
     //
     this.panel2.Controls.Add(this.gridControl1);
     this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel2.Location = new System.Drawing.Point(0, 344);
     this.panel2.Name = "panel2";
     this.panel2.Size = new System.Drawing.Size(867, 359);
     this.panel2.TabIndex = 1;
     //
     // gridControl1
     //
     this.gridControl1.DataSource = this.xpServerCollectionSource1;
     this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControl1.Location = new System.Drawing.Point(0, 0);
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.Size = new System.Drawing.Size(867, 359);
     this.gridControl1.TabIndex = 1;
     this.gridControl1.UseEmbeddedNavigator = true;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridView1});
     //
     // xpServerCollectionSource1
     //
     this.xpServerCollectionSource1.ObjectType = typeof(XINHUA.VIEW_JC_C_XSD);
     this.xpServerCollectionSource1.Session = this.unitOfWork1;
     //
     // gridView1
     //
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colSJLX,
     this.colXSJSDH,
     this.colXSDH,
     this.colXSBMMC,
     this.colKHMC,
     this.colXSSL,
     this.colXSSY,
     this.colXSMY,
     this.colYSSL,
     this.colYSSY,
     this.colYSMY,
     this.colZT,
     this.colXSDID,
     this.colXSJSDID});
     this.gridView1.FooterPanelHeight = 45;
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name = "gridView1";
     this.gridView1.OptionsBehavior.Editable = false;
     this.gridView1.OptionsPrint.AutoWidth = false;
     this.gridView1.OptionsPrint.PrintSelectedRowsOnly = true;
     this.gridView1.OptionsSelection.MultiSelect = true;
     this.gridView1.OptionsView.ColumnAutoWidth = false;
     this.gridView1.OptionsView.ShowFooter = true;
     this.gridView1.CustomDrawRowIndicator += new DevExpress.XtraGrid.Views.Grid.RowIndicatorCustomDrawEventHandler(this.gridView1_CustomDrawRowIndicator);
     this.gridView1.CustomDrawFooterCell += new DevExpress.XtraGrid.Views.Grid.FooterCellCustomDrawEventHandler(this.gridView1_CustomDrawFooterCell);
     this.gridView1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.gridView1_MouseUp);
     //
     // colSJLX
     //
     this.colSJLX.Caption = "数据类型";
     this.colSJLX.FieldName = "SJLX";
     this.colSJLX.Name = "colSJLX";
     this.colSJLX.SummaryItem.DisplayFormat = "总计:";
     this.colSJLX.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Custom;
     this.colSJLX.Visible = true;
     this.colSJLX.VisibleIndex = 0;
     //
     // colXSJSDH
     //
     this.colXSJSDH.Caption = "销售结算单号";
     this.colXSJSDH.FieldName = "XSJSDH";
     this.colXSJSDH.Name = "colXSJSDH";
     this.colXSJSDH.Visible = true;
     this.colXSJSDH.VisibleIndex = 1;
     //
     // colXSDH
     //
     this.colXSDH.Caption = "销售单号";
     this.colXSDH.FieldName = "XSDH";
     this.colXSDH.Name = "colXSDH";
     this.colXSDH.Visible = true;
     this.colXSDH.VisibleIndex = 2;
     //
     // colXSBMMC
     //
     this.colXSBMMC.Caption = "销售部门名称";
     this.colXSBMMC.FieldName = "XSBMMC";
     this.colXSBMMC.Name = "colXSBMMC";
     this.colXSBMMC.Visible = true;
     this.colXSBMMC.VisibleIndex = 3;
     //
     // colKHMC
     //
     this.colKHMC.Caption = "客户名称";
     this.colKHMC.FieldName = "KHMC";
     this.colKHMC.Name = "colKHMC";
     this.colKHMC.Visible = true;
     this.colKHMC.VisibleIndex = 4;
     //
     // colXSSL
     //
     this.colXSSL.Caption = "销售数量";
     this.colXSSL.FieldName = "XSSL";
     this.colXSSL.Name = "colXSSL";
     this.colXSSL.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Sum;
     this.colXSSL.Visible = true;
     this.colXSSL.VisibleIndex = 5;
     //
     // colXSSY
     //
     this.colXSSY.Caption = "销售实洋";
     this.colXSSY.FieldName = "XSSY";
     this.colXSSY.Name = "colXSSY";
     this.colXSSY.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Sum;
     this.colXSSY.Visible = true;
     this.colXSSY.VisibleIndex = 6;
     //
     // colXSMY
     //
     this.colXSMY.Caption = "销售码洋";
     this.colXSMY.FieldName = "XSMY";
     this.colXSMY.Name = "colXSMY";
     this.colXSMY.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Sum;
     this.colXSMY.Visible = true;
     this.colXSMY.VisibleIndex = 7;
     //
     // colYSSL
     //
     this.colYSSL.Caption = "已结数量";
     this.colYSSL.FieldName = "YSSL";
     this.colYSSL.Name = "colYSSL";
     this.colYSSL.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Sum;
     this.colYSSL.Visible = true;
     this.colYSSL.VisibleIndex = 8;
     //
     // colYSSY
     //
     this.colYSSY.Caption = "已结实洋";
     this.colYSSY.FieldName = "YSSY";
     this.colYSSY.Name = "colYSSY";
     this.colYSSY.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Sum;
     this.colYSSY.Visible = true;
     this.colYSSY.VisibleIndex = 9;
     //
     // colYSMY
     //
     this.colYSMY.Caption = "已结码洋";
     this.colYSMY.FieldName = "YSMY";
     this.colYSMY.Name = "colYSMY";
     this.colYSMY.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Sum;
     this.colYSMY.Visible = true;
     this.colYSMY.VisibleIndex = 10;
     //
     // colZT
     //
     this.colZT.Caption = "状态ID";
     this.colZT.FieldName = "ZT";
     this.colZT.Name = "colZT";
     //
     // colXSDID
     //
     this.colXSDID.Caption = "销售单ID";
     this.colXSDID.FieldName = "XSDID";
     this.colXSDID.Name = "colXSDID";
     //
     // colXSJSDID
     //
     this.colXSJSDID.Caption = "销售结算单ID";
     this.colXSJSDID.FieldName = "XSJSDID";
     this.colXSJSDID.Name = "colXSJSDID";
     //
     // btnView
     //
     this.btnView.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.btnView.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.btnColCustomize,
     this.btnSaveLayout,
     this.btnLoadLayout});
     this.btnView.Image = ((System.Drawing.Image)(resources.GetObject("btnView.Image")));
     this.btnView.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.btnView.Name = "btnView";
     this.btnView.Size = new System.Drawing.Size(42, 24);
     this.btnView.Text = "视图";
     //
     // btnColCustomize
     //
     this.btnColCustomize.Name = "btnColCustomize";
     this.btnColCustomize.Size = new System.Drawing.Size(152, 22);
     this.btnColCustomize.Text = "列定制";
     this.btnColCustomize.Click += new System.EventHandler(this.btnColCustomize_Click);
     //
     // btnSaveLayout
     //
     this.btnSaveLayout.Name = "btnSaveLayout";
     this.btnSaveLayout.Size = new System.Drawing.Size(152, 22);
     this.btnSaveLayout.Text = "保存视图";
     this.btnSaveLayout.Click += new System.EventHandler(this.btnSaveLayout_Click);
     //
     // btnLoadLayout
     //
     this.btnLoadLayout.Name = "btnLoadLayout";
     this.btnLoadLayout.Size = new System.Drawing.Size(152, 22);
     this.btnLoadLayout.Text = "载入视图";
     this.btnLoadLayout.Click += new System.EventHandler(this.btnLoadLayout_Click);
     //
     // FrmSaleStageJCAdd
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(867, 703);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.MaximizeBox = false;
     this.Name = "FrmSaleStageJCAdd";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "FrmXSJSDSXSJAdd";
     this.Load += new System.EventHandler(this.FrmSaleStageJCAdd_Load);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.toolStrip2.ResumeLayout(false);
     this.toolStrip2.PerformLayout();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xpServerCollectionSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.unitOfWork1)).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();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CustomerEditorFrm));
     this.popupMenuMain = new DevExpress.XtraBars.PopupMenu(this.components);
     this.barManagerMain = new DevExpress.XtraBars.BarManager(this.components);
     this.bar1 = new DevExpress.XtraBars.Bar();
     this.bbiSave = new DevExpress.XtraBars.BarButtonItem();
     this.bbiExport = 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.gridControlMain = new DevExpress.XtraGrid.GridControl();
     this.gridViewMain = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colCustomerId = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colCustomerNameEn1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colCustomerNameEn2 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colCustomerNameAr1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colCustomerNameAr2 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemGridLookUpEditCustHierLevel6Id = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit();
     this.LSMSCustHierLevel6Id = new DevExpress.Data.Linq.LinqServerModeSource();
     this.repositoryItemGridLookUpEdit1View = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colCustHierLevel6Id = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colCustHierLevel6Name = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colCustHierLevel5Id = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colCustHierLevel5Name = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colCustHierLevel4Id = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colCustHierLevel4Name = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colCustHierLevel3Id = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colCustHierLevel3Name = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colDistributionChannelId = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colDistributionChannel = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemGridLookUpEditCustomerType2Id = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit();
     this.LSMSCustomerType2Id = new DevExpress.Data.Linq.LinqServerModeSource();
     this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colCustomerType2Id = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colCustomerType21 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemGridLookUpEditCustomerGroupId = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit();
     this.LSMSCustomerGroupId = new DevExpress.Data.Linq.LinqServerModeSource();
     this.gridView3 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colCustomerGroupId = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colCustomerGroup1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemGridLookUpEditSubchannelId = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit();
     this.LSMSSubchannelId = new DevExpress.Data.Linq.LinqServerModeSource();
     this.gridView4 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colSubchannelId = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colSubchannelName = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colCustomerAddress = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemGridLookUpEditCityId = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit();
     this.LSMSCityId = new DevExpress.Data.Linq.LinqServerModeSource();
     this.gridView5 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colCityId = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colCityEnName = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colCityArName = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colCreationDate = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemDateEditCreationDate = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.colCustomerTypeId1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemGridLookUpEditCustomerTypeId = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit();
     this.LSMSCustomerTypeId = new DevExpress.Data.Linq.LinqServerModeSource();
     this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colCustomerTypeId = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colCustomerType1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.XPSCS = new DevExpress.Xpo.XPServerCollectionSource(this.components);
     this.UOW = new DevExpress.Xpo.UnitOfWork(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.popupMenuMain)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.barManagerMain)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMain)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMain)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditCustHierLevel6Id)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.LSMSCustHierLevel6Id)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEdit1View)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditCustomerType2Id)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.LSMSCustomerType2Id)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditCustomerGroupId)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.LSMSCustomerGroupId)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditSubchannelId)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.LSMSSubchannelId)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditCityId)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.LSMSCityId)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditCreationDate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditCreationDate.CalendarTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditCustomerTypeId)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.LSMSCustomerTypeId)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.XPSCS)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.UOW)).BeginInit();
     this.SuspendLayout();
     //
     // popupMenuMain
     //
     this.popupMenuMain.Manager = this.barManagerMain;
     this.popupMenuMain.Name = "popupMenuMain";
     //
     // barManagerMain
     //
     this.barManagerMain.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
     this.bar1});
     this.barManagerMain.DockControls.Add(this.barDockControlTop);
     this.barManagerMain.DockControls.Add(this.barDockControlBottom);
     this.barManagerMain.DockControls.Add(this.barDockControlLeft);
     this.barManagerMain.DockControls.Add(this.barDockControlRight);
     this.barManagerMain.Form = this;
     this.barManagerMain.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
     this.bbiSave,
     this.bbiExport});
     this.barManagerMain.MaxItemId = 2;
     //
     // bar1
     //
     this.bar1.BarName = "Main";
     this.bar1.DockCol = 0;
     this.bar1.DockRow = 0;
     this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
     this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.bbiSave),
     new DevExpress.XtraBars.LinkPersistInfo(this.bbiExport)});
     this.bar1.Text = "Custom 2";
     //
     // bbiSave
     //
     this.bbiSave.Caption = "Save";
     this.bbiSave.Glyph = ((System.Drawing.Image)(resources.GetObject("bbiSave.Glyph")));
     this.bbiSave.Id = 0;
     this.bbiSave.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S));
     this.bbiSave.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("bbiSave.LargeGlyph")));
     this.bbiSave.Name = "bbiSave";
     this.bbiSave.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiSave_ItemClick);
     //
     // bbiExport
     //
     this.bbiExport.Caption = "Export";
     this.bbiExport.Glyph = global::NestleICSales.Properties.Resources.Export;
     this.bbiExport.Id = 1;
     this.bbiExport.Name = "bbiExport";
     this.bbiExport.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiExport_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(636, 31);
     //
     // barDockControlBottom
     //
     this.barDockControlBottom.CausesValidation = false;
     this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.barDockControlBottom.Location = new System.Drawing.Point(0, 286);
     this.barDockControlBottom.Size = new System.Drawing.Size(636, 0);
     //
     // barDockControlLeft
     //
     this.barDockControlLeft.CausesValidation = false;
     this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
     this.barDockControlLeft.Location = new System.Drawing.Point(0, 31);
     this.barDockControlLeft.Size = new System.Drawing.Size(0, 255);
     //
     // barDockControlRight
     //
     this.barDockControlRight.CausesValidation = false;
     this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
     this.barDockControlRight.Location = new System.Drawing.Point(636, 31);
     this.barDockControlRight.Size = new System.Drawing.Size(0, 255);
     //
     // gridControlMain
     //
     this.gridControlMain.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlMain.Location = new System.Drawing.Point(0, 31);
     this.gridControlMain.MainView = this.gridViewMain;
     this.gridControlMain.MenuManager = this.barManagerMain;
     this.gridControlMain.Name = "gridControlMain";
     this.gridControlMain.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemGridLookUpEditCustHierLevel6Id,
     this.repositoryItemGridLookUpEditCustomerTypeId,
     this.repositoryItemGridLookUpEditCustomerType2Id,
     this.repositoryItemGridLookUpEditCustomerGroupId,
     this.repositoryItemGridLookUpEditSubchannelId,
     this.repositoryItemGridLookUpEditCityId,
     this.repositoryItemDateEditCreationDate});
     this.gridControlMain.Size = new System.Drawing.Size(636, 255);
     this.gridControlMain.TabIndex = 4;
     this.gridControlMain.UseEmbeddedNavigator = true;
     this.gridControlMain.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewMain});
     //
     // gridViewMain
     //
     this.gridViewMain.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colCustomerId,
     this.colCustomerNameEn1,
     this.colCustomerNameEn2,
     this.colCustomerNameAr1,
     this.colCustomerNameAr2,
     this.gridColumn1,
     this.gridColumn3,
     this.gridColumn5,
     this.gridColumn4,
     this.colCustomerAddress,
     this.gridColumn6,
     this.colCreationDate,
     this.colCustomerTypeId1});
     this.gridViewMain.GridControl = this.gridControlMain;
     this.gridViewMain.GroupSummary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
     new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Count, "CustomerId", this.colCustomerId, "")});
     this.gridViewMain.Name = "gridViewMain";
     this.gridViewMain.NewItemRowText = "Click here to add a new customer";
     this.gridViewMain.OptionsBehavior.EditorShowMode = DevExpress.Utils.EditorShowMode.MouseDownFocused;
     this.gridViewMain.OptionsEditForm.EditFormColumnCount = 2;
     this.gridViewMain.OptionsSelection.InvertSelection = true;
     this.gridViewMain.OptionsSelection.MultiSelect = true;
     this.gridViewMain.OptionsView.ColumnAutoWidth = false;
     this.gridViewMain.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Top;
     this.gridViewMain.OptionsView.ShowAutoFilterRow = true;
     this.gridViewMain.OptionsView.ShowDetailButtons = false;
     this.gridViewMain.OptionsView.ShowFooter = true;
     //
     // colCustomerId
     //
     this.colCustomerId.Caption = "Customer Id";
     this.colCustomerId.FieldName = "CustomerId";
     this.colCustomerId.Name = "colCustomerId";
     this.colCustomerId.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
     new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Count, "CustomerId", "{0}")});
     this.colCustomerId.Visible = true;
     this.colCustomerId.VisibleIndex = 0;
     this.colCustomerId.Width = 78;
     //
     // colCustomerNameEn1
     //
     this.colCustomerNameEn1.Caption = "Customer Name En 1";
     this.colCustomerNameEn1.FieldName = "CustomerNameEn1";
     this.colCustomerNameEn1.Name = "colCustomerNameEn1";
     this.colCustomerNameEn1.Visible = true;
     this.colCustomerNameEn1.VisibleIndex = 1;
     this.colCustomerNameEn1.Width = 119;
     //
     // colCustomerNameEn2
     //
     this.colCustomerNameEn2.Caption = "Customer Name En 2";
     this.colCustomerNameEn2.FieldName = "CustomerNameEn2";
     this.colCustomerNameEn2.Name = "colCustomerNameEn2";
     this.colCustomerNameEn2.Visible = true;
     this.colCustomerNameEn2.VisibleIndex = 2;
     this.colCustomerNameEn2.Width = 119;
     //
     // colCustomerNameAr1
     //
     this.colCustomerNameAr1.Caption = "Customer Name Ar 1";
     this.colCustomerNameAr1.FieldName = "CustomerNameAr1";
     this.colCustomerNameAr1.Name = "colCustomerNameAr1";
     this.colCustomerNameAr1.Visible = true;
     this.colCustomerNameAr1.VisibleIndex = 3;
     this.colCustomerNameAr1.Width = 118;
     //
     // colCustomerNameAr2
     //
     this.colCustomerNameAr2.Caption = "CustomerName Ar 2";
     this.colCustomerNameAr2.FieldName = "CustomerNameAr2";
     this.colCustomerNameAr2.Name = "colCustomerNameAr2";
     this.colCustomerNameAr2.Visible = true;
     this.colCustomerNameAr2.VisibleIndex = 4;
     this.colCustomerNameAr2.Width = 115;
     //
     // gridColumn1
     //
     this.gridColumn1.Caption = "CustHierLevel6";
     this.gridColumn1.ColumnEdit = this.repositoryItemGridLookUpEditCustHierLevel6Id;
     this.gridColumn1.FieldName = "CustHierLevel6Id!Key";
     this.gridColumn1.Name = "gridColumn1";
     this.gridColumn1.Visible = true;
     this.gridColumn1.VisibleIndex = 5;
     this.gridColumn1.Width = 101;
     //
     // repositoryItemGridLookUpEditCustHierLevel6Id
     //
     this.repositoryItemGridLookUpEditCustHierLevel6Id.AutoHeight = false;
     this.repositoryItemGridLookUpEditCustHierLevel6Id.BestFitMode = DevExpress.XtraEditors.Controls.BestFitMode.BestFitResizePopup;
     this.repositoryItemGridLookUpEditCustHierLevel6Id.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemGridLookUpEditCustHierLevel6Id.DataSource = this.LSMSCustHierLevel6Id;
     this.repositoryItemGridLookUpEditCustHierLevel6Id.DisplayMember = "CustHierLevel6Name";
     this.repositoryItemGridLookUpEditCustHierLevel6Id.Name = "repositoryItemGridLookUpEditCustHierLevel6Id";
     this.repositoryItemGridLookUpEditCustHierLevel6Id.NullText = "";
     this.repositoryItemGridLookUpEditCustHierLevel6Id.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
     this.repositoryItemGridLookUpEditCustHierLevel6Id.ValueMember = "CustHierLevel6Id";
     this.repositoryItemGridLookUpEditCustHierLevel6Id.View = this.repositoryItemGridLookUpEdit1View;
     //
     // LSMSCustHierLevel6Id
     //
     this.LSMSCustHierLevel6Id.ElementType = typeof(NestleICSales.DataSources.Linq.vQryCustHierLevel);
     this.LSMSCustHierLevel6Id.KeyExpression = "CustHierLevel6Id";
     //
     // repositoryItemGridLookUpEdit1View
     //
     this.repositoryItemGridLookUpEdit1View.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colCustHierLevel6Id,
     this.colCustHierLevel6Name,
     this.colCustHierLevel5Id,
     this.colCustHierLevel5Name,
     this.colCustHierLevel4Id,
     this.colCustHierLevel4Name,
     this.colCustHierLevel3Id,
     this.colCustHierLevel3Name,
     this.colDistributionChannelId,
     this.colDistributionChannel});
     this.repositoryItemGridLookUpEdit1View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
     this.repositoryItemGridLookUpEdit1View.Name = "repositoryItemGridLookUpEdit1View";
     this.repositoryItemGridLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false;
     this.repositoryItemGridLookUpEdit1View.OptionsView.ShowAutoFilterRow = true;
     this.repositoryItemGridLookUpEdit1View.OptionsView.ShowGroupPanel = false;
     //
     // colCustHierLevel6Id
     //
     this.colCustHierLevel6Id.FieldName = "CustHierLevel6Id";
     this.colCustHierLevel6Id.Name = "colCustHierLevel6Id";
     this.colCustHierLevel6Id.Visible = true;
     this.colCustHierLevel6Id.VisibleIndex = 0;
     //
     // colCustHierLevel6Name
     //
     this.colCustHierLevel6Name.FieldName = "CustHierLevel6Name";
     this.colCustHierLevel6Name.Name = "colCustHierLevel6Name";
     this.colCustHierLevel6Name.Visible = true;
     this.colCustHierLevel6Name.VisibleIndex = 1;
     //
     // colCustHierLevel5Id
     //
     this.colCustHierLevel5Id.FieldName = "CustHierLevel5Id";
     this.colCustHierLevel5Id.Name = "colCustHierLevel5Id";
     this.colCustHierLevel5Id.Visible = true;
     this.colCustHierLevel5Id.VisibleIndex = 2;
     //
     // colCustHierLevel5Name
     //
     this.colCustHierLevel5Name.FieldName = "CustHierLevel5Name";
     this.colCustHierLevel5Name.Name = "colCustHierLevel5Name";
     this.colCustHierLevel5Name.Visible = true;
     this.colCustHierLevel5Name.VisibleIndex = 3;
     //
     // colCustHierLevel4Id
     //
     this.colCustHierLevel4Id.FieldName = "CustHierLevel4Id";
     this.colCustHierLevel4Id.Name = "colCustHierLevel4Id";
     this.colCustHierLevel4Id.Visible = true;
     this.colCustHierLevel4Id.VisibleIndex = 4;
     //
     // colCustHierLevel4Name
     //
     this.colCustHierLevel4Name.FieldName = "CustHierLevel4Name";
     this.colCustHierLevel4Name.Name = "colCustHierLevel4Name";
     this.colCustHierLevel4Name.Visible = true;
     this.colCustHierLevel4Name.VisibleIndex = 5;
     //
     // colCustHierLevel3Id
     //
     this.colCustHierLevel3Id.FieldName = "CustHierLevel3Id";
     this.colCustHierLevel3Id.Name = "colCustHierLevel3Id";
     this.colCustHierLevel3Id.Visible = true;
     this.colCustHierLevel3Id.VisibleIndex = 6;
     //
     // colCustHierLevel3Name
     //
     this.colCustHierLevel3Name.FieldName = "CustHierLevel3Name";
     this.colCustHierLevel3Name.Name = "colCustHierLevel3Name";
     this.colCustHierLevel3Name.Visible = true;
     this.colCustHierLevel3Name.VisibleIndex = 7;
     //
     // colDistributionChannelId
     //
     this.colDistributionChannelId.FieldName = "DistributionChannelId";
     this.colDistributionChannelId.Name = "colDistributionChannelId";
     this.colDistributionChannelId.Visible = true;
     this.colDistributionChannelId.VisibleIndex = 8;
     //
     // colDistributionChannel
     //
     this.colDistributionChannel.FieldName = "DistributionChannel";
     this.colDistributionChannel.Name = "colDistributionChannel";
     this.colDistributionChannel.Visible = true;
     this.colDistributionChannel.VisibleIndex = 9;
     //
     // gridColumn3
     //
     this.gridColumn3.Caption = "Customer Type 2";
     this.gridColumn3.ColumnEdit = this.repositoryItemGridLookUpEditCustomerType2Id;
     this.gridColumn3.FieldName = "CustomerType2Id!Key";
     this.gridColumn3.Name = "gridColumn3";
     this.gridColumn3.Visible = true;
     this.gridColumn3.VisibleIndex = 7;
     this.gridColumn3.Width = 105;
     //
     // repositoryItemGridLookUpEditCustomerType2Id
     //
     this.repositoryItemGridLookUpEditCustomerType2Id.AutoHeight = false;
     this.repositoryItemGridLookUpEditCustomerType2Id.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemGridLookUpEditCustomerType2Id.DataSource = this.LSMSCustomerType2Id;
     this.repositoryItemGridLookUpEditCustomerType2Id.DisplayMember = "CustomerType21";
     this.repositoryItemGridLookUpEditCustomerType2Id.Name = "repositoryItemGridLookUpEditCustomerType2Id";
     this.repositoryItemGridLookUpEditCustomerType2Id.NullText = "";
     this.repositoryItemGridLookUpEditCustomerType2Id.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
     this.repositoryItemGridLookUpEditCustomerType2Id.ValueMember = "CustomerType2Id";
     this.repositoryItemGridLookUpEditCustomerType2Id.View = this.gridView2;
     //
     // LSMSCustomerType2Id
     //
     this.LSMSCustomerType2Id.ElementType = typeof(NestleICSales.DataSources.Linq.CustomerType2);
     this.LSMSCustomerType2Id.KeyExpression = "CustomerType2Id";
     //
     // gridView2
     //
     this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colCustomerType2Id,
     this.colCustomerType21});
     this.gridView2.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
     this.gridView2.Name = "gridView2";
     this.gridView2.OptionsSelection.EnableAppearanceFocusedCell = false;
     this.gridView2.OptionsView.ShowGroupPanel = false;
     //
     // colCustomerType2Id
     //
     this.colCustomerType2Id.FieldName = "CustomerType2Id";
     this.colCustomerType2Id.Name = "colCustomerType2Id";
     this.colCustomerType2Id.Visible = true;
     this.colCustomerType2Id.VisibleIndex = 0;
     //
     // colCustomerType21
     //
     this.colCustomerType21.FieldName = "CustomerType21";
     this.colCustomerType21.Name = "colCustomerType21";
     this.colCustomerType21.Visible = true;
     this.colCustomerType21.VisibleIndex = 1;
     //
     // gridColumn5
     //
     this.gridColumn5.Caption = "Customer Group";
     this.gridColumn5.ColumnEdit = this.repositoryItemGridLookUpEditCustomerGroupId;
     this.gridColumn5.FieldName = "CustomerGroupId!Key";
     this.gridColumn5.Name = "gridColumn5";
     this.gridColumn5.Visible = true;
     this.gridColumn5.VisibleIndex = 9;
     this.gridColumn5.Width = 104;
     //
     // repositoryItemGridLookUpEditCustomerGroupId
     //
     this.repositoryItemGridLookUpEditCustomerGroupId.AutoHeight = false;
     this.repositoryItemGridLookUpEditCustomerGroupId.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemGridLookUpEditCustomerGroupId.DataSource = this.LSMSCustomerGroupId;
     this.repositoryItemGridLookUpEditCustomerGroupId.DisplayMember = "CustomerGroup1";
     this.repositoryItemGridLookUpEditCustomerGroupId.Name = "repositoryItemGridLookUpEditCustomerGroupId";
     this.repositoryItemGridLookUpEditCustomerGroupId.NullText = "";
     this.repositoryItemGridLookUpEditCustomerGroupId.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
     this.repositoryItemGridLookUpEditCustomerGroupId.ValueMember = "CustomerGroupId";
     this.repositoryItemGridLookUpEditCustomerGroupId.View = this.gridView3;
     //
     // LSMSCustomerGroupId
     //
     this.LSMSCustomerGroupId.ElementType = typeof(NestleICSales.DataSources.Linq.CustomerGroup);
     this.LSMSCustomerGroupId.KeyExpression = "CustomerGroupId";
     //
     // gridView3
     //
     this.gridView3.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colCustomerGroupId,
     this.colCustomerGroup1});
     this.gridView3.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
     this.gridView3.Name = "gridView3";
     this.gridView3.OptionsSelection.EnableAppearanceFocusedCell = false;
     this.gridView3.OptionsView.ShowGroupPanel = false;
     //
     // colCustomerGroupId
     //
     this.colCustomerGroupId.FieldName = "CustomerGroupId";
     this.colCustomerGroupId.Name = "colCustomerGroupId";
     this.colCustomerGroupId.Visible = true;
     this.colCustomerGroupId.VisibleIndex = 0;
     //
     // colCustomerGroup1
     //
     this.colCustomerGroup1.FieldName = "CustomerGroup1";
     this.colCustomerGroup1.Name = "colCustomerGroup1";
     this.colCustomerGroup1.Visible = true;
     this.colCustomerGroup1.VisibleIndex = 1;
     //
     // gridColumn4
     //
     this.gridColumn4.Caption = "Sub channel";
     this.gridColumn4.ColumnEdit = this.repositoryItemGridLookUpEditSubchannelId;
     this.gridColumn4.FieldName = "SubchannelId!Key";
     this.gridColumn4.Name = "gridColumn4";
     this.gridColumn4.Visible = true;
     this.gridColumn4.VisibleIndex = 8;
     this.gridColumn4.Width = 84;
     //
     // repositoryItemGridLookUpEditSubchannelId
     //
     this.repositoryItemGridLookUpEditSubchannelId.AutoHeight = false;
     this.repositoryItemGridLookUpEditSubchannelId.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemGridLookUpEditSubchannelId.DataSource = this.LSMSSubchannelId;
     this.repositoryItemGridLookUpEditSubchannelId.DisplayMember = "SubchannelName";
     this.repositoryItemGridLookUpEditSubchannelId.Name = "repositoryItemGridLookUpEditSubchannelId";
     this.repositoryItemGridLookUpEditSubchannelId.NullText = "";
     this.repositoryItemGridLookUpEditSubchannelId.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
     this.repositoryItemGridLookUpEditSubchannelId.ValueMember = "SubchannelId";
     this.repositoryItemGridLookUpEditSubchannelId.View = this.gridView4;
     //
     // LSMSSubchannelId
     //
     this.LSMSSubchannelId.ElementType = typeof(NestleICSales.DataSources.Linq.Subchannel);
     this.LSMSSubchannelId.KeyExpression = "SubchannelId";
     //
     // gridView4
     //
     this.gridView4.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colSubchannelId,
     this.colSubchannelName});
     this.gridView4.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
     this.gridView4.Name = "gridView4";
     this.gridView4.OptionsSelection.EnableAppearanceFocusedCell = false;
     this.gridView4.OptionsView.ShowGroupPanel = false;
     //
     // colSubchannelId
     //
     this.colSubchannelId.FieldName = "SubchannelId";
     this.colSubchannelId.Name = "colSubchannelId";
     this.colSubchannelId.Visible = true;
     this.colSubchannelId.VisibleIndex = 0;
     //
     // colSubchannelName
     //
     this.colSubchannelName.FieldName = "SubchannelName";
     this.colSubchannelName.Name = "colSubchannelName";
     this.colSubchannelName.Visible = true;
     this.colSubchannelName.VisibleIndex = 1;
     //
     // colCustomerAddress
     //
     this.colCustomerAddress.Caption = "Customer Address";
     this.colCustomerAddress.FieldName = "CustomerAddress";
     this.colCustomerAddress.Name = "colCustomerAddress";
     this.colCustomerAddress.Visible = true;
     this.colCustomerAddress.VisibleIndex = 10;
     this.colCustomerAddress.Width = 107;
     //
     // gridColumn6
     //
     this.gridColumn6.Caption = "City";
     this.gridColumn6.ColumnEdit = this.repositoryItemGridLookUpEditCityId;
     this.gridColumn6.FieldName = "CityId!Key";
     this.gridColumn6.Name = "gridColumn6";
     this.gridColumn6.Visible = true;
     this.gridColumn6.VisibleIndex = 11;
     //
     // repositoryItemGridLookUpEditCityId
     //
     this.repositoryItemGridLookUpEditCityId.AutoHeight = false;
     this.repositoryItemGridLookUpEditCityId.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemGridLookUpEditCityId.DataSource = this.LSMSCityId;
     this.repositoryItemGridLookUpEditCityId.DisplayMember = "CityEnName";
     this.repositoryItemGridLookUpEditCityId.Name = "repositoryItemGridLookUpEditCityId";
     this.repositoryItemGridLookUpEditCityId.NullText = "";
     this.repositoryItemGridLookUpEditCityId.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
     this.repositoryItemGridLookUpEditCityId.ValueMember = "CityId";
     this.repositoryItemGridLookUpEditCityId.View = this.gridView5;
     //
     // LSMSCityId
     //
     this.LSMSCityId.ElementType = typeof(NestleICSales.DataSources.Linq.City);
     this.LSMSCityId.KeyExpression = "CityId";
     //
     // gridView5
     //
     this.gridView5.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colCityId,
     this.colCityEnName,
     this.colCityArName});
     this.gridView5.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
     this.gridView5.Name = "gridView5";
     this.gridView5.OptionsSelection.EnableAppearanceFocusedCell = false;
     this.gridView5.OptionsView.ShowGroupPanel = false;
     //
     // colCityId
     //
     this.colCityId.FieldName = "CityId";
     this.colCityId.Name = "colCityId";
     this.colCityId.Visible = true;
     this.colCityId.VisibleIndex = 0;
     //
     // colCityEnName
     //
     this.colCityEnName.FieldName = "CityEnName";
     this.colCityEnName.Name = "colCityEnName";
     this.colCityEnName.Visible = true;
     this.colCityEnName.VisibleIndex = 1;
     //
     // colCityArName
     //
     this.colCityArName.FieldName = "CityArName";
     this.colCityArName.Name = "colCityArName";
     this.colCityArName.Visible = true;
     this.colCityArName.VisibleIndex = 2;
     //
     // colCreationDate
     //
     this.colCreationDate.Caption = "CreationDate";
     this.colCreationDate.ColumnEdit = this.repositoryItemDateEditCreationDate;
     this.colCreationDate.FieldName = "CreationDate";
     this.colCreationDate.Name = "colCreationDate";
     this.colCreationDate.Visible = true;
     this.colCreationDate.VisibleIndex = 12;
     this.colCreationDate.Width = 86;
     //
     // repositoryItemDateEditCreationDate
     //
     this.repositoryItemDateEditCreationDate.AutoHeight = false;
     this.repositoryItemDateEditCreationDate.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemDateEditCreationDate.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemDateEditCreationDate.DisplayFormat.FormatString = "d/M/yyyy";
     this.repositoryItemDateEditCreationDate.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.repositoryItemDateEditCreationDate.EditFormat.FormatString = "d/M/yyyy";
     this.repositoryItemDateEditCreationDate.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.repositoryItemDateEditCreationDate.Mask.EditMask = "d/M/yyyy";
     this.repositoryItemDateEditCreationDate.Name = "repositoryItemDateEditCreationDate";
     //
     // colCustomerTypeId1
     //
     this.colCustomerTypeId1.Caption = "CustomerType";
     this.colCustomerTypeId1.ColumnEdit = this.repositoryItemGridLookUpEditCustomerTypeId;
     this.colCustomerTypeId1.FieldName = "CustomerTypeId";
     this.colCustomerTypeId1.Name = "colCustomerTypeId1";
     this.colCustomerTypeId1.Visible = true;
     this.colCustomerTypeId1.VisibleIndex = 6;
     this.colCustomerTypeId1.Width = 89;
     //
     // repositoryItemGridLookUpEditCustomerTypeId
     //
     this.repositoryItemGridLookUpEditCustomerTypeId.AutoHeight = false;
     this.repositoryItemGridLookUpEditCustomerTypeId.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemGridLookUpEditCustomerTypeId.DataSource = this.LSMSCustomerTypeId;
     this.repositoryItemGridLookUpEditCustomerTypeId.DisplayMember = "CustomerType1";
     this.repositoryItemGridLookUpEditCustomerTypeId.Name = "repositoryItemGridLookUpEditCustomerTypeId";
     this.repositoryItemGridLookUpEditCustomerTypeId.NullText = "";
     this.repositoryItemGridLookUpEditCustomerTypeId.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
     this.repositoryItemGridLookUpEditCustomerTypeId.ValueMember = "CustomerTypeId";
     this.repositoryItemGridLookUpEditCustomerTypeId.View = this.gridView1;
     //
     // LSMSCustomerTypeId
     //
     this.LSMSCustomerTypeId.ElementType = typeof(NestleICSales.DataSources.Linq.CustomerType);
     this.LSMSCustomerTypeId.KeyExpression = "CustomerTypeId";
     //
     // gridView1
     //
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colCustomerTypeId,
     this.colCustomerType1});
     this.gridView1.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
     this.gridView1.Name = "gridView1";
     this.gridView1.OptionsSelection.EnableAppearanceFocusedCell = false;
     this.gridView1.OptionsView.ShowGroupPanel = false;
     //
     // colCustomerTypeId
     //
     this.colCustomerTypeId.FieldName = "CustomerTypeId";
     this.colCustomerTypeId.Name = "colCustomerTypeId";
     this.colCustomerTypeId.Visible = true;
     this.colCustomerTypeId.VisibleIndex = 0;
     //
     // colCustomerType1
     //
     this.colCustomerType1.FieldName = "CustomerType1";
     this.colCustomerType1.Name = "colCustomerType1";
     this.colCustomerType1.Visible = true;
     this.colCustomerType1.VisibleIndex = 1;
     //
     // XPSCS
     //
     this.XPSCS.AllowEdit = true;
     this.XPSCS.AllowNew = true;
     this.XPSCS.AllowRemove = true;
     this.XPSCS.DeleteObjectOnRemove = true;
     this.XPSCS.ObjectType = typeof(NestleICSales.DataSources.dsData.CustomerDataTable);
     this.XPSCS.Session = this.UOW;
     //
     // UOW
     //
     this.UOW.IsObjectModifiedOnNonPersistentPropertyChange = null;
     this.UOW.TrackPropertiesModifications = false;
     //
     // CustomerEditorFrm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(636, 286);
     this.Controls.Add(this.gridControlMain);
     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 = "CustomerEditorFrm";
     this.Text = "Customer";
     this.Load += new System.EventHandler(this.Frm_Load);
     this.Shown += new System.EventHandler(this.CustomerEditorFrm_Shown);
     ((System.ComponentModel.ISupportInitialize)(this.popupMenuMain)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.barManagerMain)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMain)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMain)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditCustHierLevel6Id)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.LSMSCustHierLevel6Id)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEdit1View)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditCustomerType2Id)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.LSMSCustomerType2Id)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditCustomerGroupId)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.LSMSCustomerGroupId)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditSubchannelId)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.LSMSSubchannelId)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditCityId)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.LSMSCityId)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditCreationDate.CalendarTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditCreationDate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditCustomerTypeId)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.LSMSCustomerTypeId)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.XPSCS)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.UOW)).EndInit();
     this.ResumeLayout(false);
 }
 public TransliterateSentence GetTransliterateSentence(Model.VerseIndex index, DevExpress.Xpo.UnitOfWork uow)
 {
     if (index.IsNotNull())
     {
         var verse = new DevExpress.Xpo.XPQuery <Model.Verse>(uow).Where(x => x.Index == index.Index).FirstOrDefault();
         if (verse.IsNotNull())
         {
             var value  = string.Empty;
             var svalue = string.Empty;
             foreach (var item in verse.VerseWords)
             {
                 svalue += item.SourceWord + " ";
                 value  += TransliterateWord(item.SourceWord) + " ";
             }
             return(new TransliterateSentence()
             {
                 SourceSentence = svalue.Trim(), TransliteritSentence = value.Trim(), Index = index
             });
         }
     }
     return(default);
        private void SavePortraits(List<Portrait> portraits)
        {
            using (var uow = new DevExpress.Xpo.UnitOfWork())
            {
                foreach (var portrait in portraits)
                {
                    var path = SaveImage(portrait.GetIpl(), portrait.CapturedAt);
                    var p = new Damany.PortraitCapturer.DAL.DTO.Portrait(uow);
                    p.ImagePath = path;
                    p.FaceBounds = portrait.FaceBounds;
                    p.CaptureTime = portrait.CapturedAt;
                    p.ImageSourceId = portrait.DeviceId;

                    var frame = uow.GetObjectByKey(typeof(Damany.PortraitCapturer.DAL.DTO.Frame), portrait.Frame.Oid);
                    p.Frame = (Damany.PortraitCapturer.DAL.DTO.Frame)frame;
                }

                uow.CommitChanges();
            }
        }