/// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject();
     this.gridControlData = new DevExpress.XtraGrid.GridControl();
     this.tblWarasaAmanatBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.dsRetirementCenter = new RetirementCenter.DataSources.dsRetirementCenter();
     this.gridViewData = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colAutoId = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colDofatSarfAId = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemGridLookUpEditDofatSarfAId = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit();
     this.cdDofaatAmanatBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.gridView3 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colDofatSarfA = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colMMashatId = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemGridLookUpEditPersonId = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit();
     this.LSMSTBLWarasa = new DevExpress.Data.Linq.LinqServerModeSource();
     this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colMMashatName = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colamanatrem = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemMemoExEditamanatrem = new DevExpress.XtraEditors.Repository.RepositoryItemMemoExEdit();
     this.colamanatmony = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnSave = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemButtonEditSave = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
     this.colaccReview = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemCheckEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
     this.colestktaa = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colmostahek = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colsefa = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemLookUpEditDofatSarfId = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
     this.tBLDofatSarfBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colPersonId = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colDofatSarfAId1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colamanattypeid = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemLookUpEditamanattypeid = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
     this.LSMScd_amanattype = new DevExpress.Data.Linq.LinqServerModeSource();
     this.repositoryItemDateEditdatein = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.repositoryItemGridLookUpEdituserin = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit();
     this.usersBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colRealName = 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.tblWarasaAmanatTableAdapter = new RetirementCenter.DataSources.dsRetirementCenterTableAdapters.TblWarasaAmanatTableAdapter();
     this.cdDofaatAmanatTableAdapter = new RetirementCenter.DataSources.dsRetirementCenterTableAdapters.CdDofaatAmanatTableAdapter();
     this.usersTableAdapter = new RetirementCenter.DataSources.dsRetirementCenterTableAdapters.UsersTableAdapter();
     this.btnAdd = new DevExpress.XtraEditors.SimpleButton();
     this.groupControl2 = new DevExpress.XtraEditors.GroupControl();
     this.btnSarf = new DevExpress.XtraEditors.SimpleButton();
     this.tBLDofatSarfTableAdapter = new RetirementCenter.DataSources.dsRetirementCenterTableAdapters.TBLDofatSarfTableAdapter();
     this.coldateReview = new DevExpress.XtraGrid.Columns.GridColumn();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlData)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tblWarasaAmanatBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsRetirementCenter)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewData)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditDofatSarfAId)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cdDofaatAmanatBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditPersonId)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.LSMSTBLWarasa)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoExEditamanatrem)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEditSave)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEditDofatSarfId)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tBLDofatSarfBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEditamanattypeid)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.LSMScd_amanattype)).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.gridView2)).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.tblWarasaAmanatBindingSource;
     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.repositoryItemDateEditdatein,
     this.repositoryItemGridLookUpEdituserin,
     this.repositoryItemMemoExEditamanatrem,
     this.repositoryItemGridLookUpEditPersonId,
     this.repositoryItemGridLookUpEditDofatSarfAId,
     this.repositoryItemCheckEdit1,
     this.repositoryItemLookUpEditamanattypeid,
     this.repositoryItemLookUpEditDofatSarfId});
     this.gridControlData.Size = new System.Drawing.Size(956, 280);
     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);
     //
     // tblWarasaAmanatBindingSource
     //
     this.tblWarasaAmanatBindingSource.DataMember = "TblWarasaAmanat";
     this.tblWarasaAmanatBindingSource.DataSource = this.dsRetirementCenter;
     //
     // dsRetirementCenter
     //
     this.dsRetirementCenter.DataSetName = "dsRetirementCenter";
     this.dsRetirementCenter.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // gridViewData
     //
     this.gridViewData.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colAutoId,
     this.colDofatSarfAId,
     this.colMMashatId,
     this.colamanatrem,
     this.colamanatmony,
     this.gridColumnSave,
     this.colaccReview,
     this.colestktaa,
     this.colmostahek,
     this.colsefa,
     this.gridColumn1,
     this.gridColumn3,
     this.gridColumn4,
     this.colPersonId,
     this.colDofatSarfAId1,
     this.colamanattypeid,
     this.coldateReview});
     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.InvalidRowException += new DevExpress.XtraGrid.Views.Base.InvalidRowExceptionEventHandler(this.gridViewData_InvalidRowException);
     //
     // colAutoId
     //
     this.colAutoId.AppearanceCell.Options.UseTextOptions = true;
     this.colAutoId.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colAutoId.AppearanceHeader.Options.UseTextOptions = true;
     this.colAutoId.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colAutoId.Caption = "تلقائي";
     this.colAutoId.FieldName = "AutoId";
     this.colAutoId.Name = "colAutoId";
     this.colAutoId.Visible = true;
     this.colAutoId.VisibleIndex = 0;
     this.colAutoId.Width = 56;
     //
     // 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.ColumnEdit = this.repositoryItemGridLookUpEditDofatSarfAId;
     this.colDofatSarfAId.FieldName = "DofatSarfAId";
     this.colDofatSarfAId.Name = "colDofatSarfAId";
     this.colDofatSarfAId.OptionsColumn.ReadOnly = true;
     this.colDofatSarfAId.Visible = true;
     this.colDofatSarfAId.VisibleIndex = 3;
     this.colDofatSarfAId.Width = 128;
     //
     // repositoryItemGridLookUpEditDofatSarfAId
     //
     this.repositoryItemGridLookUpEditDofatSarfAId.AutoHeight = false;
     this.repositoryItemGridLookUpEditDofatSarfAId.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemGridLookUpEditDofatSarfAId.DataSource = this.cdDofaatAmanatBindingSource;
     this.repositoryItemGridLookUpEditDofatSarfAId.DisplayMember = "DofatSarfA";
     this.repositoryItemGridLookUpEditDofatSarfAId.Name = "repositoryItemGridLookUpEditDofatSarfAId";
     this.repositoryItemGridLookUpEditDofatSarfAId.NullText = "";
     this.repositoryItemGridLookUpEditDofatSarfAId.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
     this.repositoryItemGridLookUpEditDofatSarfAId.ValueMember = "DofatSarfAId";
     this.repositoryItemGridLookUpEditDofatSarfAId.View = this.gridView3;
     //
     // cdDofaatAmanatBindingSource
     //
     this.cdDofaatAmanatBindingSource.DataMember = "CdDofaatAmanat";
     this.cdDofaatAmanatBindingSource.DataSource = this.dsRetirementCenter;
     //
     // gridView3
     //
     this.gridView3.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colDofatSarfA});
     this.gridView3.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
     this.gridView3.Name = "gridView3";
     this.gridView3.OptionsSelection.EnableAppearanceFocusedCell = false;
     this.gridView3.OptionsView.ShowGroupPanel = false;
     //
     // colDofatSarfA
     //
     this.colDofatSarfA.AppearanceCell.Options.UseTextOptions = true;
     this.colDofatSarfA.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colDofatSarfA.AppearanceHeader.Options.UseTextOptions = true;
     this.colDofatSarfA.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colDofatSarfA.Caption = "الاسم";
     this.colDofatSarfA.FieldName = "DofatSarfA";
     this.colDofatSarfA.Name = "colDofatSarfA";
     this.colDofatSarfA.Visible = true;
     this.colDofatSarfA.VisibleIndex = 0;
     //
     // 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.ColumnEdit = this.repositoryItemGridLookUpEditPersonId;
     this.colMMashatId.FieldName = "PersonId";
     this.colMMashatId.Name = "colMMashatId";
     this.colMMashatId.OptionsColumn.ReadOnly = true;
     this.colMMashatId.Visible = true;
     this.colMMashatId.VisibleIndex = 4;
     this.colMMashatId.Width = 150;
     //
     // repositoryItemGridLookUpEditPersonId
     //
     this.repositoryItemGridLookUpEditPersonId.AutoHeight = false;
     this.repositoryItemGridLookUpEditPersonId.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemGridLookUpEditPersonId.DataSource = this.LSMSTBLWarasa;
     this.repositoryItemGridLookUpEditPersonId.DisplayMember = "personName";
     this.repositoryItemGridLookUpEditPersonId.Name = "repositoryItemGridLookUpEditPersonId";
     this.repositoryItemGridLookUpEditPersonId.NullText = "";
     this.repositoryItemGridLookUpEditPersonId.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
     this.repositoryItemGridLookUpEditPersonId.ValueMember = "PersonId";
     this.repositoryItemGridLookUpEditPersonId.View = this.gridView1;
     //
     // LSMSTBLWarasa
     //
     this.LSMSTBLWarasa.ElementType = typeof(RetirementCenter.DataSources.Linq.vTBLWarasa_TBLMashat);
     this.LSMSTBLWarasa.KeyExpression = "PersonId";
     //
     // gridView1
     //
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colMMashatName});
     this.gridView1.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
     this.gridView1.Name = "gridView1";
     this.gridView1.OptionsSelection.EnableAppearanceFocusedCell = false;
     this.gridView1.OptionsView.ShowGroupPanel = false;
     //
     // colMMashatName
     //
     this.colMMashatName.AppearanceCell.Options.UseTextOptions = true;
     this.colMMashatName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colMMashatName.AppearanceHeader.Options.UseTextOptions = true;
     this.colMMashatName.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colMMashatName.Caption = "الاسم";
     this.colMMashatName.FieldName = "personName";
     this.colMMashatName.Name = "colMMashatName";
     this.colMMashatName.Visible = true;
     this.colMMashatName.VisibleIndex = 0;
     //
     // 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.repositoryItemMemoExEditamanatrem;
     this.colamanatrem.FieldName = "amanatrem";
     this.colamanatrem.Name = "colamanatrem";
     this.colamanatrem.OptionsColumn.ReadOnly = true;
     this.colamanatrem.Visible = true;
     this.colamanatrem.VisibleIndex = 5;
     //
     // repositoryItemMemoExEditamanatrem
     //
     this.repositoryItemMemoExEditamanatrem.AutoHeight = false;
     this.repositoryItemMemoExEditamanatrem.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemMemoExEditamanatrem.Name = "repositoryItemMemoExEditamanatrem";
     //
     // colamanatmony
     //
     this.colamanatmony.AppearanceCell.Options.UseTextOptions = true;
     this.colamanatmony.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colamanatmony.AppearanceHeader.Options.UseTextOptions = true;
     this.colamanatmony.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colamanatmony.Caption = "المبلغ";
     this.colamanatmony.FieldName = "amanatmony";
     this.colamanatmony.Name = "colamanatmony";
     this.colamanatmony.OptionsColumn.ReadOnly = true;
     this.colamanatmony.Visible = true;
     this.colamanatmony.VisibleIndex = 6;
     this.colamanatmony.Width = 81;
     //
     // 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 = 16;
     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.Glyph, "", -1, true, true, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, global::RetirementCenter.Properties.Resources.save_16x16, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, "", null, null, true)});
     this.repositoryItemButtonEditSave.Name = "repositoryItemButtonEditSave";
     this.repositoryItemButtonEditSave.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor;
     this.repositoryItemButtonEditSave.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemButtonEditSave_ButtonClick);
     //
     // colaccReview
     //
     this.colaccReview.AppearanceCell.Options.UseTextOptions = true;
     this.colaccReview.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colaccReview.AppearanceHeader.Options.UseTextOptions = true;
     this.colaccReview.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colaccReview.Caption = "مراجعة (حسابات)";
     this.colaccReview.ColumnEdit = this.repositoryItemCheckEdit1;
     this.colaccReview.FieldName = "accReview";
     this.colaccReview.Name = "colaccReview";
     this.colaccReview.OptionsColumn.ReadOnly = true;
     this.colaccReview.Visible = true;
     this.colaccReview.VisibleIndex = 7;
     this.colaccReview.Width = 100;
     //
     // repositoryItemCheckEdit1
     //
     this.repositoryItemCheckEdit1.AutoHeight = false;
     this.repositoryItemCheckEdit1.Name = "repositoryItemCheckEdit1";
     //
     // colestktaa
     //
     this.colestktaa.AppearanceCell.Options.UseTextOptions = true;
     this.colestktaa.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colestktaa.AppearanceHeader.Options.UseTextOptions = true;
     this.colestktaa.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colestktaa.Caption = "استقطاع";
     this.colestktaa.FieldName = "estktaa";
     this.colestktaa.Name = "colestktaa";
     this.colestktaa.OptionsColumn.ReadOnly = true;
     this.colestktaa.Visible = true;
     this.colestktaa.VisibleIndex = 9;
     //
     // colmostahek
     //
     this.colmostahek.AppearanceCell.Options.UseTextOptions = true;
     this.colmostahek.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colmostahek.AppearanceHeader.Options.UseTextOptions = true;
     this.colmostahek.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colmostahek.Caption = "مستحق";
     this.colmostahek.FieldName = "mostahek";
     this.colmostahek.Name = "colmostahek";
     this.colmostahek.OptionsColumn.ReadOnly = true;
     this.colmostahek.Visible = true;
     this.colmostahek.VisibleIndex = 10;
     //
     // colsefa
     //
     this.colsefa.AppearanceCell.Options.UseTextOptions = true;
     this.colsefa.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colsefa.AppearanceHeader.Options.UseTextOptions = true;
     this.colsefa.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colsefa.Caption = "صفة";
     this.colsefa.FieldName = "sefa";
     this.colsefa.Name = "colsefa";
     this.colsefa.OptionsColumn.ReadOnly = true;
     this.colsefa.Visible = true;
     this.colsefa.VisibleIndex = 11;
     //
     // 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.repositoryItemLookUpEditDofatSarfId;
     this.gridColumn1.FieldName = "DofatSarfId";
     this.gridColumn1.Name = "gridColumn1";
     this.gridColumn1.Visible = true;
     this.gridColumn1.VisibleIndex = 12;
     this.gridColumn1.Width = 110;
     //
     // repositoryItemLookUpEditDofatSarfId
     //
     this.repositoryItemLookUpEditDofatSarfId.AutoHeight = false;
     this.repositoryItemLookUpEditDofatSarfId.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemLookUpEditDofatSarfId.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("DofatSarf", "الاسم", 61, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near)});
     this.repositoryItemLookUpEditDofatSarfId.DataSource = this.tBLDofatSarfBindingSource;
     this.repositoryItemLookUpEditDofatSarfId.DisplayMember = "DofatSarf";
     this.repositoryItemLookUpEditDofatSarfId.Name = "repositoryItemLookUpEditDofatSarfId";
     this.repositoryItemLookUpEditDofatSarfId.NullText = "";
     this.repositoryItemLookUpEditDofatSarfId.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
     this.repositoryItemLookUpEditDofatSarfId.ValueMember = "DofatSarfId";
     //
     // tBLDofatSarfBindingSource
     //
     this.tBLDofatSarfBindingSource.DataMember = "TBLDofatSarf";
     this.tBLDofatSarfBindingSource.DataSource = this.dsRetirementCenter;
     //
     // gridColumn3
     //
     this.gridColumn3.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumn3.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn3.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumn3.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn3.Caption = "رقم صرف";
     this.gridColumn3.FieldName = "sarfnumber";
     this.gridColumn3.Name = "gridColumn3";
     this.gridColumn3.Visible = true;
     this.gridColumn3.VisibleIndex = 13;
     //
     // gridColumn4
     //
     this.gridColumn4.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumn4.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn4.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumn4.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn4.Caption = "كود الاب";
     this.gridColumn4.FieldName = "MMashatId";
     this.gridColumn4.Name = "gridColumn4";
     this.gridColumn4.Visible = true;
     this.gridColumn4.VisibleIndex = 14;
     //
     // colPersonId
     //
     this.colPersonId.AppearanceCell.Options.UseTextOptions = true;
     this.colPersonId.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colPersonId.AppearanceHeader.Options.UseTextOptions = true;
     this.colPersonId.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colPersonId.Caption = "كود";
     this.colPersonId.FieldName = "PersonId";
     this.colPersonId.Name = "colPersonId";
     this.colPersonId.Visible = true;
     this.colPersonId.VisibleIndex = 1;
     //
     // colDofatSarfAId1
     //
     this.colDofatSarfAId1.AppearanceCell.Options.UseTextOptions = true;
     this.colDofatSarfAId1.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colDofatSarfAId1.AppearanceHeader.Options.UseTextOptions = true;
     this.colDofatSarfAId1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colDofatSarfAId1.Caption = "كود الدفعة";
     this.colDofatSarfAId1.FieldName = "DofatSarfAId";
     this.colDofatSarfAId1.Name = "colDofatSarfAId1";
     this.colDofatSarfAId1.Visible = true;
     this.colDofatSarfAId1.VisibleIndex = 2;
     //
     // colamanattypeid
     //
     this.colamanattypeid.AppearanceCell.Options.UseTextOptions = true;
     this.colamanattypeid.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colamanattypeid.AppearanceHeader.Options.UseTextOptions = true;
     this.colamanattypeid.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colamanattypeid.Caption = "نوع الامانات";
     this.colamanattypeid.ColumnEdit = this.repositoryItemLookUpEditamanattypeid;
     this.colamanattypeid.FieldName = "amanattypeid";
     this.colamanattypeid.Name = "colamanattypeid";
     this.colamanattypeid.Visible = true;
     this.colamanattypeid.VisibleIndex = 15;
     //
     // repositoryItemLookUpEditamanattypeid
     //
     this.repositoryItemLookUpEditamanattypeid.AutoHeight = false;
     this.repositoryItemLookUpEditamanattypeid.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemLookUpEditamanattypeid.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("amanattype", "الاسم", 68, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near)});
     this.repositoryItemLookUpEditamanattypeid.DataSource = this.LSMScd_amanattype;
     this.repositoryItemLookUpEditamanattypeid.DisplayMember = "amanattype";
     this.repositoryItemLookUpEditamanattypeid.Name = "repositoryItemLookUpEditamanattypeid";
     this.repositoryItemLookUpEditamanattypeid.NullText = "";
     this.repositoryItemLookUpEditamanattypeid.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
     this.repositoryItemLookUpEditamanattypeid.ValueMember = "amanattypeid";
     //
     // LSMScd_amanattype
     //
     this.LSMScd_amanattype.ElementType = typeof(RetirementCenter.DataSources.Linq.cd_amanattype);
     this.LSMScd_amanattype.KeyExpression = "[amanattypeid]";
     //
     // 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()});
     //
     // 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;
     //
     // 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;
     //
     // 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(960, 303);
     this.groupControl1.TabIndex = 1;
     //
     // tblWarasaAmanatTableAdapter
     //
     this.tblWarasaAmanatTableAdapter.ClearBeforeFill = true;
     //
     // cdDofaatAmanatTableAdapter
     //
     this.cdDofaatAmanatTableAdapter.ClearBeforeFill = true;
     //
     // usersTableAdapter
     //
     this.usersTableAdapter.ClearBeforeFill = true;
     //
     // btnAdd
     //
     this.btnAdd.Anchor = System.Windows.Forms.AnchorStyles.Top;
     this.btnAdd.Image = global::RetirementCenter.Properties.Resources.Edit;
     this.btnAdd.Location = new System.Drawing.Point(435, 24);
     this.btnAdd.Name = "btnAdd";
     this.btnAdd.Size = new System.Drawing.Size(114, 38);
     this.btnAdd.TabIndex = 2;
     this.btnAdd.Text = "ترحيل للصرف";
     this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
     //
     // groupControl2
     //
     this.groupControl2.Controls.Add(this.btnSarf);
     this.groupControl2.Controls.Add(this.btnAdd);
     this.groupControl2.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.groupControl2.Location = new System.Drawing.Point(0, 321);
     this.groupControl2.Name = "groupControl2";
     this.groupControl2.Size = new System.Drawing.Size(984, 67);
     this.groupControl2.TabIndex = 3;
     //
     // btnSarf
     //
     this.btnSarf.Image = global::RetirementCenter.Properties.Resources.Edit;
     this.btnSarf.Location = new System.Drawing.Point(14, 24);
     this.btnSarf.Name = "btnSarf";
     this.btnSarf.Size = new System.Drawing.Size(114, 38);
     this.btnSarf.TabIndex = 2;
     this.btnSarf.Text = "اعداد الصرف";
     this.btnSarf.Click += new System.EventHandler(this.btnSarf_Click);
     //
     // tBLDofatSarfTableAdapter
     //
     this.tBLDofatSarfTableAdapter.ClearBeforeFill = true;
     //
     // coldateReview
     //
     this.coldateReview.AppearanceCell.Options.UseTextOptions = true;
     this.coldateReview.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.coldateReview.AppearanceHeader.Options.UseTextOptions = true;
     this.coldateReview.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.coldateReview.Caption = "تاريخ مراجعة حسابات";
     this.coldateReview.ColumnEdit = this.repositoryItemDateEditdatein;
     this.coldateReview.FieldName = "dateReview";
     this.coldateReview.Name = "coldateReview";
     this.coldateReview.Visible = true;
     this.coldateReview.VisibleIndex = 8;
     this.coldateReview.Width = 116;
     //
     // TblWarasaAmanatSarfFrm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(984, 388);
     this.Controls.Add(this.groupControl2);
     this.Controls.Add(this.groupControl1);
     this.Name = "TblWarasaAmanatSarfFrm";
     this.Text = "امانات الورثة - دفعات الصرف";
     this.Load += new System.EventHandler(this.FormFrm_Load);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlData)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tblWarasaAmanatBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsRetirementCenter)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewData)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditDofatSarfAId)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cdDofaatAmanatBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditPersonId)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.LSMSTBLWarasa)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoExEditamanatrem)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEditSave)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEditDofatSarfId)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tBLDofatSarfBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEditamanattypeid)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.LSMScd_amanattype)).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.gridView2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit();
     this.groupControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).EndInit();
     this.groupControl2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
        private void repositoryItemButtonEditSave_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
        {
            try
            {
                switch (gridControlCode.MainView.Name)
                {
                    case "gridViewCDGov":
                        DataRow rowgridViewCDGov = gridViewCDGov.GetFocusedDataRow();
                        if (rowgridViewCDGov["GovId"].ToString() == string.Empty)
                            SQLProvider.InsertCDGov(rowgridViewCDGov["GOV"].ToString());
                        else
                            SQLProvider.UpdateCDGov(rowgridViewCDGov["GovId"].ToString(), rowgridViewCDGov["GOV"].ToString());
                        break;
                    case "gridViewCDMarkez":
                        DataRow rowgridViewCDMarkez = gridViewCDMarkez.GetFocusedDataRow();
                        if (rowgridViewCDMarkez["MarkezId"].ToString() == string.Empty)
                            SQLProvider.InsertCDMarkez(rowgridViewCDMarkez["Markez"].ToString(), rowgridViewCDMarkez["GovId"].ToString());
                        else
                            SQLProvider.UpdateCDMarkez(rowgridViewCDMarkez["MarkezId"].ToString(), rowgridViewCDMarkez["Markez"].ToString(), rowgridViewCDMarkez["GovId"].ToString());
                        break;
                    case "gridViewCDSyndicate":
                        DataRow rowgridViewCDSyndicate = gridViewCDSyndicate.GetFocusedDataRow();
                        if (rowgridViewCDSyndicate["SyndicateId"].ToString() == string.Empty)
                            SQLProvider.InsertCDSyndicate(rowgridViewCDSyndicate["Syndicate"].ToString());
                        else
                            SQLProvider.UpdateCDSyndicate(rowgridViewCDSyndicate["SyndicateId"].ToString(), rowgridViewCDSyndicate["Syndicate"].ToString());
                        break;
                    case "gridViewCDSubCommitte":
                        DataRow rowgridViewCDSubCommitte = gridViewCDSubCommitte.GetFocusedDataRow();
                        if (rowgridViewCDSubCommitte["SubCommitteId"].ToString() == string.Empty)
                            SQLProvider.InsertCDSubCommitte(rowgridViewCDSubCommitte["SubCommitte"].ToString(), rowgridViewCDSubCommitte["SyndicateId"].ToString());
                        else
                            SQLProvider.UpdateCDSubCommitte(rowgridViewCDSubCommitte["SubCommitteId"].ToString(), rowgridViewCDSubCommitte["SubCommitte"].ToString(), rowgridViewCDSubCommitte["SyndicateId"].ToString());
                        break;
                    case "gridViewCDBirthPlace":
                        DataRow rowgridViewCDBirthPlace = gridViewCDBirthPlace.GetFocusedDataRow();
                        if (rowgridViewCDBirthPlace["PlaceId"].ToString() == string.Empty)
                            SQLProvider.InsertCDBirthPlace(rowgridViewCDBirthPlace["BPlace"].ToString());
                        else
                            SQLProvider.UpdateCDBirthPlace(rowgridViewCDBirthPlace["PlaceId"].ToString(), rowgridViewCDBirthPlace["BPlace"].ToString());
                        break;
                    case "gridViewCDJop":
                        DataRow rowgridViewCDJop = gridViewCDJop.GetFocusedDataRow();
                        if (rowgridViewCDJop["jopId"].ToString() == string.Empty)
                            SQLProvider.InsertCDJop(rowgridViewCDJop["jopName"].ToString());
                        else
                            SQLProvider.UpdateCDJop(rowgridViewCDJop["jopId"].ToString(), rowgridViewCDJop["jopName"].ToString());
                        break;
                    case "gridViewCDJobDescription":
                        DataRow rowgridViewCDJobDescription = gridViewCDJobDescription.GetFocusedDataRow();
                        if (rowgridViewCDJobDescription["JobDescriptionId"].ToString() == string.Empty)
                            SQLProvider.InsertCDJobDescription(rowgridViewCDJobDescription["JobDescription"].ToString(), rowgridViewCDJobDescription["jopId"].ToString());
                        else
                            SQLProvider.UpdateCDJobDescription(rowgridViewCDJobDescription["JobDescriptionId"].ToString(), rowgridViewCDJobDescription["JobDescription"].ToString(), rowgridViewCDJobDescription["jopId"].ToString());
                        break;
                    case "gridViewCDGehaType":
                        DataRow rowgridViewCDGehaType = gridViewCDGehaType.GetFocusedDataRow();
                        if (rowgridViewCDGehaType["GehaTypeId"].ToString() == string.Empty)
                            SQLProvider.InsertCDGehaType(rowgridViewCDGehaType["GehaType"].ToString());
                        else
                            SQLProvider.UpdateCDGehaType(rowgridViewCDGehaType["GehaTypeId"].ToString(), rowgridViewCDGehaType["GehaType"].ToString());
                        break;
                    case "gridViewCDModerea":
                        DataRow rowgridViewCDModerea = gridViewCDModerea.GetFocusedDataRow();
                        if (rowgridViewCDModerea["ModereaId"].ToString() == string.Empty)
                            SQLProvider.InsertCDModerea(rowgridViewCDModerea["Moderea"].ToString(), rowgridViewCDModerea["GovId"].ToString());
                        else
                            SQLProvider.UpdateCDModerea(rowgridViewCDModerea["ModereaId"].ToString(), rowgridViewCDModerea["Moderea"].ToString(), rowgridViewCDModerea["GovId"].ToString());
                        break;
                    case "gridViewCDEDARET":
                        DataRow rowgridViewCDEDARET = gridViewCDEDARET.GetFocusedDataRow();
                        if (rowgridViewCDEDARET["EdaraId"].ToString() == string.Empty)
                            SQLProvider.InsertCDEDARET(rowgridViewCDEDARET["EDARET"].ToString(), rowgridViewCDEDARET["ModereaId"].ToString());
                        else
                            SQLProvider.UpdateCDEDARET(rowgridViewCDEDARET["EdaraId"].ToString(), rowgridViewCDEDARET["EDARET"].ToString(), rowgridViewCDEDARET["ModereaId"].ToString());
                        break;
                    case "gridViewCDGeha":
                        DataRow rowgridViewCDGeha = gridViewCDGeha.GetFocusedDataRow();
                        if (rowgridViewCDGeha["GehaId"].ToString() == string.Empty)
                            SQLProvider.InsertCDGeha(rowgridViewCDGeha["GehaName"].ToString(), rowgridViewCDGeha["GehaTypeID"].ToString(), rowgridViewCDGeha["GovId"].ToString(), rowgridViewCDGeha["ModereaId"].ToString(), rowgridViewCDGeha["EdaraId"].ToString());
                        else
                            SQLProvider.UpdateCDGeha(rowgridViewCDGeha["GehaId"].ToString(), rowgridViewCDGeha["GehaName"].ToString(), rowgridViewCDGeha["GehaTypeID"].ToString(), rowgridViewCDGeha["GovId"].ToString(), rowgridViewCDGeha["ModereaId"].ToString(), rowgridViewCDGeha["EdaraId"].ToString());
                        break;
                    case "gridViewCDQualification":
                        DataRow rowgridViewCDQualification = gridViewCDQualification.GetFocusedDataRow();
                        if (rowgridViewCDQualification["qualId"].ToString() == string.Empty)
                            SQLProvider.InsertCDQualification(rowgridViewCDQualification["qualName"].ToString(), rowgridViewCDQualification["trbawy"].ToString());
                        else
                            SQLProvider.UpdateCDQualification(rowgridViewCDQualification["qualId"].ToString(), rowgridViewCDQualification["qualName"].ToString(), rowgridViewCDQualification["trbawy"].ToString());
                        break;
                    case "gridViewCDSpecialization":
                        DataRow rowgridViewCDSpecialization = gridViewCDSpecialization.GetFocusedDataRow();
                        if (rowgridViewCDSpecialization["SpecializationId"].ToString() == string.Empty)
                            SQLProvider.InsertCDSpecialization(rowgridViewCDSpecialization["SpecializationName"].ToString(), rowgridViewCDSpecialization["qualId"].ToString());
                        else
                            SQLProvider.UpdateCDSpecialization(rowgridViewCDSpecialization["SpecializationId"].ToString(), rowgridViewCDSpecialization["SpecializationName"].ToString(), rowgridViewCDSpecialization["qualId"].ToString());
                        break;
                    case "gridViewCDEstefaaKed":
                        DataRow rowgridViewCDEstefaaKed = gridViewCDEstefaaKed.GetFocusedDataRow();
                        if (rowgridViewCDEstefaaKed["EstefaaKedId"].ToString() == string.Empty)
                            SQLProvider.InsertCDEstefaaKed(rowgridViewCDEstefaaKed["EstefaaKed"].ToString());
                        else
                            SQLProvider.UpdateCDEstefaaKed(rowgridViewCDEstefaaKed["EstefaaKedId"].ToString(), rowgridViewCDEstefaaKed["EstefaaKed"].ToString());
                        break;
                    case "gridViewCDJobtitle":
                        DataRow rowgridViewCDJobtitle = gridViewCDJobtitle.GetFocusedDataRow();
                        if (rowgridViewCDJobtitle["JobtitleID"].ToString() == string.Empty)
                            SQLProvider.InsertCDJobtitle(rowgridViewCDJobtitle["Jobtitle"]);
                        else
                            SQLProvider.UpdateCDJobtitle(rowgridViewCDJobtitle["JobtitleID"], rowgridViewCDJobtitle["Jobtitle"]);
                        break;
                    case "gridViewCDAttachmentType":
                        DataRow rowgridViewCDAttachmentType = gridViewCDAttachmentType.GetFocusedDataRow();
                        if (rowgridViewCDAttachmentType["AttachmentTypeId"].ToString() == string.Empty)
                            SQLProvider.InsertCDAttachmentType(rowgridViewCDAttachmentType["AttachmentName"], rowgridViewCDAttachmentType["AttachmentExt"], rowgridViewCDAttachmentType["AttachmentImg"]);
                        else
                            SQLProvider.UpdateCDAttachmentType(rowgridViewCDAttachmentType["AttachmentTypeId"], rowgridViewCDAttachmentType["AttachmentName"], rowgridViewCDAttachmentType["AttachmentExt"], rowgridViewCDAttachmentType["AttachmentImg"]);
                        break;
                    case "gridViewCDsarfType":
                        DataRow rowgridViewCDsarfType = gridViewCDsarfType.GetFocusedDataRow();
                        if (rowgridViewCDsarfType["sarfTypeId"].ToString() == string.Empty)
                            SQLProvider.InsertCDsarfType(rowgridViewCDsarfType["MashHalaId"], rowgridViewCDsarfType["sarfType"], rowgridViewCDsarfType["feasarf"]);
                        else
                            SQLProvider.UpdateCDsarfType(rowgridViewCDsarfType["sarfTypeId"], rowgridViewCDsarfType["MashHalaId"], rowgridViewCDsarfType["sarfType"], rowgridViewCDsarfType["feasarf"]);
                        break;
                    case "gridViewTBLDofatSarf":
                        DataRow rowgridViewTBLDofatSarf = gridViewTBLDofatSarf.GetFocusedDataRow();
                        if (rowgridViewTBLDofatSarf["DofatSarfDateto"].ToString() != string.Empty)
                        {
                            DateTime dt = Convert.ToDateTime(rowgridViewTBLDofatSarf["DofatSarfDateto"]);
                            if (DateTime.DaysInMonth(dt.Year, dt.Month) != dt.Day)
                            {
                                Program.ShowMsg("يجب ان يكون اخر يوم في الشهر 'من تاريخ'", true, this, true);
                                return;
                            }
                        }

                        if (rowgridViewTBLDofatSarf["DofatSarfId"].ToString() == string.Empty)
                            SQLProvider.InsertTBLDofatSarf(rowgridViewTBLDofatSarf["DofatSarf"], rowgridViewTBLDofatSarf["DofatSarfDatefrom"],
                                rowgridViewTBLDofatSarf["DofatSarfDateto"], rowgridViewTBLDofatSarf["remd"], rowgridViewTBLDofatSarf["dofclosed"]);
                        else
                        {
                            object closed = new DataSources.dsRetirementCenterTableAdapters.TBLDofatSarfTableAdapter().Getdofclosed((int)rowgridViewTBLDofatSarf["DofatSarfId"]);
                            if (rowgridViewTBLDofatSarf["dofclosed"] != null && (bool)rowgridViewTBLDofatSarf["dofclosed"] == false && closed != null && (bool)closed == true)
                            {
                                Program.ShowMsg("لا يمكن اعادة فتح دفعة تم اغلاقها مسبقا", true, this, true);
                                return;
                            }
                            SQLProvider.UpdateTBLDofatSarf(rowgridViewTBLDofatSarf["DofatSarfId"], rowgridViewTBLDofatSarf["DofatSarf"],
                                rowgridViewTBLDofatSarf["DofatSarfDatefrom"], rowgridViewTBLDofatSarf["DofatSarfDateto"], rowgridViewTBLDofatSarf["remd"], rowgridViewTBLDofatSarf["dofclosed"]);
                        }
                        break;
                    case "gridViewCdDofaatAmanat":
                        DataRow rowgridViewCdDofaatAmanat = gridViewCdDofaatAmanat.GetFocusedDataRow();
                        if (rowgridViewCdDofaatAmanat["DofatSarfDateto"].ToString() != string.Empty)
                        {
                            DateTime dt = Convert.ToDateTime(rowgridViewCdDofaatAmanat["DofatSarfDateto"]);
                            if (DateTime.DaysInMonth(dt.Year, dt.Month) != dt.Day)
                            {
                                Program.ShowMsg("يجب ان يكون اخر يوم في الشهر 'من تاريخ'", true, this, true);
                                return;
                            }
                        }

                        if (rowgridViewCdDofaatAmanat["DofatSarfAId"].ToString() == string.Empty)
                            SQLProvider.InsertCdDofaatAmanat(rowgridViewCdDofaatAmanat["DofatSarfA"], rowgridViewCdDofaatAmanat["DofatSarfDatefrom"],
                                rowgridViewCdDofaatAmanat["DofatSarfDateto"], rowgridViewCdDofaatAmanat["remd"], rowgridViewCdDofaatAmanat["Closed"]);
                        else
                        {
                            object closed = new DataSources.dsRetirementCenterTableAdapters.CdDofaatAmanatTableAdapter().GetClosed((int)rowgridViewCdDofaatAmanat["DofatSarfAId"]);
                            if (rowgridViewCdDofaatAmanat["Closed"] != null && closed != null && (bool)rowgridViewCdDofaatAmanat["Closed"] == false && closed != null && (bool)closed == true)
                            {
                                Program.ShowMsg("لا يمكن اعادة فتح دفعة تم اغلاقها مسبقا", true, this, true);
                                return;
                            }
                            SQLProvider.UpdateCdDofaatAmanat(rowgridViewCdDofaatAmanat["DofatSarfAId"], rowgridViewCdDofaatAmanat["DofatSarfA"],
                                rowgridViewCdDofaatAmanat["DofatSarfDatefrom"], rowgridViewCdDofaatAmanat["DofatSarfDateto"], rowgridViewCdDofaatAmanat["remd"], rowgridViewCdDofaatAmanat["Closed"]);
                        }
                        break;

                    case "gridViewCDDofatSarfFrook":
                        DataRow rowgridViewCDDofatSarfFrook = gridViewCDDofatSarfFrook.GetFocusedDataRow();
                        if (rowgridViewCDDofatSarfFrook["DofatSarfId"].ToString() == string.Empty)
                            SQLProvider.InsertCDDofatSarfFrook(rowgridViewCDDofatSarfFrook["DofatSarf"], rowgridViewCDDofatSarfFrook["Closed"]);
                        else
                        {
                            object closed = new DataSources.dsRetirementCenterTableAdapters.CDDofatSarfFrookTableAdapter().GetClosed((int)rowgridViewCDDofatSarfFrook["DofatSarfId"]);
                            if (rowgridViewCDDofatSarfFrook["Closed"] != null && (bool)rowgridViewCDDofatSarfFrook["Closed"] == false && closed != null && (bool)closed == true)
                            {
                                Program.ShowMsg("لا يمكن اعادة فتح دفعة تم اغلاقها مسبقا", true, this, true);
                                return;
                            }
                            SQLProvider.UpdateCDDofatSarfFrook(rowgridViewCDDofatSarfFrook["DofatSarfId"], rowgridViewCDDofatSarfFrook["DofatSarf"], rowgridViewCDDofatSarfFrook["Closed"]);
                        }
                        break;
                    case "gridViewTBLDofatSarfMadunea":
                        DataRow rowgridViewTBLDofatSarfMadunea = gridViewTBLDofatSarfMadunea.GetFocusedDataRow();
                        if (rowgridViewTBLDofatSarfMadunea["DofatSarfMId"].ToString() == string.Empty)
                            SQLProvider.InsertTBLDofatSarfMadunea(rowgridViewTBLDofatSarfMadunea["DofatSarfM"], rowgridViewTBLDofatSarfMadunea["Closed"]);
                        else
                        {
                            object closed = new DataSources.dsRetirementCenterTableAdapters.TBLDofatSarfMaduneaTableAdapter().GetClosed((int)rowgridViewTBLDofatSarfMadunea["DofatSarfMId"]);
                            if (rowgridViewTBLDofatSarfMadunea["Closed"] != null && (bool)rowgridViewTBLDofatSarfMadunea["Closed"] == false && closed != null && (bool)closed == true)
                            {
                                Program.ShowMsg("لا يمكن اعادة فتح دفعة تم اغلاقها مسبقا", true, this, true);
                                return;
                            }
                            SQLProvider.UpdateTBLDofatSarfMadunea(rowgridViewTBLDofatSarfMadunea["DofatSarfMId"], rowgridViewTBLDofatSarfMadunea["DofatSarfM"], rowgridViewTBLDofatSarfMadunea["Closed"]);
                        }
                        break;
                    default:
                        break;
                }
                Program.ShowMsg("تم الحفظ", false, this, true);
                Program.Logger.LogThis("تم الحفظ", Text, FXFW.Logger.OpType.success, null, null, this);
            }
            catch (SqlException ex)
            {
                Program.ShowMsg(FXFW.SqlDB.CheckExp(ex), true, this, true);
                Program.Logger.LogThis(null, Text, FXFW.Logger.OpType.fail, null, ex, this);
            }
            LoadData(ViewName);
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject();
     this.gridControlData = new DevExpress.XtraGrid.GridControl();
     this.tblMemberAmanatBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.dsRetirementCenter = new RetirementCenter.DataSources.dsRetirementCenter();
     this.gridViewData = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colDofatSarfAId = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemGridLookUpEditDofatSarfAId = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit();
     this.cdDofaatAmanatBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.gridView3 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colDofatSarfA = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colMMashatId = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemGridLookUpEditMMashatId = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit();
     this.LSMSTBLMashat = new DevExpress.Data.Linq.LinqServerModeSource();
     this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colMMashatName = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colamanatrem = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemMemoExEditamanatrem = new DevExpress.XtraEditors.Repository.RepositoryItemMemoExEdit();
     this.colamanatmony = 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.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.colaccReview = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemCheckEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
     this.colestktaa = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colmostahek = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colsefa = new DevExpress.XtraGrid.Columns.GridColumn();
     this.coluseracc = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colsarfcheek = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colamantvisa = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colMMashatId1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colDofatSarfAId1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colDofatSarfId = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemLookUpEditDofatSarfId = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
     this.tBLDofatSarfBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colcheekno = new DevExpress.XtraGrid.Columns.GridColumn();
     this.coltasleemdate = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colmostlemsheek = new DevExpress.XtraGrid.Columns.GridColumn();
     this.coluserincheek = new DevExpress.XtraGrid.Columns.GridColumn();
     this.coldatincheek = 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.tblMemberAmanatTableAdapter = new RetirementCenter.DataSources.dsRetirementCenterTableAdapters.TblMemberAmanatTableAdapter();
     this.cdDofaatAmanatTableAdapter = new RetirementCenter.DataSources.dsRetirementCenterTableAdapters.CdDofaatAmanatTableAdapter();
     this.usersTableAdapter = new RetirementCenter.DataSources.dsRetirementCenterTableAdapters.UsersTableAdapter();
     this.tBLDofatSarfTableAdapter = new RetirementCenter.DataSources.dsRetirementCenterTableAdapters.TBLDofatSarfTableAdapter();
     this.coldateReview = new DevExpress.XtraGrid.Columns.GridColumn();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlData)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tblMemberAmanatBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsRetirementCenter)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewData)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditDofatSarfAId)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cdDofaatAmanatBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditMMashatId)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.LSMSTBLMashat)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoExEditamanatrem)).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.gridView2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEditSave)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEditDofatSarfId)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tBLDofatSarfBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit();
     this.groupControl1.SuspendLayout();
     this.SuspendLayout();
     //
     // gridControlData
     //
     this.gridControlData.DataSource = this.tblMemberAmanatBindingSource;
     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.repositoryItemDateEditdatein,
     this.repositoryItemGridLookUpEdituserin,
     this.repositoryItemMemoExEditamanatrem,
     this.repositoryItemGridLookUpEditMMashatId,
     this.repositoryItemGridLookUpEditDofatSarfAId,
     this.repositoryItemCheckEdit1,
     this.repositoryItemLookUpEditDofatSarfId});
     this.gridControlData.Size = new System.Drawing.Size(756, 341);
     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);
     //
     // tblMemberAmanatBindingSource
     //
     this.tblMemberAmanatBindingSource.DataMember = "TblMemberAmanat";
     this.tblMemberAmanatBindingSource.DataSource = this.dsRetirementCenter;
     //
     // dsRetirementCenter
     //
     this.dsRetirementCenter.DataSetName = "dsRetirementCenter";
     this.dsRetirementCenter.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // gridViewData
     //
     this.gridViewData.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colDofatSarfAId,
     this.colMMashatId,
     this.colamanatrem,
     this.colamanatmony,
     this.coldatein,
     this.coluserin,
     this.gridColumnSave,
     this.colaccReview,
     this.colestktaa,
     this.colmostahek,
     this.colsefa,
     this.coluseracc,
     this.colsarfcheek,
     this.gridColumn1,
     this.colamantvisa,
     this.colMMashatId1,
     this.colDofatSarfAId1,
     this.colDofatSarfId,
     this.gridColumn3,
     this.gridColumn4,
     this.gridColumn5,
     this.colcheekno,
     this.coltasleemdate,
     this.colmostlemsheek,
     this.coluserincheek,
     this.coldatincheek,
     this.coldateReview});
     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.ShowingEditor += new System.ComponentModel.CancelEventHandler(this.gridViewData_ShowingEditor);
     this.gridViewData.InvalidRowException += new DevExpress.XtraGrid.Views.Base.InvalidRowExceptionEventHandler(this.gridViewData_InvalidRowException);
     //
     // 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.ColumnEdit = this.repositoryItemGridLookUpEditDofatSarfAId;
     this.colDofatSarfAId.FieldName = "DofatSarfAId";
     this.colDofatSarfAId.Name = "colDofatSarfAId";
     this.colDofatSarfAId.OptionsColumn.ReadOnly = true;
     this.colDofatSarfAId.Visible = true;
     this.colDofatSarfAId.VisibleIndex = 2;
     this.colDofatSarfAId.Width = 128;
     //
     // repositoryItemGridLookUpEditDofatSarfAId
     //
     this.repositoryItemGridLookUpEditDofatSarfAId.AutoHeight = false;
     this.repositoryItemGridLookUpEditDofatSarfAId.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemGridLookUpEditDofatSarfAId.DataSource = this.cdDofaatAmanatBindingSource;
     this.repositoryItemGridLookUpEditDofatSarfAId.DisplayMember = "DofatSarfA";
     this.repositoryItemGridLookUpEditDofatSarfAId.Name = "repositoryItemGridLookUpEditDofatSarfAId";
     this.repositoryItemGridLookUpEditDofatSarfAId.ValueMember = "DofatSarfAId";
     this.repositoryItemGridLookUpEditDofatSarfAId.View = this.gridView3;
     //
     // cdDofaatAmanatBindingSource
     //
     this.cdDofaatAmanatBindingSource.DataMember = "CdDofaatAmanat";
     this.cdDofaatAmanatBindingSource.DataSource = this.dsRetirementCenter;
     //
     // gridView3
     //
     this.gridView3.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colDofatSarfA});
     this.gridView3.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
     this.gridView3.Name = "gridView3";
     this.gridView3.OptionsSelection.EnableAppearanceFocusedCell = false;
     this.gridView3.OptionsView.ShowGroupPanel = false;
     //
     // colDofatSarfA
     //
     this.colDofatSarfA.AppearanceCell.Options.UseTextOptions = true;
     this.colDofatSarfA.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colDofatSarfA.AppearanceHeader.Options.UseTextOptions = true;
     this.colDofatSarfA.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colDofatSarfA.Caption = "الاسم";
     this.colDofatSarfA.FieldName = "DofatSarfA";
     this.colDofatSarfA.Name = "colDofatSarfA";
     this.colDofatSarfA.Visible = true;
     this.colDofatSarfA.VisibleIndex = 0;
     //
     // 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.ColumnEdit = this.repositoryItemGridLookUpEditMMashatId;
     this.colMMashatId.FieldName = "MMashatId";
     this.colMMashatId.Name = "colMMashatId";
     this.colMMashatId.OptionsColumn.ReadOnly = true;
     this.colMMashatId.Visible = true;
     this.colMMashatId.VisibleIndex = 4;
     this.colMMashatId.Width = 150;
     //
     // repositoryItemGridLookUpEditMMashatId
     //
     this.repositoryItemGridLookUpEditMMashatId.AutoHeight = false;
     this.repositoryItemGridLookUpEditMMashatId.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemGridLookUpEditMMashatId.DataSource = this.LSMSTBLMashat;
     this.repositoryItemGridLookUpEditMMashatId.DisplayMember = "MMashatName";
     this.repositoryItemGridLookUpEditMMashatId.Name = "repositoryItemGridLookUpEditMMashatId";
     this.repositoryItemGridLookUpEditMMashatId.ValueMember = "MMashatId";
     this.repositoryItemGridLookUpEditMMashatId.View = this.gridView1;
     //
     // LSMSTBLMashat
     //
     this.LSMSTBLMashat.ElementType = typeof(RetirementCenter.DataSources.Linq.vTBLMashat);
     this.LSMSTBLMashat.KeyExpression = "MMashatId";
     //
     // gridView1
     //
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colMMashatName});
     this.gridView1.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
     this.gridView1.Name = "gridView1";
     this.gridView1.OptionsSelection.EnableAppearanceFocusedCell = false;
     this.gridView1.OptionsView.ShowGroupPanel = false;
     //
     // colMMashatName
     //
     this.colMMashatName.AppearanceCell.Options.UseTextOptions = true;
     this.colMMashatName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colMMashatName.AppearanceHeader.Options.UseTextOptions = true;
     this.colMMashatName.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colMMashatName.Caption = "الاسم";
     this.colMMashatName.FieldName = "MMashatName";
     this.colMMashatName.Name = "colMMashatName";
     this.colMMashatName.Visible = true;
     this.colMMashatName.VisibleIndex = 0;
     //
     // 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.repositoryItemMemoExEditamanatrem;
     this.colamanatrem.FieldName = "amanatrem";
     this.colamanatrem.Name = "colamanatrem";
     this.colamanatrem.OptionsColumn.ReadOnly = true;
     this.colamanatrem.Visible = true;
     this.colamanatrem.VisibleIndex = 8;
     //
     // repositoryItemMemoExEditamanatrem
     //
     this.repositoryItemMemoExEditamanatrem.AutoHeight = false;
     this.repositoryItemMemoExEditamanatrem.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemMemoExEditamanatrem.Name = "repositoryItemMemoExEditamanatrem";
     //
     // colamanatmony
     //
     this.colamanatmony.AppearanceCell.Options.UseTextOptions = true;
     this.colamanatmony.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colamanatmony.AppearanceHeader.Options.UseTextOptions = true;
     this.colamanatmony.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colamanatmony.Caption = "المبلغ";
     this.colamanatmony.FieldName = "amanatmony";
     this.colamanatmony.Name = "colamanatmony";
     this.colamanatmony.OptionsColumn.ReadOnly = true;
     this.colamanatmony.Visible = true;
     this.colamanatmony.VisibleIndex = 9;
     this.colamanatmony.Width = 81;
     //
     // 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.OptionsColumn.ReadOnly = true;
     this.coldatein.Visible = true;
     this.coldatein.VisibleIndex = 14;
     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.OptionsColumn.ReadOnly = true;
     this.coluserin.Visible = true;
     this.coluserin.VisibleIndex = 15;
     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;
     //
     // 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.OptionsColumn.ReadOnly = true;
     this.gridColumnSave.Visible = true;
     this.gridColumnSave.VisibleIndex = 26;
     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.Glyph, "", -1, true, true, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, global::RetirementCenter.Properties.Resources.save_16x16, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject2, "", null, null, true)});
     this.repositoryItemButtonEditSave.Name = "repositoryItemButtonEditSave";
     this.repositoryItemButtonEditSave.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor;
     this.repositoryItemButtonEditSave.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemButtonEditSave_ButtonClick);
     //
     // colaccReview
     //
     this.colaccReview.AppearanceCell.Options.UseTextOptions = true;
     this.colaccReview.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colaccReview.AppearanceHeader.Options.UseTextOptions = true;
     this.colaccReview.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colaccReview.Caption = "مراجعة (حسابات)";
     this.colaccReview.ColumnEdit = this.repositoryItemCheckEdit1;
     this.colaccReview.FieldName = "accReview";
     this.colaccReview.Name = "colaccReview";
     this.colaccReview.OptionsColumn.ReadOnly = true;
     this.colaccReview.Visible = true;
     this.colaccReview.VisibleIndex = 10;
     this.colaccReview.Width = 100;
     //
     // repositoryItemCheckEdit1
     //
     this.repositoryItemCheckEdit1.AutoHeight = false;
     this.repositoryItemCheckEdit1.Name = "repositoryItemCheckEdit1";
     //
     // colestktaa
     //
     this.colestktaa.AppearanceCell.Options.UseTextOptions = true;
     this.colestktaa.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colestktaa.AppearanceHeader.Options.UseTextOptions = true;
     this.colestktaa.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colestktaa.Caption = "استقطاع";
     this.colestktaa.FieldName = "estktaa";
     this.colestktaa.Name = "colestktaa";
     this.colestktaa.OptionsColumn.ReadOnly = true;
     this.colestktaa.Visible = true;
     this.colestktaa.VisibleIndex = 11;
     //
     // colmostahek
     //
     this.colmostahek.AppearanceCell.Options.UseTextOptions = true;
     this.colmostahek.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colmostahek.AppearanceHeader.Options.UseTextOptions = true;
     this.colmostahek.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colmostahek.Caption = "مستحق";
     this.colmostahek.FieldName = "mostahek";
     this.colmostahek.Name = "colmostahek";
     this.colmostahek.OptionsColumn.ReadOnly = true;
     this.colmostahek.Visible = true;
     this.colmostahek.VisibleIndex = 12;
     //
     // colsefa
     //
     this.colsefa.AppearanceCell.Options.UseTextOptions = true;
     this.colsefa.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colsefa.AppearanceHeader.Options.UseTextOptions = true;
     this.colsefa.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colsefa.Caption = "صفة";
     this.colsefa.FieldName = "sefa";
     this.colsefa.Name = "colsefa";
     this.colsefa.OptionsColumn.ReadOnly = true;
     this.colsefa.Visible = true;
     this.colsefa.VisibleIndex = 13;
     //
     // coluseracc
     //
     this.coluseracc.AppearanceCell.Options.UseTextOptions = true;
     this.coluseracc.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.coluseracc.AppearanceHeader.Options.UseTextOptions = true;
     this.coluseracc.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.coluseracc.Caption = "مسئول الادخال (حسابات)";
     this.coluseracc.ColumnEdit = this.repositoryItemGridLookUpEdituserin;
     this.coluseracc.FieldName = "useracc";
     this.coluseracc.Name = "coluseracc";
     this.coluseracc.OptionsColumn.ReadOnly = true;
     this.coluseracc.Visible = true;
     this.coluseracc.VisibleIndex = 16;
     this.coluseracc.Width = 136;
     //
     // colsarfcheek
     //
     this.colsarfcheek.AppearanceCell.Options.UseTextOptions = true;
     this.colsarfcheek.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colsarfcheek.AppearanceHeader.Options.UseTextOptions = true;
     this.colsarfcheek.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colsarfcheek.Caption = "تصرف بشيك";
     this.colsarfcheek.FieldName = "sarfcheek";
     this.colsarfcheek.Name = "colsarfcheek";
     this.colsarfcheek.OptionsColumn.ReadOnly = true;
     this.colsarfcheek.Visible = true;
     this.colsarfcheek.VisibleIndex = 18;
     this.colsarfcheek.Width = 77;
     //
     // 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.FieldName = "sarfnumber";
     this.gridColumn1.Name = "gridColumn1";
     this.gridColumn1.OptionsColumn.AllowEdit = false;
     this.gridColumn1.OptionsColumn.ReadOnly = true;
     this.gridColumn1.Visible = true;
     this.gridColumn1.VisibleIndex = 19;
     //
     // colamantvisa
     //
     this.colamantvisa.AppearanceCell.Options.UseTextOptions = true;
     this.colamantvisa.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colamantvisa.AppearanceHeader.Options.UseTextOptions = true;
     this.colamantvisa.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colamantvisa.Caption = "امانات فيزا";
     this.colamantvisa.FieldName = "amantvisa";
     this.colamantvisa.Name = "colamantvisa";
     this.colamantvisa.OptionsColumn.ReadOnly = true;
     this.colamantvisa.Visible = true;
     this.colamantvisa.VisibleIndex = 20;
     //
     // colMMashatId1
     //
     this.colMMashatId1.AppearanceCell.Options.UseTextOptions = true;
     this.colMMashatId1.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colMMashatId1.AppearanceHeader.Options.UseTextOptions = true;
     this.colMMashatId1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colMMashatId1.Caption = "كود";
     this.colMMashatId1.FieldName = "MMashatId";
     this.colMMashatId1.Name = "colMMashatId1";
     this.colMMashatId1.OptionsColumn.ReadOnly = true;
     this.colMMashatId1.Visible = true;
     this.colMMashatId1.VisibleIndex = 0;
     //
     // colDofatSarfAId1
     //
     this.colDofatSarfAId1.AppearanceCell.Options.UseTextOptions = true;
     this.colDofatSarfAId1.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colDofatSarfAId1.AppearanceHeader.Options.UseTextOptions = true;
     this.colDofatSarfAId1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colDofatSarfAId1.Caption = "كود الدفعة";
     this.colDofatSarfAId1.FieldName = "DofatSarfAId";
     this.colDofatSarfAId1.Name = "colDofatSarfAId1";
     this.colDofatSarfAId1.OptionsColumn.ReadOnly = true;
     this.colDofatSarfAId1.Visible = true;
     this.colDofatSarfAId1.VisibleIndex = 1;
     //
     // colDofatSarfId
     //
     this.colDofatSarfId.AppearanceCell.Options.UseTextOptions = true;
     this.colDofatSarfId.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colDofatSarfId.AppearanceHeader.Options.UseTextOptions = true;
     this.colDofatSarfId.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colDofatSarfId.Caption = "تصرف في دفعة";
     this.colDofatSarfId.ColumnEdit = this.repositoryItemLookUpEditDofatSarfId;
     this.colDofatSarfId.FieldName = "DofatSarfId";
     this.colDofatSarfId.Name = "colDofatSarfId";
     this.colDofatSarfId.OptionsColumn.ReadOnly = true;
     this.colDofatSarfId.Visible = true;
     this.colDofatSarfId.VisibleIndex = 3;
     this.colDofatSarfId.Width = 90;
     //
     // repositoryItemLookUpEditDofatSarfId
     //
     this.repositoryItemLookUpEditDofatSarfId.AutoHeight = false;
     this.repositoryItemLookUpEditDofatSarfId.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemLookUpEditDofatSarfId.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("DofatSarf", "الاسم", 61, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near)});
     this.repositoryItemLookUpEditDofatSarfId.DataSource = this.tBLDofatSarfBindingSource;
     this.repositoryItemLookUpEditDofatSarfId.DisplayMember = "DofatSarf";
     this.repositoryItemLookUpEditDofatSarfId.Name = "repositoryItemLookUpEditDofatSarfId";
     this.repositoryItemLookUpEditDofatSarfId.NullText = "";
     this.repositoryItemLookUpEditDofatSarfId.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
     this.repositoryItemLookUpEditDofatSarfId.ValueMember = "DofatSarfId";
     //
     // tBLDofatSarfBindingSource
     //
     this.tBLDofatSarfBindingSource.DataMember = "TBLDofatSarf";
     this.tBLDofatSarfBindingSource.DataSource = this.dsRetirementCenter;
     //
     // gridColumn3
     //
     this.gridColumn3.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumn3.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn3.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumn3.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn3.Caption = "فيزا";
     this.gridColumn3.FieldName = "visa";
     this.gridColumn3.Name = "gridColumn3";
     this.gridColumn3.OptionsColumn.ReadOnly = true;
     this.gridColumn3.Visible = true;
     this.gridColumn3.VisibleIndex = 7;
     //
     // gridColumn4
     //
     this.gridColumn4.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumn4.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn4.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumn4.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn4.Caption = "الفرعية";
     this.gridColumn4.FieldName = "Syndicate";
     this.gridColumn4.Name = "gridColumn4";
     this.gridColumn4.OptionsColumn.ReadOnly = true;
     this.gridColumn4.Visible = true;
     this.gridColumn4.VisibleIndex = 5;
     //
     // gridColumn5
     //
     this.gridColumn5.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumn5.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn5.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumn5.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn5.Caption = "اللجنة";
     this.gridColumn5.FieldName = "SubCommitte";
     this.gridColumn5.Name = "gridColumn5";
     this.gridColumn5.OptionsColumn.ReadOnly = true;
     this.gridColumn5.Visible = true;
     this.gridColumn5.VisibleIndex = 6;
     //
     // colcheekno
     //
     this.colcheekno.AppearanceCell.Options.UseTextOptions = true;
     this.colcheekno.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colcheekno.AppearanceHeader.Options.UseTextOptions = true;
     this.colcheekno.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colcheekno.Caption = "رقم الشيك";
     this.colcheekno.FieldName = "cheekno";
     this.colcheekno.Name = "colcheekno";
     this.colcheekno.Visible = true;
     this.colcheekno.VisibleIndex = 21;
     //
     // coltasleemdate
     //
     this.coltasleemdate.AppearanceCell.Options.UseTextOptions = true;
     this.coltasleemdate.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.coltasleemdate.AppearanceHeader.Options.UseTextOptions = true;
     this.coltasleemdate.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.coltasleemdate.Caption = "تاريخ التسليم";
     this.coltasleemdate.ColumnEdit = this.repositoryItemDateEditdatein;
     this.coltasleemdate.FieldName = "tasleemdate";
     this.coltasleemdate.Name = "coltasleemdate";
     this.coltasleemdate.OptionsColumn.ReadOnly = true;
     this.coltasleemdate.Visible = true;
     this.coltasleemdate.VisibleIndex = 22;
     this.coltasleemdate.Width = 81;
     //
     // colmostlemsheek
     //
     this.colmostlemsheek.AppearanceCell.Options.UseTextOptions = true;
     this.colmostlemsheek.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colmostlemsheek.AppearanceHeader.Options.UseTextOptions = true;
     this.colmostlemsheek.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colmostlemsheek.Caption = "مستلم";
     this.colmostlemsheek.FieldName = "mostlemsheek";
     this.colmostlemsheek.Name = "colmostlemsheek";
     this.colmostlemsheek.OptionsColumn.ReadOnly = true;
     this.colmostlemsheek.Visible = true;
     this.colmostlemsheek.VisibleIndex = 23;
     //
     // coluserincheek
     //
     this.coluserincheek.AppearanceCell.Options.UseTextOptions = true;
     this.coluserincheek.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.coluserincheek.AppearanceHeader.Options.UseTextOptions = true;
     this.coluserincheek.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.coluserincheek.Caption = "مسئول ادخال الشيكات";
     this.coluserincheek.ColumnEdit = this.repositoryItemGridLookUpEdituserin;
     this.coluserincheek.FieldName = "userincheek";
     this.coluserincheek.Name = "coluserincheek";
     this.coluserincheek.OptionsColumn.ReadOnly = true;
     this.coluserincheek.Visible = true;
     this.coluserincheek.VisibleIndex = 24;
     this.coluserincheek.Width = 124;
     //
     // coldatincheek
     //
     this.coldatincheek.AppearanceCell.Options.UseTextOptions = true;
     this.coldatincheek.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.coldatincheek.AppearanceHeader.Options.UseTextOptions = true;
     this.coldatincheek.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.coldatincheek.Caption = "تاريخ ادخال الشيكات";
     this.coldatincheek.ColumnEdit = this.repositoryItemDateEditdatein;
     this.coldatincheek.FieldName = "datincheek";
     this.coldatincheek.Name = "coldatincheek";
     this.coldatincheek.OptionsColumn.ReadOnly = true;
     this.coldatincheek.Visible = true;
     this.coldatincheek.VisibleIndex = 25;
     this.coldatincheek.Width = 111;
     //
     // 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(760, 364);
     this.groupControl1.TabIndex = 1;
     //
     // tblMemberAmanatTableAdapter
     //
     this.tblMemberAmanatTableAdapter.ClearBeforeFill = true;
     //
     // cdDofaatAmanatTableAdapter
     //
     this.cdDofaatAmanatTableAdapter.ClearBeforeFill = true;
     //
     // usersTableAdapter
     //
     this.usersTableAdapter.ClearBeforeFill = true;
     //
     // tBLDofatSarfTableAdapter
     //
     this.tBLDofatSarfTableAdapter.ClearBeforeFill = true;
     //
     // coldateReview
     //
     this.coldateReview.AppearanceCell.Options.UseTextOptions = true;
     this.coldateReview.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.coldateReview.AppearanceHeader.Options.UseTextOptions = true;
     this.coldateReview.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.coldateReview.Caption = "تاريخ مراجعة حسابات";
     this.coldateReview.ColumnEdit = this.repositoryItemDateEditdatein;
     this.coldateReview.FieldName = "dateReview";
     this.coldateReview.Name = "coldateReview";
     this.coldateReview.Visible = true;
     this.coldateReview.VisibleIndex = 17;
     this.coldateReview.Width = 129;
     //
     // TblMemberAmanatCheekFrm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(784, 388);
     this.Controls.Add(this.groupControl1);
     this.Name = "TblMemberAmanatCheekFrm";
     this.Text = "امانات الاعضاء - شيكات";
     this.Load += new System.EventHandler(this.FormFrm_Load);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlData)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tblMemberAmanatBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsRetirementCenter)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewData)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditDofatSarfAId)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cdDofaatAmanatBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditMMashatId)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.LSMSTBLMashat)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoExEditamanatrem)).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.gridView2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEditSave)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEditDofatSarfId)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tBLDofatSarfBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit();
     this.groupControl1.ResumeLayout(false);
     this.ResumeLayout(false);
 }