public override global::System.Data.DataSet Clone()
        {
            dsCreditPackageRestrition cln = ((dsCreditPackageRestrition)(base.Clone()));

            cln.InitVars();
            cln.SchemaSerializationMode = this.SchemaSerializationMode;
            return(cln);
        }
        public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs)
        {
            dsCreditPackageRestrition ds = new dsCreditPackageRestrition();

            global::System.Xml.Schema.XmlSchemaComplexType type     = new global::System.Xml.Schema.XmlSchemaComplexType();
            global::System.Xml.Schema.XmlSchemaSequence    sequence = new global::System.Xml.Schema.XmlSchemaSequence();
            global::System.Xml.Schema.XmlSchemaAny         any      = new global::System.Xml.Schema.XmlSchemaAny();
            any.Namespace = ds.Namespace;
            sequence.Items.Add(any);
            type.Particle = sequence;
            global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
            if (xs.Contains(dsSchema.TargetNamespace))
            {
                global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                try {
                    global::System.Xml.Schema.XmlSchema schema = null;
                    dsSchema.Write(s1);
                    for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();)
                    {
                        schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                        s2.SetLength(0);
                        schema.Write(s2);
                        if ((s1.Length == s2.Length))
                        {
                            s1.Position = 0;
                            s2.Position = 0;
                            for (; ((s1.Position != s1.Length) &&
                                    (s1.ReadByte() == s2.ReadByte()));)
                            {
                                ;
                            }
                            if ((s1.Position == s1.Length))
                            {
                                return(type);
                            }
                        }
                    }
                }
                finally {
                    if ((s1 != null))
                    {
                        s1.Close();
                    }
                    if ((s2 != null))
                    {
                        s2.Close();
                    }
                }
            }
            xs.Add(dsSchema);
            return(type);
        }
 public virtual int Fill(dsCreditPackageRestrition.tblCreditPackageRestrictionDataTable dataTable, string CreditPackage, global::System.Nullable<decimal> Balance) {
     this.Adapter.SelectCommand = this.CommandCollection[0];
     if ((CreditPackage == null)) {
         throw new global::System.ArgumentNullException("CreditPackage");
     }
     else {
         this.Adapter.SelectCommand.Parameters[0].Value = ((string)(CreditPackage));
     }
     if ((Balance.HasValue == true)) {
         this.Adapter.SelectCommand.Parameters[1].Value = ((decimal)(Balance.Value));
     }
     else {
         this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
     }
     if ((this.ClearBeforeFill == true)) {
         dataTable.Clear();
     }
     int returnValue = this.Adapter.Fill(dataTable);
     return returnValue;
 }
 public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
     global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
     global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
     dsCreditPackageRestrition ds = new dsCreditPackageRestrition();
     global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
     any1.Namespace = "http://www.w3.org/2001/XMLSchema";
     any1.MinOccurs = new decimal(0);
     any1.MaxOccurs = decimal.MaxValue;
     any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
     sequence.Items.Add(any1);
     global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
     any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
     any2.MinOccurs = new decimal(1);
     any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
     sequence.Items.Add(any2);
     global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
     attribute1.Name = "namespace";
     attribute1.FixedValue = ds.Namespace;
     type.Attributes.Add(attribute1);
     global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
     attribute2.Name = "tableTypeName";
     attribute2.FixedValue = "tblCreditPackageRestrictionDataTable";
     type.Attributes.Add(attribute2);
     type.Particle = sequence;
     global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
     if (xs.Contains(dsSchema.TargetNamespace)) {
         global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
         global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
         try {
             global::System.Xml.Schema.XmlSchema schema = null;
             dsSchema.Write(s1);
             for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                 schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                 s2.SetLength(0);
                 schema.Write(s2);
                 if ((s1.Length == s2.Length)) {
                     s1.Position = 0;
                     s2.Position = 0;
                     for (; ((s1.Position != s1.Length) 
                                 && (s1.ReadByte() == s2.ReadByte())); ) {
                         ;
                     }
                     if ((s1.Position == s1.Length)) {
                         return type;
                     }
                 }
             }
         }
         finally {
             if ((s1 != null)) {
                 s1.Close();
             }
             if ((s2 != null)) {
                 s2.Close();
             }
         }
     }
     xs.Add(dsSchema);
     return type;
 }
 public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
     dsCreditPackageRestrition ds = new dsCreditPackageRestrition();
     global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
     global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
     global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
     any.Namespace = ds.Namespace;
     sequence.Items.Add(any);
     type.Particle = sequence;
     global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
     if (xs.Contains(dsSchema.TargetNamespace)) {
         global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
         global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
         try {
             global::System.Xml.Schema.XmlSchema schema = null;
             dsSchema.Write(s1);
             for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                 schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                 s2.SetLength(0);
                 schema.Write(s2);
                 if ((s1.Length == s2.Length)) {
                     s1.Position = 0;
                     s2.Position = 0;
                     for (; ((s1.Position != s1.Length) 
                                 && (s1.ReadByte() == s2.ReadByte())); ) {
                         ;
                     }
                     if ((s1.Position == s1.Length)) {
                         return type;
                     }
                 }
             }
         }
         finally {
             if ((s1 != null)) {
                 s1.Close();
             }
             if ((s2 != null)) {
                 s2.Close();
             }
         }
     }
     xs.Add(dsSchema);
     return type;
 }
Example #6
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components    = new System.ComponentModel.Container();
     this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
     this.label3        = new System.Windows.Forms.Label();
     this.lkeTopUp      = new DevExpress.XtraEditors.LookUpEdit();
     this.tblCreditPackageRestrictionBindingSource1 = new System.Windows.Forms.BindingSource(this.components);
     this.dsCreditPackageRestrition = new ACMS.dsCreditPackageRestrition();
     this.txtEdtTotalAmt            = new DevExpress.XtraEditors.TextEdit();
     this.label2                   = new System.Windows.Forms.Label();
     this.label1                   = new System.Windows.Forms.Label();
     this.panelControl2            = new DevExpress.XtraEditors.PanelControl();
     this.gridCtrlCreditAccount    = new DevExpress.XtraGrid.GridControl();
     this.GridView11               = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.GridColumn65             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.GridColumn66             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.GridColumn67             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.GridColumn68             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.GridColumn69             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.GridColumn70             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.GridColumn71             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.GridColumn72             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.GridColumn73             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemCheckEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
     this.GridColumn74             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.GridColumn76             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.GridColumn77             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn1              = new DevExpress.XtraGrid.Columns.GridColumn();
     this.panelControl3            = new DevExpress.XtraEditors.PanelControl();
     this.simpleButtonCancel       = new DevExpress.XtraEditors.SimpleButton();
     this.simpleButtonOK           = new DevExpress.XtraEditors.SimpleButton();
     this.tblCreditPackageRestrictionTableAdapter = new ACMS.dsCreditPackageRestritionTableAdapters.tblCreditPackageRestrictionTableAdapter();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
     this.panelControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lkeTopUp.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tblCreditPackageRestrictionBindingSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsCreditPackageRestrition)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtEdtTotalAmt.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit();
     this.panelControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridCtrlCreditAccount)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.GridView11)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit();
     this.panelControl3.SuspendLayout();
     this.SuspendLayout();
     //
     // panelControl1
     //
     this.panelControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl1.Controls.Add(this.label3);
     this.panelControl1.Controls.Add(this.lkeTopUp);
     this.panelControl1.Controls.Add(this.txtEdtTotalAmt);
     this.panelControl1.Controls.Add(this.label2);
     this.panelControl1.Controls.Add(this.label1);
     this.panelControl1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panelControl1.Location = new System.Drawing.Point(0, 0);
     this.panelControl1.Name     = "panelControl1";
     this.panelControl1.Size     = new System.Drawing.Size(724, 76);
     this.panelControl1.TabIndex = 0;
     //
     // label3
     //
     this.label3.Font     = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.Location = new System.Drawing.Point(14, 42);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(176, 26);
     this.label3.TabIndex = 5;
     this.label3.Text     = "Select Package :";
     //
     // lkeTopUp
     //
     this.lkeTopUp.Location = new System.Drawing.Point(197, 44);
     this.lkeTopUp.Name     = "lkeTopUp";
     this.lkeTopUp.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.lkeTopUp.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
         new DevExpress.XtraEditors.Controls.LookUpColumnInfo("strPackageCode", "Package Code", 84, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near),
         new DevExpress.XtraEditors.Controls.LookUpColumnInfo("strDescription", "Description", 72, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near),
         new DevExpress.XtraEditors.Controls.LookUpColumnInfo("mListPrice", "List Price", 53, DevExpress.Utils.FormatType.Numeric, "", true, DevExpress.Utils.HorzAlignment.Far, DevExpress.Data.ColumnSortOrder.None)
     });
     this.lkeTopUp.Properties.DataSource = this.tblCreditPackageRestrictionBindingSource1;
     this.lkeTopUp.Properties.DisplayFormat.FormatString = "{0:C2}";
     this.lkeTopUp.Properties.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.Numeric;
     this.lkeTopUp.Properties.DisplayMember = "mListPrice";
     this.lkeTopUp.Properties.NullText      = "0";
     this.lkeTopUp.Properties.ValueMember   = "mListPrice";
     this.lkeTopUp.Size              = new System.Drawing.Size(207, 22);
     this.lkeTopUp.TabIndex          = 4;
     this.lkeTopUp.EditValueChanged += new System.EventHandler(this.lkeTopUp_EditValueChanged);
     this.lkeTopUp.Click            += new System.EventHandler(this.lookUpEdit1_Click);
     //
     // tblCreditPackageRestrictionBindingSource1
     //
     this.tblCreditPackageRestrictionBindingSource1.DataMember = "tblCreditPackageRestriction";
     this.tblCreditPackageRestrictionBindingSource1.DataSource = this.dsCreditPackageRestrition;
     //
     // dsCreditPackageRestrition
     //
     this.dsCreditPackageRestrition.DataSetName             = "dsCreditPackageRestrition";
     this.dsCreditPackageRestrition.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // txtEdtTotalAmt
     //
     this.txtEdtTotalAmt.EditValue = "";
     this.txtEdtTotalAmt.Location  = new System.Drawing.Point(653, 42);
     this.txtEdtTotalAmt.Name      = "txtEdtTotalAmt";
     this.txtEdtTotalAmt.Properties.Appearance.Font            = new System.Drawing.Font("Tahoma", 10F);
     this.txtEdtTotalAmt.Properties.Appearance.Options.UseFont = true;
     this.txtEdtTotalAmt.Properties.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.Numeric;
     this.txtEdtTotalAmt.Properties.EditFormat.FormatType      = DevExpress.Utils.FormatType.Numeric;
     this.txtEdtTotalAmt.Properties.Mask.EditMask = "c2";
     this.txtEdtTotalAmt.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.txtEdtTotalAmt.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.txtEdtTotalAmt.Properties.MaxLength = 50;
     this.txtEdtTotalAmt.Size     = new System.Drawing.Size(201, 27);
     this.txtEdtTotalAmt.TabIndex = 3;
     //
     // label2
     //
     this.label2.Font     = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location = new System.Drawing.Point(468, 40);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(178, 27);
     this.label2.TabIndex = 2;
     this.label2.Text     = "Top up Amount :";
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(22, 6);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(760, 26);
     this.label1.TabIndex = 1;
     this.label1.Text     = "Please key in amount you want to top up.";
     //
     // panelControl2
     //
     this.panelControl2.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl2.Controls.Add(this.gridCtrlCreditAccount);
     this.panelControl2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panelControl2.Location = new System.Drawing.Point(0, 76);
     this.panelControl2.Name     = "panelControl2";
     this.panelControl2.Size     = new System.Drawing.Size(724, 274);
     this.panelControl2.TabIndex = 1;
     //
     // gridCtrlCreditAccount
     //
     this.gridCtrlCreditAccount.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gridCtrlCreditAccount.Location = new System.Drawing.Point(0, 0);
     this.gridCtrlCreditAccount.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gridCtrlCreditAccount.MainView = this.GridView11;
     this.gridCtrlCreditAccount.Name     = "gridCtrlCreditAccount";
     this.gridCtrlCreditAccount.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
         this.repositoryItemCheckEdit2
     });
     this.gridCtrlCreditAccount.Size     = new System.Drawing.Size(724, 274);
     this.gridCtrlCreditAccount.TabIndex = 1;
     this.gridCtrlCreditAccount.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.GridView11
     });
     //
     // GridView11
     //
     this.GridView11.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.GridColumn65,
         this.GridColumn66,
         this.GridColumn67,
         this.GridColumn68,
         this.GridColumn69,
         this.GridColumn70,
         this.GridColumn71,
         this.GridColumn72,
         this.GridColumn73,
         this.GridColumn74,
         this.GridColumn76,
         this.GridColumn77,
         this.gridColumn1
     });
     this.GridView11.GridControl = this.gridCtrlCreditAccount;
     this.GridView11.Name        = "GridView11";
     this.GridView11.OptionsView.ColumnAutoWidth = false;
     this.GridView11.OptionsView.ShowGroupPanel  = false;
     //
     // GridColumn65
     //
     this.GridColumn65.Caption   = "ID";
     this.GridColumn65.FieldName = "nCreditPackageID";
     this.GridColumn65.Name      = "GridColumn65";
     this.GridColumn65.OptionsColumn.AllowEdit   = false;
     this.GridColumn65.OptionsColumn.AllowFocus  = false;
     this.GridColumn65.OptionsColumn.ReadOnly    = true;
     this.GridColumn65.OptionsFilter.AllowFilter = false;
     this.GridColumn65.Visible      = true;
     this.GridColumn65.VisibleIndex = 0;
     this.GridColumn65.Width        = 59;
     //
     // GridColumn66
     //
     this.GridColumn66.Caption   = "Code";
     this.GridColumn66.FieldName = "strCreditPackageCode";
     this.GridColumn66.Name      = "GridColumn66";
     this.GridColumn66.OptionsColumn.AllowEdit   = false;
     this.GridColumn66.OptionsColumn.AllowFocus  = false;
     this.GridColumn66.OptionsFilter.AllowFilter = false;
     this.GridColumn66.Visible      = true;
     this.GridColumn66.VisibleIndex = 1;
     this.GridColumn66.Width        = 80;
     //
     // GridColumn67
     //
     this.GridColumn67.Caption = "Description";
     this.GridColumn67.Name    = "GridColumn67";
     this.GridColumn67.OptionsColumn.AllowEdit   = false;
     this.GridColumn67.OptionsColumn.AllowFocus  = false;
     this.GridColumn67.OptionsFilter.AllowFilter = false;
     this.GridColumn67.Visible      = true;
     this.GridColumn67.VisibleIndex = 2;
     this.GridColumn67.Width        = 80;
     //
     // GridColumn68
     //
     this.GridColumn68.Caption = "Purchase Date";
     this.GridColumn68.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.GridColumn68.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.DateTime;
     this.GridColumn68.FieldName = "dtPurchaseDate";
     this.GridColumn68.Name      = "GridColumn68";
     this.GridColumn68.OptionsColumn.AllowEdit   = false;
     this.GridColumn68.OptionsColumn.AllowFocus  = false;
     this.GridColumn68.OptionsFilter.AllowFilter = false;
     this.GridColumn68.Visible      = true;
     this.GridColumn68.VisibleIndex = 3;
     this.GridColumn68.Width        = 88;
     //
     // GridColumn69
     //
     this.GridColumn69.Caption   = "Receipt No";
     this.GridColumn69.FieldName = "strReceiptNo";
     this.GridColumn69.Name      = "GridColumn69";
     this.GridColumn69.OptionsColumn.AllowEdit   = false;
     this.GridColumn69.OptionsColumn.AllowFocus  = false;
     this.GridColumn69.OptionsFilter.AllowFilter = false;
     this.GridColumn69.Visible      = true;
     this.GridColumn69.VisibleIndex = 4;
     this.GridColumn69.Width        = 80;
     //
     // GridColumn70
     //
     this.GridColumn70.Caption   = "Balance";
     this.GridColumn70.FieldName = "Balance";
     this.GridColumn70.Name      = "GridColumn70";
     this.GridColumn70.OptionsColumn.AllowEdit   = false;
     this.GridColumn70.OptionsColumn.AllowFocus  = false;
     this.GridColumn70.OptionsColumn.ReadOnly    = true;
     this.GridColumn70.OptionsFilter.AllowFilter = false;
     this.GridColumn70.Visible      = true;
     this.GridColumn70.VisibleIndex = 5;
     this.GridColumn70.Width        = 80;
     //
     // GridColumn71
     //
     this.GridColumn71.Caption = "Start Date";
     this.GridColumn71.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.GridColumn71.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.DateTime;
     this.GridColumn71.FieldName = "dtStartDate";
     this.GridColumn71.Name      = "GridColumn71";
     this.GridColumn71.OptionsColumn.AllowEdit   = false;
     this.GridColumn71.OptionsColumn.AllowFocus  = false;
     this.GridColumn71.OptionsFilter.AllowFilter = false;
     this.GridColumn71.Visible      = true;
     this.GridColumn71.VisibleIndex = 6;
     this.GridColumn71.Width        = 80;
     //
     // GridColumn72
     //
     this.GridColumn72.Caption = "Expiry Date";
     this.GridColumn72.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.GridColumn72.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.DateTime;
     this.GridColumn72.FieldName = "dtExpiryDate";
     this.GridColumn72.Name      = "GridColumn72";
     this.GridColumn72.OptionsColumn.AllowEdit   = false;
     this.GridColumn72.OptionsColumn.AllowFocus  = false;
     this.GridColumn72.OptionsFilter.AllowFilter = false;
     this.GridColumn72.Visible      = true;
     this.GridColumn72.VisibleIndex = 7;
     this.GridColumn72.Width        = 80;
     //
     // GridColumn73
     //
     this.GridColumn73.Caption    = "Free Indicator";
     this.GridColumn73.ColumnEdit = this.repositoryItemCheckEdit2;
     this.GridColumn73.FieldName  = "fFree";
     this.GridColumn73.Name       = "GridColumn73";
     this.GridColumn73.OptionsColumn.AllowEdit   = false;
     this.GridColumn73.OptionsColumn.AllowFocus  = false;
     this.GridColumn73.OptionsFilter.AllowFilter = false;
     this.GridColumn73.Visible      = true;
     this.GridColumn73.VisibleIndex = 8;
     this.GridColumn73.Width        = 80;
     //
     // repositoryItemCheckEdit2
     //
     this.repositoryItemCheckEdit2.AutoHeight = false;
     this.repositoryItemCheckEdit2.Name       = "repositoryItemCheckEdit2";
     this.repositoryItemCheckEdit2.NullStyle  = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked;
     //
     // GridColumn74
     //
     this.GridColumn74.Caption = "Cancelled Indicator";
     this.GridColumn74.Name    = "GridColumn74";
     this.GridColumn74.OptionsColumn.AllowEdit   = false;
     this.GridColumn74.OptionsColumn.AllowFocus  = false;
     this.GridColumn74.OptionsFilter.AllowFilter = false;
     this.GridColumn74.Visible      = true;
     this.GridColumn74.VisibleIndex = 9;
     this.GridColumn74.Width        = 80;
     //
     // GridColumn76
     //
     this.GridColumn76.Caption   = "Employee";
     this.GridColumn76.FieldName = "nEmployeeID";
     this.GridColumn76.Name      = "GridColumn76";
     this.GridColumn76.OptionsColumn.AllowEdit   = false;
     this.GridColumn76.OptionsColumn.AllowFocus  = false;
     this.GridColumn76.OptionsFilter.AllowFilter = false;
     this.GridColumn76.Visible      = true;
     this.GridColumn76.VisibleIndex = 10;
     this.GridColumn76.Width        = 81;
     //
     // GridColumn77
     //
     this.GridColumn77.Caption   = "Remark";
     this.GridColumn77.FieldName = "strRemarks";
     this.GridColumn77.Name      = "GridColumn77";
     this.GridColumn77.OptionsColumn.AllowEdit   = false;
     this.GridColumn77.OptionsColumn.AllowFocus  = false;
     this.GridColumn77.OptionsFilter.AllowFilter = false;
     this.GridColumn77.Visible      = true;
     this.GridColumn77.VisibleIndex = 11;
     this.GridColumn77.Width        = 86;
     //
     // gridColumn1
     //
     this.gridColumn1.Caption   = "Discount";
     this.gridColumn1.FieldName = "dCreditDiscount";
     this.gridColumn1.Name      = "gridColumn1";
     //
     // panelControl3
     //
     this.panelControl3.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl3.Controls.Add(this.simpleButtonCancel);
     this.panelControl3.Controls.Add(this.simpleButtonOK);
     this.panelControl3.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.panelControl3.Location = new System.Drawing.Point(0, 350);
     this.panelControl3.Name     = "panelControl3";
     this.panelControl3.Size     = new System.Drawing.Size(724, 44);
     this.panelControl3.TabIndex = 2;
     //
     // simpleButtonCancel
     //
     this.simpleButtonCancel.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.simpleButtonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.simpleButtonCancel.Location     = new System.Drawing.Point(621, 7);
     this.simpleButtonCancel.Name         = "simpleButtonCancel";
     this.simpleButtonCancel.Size         = new System.Drawing.Size(90, 26);
     this.simpleButtonCancel.TabIndex     = 14;
     this.simpleButtonCancel.Text         = "Cancel";
     //
     // simpleButtonOK
     //
     this.simpleButtonOK.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.simpleButtonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.simpleButtonOK.Location     = new System.Drawing.Point(517, 7);
     this.simpleButtonOK.Name         = "simpleButtonOK";
     this.simpleButtonOK.Size         = new System.Drawing.Size(90, 26);
     this.simpleButtonOK.TabIndex     = 13;
     this.simpleButtonOK.Text         = "OK";
     this.simpleButtonOK.Click       += new System.EventHandler(this.simpleButtonOK_Click);
     //
     // tblCreditPackageRestrictionTableAdapter
     //
     this.tblCreditPackageRestrictionTableAdapter.ClearBeforeFill = true;
     //
     // FormTopUpCredit
     //
     this.AcceptButton      = this.simpleButtonOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
     this.CancelButton      = this.simpleButtonCancel;
     this.ClientSize        = new System.Drawing.Size(724, 394);
     this.Controls.Add(this.panelControl2);
     this.Controls.Add(this.panelControl3);
     this.Controls.Add(this.panelControl1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "FormTopUpCredit";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "FormTopUpCredit";
     this.Load           += new System.EventHandler(this.FormTopUpCredit_Load);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
     this.panelControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.lkeTopUp.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tblCreditPackageRestrictionBindingSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsCreditPackageRestrition)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtEdtTotalAmt.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit();
     this.panelControl2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridCtrlCreditAccount)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.GridView11)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit();
     this.panelControl3.ResumeLayout(false);
     this.ResumeLayout(false);
 }
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs)
            {
                global::System.Xml.Schema.XmlSchemaComplexType type     = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence    sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                dsCreditPackageRestrition ds = new dsCreditPackageRestrition();

                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace       = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs       = new decimal(0);
                any1.MaxOccurs       = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace       = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs       = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name       = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name       = "tableTypeName";
                attribute2.FixedValue = "tblCreditPackageRestrictionDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace))
                {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();)
                        {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length))
                            {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) &&
                                        (s1.ReadByte() == s2.ReadByte()));)
                                {
                                    ;
                                }
                                if ((s1.Position == s1.Length))
                                {
                                    return(type);
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null))
                        {
                            s1.Close();
                        }
                        if ((s2 != null))
                        {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return(type);
            }
Example #8
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
     this.label3 = new System.Windows.Forms.Label();
     this.lkeTopUp = new DevExpress.XtraEditors.LookUpEdit();
     this.tblCreditPackageRestrictionBindingSource1 = new System.Windows.Forms.BindingSource(this.components);
     this.dsCreditPackageRestrition = new ACMS.dsCreditPackageRestrition();
     this.txtEdtTotalAmt = new DevExpress.XtraEditors.TextEdit();
     this.label2 = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     this.panelControl2 = new DevExpress.XtraEditors.PanelControl();
     this.gridCtrlCreditAccount = new DevExpress.XtraGrid.GridControl();
     this.GridView11 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.GridColumn65 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.GridColumn66 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.GridColumn67 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.GridColumn68 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.GridColumn69 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.GridColumn70 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.GridColumn71 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.GridColumn72 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.GridColumn73 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemCheckEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
     this.GridColumn74 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.GridColumn76 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.GridColumn77 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.panelControl3 = new DevExpress.XtraEditors.PanelControl();
     this.simpleButtonCancel = new DevExpress.XtraEditors.SimpleButton();
     this.simpleButtonOK = new DevExpress.XtraEditors.SimpleButton();
     this.tblCreditPackageRestrictionTableAdapter = new ACMS.dsCreditPackageRestritionTableAdapters.tblCreditPackageRestrictionTableAdapter();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
     this.panelControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lkeTopUp.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tblCreditPackageRestrictionBindingSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsCreditPackageRestrition)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtEdtTotalAmt.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit();
     this.panelControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridCtrlCreditAccount)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.GridView11)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit();
     this.panelControl3.SuspendLayout();
     this.SuspendLayout();
     //
     // panelControl1
     //
     this.panelControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl1.Controls.Add(this.label3);
     this.panelControl1.Controls.Add(this.lkeTopUp);
     this.panelControl1.Controls.Add(this.txtEdtTotalAmt);
     this.panelControl1.Controls.Add(this.label2);
     this.panelControl1.Controls.Add(this.label1);
     this.panelControl1.Dock = System.Windows.Forms.DockStyle.Top;
     this.panelControl1.Location = new System.Drawing.Point(0, 0);
     this.panelControl1.Name = "panelControl1";
     this.panelControl1.Size = new System.Drawing.Size(724, 76);
     this.panelControl1.TabIndex = 0;
     //
     // label3
     //
     this.label3.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.Location = new System.Drawing.Point(14, 42);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(176, 26);
     this.label3.TabIndex = 5;
     this.label3.Text = "Select Package :";
     //
     // lkeTopUp
     //
     this.lkeTopUp.Location = new System.Drawing.Point(197, 44);
     this.lkeTopUp.Name = "lkeTopUp";
     this.lkeTopUp.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lkeTopUp.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("strPackageCode", "Package Code", 84, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near),
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("strDescription", "Description", 72, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near),
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("mListPrice", "List Price", 53, DevExpress.Utils.FormatType.Numeric, "", true, DevExpress.Utils.HorzAlignment.Far, DevExpress.Data.ColumnSortOrder.None)});
     this.lkeTopUp.Properties.DataSource = this.tblCreditPackageRestrictionBindingSource1;
     this.lkeTopUp.Properties.DisplayFormat.FormatString = "{0:C2}";
     this.lkeTopUp.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.lkeTopUp.Properties.DisplayMember = "mListPrice";
     this.lkeTopUp.Properties.NullText = "0";
     this.lkeTopUp.Properties.ValueMember = "mListPrice";
     this.lkeTopUp.Size = new System.Drawing.Size(207, 22);
     this.lkeTopUp.TabIndex = 4;
     this.lkeTopUp.EditValueChanged += new System.EventHandler(this.lkeTopUp_EditValueChanged);
     this.lkeTopUp.Click += new System.EventHandler(this.lookUpEdit1_Click);
     //
     // tblCreditPackageRestrictionBindingSource1
     //
     this.tblCreditPackageRestrictionBindingSource1.DataMember = "tblCreditPackageRestriction";
     this.tblCreditPackageRestrictionBindingSource1.DataSource = this.dsCreditPackageRestrition;
     //
     // dsCreditPackageRestrition
     //
     this.dsCreditPackageRestrition.DataSetName = "dsCreditPackageRestrition";
     this.dsCreditPackageRestrition.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // txtEdtTotalAmt
     //
     this.txtEdtTotalAmt.EditValue = "";
     this.txtEdtTotalAmt.Location = new System.Drawing.Point(653, 42);
     this.txtEdtTotalAmt.Name = "txtEdtTotalAmt";
     this.txtEdtTotalAmt.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
     this.txtEdtTotalAmt.Properties.Appearance.Options.UseFont = true;
     this.txtEdtTotalAmt.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.txtEdtTotalAmt.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.txtEdtTotalAmt.Properties.Mask.EditMask = "c2";
     this.txtEdtTotalAmt.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.txtEdtTotalAmt.Properties.Mask.UseMaskAsDisplayFormat = true;
     this.txtEdtTotalAmt.Properties.MaxLength = 50;
     this.txtEdtTotalAmt.Size = new System.Drawing.Size(201, 27);
     this.txtEdtTotalAmt.TabIndex = 3;
     //
     // label2
     //
     this.label2.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location = new System.Drawing.Point(468, 40);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(178, 27);
     this.label2.TabIndex = 2;
     this.label2.Text = "Top up Amount :";
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(22, 6);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(760, 26);
     this.label1.TabIndex = 1;
     this.label1.Text = "Please key in amount you want to top up.";
     //
     // panelControl2
     //
     this.panelControl2.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl2.Controls.Add(this.gridCtrlCreditAccount);
     this.panelControl2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panelControl2.Location = new System.Drawing.Point(0, 76);
     this.panelControl2.Name = "panelControl2";
     this.panelControl2.Size = new System.Drawing.Size(724, 274);
     this.panelControl2.TabIndex = 1;
     //
     // gridCtrlCreditAccount
     //
     this.gridCtrlCreditAccount.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridCtrlCreditAccount.Location = new System.Drawing.Point(0, 0);
     this.gridCtrlCreditAccount.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gridCtrlCreditAccount.MainView = this.GridView11;
     this.gridCtrlCreditAccount.Name = "gridCtrlCreditAccount";
     this.gridCtrlCreditAccount.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemCheckEdit2});
     this.gridCtrlCreditAccount.Size = new System.Drawing.Size(724, 274);
     this.gridCtrlCreditAccount.TabIndex = 1;
     this.gridCtrlCreditAccount.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.GridView11});
     //
     // GridView11
     //
     this.GridView11.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.GridColumn65,
     this.GridColumn66,
     this.GridColumn67,
     this.GridColumn68,
     this.GridColumn69,
     this.GridColumn70,
     this.GridColumn71,
     this.GridColumn72,
     this.GridColumn73,
     this.GridColumn74,
     this.GridColumn76,
     this.GridColumn77,
     this.gridColumn1});
     this.GridView11.GridControl = this.gridCtrlCreditAccount;
     this.GridView11.Name = "GridView11";
     this.GridView11.OptionsView.ColumnAutoWidth = false;
     this.GridView11.OptionsView.ShowGroupPanel = false;
     //
     // GridColumn65
     //
     this.GridColumn65.Caption = "ID";
     this.GridColumn65.FieldName = "nCreditPackageID";
     this.GridColumn65.Name = "GridColumn65";
     this.GridColumn65.OptionsColumn.AllowEdit = false;
     this.GridColumn65.OptionsColumn.AllowFocus = false;
     this.GridColumn65.OptionsColumn.ReadOnly = true;
     this.GridColumn65.OptionsFilter.AllowFilter = false;
     this.GridColumn65.Visible = true;
     this.GridColumn65.VisibleIndex = 0;
     this.GridColumn65.Width = 59;
     //
     // GridColumn66
     //
     this.GridColumn66.Caption = "Code";
     this.GridColumn66.FieldName = "strCreditPackageCode";
     this.GridColumn66.Name = "GridColumn66";
     this.GridColumn66.OptionsColumn.AllowEdit = false;
     this.GridColumn66.OptionsColumn.AllowFocus = false;
     this.GridColumn66.OptionsFilter.AllowFilter = false;
     this.GridColumn66.Visible = true;
     this.GridColumn66.VisibleIndex = 1;
     this.GridColumn66.Width = 80;
     //
     // GridColumn67
     //
     this.GridColumn67.Caption = "Description";
     this.GridColumn67.Name = "GridColumn67";
     this.GridColumn67.OptionsColumn.AllowEdit = false;
     this.GridColumn67.OptionsColumn.AllowFocus = false;
     this.GridColumn67.OptionsFilter.AllowFilter = false;
     this.GridColumn67.Visible = true;
     this.GridColumn67.VisibleIndex = 2;
     this.GridColumn67.Width = 80;
     //
     // GridColumn68
     //
     this.GridColumn68.Caption = "Purchase Date";
     this.GridColumn68.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.GridColumn68.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.GridColumn68.FieldName = "dtPurchaseDate";
     this.GridColumn68.Name = "GridColumn68";
     this.GridColumn68.OptionsColumn.AllowEdit = false;
     this.GridColumn68.OptionsColumn.AllowFocus = false;
     this.GridColumn68.OptionsFilter.AllowFilter = false;
     this.GridColumn68.Visible = true;
     this.GridColumn68.VisibleIndex = 3;
     this.GridColumn68.Width = 88;
     //
     // GridColumn69
     //
     this.GridColumn69.Caption = "Receipt No";
     this.GridColumn69.FieldName = "strReceiptNo";
     this.GridColumn69.Name = "GridColumn69";
     this.GridColumn69.OptionsColumn.AllowEdit = false;
     this.GridColumn69.OptionsColumn.AllowFocus = false;
     this.GridColumn69.OptionsFilter.AllowFilter = false;
     this.GridColumn69.Visible = true;
     this.GridColumn69.VisibleIndex = 4;
     this.GridColumn69.Width = 80;
     //
     // GridColumn70
     //
     this.GridColumn70.Caption = "Balance";
     this.GridColumn70.FieldName = "Balance";
     this.GridColumn70.Name = "GridColumn70";
     this.GridColumn70.OptionsColumn.AllowEdit = false;
     this.GridColumn70.OptionsColumn.AllowFocus = false;
     this.GridColumn70.OptionsColumn.ReadOnly = true;
     this.GridColumn70.OptionsFilter.AllowFilter = false;
     this.GridColumn70.Visible = true;
     this.GridColumn70.VisibleIndex = 5;
     this.GridColumn70.Width = 80;
     //
     // GridColumn71
     //
     this.GridColumn71.Caption = "Start Date";
     this.GridColumn71.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.GridColumn71.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.GridColumn71.FieldName = "dtStartDate";
     this.GridColumn71.Name = "GridColumn71";
     this.GridColumn71.OptionsColumn.AllowEdit = false;
     this.GridColumn71.OptionsColumn.AllowFocus = false;
     this.GridColumn71.OptionsFilter.AllowFilter = false;
     this.GridColumn71.Visible = true;
     this.GridColumn71.VisibleIndex = 6;
     this.GridColumn71.Width = 80;
     //
     // GridColumn72
     //
     this.GridColumn72.Caption = "Expiry Date";
     this.GridColumn72.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.GridColumn72.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.GridColumn72.FieldName = "dtExpiryDate";
     this.GridColumn72.Name = "GridColumn72";
     this.GridColumn72.OptionsColumn.AllowEdit = false;
     this.GridColumn72.OptionsColumn.AllowFocus = false;
     this.GridColumn72.OptionsFilter.AllowFilter = false;
     this.GridColumn72.Visible = true;
     this.GridColumn72.VisibleIndex = 7;
     this.GridColumn72.Width = 80;
     //
     // GridColumn73
     //
     this.GridColumn73.Caption = "Free Indicator";
     this.GridColumn73.ColumnEdit = this.repositoryItemCheckEdit2;
     this.GridColumn73.FieldName = "fFree";
     this.GridColumn73.Name = "GridColumn73";
     this.GridColumn73.OptionsColumn.AllowEdit = false;
     this.GridColumn73.OptionsColumn.AllowFocus = false;
     this.GridColumn73.OptionsFilter.AllowFilter = false;
     this.GridColumn73.Visible = true;
     this.GridColumn73.VisibleIndex = 8;
     this.GridColumn73.Width = 80;
     //
     // repositoryItemCheckEdit2
     //
     this.repositoryItemCheckEdit2.AutoHeight = false;
     this.repositoryItemCheckEdit2.Name = "repositoryItemCheckEdit2";
     this.repositoryItemCheckEdit2.NullStyle = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked;
     //
     // GridColumn74
     //
     this.GridColumn74.Caption = "Cancelled Indicator";
     this.GridColumn74.Name = "GridColumn74";
     this.GridColumn74.OptionsColumn.AllowEdit = false;
     this.GridColumn74.OptionsColumn.AllowFocus = false;
     this.GridColumn74.OptionsFilter.AllowFilter = false;
     this.GridColumn74.Visible = true;
     this.GridColumn74.VisibleIndex = 9;
     this.GridColumn74.Width = 80;
     //
     // GridColumn76
     //
     this.GridColumn76.Caption = "Employee";
     this.GridColumn76.FieldName = "nEmployeeID";
     this.GridColumn76.Name = "GridColumn76";
     this.GridColumn76.OptionsColumn.AllowEdit = false;
     this.GridColumn76.OptionsColumn.AllowFocus = false;
     this.GridColumn76.OptionsFilter.AllowFilter = false;
     this.GridColumn76.Visible = true;
     this.GridColumn76.VisibleIndex = 10;
     this.GridColumn76.Width = 81;
     //
     // GridColumn77
     //
     this.GridColumn77.Caption = "Remark";
     this.GridColumn77.FieldName = "strRemarks";
     this.GridColumn77.Name = "GridColumn77";
     this.GridColumn77.OptionsColumn.AllowEdit = false;
     this.GridColumn77.OptionsColumn.AllowFocus = false;
     this.GridColumn77.OptionsFilter.AllowFilter = false;
     this.GridColumn77.Visible = true;
     this.GridColumn77.VisibleIndex = 11;
     this.GridColumn77.Width = 86;
     //
     // gridColumn1
     //
     this.gridColumn1.Caption = "Discount";
     this.gridColumn1.FieldName = "dCreditDiscount";
     this.gridColumn1.Name = "gridColumn1";
     //
     // panelControl3
     //
     this.panelControl3.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl3.Controls.Add(this.simpleButtonCancel);
     this.panelControl3.Controls.Add(this.simpleButtonOK);
     this.panelControl3.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.panelControl3.Location = new System.Drawing.Point(0, 350);
     this.panelControl3.Name = "panelControl3";
     this.panelControl3.Size = new System.Drawing.Size(724, 44);
     this.panelControl3.TabIndex = 2;
     //
     // simpleButtonCancel
     //
     this.simpleButtonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.simpleButtonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.simpleButtonCancel.Location = new System.Drawing.Point(621, 7);
     this.simpleButtonCancel.Name = "simpleButtonCancel";
     this.simpleButtonCancel.Size = new System.Drawing.Size(90, 26);
     this.simpleButtonCancel.TabIndex = 14;
     this.simpleButtonCancel.Text = "Cancel";
     //
     // simpleButtonOK
     //
     this.simpleButtonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.simpleButtonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.simpleButtonOK.Location = new System.Drawing.Point(517, 7);
     this.simpleButtonOK.Name = "simpleButtonOK";
     this.simpleButtonOK.Size = new System.Drawing.Size(90, 26);
     this.simpleButtonOK.TabIndex = 13;
     this.simpleButtonOK.Text = "OK";
     this.simpleButtonOK.Click += new System.EventHandler(this.simpleButtonOK_Click);
     //
     // tblCreditPackageRestrictionTableAdapter
     //
     this.tblCreditPackageRestrictionTableAdapter.ClearBeforeFill = true;
     //
     // FormTopUpCredit
     //
     this.AcceptButton = this.simpleButtonOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
     this.CancelButton = this.simpleButtonCancel;
     this.ClientSize = new System.Drawing.Size(724, 394);
     this.Controls.Add(this.panelControl2);
     this.Controls.Add(this.panelControl3);
     this.Controls.Add(this.panelControl1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "FormTopUpCredit";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "FormTopUpCredit";
     this.Load += new System.EventHandler(this.FormTopUpCredit_Load);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
     this.panelControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.lkeTopUp.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tblCreditPackageRestrictionBindingSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsCreditPackageRestrition)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtEdtTotalAmt.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit();
     this.panelControl2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridCtrlCreditAccount)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.GridView11)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit();
     this.panelControl3.ResumeLayout(false);
     this.ResumeLayout(false);
 }