Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello all,

I am in need of some serious help here, my project is at a complete stand-still due to this extremely strange behavior.

It is easiest to display in an image, so here it is:


The window on the left is while debugging, and the form on the right is in the designer.

As you can see, the size ISN'T the same, and I cannot continue because my controls are disappearing due to the way they are anchored.

The form AutoSize property is set to false.
There is no where in my code where I dynamically change the size of anything.

I tried researching this but it seems to be quite a unique occurrence!

Thanks a lot guys!
Posted

Hi
Check the Windows Form Layout properties
Size increase height and width along with GrowAndShrink Property
 
Share this answer
 
HI
Go to the From properties --> "AutoSizeMode" property change it to GrowAndShrink then check
 
Share this answer
 
Thanks, but it didn't change anything :(( .


If I set the size using the properties window, it will change to the correct size.

Then when I run it, it will display as the correct size.

But right after it rebuilds, the height of the form in the designer decrements by exactly 21 pixels.

It is so strange!



[Edit]
I found something that it keeps adding to the designer file!

Instead of changing the Size property, it is changing something called ClientSize!

The values in this property do not match the ones I have set in the properties dialog.
 
Share this answer
 
v3
Comments
#realJSOP 27-Jul-10 7:50am    
You should have added a comment to the post you're replying to, not posting as an answer to your question.
Ah, I found the problem.

Whatever it is with MainMenu, it just doesn't account for the size accordingly.

I suppose that's what I get for attempting to use a legacy control.


Thanks for the help!
 
Share this answer
 
Set the AutoScaleMode Property of the form to None........... :)
 
Share this answer
 
Hi,

Hope, the following code may solve your screen autosize problems...

Add new form in your project. Goto Designer code page and paste the following. It has the autosze controls.

---------
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class frmSales
    Inherits System.Windows.Forms.Form

    'Form overrides dispose to clean up the component list.
    <System.Diagnostics.DebuggerNonUserCode()> _
    Protected Overrides Sub Dispose(ByVal disposing As Boolean)
        Try
            If disposing AndAlso components IsNot Nothing Then
                components.Dispose()
            End If
        Finally
            MyBase.Dispose(disposing)
        End Try
    End Sub

    'Required by the Windows Form Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Windows Form Designer
    'It can be modified using the Windows Form Designer.  
    'Do not modify it using the code editor.
    <System.Diagnostics.DebuggerStepThrough()> _
    Private Sub InitializeComponent()
        Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
        Dim DataGridViewCellStyle19 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
        Dim DataGridViewCellStyle20 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
        Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
        Dim DataGridViewCellStyle3 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
        Dim DataGridViewCellStyle4 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
        Dim DataGridViewCellStyle5 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
        Dim DataGridViewCellStyle6 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
        Dim DataGridViewCellStyle7 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
        Dim DataGridViewCellStyle8 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
        Dim DataGridViewCellStyle9 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
        Dim DataGridViewCellStyle10 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
        Dim DataGridViewCellStyle11 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
        Dim DataGridViewCellStyle12 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
        Dim DataGridViewCellStyle13 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
        Dim DataGridViewCellStyle14 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
        Dim DataGridViewCellStyle15 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
        Dim DataGridViewCellStyle16 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
        Dim DataGridViewCellStyle17 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
        Dim DataGridViewCellStyle18 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
        Me.Panel5 = New System.Windows.Forms.Panel
        Me.GroupBox2 = New System.Windows.Forms.GroupBox
        Me.dgSalesMast = New System.Windows.Forms.DataGridView
        Me.Panel4 = New System.Windows.Forms.Panel
        Me.FlowLayoutPanel1 = New System.Windows.Forms.FlowLayoutPanel
        Me.btnNew = New DotNetSkin.SkinControls.SkinButton
        Me.btnEdit = New DotNetSkin.SkinControls.SkinButton
        Me.btnSave = New DotNetSkin.SkinControls.SkinButton
        Me.btnUpdate = New DotNetSkin.SkinControls.SkinButton
        Me.btnConfirm = New DotNetSkin.SkinControls.SkinButton
        Me.btnView = New DotNetSkin.SkinControls.SkinButton
        Me.btnCancel = New DotNetSkin.SkinControls.SkinButton
        Me.btnDelete = New DotNetSkin.SkinControls.SkinButton
        Me.btnExit = New DotNetSkin.SkinControls.SkinButton
        Me.Panel0 = New System.Windows.Forms.Panel
        Me.txtSearch = New System.Windows.Forms.TextBox
        Me.btnPrint = New DotNetSkin.SkinControls.SkinButton
        Me.lblSearch = New System.Windows.Forms.Label
        Me.cboPaymentMode = New System.Windows.Forms.ComboBox
        Me.cboCustomerMMM = New System.Windows.Forms.ComboBox
        Me.dtpCustomerBillDate = New System.Windows.Forms.DateTimePicker
        Me.Label14 = New System.Windows.Forms.Label
        Me.txtSalesSno = New System.Windows.Forms.TextBox
        Me.txtCustomerBillNo = New System.Windows.Forms.TextBox
        Me.Label20 = New System.Windows.Forms.Label
        Me.Label10 = New System.Windows.Forms.Label
        Me.Label9 = New System.Windows.Forms.Label
        Me.Label5 = New System.Windows.Forms.Label
        Me.Panel3 = New System.Windows.Forms.Panel
        Me.TableLayoutPanel1 = New System.Windows.Forms.TableLayoutPanel
        Me.Label2 = New System.Windows.Forms.Label
        Me.lblTotalItems = New System.Windows.Forms.Label
        Me.Label6 = New System.Windows.Forms.Label
        Me.lblTotalMainQty = New System.Windows.Forms.Label
        Me.Label21 = New System.Windows.Forms.Label
        Me.lblTotalSubQty = New System.Windows.Forms.Label
        Me.Label3 = New System.Windows.Forms.Label
        Me.txtAutoDiscountTotal = New System.Windows.Forms.TextBox
        Me.Label18 = New System.Windows.Forms.Label
        Me.txtAutoVATTotal = New System.Windows.Forms.TextBox
        Me.Label12 = New System.Windows.Forms.Label
        Me.Label17 = New System.Windows.Forms.Label
        Me.lable27 = New System.Windows.Forms.Label
        Me.Label13 = New System.Windows.Forms.Label
        Me.txtSplDiscountPerNNN = New System.Windows.Forms.TextBox
        Me.txtSalesTaxPerNNN = New System.Windows.Forms.TextBox
        Me.txtCoolieNNN = New System.Windows.Forms.TextBox
        Me.txtSalesTaxNNN = New System.Windows.Forms.TextBox
        Me.txtSplDiscountAmountNNN = New System.Windows.Forms.TextBox
        Me.txtSubTotalNNN = New System.Windows.Forms.TextBox
        Me.Label15 = New System.Windows.Forms.Label
        Me.Label16 = New System.Windows.Forms.Label
        Me.Label19 = New System.Windows.Forms.Label
        Me.txtSaleBillAdjustmentNNN = New System.Windows.Forms.TextBox
        Me.txtDutyNNN = New System.Windows.Forms.TextBox
        Me.txtFreightNNN = New System.Windows.Forms.TextBox
        Me.Label22 = New System.Windows.Forms.Label
        Me.cboFreightAc = New System.Windows.Forms.ComboBox
        Me.Label11 = New System.Windows.Forms.Label
        Me.lblTotalAmountWords = New System.Windows.Forms.Label
        Me.Label7 = New System.Windows.Forms.Label
        Me.txtRemarks = New System.Windows.Forms.TextBox
        Me.txtNetAmtNNN = New System.Windows.Forms.TextBox
        Me.Label8 = New System.Windows.Forms.Label
        Me.btnRoundUp = New DotNetSkin.SkinControls.SkinButton
        Me.btnRoundDown = New DotNetSkin.SkinControls.SkinButton
        Me.Panel2 = New System.Windows.Forms.Panel
        Me.dgSalesDetailsMMM = New System.Windows.Forms.DataGridView
        Me.dgcolSalesDetailsSnoNNN = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.dgcolItemBarCode = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.dgcboItemNameMMM = New System.Windows.Forms.DataGridViewComboBoxColumn
        Me.dgcboMainUnit = New System.Windows.Forms.DataGridViewComboBoxColumn
        Me.dgcolItemMainQtyNNN = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.dgcolItemSalesRateMainQtyExclVATNNN = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.dgcboSubUnit = New System.Windows.Forms.DataGridViewComboBoxColumn
        Me.dgcolItemSubQtyNNN = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.dgcolItemSalesRateSubQtyExclVATNNN = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.dgcolItemSalesDiscAmountNNN = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.dgcboItemSalesVATper = New System.Windows.Forms.DataGridViewComboBoxColumn
        Me.dgcolItemSalesVATAmountNNN = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.dgcolItemSalesRateMainQtyInclVATNNN = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.dgcolItemSalesRateSubQtyInclVATNNN = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.dgcolItemSalesAmountNNN = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.dgcolItemSalesToFindInclVATPercentNNN = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.dgcolItemSalesToFindInclDiscPercentNNN = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.dgcolItemSalesDiscPerNNN = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.dgcolMainUnitRatioNNN = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.dgcolSubUnitRatioNNN = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.dgcolGroupLedgerCodeSalesStock = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.dgcolLedgerCodeSalesStock = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.dgcolItemSalesVATperNNN = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.Panel1 = New System.Windows.Forms.Panel
        Me.TableLayoutPanel2 = New System.Windows.Forms.TableLayoutPanel
        Me.Panel5.SuspendLayout()
        Me.GroupBox2.SuspendLayout()
        CType(Me.dgSalesMast, System.ComponentModel.ISupportInitialize).BeginInit()
        Me.Panel4.SuspendLayout()
        Me.FlowLayoutPanel1.SuspendLayout()
        Me.Panel0.SuspendLayout()
        Me.Panel3.SuspendLayout()
        Me.TableLayoutPanel1.SuspendLayout()
        Me.Panel2.SuspendLayout()
        CType(Me.dgSalesDetailsMMM, System.ComponentModel.ISupportInitialize).BeginInit()
        Me.Panel1.SuspendLayout()
        Me.TableLayoutPanel2.SuspendLayout()
        Me.SuspendLayout()
        '
        'Panel5
        '
        Me.Panel5.BackColor = System.Drawing.Color.Transparent
        Me.Panel5.Controls.Add(Me.GroupBox2)
        Me.Panel5.Dock = System.Windows.Forms.DockStyle.Bottom
        Me.Panel5.Location = New System.Drawing.Point(0, 629)
        Me.Panel5.Name = "Panel5"
        Me.Panel5.Size = New System.Drawing.Size(1182, 149)
        Me.Panel5.TabIndex = 4
        '
        'GroupBox2
        '
        Me.GroupBox2.Controls.Add(Me.dgSalesMast)
        Me.GroupBox2.Dock = System.Windows.Forms.DockStyle.Fill
        Me.GroupBox2.Location = New System.Drawing.Point(0, 0)
        Me.GroupBox2.Name = "GroupBox2"
        Me.GroupBox2.Size = New System.Drawing.Size(1182, 149)
        Me.GroupBox2.TabIndex = 0
        Me.GroupBox2.TabStop = False
        Me.GroupBox2.Text = "&History - To Edit a record -> Press ENTER (or) Double Click"
        '
        'dgSalesMast
        '
        Me.dgSalesMast.AllowUserToAddRows = False
        Me.dgSalesMast.AllowUserToDeleteRows = False
        Me.dgSalesMast.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
        Me.dgSalesMast.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
        Me.dgSalesMast.Dock = System.Windows.Forms.DockStyle.Fill
        Me.dgSalesMast.GridColor = System.Drawing.Color.White
        Me.dgSalesMast.Location = New System.Drawing.Point(3, 17)
        Me.dgSalesMast.Name = "dgSalesMast"
        Me.dgSalesMast.ReadOnly = True
        Me.dgSalesMast.RowHeadersVisible = False
        Me.dgSalesMast.RowTemplate.DefaultCellStyle.BackColor = System.Drawing.Color.Aquamarine
        Me.dgSalesMast.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect
        Me.dgSalesMast.Size = New System.Drawing.Size(1176, 129)
        Me.dgSalesMast.TabIndex = 0
        '
        'Panel4
        '
        Me.Panel4.BackColor = System.Drawing.Color.Transparent
        Me.Panel4.Controls.Add(Me.FlowLayoutPanel1)
        Me.Panel4.Dock = System.Windows.Forms.DockStyle.Bottom
        Me.Panel4.Location = New System.Drawing.Point(0, 589)
        Me.Panel4.Name = "Panel4"
        Me.Panel4.Size = New System.Drawing.Size(1182, 40)
        Me.Panel4.TabIndex = 3
        '
        'FlowLayoutPanel1
        '
        Me.FlowLayoutPanel1.Controls.Add(Me.btnNew)
        Me.FlowLayoutPanel1.Controls.Add(Me.btnEdit)
        Me.FlowLayoutPanel1.Controls.Add(Me.btnSave)
        Me.FlowLayoutPanel1.Controls.Add(Me.btnUpdate)
        Me.FlowLayoutPanel1.Controls.Add(Me.btnConfirm)
        Me.FlowLayoutPanel1.Controls.Add(Me.btnView)
        Me.FlowLayoutPanel1.Controls.Add(Me.btnCancel)
        Me.FlowLayoutPanel1.Controls.Add(Me.btnDelete)
        Me.FlowLayoutPanel1.Controls.Add(Me.btnExit)
        Me.FlowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Top
        Me.FlowLayoutPanel1.Location = New System.Drawing.Point(0, 0)
        Me.FlowLayoutPanel1.Margin = New System.Windows.Forms.Padding(6, 3, 6, 3)
        Me.FlowLayoutPanel1.Name = "FlowLayoutPanel1"
        Me.FlowLayoutPanel1.Size = New System.Drawing.Size(1182, 40)
        Me.FlowLayoutPanel1.TabIndex = 0
        '
        'btnNew
        '
        Me.btnNew.Location = New System.Drawing.Point(9, 5)
        Me.btnNew.Margin = New System.Windows.Forms.Padding(9, 5, 9, 5)
        Me.btnNew.Name = "btnNew"
        Me.btnNew.Size = New System.Drawing.Size(100, 25)
        Me.btnNew.TabIndex = 0
        Me.btnNew.Text = "&New"
        Me.btnNew.UseVisualStyleBackColor = True
        '
        'btnEdit
        '
        Me.btnEdit.DialogResult = System.Windows.Forms.DialogResult.Cancel
        Me.btnEdit.Location = New System.Drawing.Point(127, 5)
        Me.btnEdit.Margin = New System.Windows.Forms.Padding(9, 5, 9, 5)
        Me.btnEdit.Name = "btnEdit"
        Me.btnEdit.Size = New System.Drawing.Size(100, 25)
        Me.btnEdit.TabIndex = 1
        Me.btnEdit.Text = "&Edit"
        Me.btnEdit.UseVisualStyleBackColor = True
        '
        'btnSave
        '
        Me.btnSave.Location = New System.Drawing.Point(245, 5)
        Me.btnSave.Margin = New System.Windows.Forms.Padding(9, 5, 9, 5)
        Me.btnSave.Name = "btnSave"
        Me.btnSave.Size = New System.Drawing.Size(100, 25)
        Me.btnSave.TabIndex = 2
        Me.btnSave.Text = "&Save"
        Me.btnSave.UseVisualStyleBackColor = True
        '
        'btnUpdate
        '
        Me.btnUpdate.Location = New System.Drawing.Point(363, 5)
        Me.btnUpdate.Margin = New System.Windows.Forms.Padding(9, 5, 9, 5)
        Me.btnUpdate.Name = "btnUpdate"
        Me.btnUpdate.Size = New System.Drawing.Size(100, 25)
        Me.btnUpdate.TabIndex = 3
        Me.btnUpdate.Text = "&Update"
        Me.btnUpdate.UseVisualStyleBackColor = True
        '
        'btnConfirm
        '
        Me.btnConfirm.DialogResult = System.Windows.Forms.DialogResult.Cancel
        Me.btnConfirm.Location = New System.Drawing.Point(481, 5)
        Me.btnConfirm.Margin = New System.Windows.Forms.Padding(9, 5, 9, 5)
        Me.btnConfirm.Name = "btnConfirm"
        Me.btnConfirm.Size = New System.Drawing.Size(100, 25)
        Me.btnConfirm.TabIndex = 4
        Me.btnConfirm.Text = "C&onfirm"
        Me.btnConfirm.UseVisualStyleBackColor = True
        '
        'btnView
        '
        Me.btnView.Location = New System.Drawing.Point(599, 5)
        Me.btnView.Margin = New System.Windows.Forms.Padding(9, 5, 9, 5)
        Me.btnView.Name = "btnView"
        Me.btnView.Size = New System.Drawing.Size(100, 25)
        Me.btnView.TabIndex = 5
        Me.btnView.Text = "&View"
        Me.btnView.UseVisualStyleBackColor = True
        '
        'btnCancel
        '
        Me.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel
        Me.btnCancel.Location = New System.Drawing.Point(717, 5)
        Me.btnCancel.Margin = New System.Windows.Forms.Padding(9, 5, 9, 5)
        Me.btnCancel.Name = "btnCancel"
        Me.btnCancel.Size = New System.Drawing.Size(100, 25)
        Me.btnCancel.TabIndex = 6
        Me.btnCancel.Text = "&Cancel"
        Me.btnCancel.UseVisualStyleBackColor = True
        '
        'btnDelete
        '
        Me.btnDelete.DialogResult = System.Windows.Forms.DialogResult.Cancel
        Me.btnDelete.Location = New System.Drawing.Point(835, 5)
        Me.btnDelete.Margin = New System.Windows.Forms.Padding(9, 5, 9, 5)
        Me.btnDelete.Name = "btnDelete"
        Me.btnDelete.Size = New System.Drawing.Size(100, 25)
        Me.btnDelete.TabIndex = 7
        Me.btnDelete.Text = "&Delete"
        Me.btnDelete.UseVisualStyleBackColor = True
        '
        'btnExit
        '
        Me.btnExit.DialogResult = System.Windows.Forms.DialogResult.Cancel
        Me.btnExit.Location = New System.Drawing.Point(953, 5)
        Me.btnExit.Margin = New System.Windows.Forms.Padding(9, 5, 9, 5)
        Me.btnExit.Name = "btnExit"
        Me.btnExit.Size = New System.Drawing.Size(100, 25)
        Me.btnExit.TabIndex = 8
        Me.btnExit.Text = "E&xit"
        Me.btnExit.UseVisualStyleBackColor = True
        '
        'Panel0
        '
        Me.Panel0.BackColor = System.Drawing.Color.Transparent
        Me.Panel0.Controls.Add(Me.txtSearch)
        Me.Panel0.Controls.Add(Me.btnPrint)
        Me.Panel0.Controls.Add(Me.lblSearch)
        Me.Panel0.Dock = System.Windows.Forms.DockStyle.Top
        Me.Panel0.Location = New System.Drawing.Point(0, 0)
        Me.Panel0.Name = "Panel0"
        Me.Panel0.Size = New System.Drawing.Size(1182, 33)
        Me.Panel0.TabIndex = 6
        '
        'txtSearch
        '
        Me.txtSearch.Location = New System.Drawing.Point(81, 7)
        Me.txtSearch.Margin = New System.Windows.Forms.Padding(5, 3, 5, 3)
        Me.txtSearch.MaxLength = 5
        Me.txtSearch.Name = "txtSearch"
        Me.txtSearch.Size = New System.Drawing.Size(123, 21)
        Me.txtSearch.TabIndex = 1
        '
        'btnPrint
        '
        Me.btnPrint.Location = New System.Drawing.Point(206, 4)
        Me.btnPrint.Name = "btnPrint"
        Me.btnPrint.Size = New System.Drawing.Size(135, 28)
        Me.btnPrint.TabIndex = 2
        Me.btnPrint.Text = "&Print"
        Me.btnPrint.UseVisualStyleBackColor = True
        '
        'lblSearch
        '
        Me.lblSearch.AutoSize = True
        Me.lblSearch.Location = New System.Drawing.Point(38, 10)
        Me.lblSearch.Margin = New System.Windows.Forms.Padding(5, 0, 5, 0)
        Me.lblSearch.Name = "lblSearch"
        Me.lblSearch.Size = New System.Drawing.Size(47, 13)
        Me.lblSearch.TabIndex = 0
        Me.lblSearch.Text = "Sea&rch"
        '
        'cboPaymentMode
        '
        Me.cboPaymentMode.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend
        Me.cboPaymentMode.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems
        Me.cboPaymentMode.Dock = System.Windows.Forms.DockStyle.Fill
        Me.cboPaymentMode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
        Me.cboPaymentMode.DropDownWidth = 150
        Me.cboPaymentMode.FormattingEnabled = True
        Me.cboPaymentMode.Items.AddRange(New Object() {"Credit Sales", "Cash Sales"})
        Me.cboPaymentMode.Location = New System.Drawing.Point(992, 4)
        Me.cboPaymentMode.Name = "cboPaymentMode"
        Me.cboPaymentMode.Size = New System.Drawing.Size(186, 21)
        Me.cboPaymentMode.TabIndex = 9
        '
        'cboCustomerMMM
        '
        Me.cboCustomerMMM.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend
        Me.cboCustomerMMM.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems
        Me.cboCustomerMMM.Dock = System.Windows.Forms.DockStyle.Fill
        Me.cboCustomerMMM.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
        Me.cboCustomerMMM.FormattingEnabled = True
        Me.cboCustomerMMM.Location = New System.Drawing.Point(551, 4)
        Me.cboCustomerMMM.Name = "cboCustomerMMM"
        Me.cboCustomerMMM.Size = New System.Drawing.Size(405, 21)
        Me.cboCustomerMMM.TabIndex = 7
        '
        'dtpCustomerBillDate
        '
        Me.dtpCustomerBillDate.CustomFormat = "dd/MM/yyyy"
        Me.dtpCustomerBillDate.Dock = System.Windows.Forms.DockStyle.Fill
        Me.dtpCustomerBillDate.Format = System.Windows.Forms.DateTimePickerFormat.Custom
        Me.dtpCustomerBillDate.Location = New System.Drawing.Point(347, 4)
        Me.dtpCustomerBillDate.MaxDate = New Date(2025, 12, 31, 0, 0, 0, 0)
        Me.dtpCustomerBillDate.MinDate = New Date(1990, 1, 1, 0, 0, 0, 0)
        Me.dtpCustomerBillDate.Name = "dtpCustomerBillDate"
        Me.dtpCustomerBillDate.Size = New System.Drawing.Size(112, 21)
        Me.dtpCustomerBillDate.TabIndex = 5
        Me.dtpCustomerBillDate.Value = New Date(2009, 9, 13, 0, 0, 0, 0)
        '
        'Label14
        '
        Me.Label14.AutoSize = True
        Me.Label14.Dock = System.Windows.Forms.DockStyle.Fill
        Me.Label14.Location = New System.Drawing.Point(4, 4)
        Me.Label14.Margin = New System.Windows.Forms.Padding(3)
        Me.Label14.Name = "Label14"
        Me.Label14.Size = New System.Drawing.Size(24, 34)
        Me.Label14.TabIndex = 0
        Me.Label14.Text = "S.no"
        '
        'txtSalesSno
        '
        Me.txtSalesSno.Dock = System.Windows.Forms.DockStyle.Fill
        Me.txtSalesSno.Enabled = False
        Me.txtSalesSno.Location = New System.Drawing.Point(35, 4)
        Me.txtSalesSno.MaxLength = 5
        Me.txtSalesSno.Name = "txtSalesSno"
        Me.txtSalesSno.Size = New System.Drawing.Size(84, 21)
        Me.txtSalesSno.TabIndex = 1
        '
        'txtCustomerBillNo
        '
        Me.txtCustomerBillNo.Dock = System.Windows.Forms.DockStyle.Fill
        Me.txtCustomerBillNo.Location = New System.Drawing.Point(160, 4)
        Me.txtCustomerBillNo.MaxLength = 15
        Me.txtCustomerBillNo.Name = "txtCustomerBillNo"
        Me.txtCustomerBillNo.Size = New System.Drawing.Size(132, 21)
        Me.txtCustomerBillNo.TabIndex = 3
        '
        'Label20
        '
        Me.Label20.AutoSize = True
        Me.Label20.Dock = System.Windows.Forms.DockStyle.Fill
        Me.Label20.Location = New System.Drawing.Point(963, 4)
        Me.Label20.Margin = New System.Windows.Forms.Padding(3)
        Me.Label20.Name = "Label20"
        Me.Label20.Size = New System.Drawing.Size(22, 34)
        Me.Label20.TabIndex = 8
        Me.Label20.Text = "by"
        '
        'Label10
        '
        Me.Label10.AutoSize = True
        Me.Label10.Dock = System.Windows.Forms.DockStyle.Fill
        Me.Label10.Location = New System.Drawing.Point(126, 4)
        Me.Label10.Margin = New System.Windows.Forms.Padding(3)
        Me.Label10.Name = "Label10"
        Me.Label10.Size = New System.Drawing.Size(27, 34)
        Me.Label10.TabIndex = 2
        Me.Label10.Text = "Bill No"
        '
        'Label9
        '
        Me.Label9.AutoSize = True
        Me.Label9.Dock = System.Windows.Forms.DockStyle.Fill
        Me.Label9.Location = New System.Drawing.Point(466, 4)
        Me.Label9.Margin = New System.Windows.Forms.Padding(3)
        Me.Label9.Name = "Label9"
        Me.Label9.Size = New System.Drawing.Size(78, 34)
        Me.Label9.TabIndex = 6
        Me.Label9.Text = "Customer"
        '
        'Label5
        '
        Me.Label5.AutoSize = True
        Me.Label5.Dock = System.Windows.Forms.DockStyle.Fill
        Me.Label5.Location = New System.Drawing.Point(299, 4)
        Me.Label5.Margin = New System.Windows.Forms.Padding(3)
        Me.Label5.Name = "Label5"
        Me.Label5.Size = New System.Drawing.Size(41, 34)
        Me.Label5.TabIndex = 4
        Me.Label5.Text = "Bill Date"
        '
        'Panel3
        '
        Me.Panel3.BackColor = System.Drawing.Color.Transparent
        Me.Panel3.Controls.Add(Me.TableLayoutPanel1)
        Me.Panel3.Dock = System.Windows.Forms.DockStyle.Bottom
        Me.Panel3.Location = New System.Drawing.Point(0, 443)
        Me.Panel3.Name = "Panel3"
        Me.Panel3.Size = New System.Drawing.Size(1182, 146)
        Me.Panel3.TabIndex = 2
        '
        'TableLayoutPanel1
        '
        Me.TableLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink
        Me.TableLayoutPanel1.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.[Single]
        Me.TableLayoutPanel1.ColumnCount = 10
        Me.TableLayoutPanel1.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 11.53225!))
        Me.TableLayoutPanel1.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 7.754444!))
        Me.TableLayoutPanel1.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 10.04101!))
        Me.TableLayoutPanel1.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 11.83049!))
        Me.TableLayoutPanel1.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 10.23984!))
        Me.TableLayoutPanel1.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 8.54977!))
        Me.TableLayoutPanel1.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 12.92407!))
        Me.TableLayoutPanel1.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.543929!))
        Me.TableLayoutPanel1.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 5.070212!))
        Me.TableLayoutPanel1.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 12.51398!))
        Me.TableLayoutPanel1.Controls.Add(Me.Label2, 0, 0)
        Me.TableLayoutPanel1.Controls.Add(Me.lblTotalItems, 1, 0)
        Me.TableLayoutPanel1.Controls.Add(Me.Label6, 2, 0)
        Me.TableLayoutPanel1.Controls.Add(Me.lblTotalMainQty, 3, 0)
        Me.TableLayoutPanel1.Controls.Add(Me.Label21, 4, 0)
        Me.TableLayoutPanel1.Controls.Add(Me.lblTotalSubQty, 5, 0)
        Me.TableLayoutPanel1.Controls.Add(Me.Label3, 6, 0)
        Me.TableLayoutPanel1.Controls.Add(Me.txtAutoDiscountTotal, 7, 0)
        Me.TableLayoutPanel1.Controls.Add(Me.Label18, 8, 0)
        Me.TableLayoutPanel1.Controls.Add(Me.txtAutoVATTotal, 9, 0)
        Me.TableLayoutPanel1.Controls.Add(Me.Label12, 0, 1)
        Me.TableLayoutPanel1.Controls.Add(Me.Label17, 0, 2)
        Me.TableLayoutPanel1.Controls.Add(Me.lable27, 0, 3)
        Me.TableLayoutPanel1.Controls.Add(Me.Label13, 0, 4)
        Me.TableLayoutPanel1.Controls.Add(Me.txtSplDiscountPerNNN, 1, 2)
        Me.TableLayoutPanel1.Controls.Add(Me.txtSalesTaxPerNNN, 1, 3)
        Me.TableLayoutPanel1.Controls.Add(Me.txtCoolieNNN, 2, 4)
        Me.TableLayoutPanel1.Controls.Add(Me.txtSalesTaxNNN, 2, 3)
        Me.TableLayoutPanel1.Controls.Add(Me.txtSplDiscountAmountNNN, 2, 2)
        Me.TableLayoutPanel1.Controls.Add(Me.txtSubTotalNNN, 2, 1)
        Me.TableLayoutPanel1.Controls.Add(Me.Label15, 3, 1)
        Me.TableLayoutPanel1.Controls.Add(Me.Label16, 3, 2)
        Me.TableLayoutPanel1.Controls.Add(Me.Label19, 3, 3)
        Me.TableLayoutPanel1.Controls.Add(Me.txtSaleBillAdjustmentNNN, 4, 3)
        Me.TableLayoutPanel1.Controls.Add(Me.txtDutyNNN, 4, 2)
        Me.TableLayoutPanel1.Controls.Add(Me.txtFreightNNN, 4, 1)
        Me.TableLayoutPanel1.Controls.Add(Me.Label22, 5, 1)
        Me.TableLayoutPanel1.Controls.Add(Me.cboFreightAc, 6, 1)
        Me.TableLayoutPanel1.Controls.Add(Me.Label11, 5, 2)
        Me.TableLayoutPanel1.Controls.Add(Me.lblTotalAmountWords, 6, 2)
        Me.TableLayoutPanel1.Controls.Add(Me.Label7, 5, 3)
        Me.TableLayoutPanel1.Controls.Add(Me.txtRemarks, 6, 3)
        Me.TableLayoutPanel1.Controls.Add(Me.txtNetAmtNNN, 4, 5)
        Me.TableLayoutPanel1.Controls.Add(Me.Label8, 3, 5)
        Me.TableLayoutPanel1.Controls.Add(Me.btnRoundUp, 3, 4)
        Me.TableLayoutPanel1.Controls.Add(Me.btnRoundDown, 4, 4)
        Me.TableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill
        Me.TableLayoutPanel1.Location = New System.Drawing.Point(0, 0)
        Me.TableLayoutPanel1.Name = "TableLayoutPanel1"
        Me.TableLayoutPanel1.RowCount = 6
        Me.TableLayoutPanel1.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 16.32653!))
        Me.TableLayoutPanel1.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 16.32653!))
        Me.TableLayoutPanel1.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 16.32653!))
        Me.TableLayoutPanel1.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 16.32653!))
        Me.TableLayoutPanel1.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 17.34694!))
        Me.TableLayoutPanel1.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 17.34694!))
        Me.TableLayoutPanel1.Size = New System.Drawing.Size(1182, 146)
        Me.TableLayoutPanel1.TabIndex = 0
        '
        'Label2
        '
        Me.Label2.AutoSize = True
        Me.Label2.Dock = System.Windows.Forms.DockStyle.Fill
        Me.Label2.Location = New System.Drawing.Point(2, 2)
        Me.Label2.Margin = New System.Windows.Forms.Padding(1)
        Me.Label2.Name = "Label2"
        Me.Label2.Size = New System.Drawing.Size(133, 20)
        Me.Label2.TabIndex = 47
        Me.Label2.Text = "Total Items"
        Me.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
        '
        'lblTotalItems
        '
        Me.lblTotalItems.AutoSize = True
        Me.lblTotalItems.BackColor = System.Drawing.Color.Yellow
        Me.lblTotalItems.Dock = System.Windows.Forms.DockStyle.Fill
        Me.lblTotalItems.Font = New System.Drawing.Font("Verdana", 9.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.lblTotalItems.Location = New System.Drawing.Point(138, 2)
        Me.lblTotalItems.Margin = New System.Windows.Forms.Padding(1)
        Me.lblTotalItems.Name = "lblTotalItems"
        Me.lblTotalItems.Size = New System.Drawing.Size(88, 20)
        Me.lblTotalItems.TabIndex = 44
        Me.lblTotalItems.Text = " "
        Me.lblTotalItems.TextAlign = System.Drawing.ContentAlignment.MiddleRight
        '
        'Label6
        '
        Me.Label6.AutoSize = True
        Me.Label6.Dock = System.Windows.Forms.DockStyle.Fill
        Me.Label6.Location = New System.Drawing.Point(229, 2)
        Me.Label6.Margin = New System.Windows.Forms.Padding(1)
        Me.Label6.Name = "Label6"
        Me.Label6.Size = New System.Drawing.Size(115, 20)
        Me.Label6.TabIndex = 49
        Me.Label6.Text = "Total Main Qty"
        Me.Label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
        '
        'lblTotalMainQty
        '
        Me.lblTotalMainQty.AutoSize = True
        Me.lblTotalMainQty.BackColor = System.Drawing.Color.Yellow
        Me.lblTotalMainQty.Dock = System.Windows.Forms.DockStyle.Fill
        Me.lblTotalMainQty.Font = New System.Drawing.Font("Verdana", 9.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.lblTotalMainQty.Location = New System.Drawing.Point(347, 2)
        Me.lblTotalMainQty.Margin = New System.Windows.Forms.Padding(1)
        Me.lblTotalMainQty.Name = "lblTotalMainQty"
        Me.lblTotalMainQty.Size = New System.Drawing.Size(136, 20)
        Me.lblTotalMainQty.TabIndex = 43
        Me.lblTotalMainQty.Text = " "
        Me.lblTotalMainQty.TextAlign = System.Drawing.ContentAlignment.MiddleRight
        '
        'Label21
        '
        Me.Label21.AutoSize = True
        Me.Label21.Dock = System.Windows.Forms.DockStyle.Fill
        Me.Label21.Location = New System.Drawing.Point(486, 2)
        Me.Label21.Margin = New System.Windows.Forms.Padding(1)
        Me.Label21.Name = "Label21"
        Me.Label21.Size = New System.Drawing.Size(117, 20)
        Me.Label21.TabIndex = 48
        Me.Label21.Text = "Total Sub Qty"
        Me.Label21.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
        '
        'lblTotalSubQty
        '
        Me.lblTotalSubQty.AutoSize = True
        Me.lblTotalSubQty.BackColor = System.Drawing.Color.Yellow
        Me.lblTotalSubQty.Dock = System.Windows.Forms.DockStyle.Fill
        Me.lblTotalSubQty.Font = New System.Drawing.Font("Verdana", 9.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.lblTotalSubQty.Location = New System.Drawing.Point(606, 2)
        Me.lblTotalSubQty.Margin = New System.Windows.Forms.Padding(1)
        Me.lblTotalSubQty.Name = "lblTotalSubQty"
        Me.lblTotalSubQty.Size = New System.Drawing.Size(98, 20)
        Me.lblTotalSubQty.TabIndex = 46
        Me.lblTotalSubQty.Text = " "
        Me.lblTotalSubQty.TextAlign = System.Drawing.ContentAlignment.MiddleRight
        '
        'Label3
        '
        Me.Label3.AutoSize = True
        Me.Label3.Dock = System.Windows.Forms.DockStyle.Fill
        Me.Label3.Location = New System.Drawing.Point(707, 2)
        Me.Label3.Margin = New System.Windows.Forms.Padding(1)
        Me.Label3.Name = "Label3"
        Me.Label3.Size = New System.Drawing.Size(149, 20)
        Me.Label3.TabIndex = 54
        Me.Label3.Text = "Discount Total"
        Me.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
        '
        'txtAutoDiscountTotal
        '
        Me.txtAutoDiscountTotal.Dock = System.Windows.Forms.DockStyle.Fill
        Me.txtAutoDiscountTotal.Location = New System.Drawing.Point(859, 2)
        Me.txtAutoDiscountTotal.Margin = New System.Windows.Forms.Padding(1)
        Me.txtAutoDiscountTotal.MaxLength = 10
        Me.txtAutoDiscountTotal.Name = "txtAutoDiscountTotal"
        Me.txtAutoDiscountTotal.ReadOnly = True
        Me.txtAutoDiscountTotal.Size = New System.Drawing.Size(109, 21)
        Me.txtAutoDiscountTotal.TabIndex = 52
        Me.txtAutoDiscountTotal.TabStop = False
        Me.txtAutoDiscountTotal.Text = "0"
        Me.txtAutoDiscountTotal.TextAlign = System.Windows.Forms.HorizontalAlignment.Right
        '
        'Label18
        '
        Me.Label18.AutoSize = True
        Me.Label18.Location = New System.Drawing.Point(973, 4)
        Me.Label18.Margin = New System.Windows.Forms.Padding(3)
        Me.Label18.Name = "Label18"
        Me.Label18.Size = New System.Drawing.Size(35, 16)
        Me.Label18.TabIndex = 55
        Me.Label18.Text = "VAT Total"
        Me.Label18.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
        '
        'txtAutoVATTotal
        '
        Me.txtAutoVATTotal.Dock = System.Windows.Forms.DockStyle.Fill
        Me.txtAutoVATTotal.Location = New System.Drawing.Point(1033, 4)
        Me.txtAutoVATTotal.MaxLength = 10
        Me.txtAutoVATTotal.Name = "txtAutoVATTotal"
        Me.txtAutoVATTotal.ReadOnly = True
        Me.txtAutoVATTotal.Size = New System.Drawing.Size(145, 21)
        Me.txtAutoVATTotal.TabIndex = 53
        Me.txtAutoVATTotal.TabStop = False
        Me.txtAutoVATTotal.Text = "0"
        Me.txtAutoVATTotal.TextAlign = System.Windows.Forms.HorizontalAlignment.Right
        '
        'Label12
        '
        Me.Label12.AutoSize = True
        Me.Label12.Dock = System.Windows.Forms.DockStyle.Fill
        Me.Label12.Location = New System.Drawing.Point(2, 25)
        Me.Label12.Margin = New System.Windows.Forms.Padding(1)
        Me.Label12.Name = "Label12"
        Me.Label12.Size = New System.Drawing.Size(133, 20)
        Me.Label12.TabIndex = 29
        Me.Label12.Text = "Sub Total"
        Me.Label12.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
        '
        'Label17
        '
        Me.Label17.AutoSize = True
        Me.Label17.Dock = System.Windows.Forms.DockStyle.Fill
        Me.Label17.Location = New System.Drawing.Point(2, 48)
        Me.Label17.Margin = New System.Windows.Forms.Padding(1)
        Me.Label17.Name = "Label17"
        Me.Label17.Size = New System.Drawing.Size(133, 20)
        Me.Label17.TabIndex = 31
        Me.Label17.Text = "Spl. Discount %"
        Me.Label17.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
        '
        'lable27
        '
        Me.lable27.AutoSize = True
        Me.lable27.Dock = System.Windows.Forms.DockStyle.Fill
        Me.lable27.Location = New System.Drawing.Point(2, 71)
        Me.lable27.Margin = New System.Windows.Forms.Padding(1)
        Me.lable27.Name = "lable27"
        Me.lable27.Size = New System.Drawing.Size(133, 20)
        Me.lable27.TabIndex = 36
        Me.lable27.Text = "Sales Tax Total"
        Me.lable27.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
        '
        'Label13
        '
        Me.Label13.AutoSize = True
        Me.Label13.Dock = System.Windows.Forms.DockStyle.Fill
        Me.Label13.Location = New System.Drawing.Point(2, 94)
        Me.Label13.Margin = New System.Windows.Forms.Padding(1)
        Me.Label13.Name = "Label13"
        Me.Label13.Size = New System.Drawing.Size(133, 22)
        Me.Label13.TabIndex = 30
        Me.Label13.Text = "Coolie"
        Me.Label13.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
        '
        'txtSplDiscountPerNNN
        '
        Me.txtSplDiscountPerNNN.Dock = System.Windows.Forms.DockStyle.Fill
        Me.txtSplDiscountPerNNN.Location = New System.Drawing.Point(138, 48)
        Me.txtSplDiscountPerNNN.Margin = New System.Windows.Forms.Padding(1)
        Me.txtSplDiscountPerNNN.MaxLength = 5
        Me.txtSplDiscountPerNNN.Name = "txtSplDiscountPerNNN"
        Me.txtSplDiscountPerNNN.Size = New System.Drawing.Size(88, 21)
        Me.txtSplDiscountPerNNN.TabIndex = 1
        Me.txtSplDiscountPerNNN.Text = "0"
        Me.txtSplDiscountPerNNN.TextAlign = System.Windows.Forms.HorizontalAlignment.Right
        '
        'txtSalesTaxPerNNN
        '
        Me.txtSalesTaxPerNNN.Dock = System.Windows.Forms.DockStyle.Fill
        Me.txtSalesTaxPerNNN.Enabled = False
        Me.txtSalesTaxPerNNN.Location = New System.Drawing.Point(138, 71)
        Me.txtSalesTaxPerNNN.Margin = New System.Windows.Forms.Padding(1)
        Me.txtSalesTaxPerNNN.MaxLength = 5
        Me.txtSalesTaxPerNNN.Name = "txtSalesTaxPerNNN"
        Me.txtSalesTaxPerNNN.Size = New System.Drawing.Size(88, 21)
        Me.txtSalesTaxPerNNN.TabIndex = 3
        Me.txtSalesTaxPerNNN.Text = "0"
        Me.txtSalesTaxPerNNN.TextAlign = System.Windows.Forms.HorizontalAlignment.Right
        Me.txtSalesTaxPerNNN.Visible = False
        '
        'txtCoolieNNN
        '
        Me.txtCoolieNNN.Dock = System.Windows.Forms.DockStyle.Fill
        Me.txtCoolieNNN.Location = New System.Drawing.Point(229, 94)
        Me.txtCoolieNNN.Margin = New System.Windows.Forms.Padding(1)
        Me.txtCoolieNNN.MaxLength = 10
        Me.txtCoolieNNN.Name = "txtCoolieNNN"
        Me.txtCoolieNNN.Size = New System.Drawing.Size(115, 21)
        Me.txtCoolieNNN.TabIndex = 5
        Me.txtCoolieNNN.Text = "0"
        Me.txtCoolieNNN.TextAlign = System.Windows.Forms.HorizontalAlignment.Right
        '
        'txtSalesTaxNNN
        '
        Me.txtSalesTaxNNN.Dock = System.Windows.Forms.DockStyle.Fill
        Me.txtSalesTaxNNN.Enabled = False
        Me.txtSalesTaxNNN.Location = New System.Drawing.Point(229, 71)
        Me.txtSalesTaxNNN.Margin = New System.Windows.Forms.Padding(1)
        Me.txtSalesTaxNNN.MaxLength = 10
        Me.txtSalesTaxNNN.Name = "txtSalesTaxNNN"
        Me.txtSalesTaxNNN.Size = New System.Drawing.Size(115, 21)
        Me.txtSalesTaxNNN.TabIndex = 4
        Me.txtSalesTaxNNN.Text = "0"
        Me.txtSalesTaxNNN.TextAlign = System.Windows.Forms.HorizontalAlignment.Right
        '
        'txtSplDiscountAmountNNN
        '
        Me.txtSplDiscountAmountNNN.Dock = System.Windows.Forms.DockStyle.Fill
        Me.txtSplDiscountAmountNNN.Location = New System.Drawing.Point(229, 48)
        Me.txtSplDiscountAmountNNN.Margin = New System.Windows.Forms.Padding(1)
        Me.txtSplDiscountAmountNNN.MaxLength = 10
        Me.txtSplDiscountAmountNNN.Name = "txtSplDiscountAmountNNN"
        Me.txtSplDiscountAmountNNN.Size = New System.Drawing.Size(115, 21)
        Me.txtSplDiscountAmountNNN.TabIndex = 2
        Me.txtSplDiscountAmountNNN.Text = "0"
        Me.txtSplDiscountAmountNNN.TextAlign = System.Windows.Forms.HorizontalAlignment.Right
        '
        'txtSubTotalNNN
        '
        Me.txtSubTotalNNN.Dock = System.Windows.Forms.DockStyle.Fill
        Me.txtSubTotalNNN.Location = New System.Drawing.Point(229, 25)
        Me.txtSubTotalNNN.Margin = New System.Windows.Forms.Padding(1)
        Me.txtSubTotalNNN.MaxLength = 10
        Me.txtSubTotalNNN.Name = "txtSubTotalNNN"
        Me.txtSubTotalNNN.Size = New System.Drawing.Size(115, 21)
        Me.txtSubTotalNNN.TabIndex = 0
        Me.txtSubTotalNNN.Text = "0"
        Me.txtSubTotalNNN.TextAlign = System.Windows.Forms.HorizontalAlignment.Right
        '
        'Label15
        '
        Me.Label15.AutoSize = True
        Me.Label15.Dock = System.Windows.Forms.DockStyle.Fill
        Me.Label15.Location = New System.Drawing.Point(347, 25)
        Me.Label15.Margin = New System.Windows.Forms.Padding(1)
        Me.Label15.Name = "Label15"
        Me.Label15.Size = New System.Drawing.Size(136, 20)
        Me.Label15.TabIndex = 33
        Me.Label15.Text = "Freight"
        Me.Label15.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
        '
        'Label16
        '
        Me.Label16.AutoSize = True
        Me.Label16.Dock = System.Windows.Forms.DockStyle.Fill
        Me.Label16.Location = New System.Drawing.Point(347, 48)
        Me.Label16.Margin = New System.Windows.Forms.Padding(1)
        Me.Label16.Name = "Label16"
        Me.Label16.Size = New System.Drawing.Size(136, 20)
        Me.Label16.TabIndex = 32
        Me.Label16.Text = "Duty / Excemption"
        Me.Label16.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
        Me.Label16.Visible = False
        '
        'Label19
        '
        Me.Label19.AutoSize = True
        Me.Label19.Dock = System.Windows.Forms.DockStyle.Fill
        Me.Label19.Location = New System.Drawing.Point(347, 71)
        Me.Label19.Margin = New System.Windows.Forms.Padding(1)
        Me.Label19.Name = "Label19"
        Me.Label19.Size = New System.Drawing.Size(136, 20)
        Me.Label19.TabIndex = 56
        Me.Label19.Text = "Adjust (+/-)"
        Me.Label19.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
        '
        'txtSaleBillAdjustmentNNN
        '
        Me.txtSaleBillAdjustmentNNN.Dock = System.Windows.Forms.DockStyle.Fill
        Me.txtSaleBillAdjustmentNNN.Location = New System.Drawing.Point(486, 71)
        Me.txtSaleBillAdjustmentNNN.Margin = New System.Windows.Forms.Padding(1)
        Me.txtSaleBillAdjustmentNNN.MaxLength = 10
        Me.txtSaleBillAdjustmentNNN.Name = "txtSaleBillAdjustmentNNN"
        Me.txtSaleBillAdjustmentNNN.Size = New System.Drawing.Size(117, 21)
        Me.txtSaleBillAdjustmentNNN.TabIndex = 9
        Me.txtSaleBillAdjustmentNNN.Text = "0"
        Me.txtSaleBillAdjustmentNNN.TextAlign = System.Windows.Forms.HorizontalAlignment.Right
        '
        'txtDutyNNN
        '
        Me.txtDutyNNN.Dock = System.Windows.Forms.DockStyle.Fill
        Me.txtDutyNNN.Location = New System.Drawing.Point(486, 48)
        Me.txtDutyNNN.Margin = New System.Windows.Forms.Padding(1)
        Me.txtDutyNNN.MaxLength = 10
        Me.txtDutyNNN.Name = "txtDutyNNN"
        Me.txtDutyNNN.Size = New System.Drawing.Size(117, 21)
        Me.txtDutyNNN.TabIndex = 8
        Me.txtDutyNNN.Text = "0"
        Me.txtDutyNNN.TextAlign = System.Windows.Forms.HorizontalAlignment.Right
        Me.txtDutyNNN.Visible = False
        '
        'txtFreightNNN
        '
        Me.txtFreightNNN.Dock = System.Windows.Forms.DockStyle.Fill
        Me.txtFreightNNN.Location = New System.Drawing.Point(486, 25)
        Me.txtFreightNNN.Margin = New System.Windows.Forms.Padding(1)
        Me.txtFreightNNN.MaxLength = 10
        Me.txtFreightNNN.Name = "txtFreightNNN"
        Me.txtFreightNNN.Size = New System.Drawing.Size(117, 21)
        Me.txtFreightNNN.TabIndex = 6
        Me.txtFreightNNN.Text = "0"
        Me.txtFreightNNN.TextAlign = System.Windows.Forms.HorizontalAlignment.Right
        '
        'Label22
        '
        Me.Label22.AutoSize = True
        Me.Label22.Dock = System.Windows.Forms.DockStyle.Fill
        Me.Label22.Location = New System.Drawing.Point(606, 25)
        Me.Label22.Margin = New System.Windows.Forms.Padding(1)
        Me.Label22.Name = "Label22"
        Me.Label22.Size = New System.Drawing.Size(98, 20)
        Me.Label22.TabIndex = 57
        Me.Label22.Text = "A/c"
        Me.Label22.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
        '
        'cboFreightAc
        '
        Me.cboFreightAc.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend
        Me.cboFreightAc.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems
        Me.TableLayoutPanel1.SetColumnSpan(Me.cboFreightAc, 4)
        Me.cboFreightAc.Dock = System.Windows.Forms.DockStyle.Fill
        Me.cboFreightAc.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
        Me.cboFreightAc.FormattingEnabled = True
        Me.cboFreightAc.Location = New System.Drawing.Point(707, 25)
        Me.cboFreightAc.Margin = New System.Windows.Forms.Padding(1)
        Me.cboFreightAc.Name = "cboFreightAc"
        Me.cboFreightAc.Size = New System.Drawing.Size(473, 21)
        Me.cboFreightAc.TabIndex = 7
        '
        'Label11
        '
        Me.Label11.AutoSize = True
        Me.Label11.Dock = System.Windows.Forms.DockStyle.Fill
        Me.Label11.Location = New System.Drawing.Point(606, 48)
        Me.Label11.Margin = New System.Windows.Forms.Padding(1)
        Me.Label11.Name = "Label11"
        Me.Label11.Size = New System.Drawing.Size(98, 20)
        Me.Label11.TabIndex = 50
        Me.Label11.Text = "Net Amount"
        Me.Label11.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
        '
        'lblTotalAmountWords
        '
        Me.lblTotalAmountWords.AutoSize = True
        Me.lblTotalAmountWords.BackColor = System.Drawing.Color.Yellow
        Me.TableLayoutPanel1.SetColumnSpan(Me.lblTotalAmountWords, 4)
        Me.lblTotalAmountWords.Dock = System.Windows.Forms.DockStyle.Fill
        Me.lblTotalAmountWords.Font = New System.Drawing.Font("Verdana", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.lblTotalAmountWords.Location = New System.Drawing.Point(707, 48)
        Me.lblTotalAmountWords.Margin = New System.Windows.Forms.Padding(1)
        Me.lblTotalAmountWords.Name = "lblTotalAmountWords"
        Me.lblTotalAmountWords.Size = New System.Drawing.Size(473, 20)
        Me.lblTotalAmountWords.TabIndex = 45
        Me.lblTotalAmountWords.Text = " "
        '
        'Label7
        '
        Me.Label7.AutoSize = True
        Me.Label7.Dock = System.Windows.Forms.DockStyle.Fill
        Me.Label7.Location = New System.Drawing.Point(606, 71)
        Me.Label7.Margin = New System.Windows.Forms.Padding(1)
        Me.Label7.Name = "Label7"
        Me.Label7.Size = New System.Drawing.Size(98, 20)
        Me.Label7.TabIndex = 24
        Me.Label7.Text = "Remarks"
        Me.Label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
        '
        'txtRemarks
        '
        Me.TableLayoutPanel1.SetColumnSpan(Me.txtRemarks, 4)
        Me.txtRemarks.Dock = System.Windows.Forms.DockStyle.Fill
        Me.txtRemarks.Location = New System.Drawing.Point(707, 71)
        Me.txtRemarks.Margin = New System.Windows.Forms.Padding(1)
        Me.txtRemarks.MaxLength = 1000
        Me.txtRemarks.Multiline = True
        Me.txtRemarks.Name = "txtRemarks"
        Me.TableLayoutPanel1.SetRowSpan(Me.txtRemarks, 3)
        Me.txtRemarks.ScrollBars = System.Windows.Forms.ScrollBars.Both
        Me.txtRemarks.Size = New System.Drawing.Size(473, 73)
        Me.txtRemarks.TabIndex = 11
        '
        'txtNetAmtNNN
        '
        Me.txtNetAmtNNN.Dock = System.Windows.Forms.DockStyle.Fill
        Me.txtNetAmtNNN.Location = New System.Drawing.Point(486, 119)
        Me.txtNetAmtNNN.Margin = New System.Windows.Forms.Padding(1)
        Me.txtNetAmtNNN.MaxLength = 10
        Me.txtNetAmtNNN.Name = "txtNetAmtNNN"
        Me.txtNetAmtNNN.Size = New System.Drawing.Size(117, 21)
        Me.txtNetAmtNNN.TabIndex = 10
        Me.txtNetAmtNNN.Text = "0"
        Me.txtNetAmtNNN.TextAlign = System.Windows.Forms.HorizontalAlignment.Right
        '
        'Label8
        '
        Me.Label8.AutoSize = True
        Me.Label8.Dock = System.Windows.Forms.DockStyle.Fill
        Me.Label8.Location = New System.Drawing.Point(347, 119)
        Me.Label8.Margin = New System.Windows.Forms.Padding(1)
        Me.Label8.Name = "Label8"
        Me.Label8.Size = New System.Drawing.Size(136, 25)
        Me.Label8.TabIndex = 27
        Me.Label8.Text = "Net Amount"
        Me.Label8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
        '
        'btnRoundUp
        '
        Me.btnRoundUp.Dock = System.Windows.Forms.DockStyle.Fill
        Me.btnRoundUp.Location = New System.Drawing.Point(347, 94)
        Me.btnRoundUp.Margin = New System.Windows.Forms.Padding(1)
        Me.btnRoundUp.Name = "btnRoundUp"
        Me.btnRoundUp.Size = New System.Drawing.Size(136, 22)
        Me.btnRoundUp.TabIndex = 59
        Me.btnRoundUp.Text = "Round &Up"
        Me.btnRoundUp.UseVisualStyleBackColor = True
        '
        'btnRoundDown
        '
        Me.btnRoundDown.Dock = System.Windows.Forms.DockStyle.Fill
        Me.btnRoundDown.Location = New System.Drawing.Point(486, 94)
        Me.btnRoundDown.Margin = New System.Windows.Forms.Padding(1)
        Me.btnRoundDown.Name = "btnRoundDown"
        Me.btnRoundDown.Size = New System.Drawing.Size(117, 22)
        Me.btnRoundDown.TabIndex = 60
        Me.btnRoundDown.Text = "Round Do&wn"
        Me.btnRoundDown.UseVisualStyleBackColor = True
        '
        'Panel2
        '
        Me.Panel2.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
                    Or System.Windows.Forms.AnchorStyles.Left) _
                    Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
        Me.Panel2.BackColor = System.Drawing.Color.Transparent
        Me.Panel2.Controls.Add(Me.dgSalesDetailsMMM)
        Me.Panel2.Location = New System.Drawing.Point(0, 75)
        Me.Panel2.Name = "Panel2"
        Me.Panel2.Size = New System.Drawing.Size(1182, 365)
        Me.Panel2.TabIndex = 1
        '
        'dgSalesDetailsMMM
        '
        Me.dgSalesDetailsMMM.AllowDrop = True
        Me.dgSalesDetailsMMM.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
        Me.dgSalesDetailsMMM.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.[Single]
        DataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter
        DataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control
        DataGridViewCellStyle1.Font = New System.Drawing.Font("Verdana", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        DataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText
        DataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight
        DataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText
        Me.dgSalesDetailsMMM.ColumnHeadersDefaultCellStyle = DataGridViewCellStyle1
        Me.dgSalesDetailsMMM.ColumnHeadersHeight = 75
        Me.dgSalesDetailsMMM.Columns.AddRange(New System.Windows.Forms.DataGridViewColumn() {Me.dgcolSalesDetailsSnoNNN, Me.dgcolItemBarCode, Me.dgcboItemNameMMM, Me.dgcboMainUnit, Me.dgcolItemMainQtyNNN, Me.dgcolItemSalesRateMainQtyExclVATNNN, Me.dgcboSubUnit, Me.dgcolItemSubQtyNNN, Me.dgcolItemSalesRateSubQtyExclVATNNN, Me.dgcolItemSalesDiscAmountNNN, Me.dgcboItemSalesVATper, Me.dgcolItemSalesVATAmountNNN, Me.dgcolItemSalesRateMainQtyInclVATNNN, Me.dgcolItemSalesRateSubQtyInclVATNNN, Me.dgcolItemSalesAmountNNN, Me.dgcolItemSalesToFindInclVATPercentNNN, Me.dgcolItemSalesToFindInclDiscPercentNNN, Me.dgcolItemSalesDiscPerNNN, Me.dgcolMainUnitRatioNNN, Me.dgcolSubUnitRatioNNN, Me.dgcolGroupLedgerCodeSalesStock, Me.dgcolLedgerCodeSalesStock, Me.dgcolItemSalesVATperNNN})
        DataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
        DataGridViewCellStyle19.BackColor = System.Drawing.SystemColors.Window
        DataGridViewCellStyle19.Font = New System.Drawing.Font("Verdana", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        DataGridViewCellStyle19.ForeColor = System.Drawing.SystemColors.ControlText
        DataGridViewCellStyle19.SelectionBackColor = System.Drawing.SystemColors.Highlight
        DataGridViewCellStyle19.SelectionForeColor = System.Drawing.SystemColors.HighlightText
        DataGridViewCellStyle19.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
        Me.dgSalesDetailsMMM.DefaultCellStyle = DataGridViewCellStyle19
        Me.dgSalesDetailsMMM.Dock = System.Windows.Forms.DockStyle.Fill
        Me.dgSalesDetailsMMM.Location = New System.Drawing.Point(0, 0)
        Me.dgSalesDetailsMMM.Name = "dgSalesDetailsMMM"
        DataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
        DataGridViewCellStyle20.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(128, Byte), Integer), CType(CType(0, Byte), Integer))
        DataGridViewCellStyle20.Font = New System.Drawing.Font("Verdana", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        DataGridViewCellStyle20.ForeColor = System.Drawing.SystemColors.WindowText
        DataGridViewCellStyle20.SelectionBackColor = System.Drawing.SystemColors.Highlight
        DataGridViewCellStyle20.SelectionForeColor = System.Drawing.SystemColors.HighlightText
        DataGridViewCellStyle20.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
        Me.dgSalesDetailsMMM.RowHeadersDefaultCellStyle = DataGridViewCellStyle20
        Me.dgSalesDetailsMMM.RowHeadersWidth = 40
        Me.dgSalesDetailsMMM.ShowCellErrors = False
        Me.dgSalesDetailsMMM.ShowRowErrors = False
        Me.dgSalesDetailsMMM.Size = New System.Drawing.Size(1182, 365)
        Me.dgSalesDetailsMMM.TabIndex = 0
        '
        'dgcolSalesDetailsSnoNNN
        '
        DataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
        Me.dgcolSalesDetailsSnoNNN.DefaultCellStyle = DataGridViewCellStyle2
        Me.dgcolSalesDetailsSnoNNN.FillWeight = 0.344024!
        Me.dgcolSalesDetailsSnoNNN.HeaderText = "Sno"
        Me.dgcolSalesDetailsSnoNNN.MaxInputLength = 4
        Me.dgcolSalesDetailsSnoNNN.Name = "dgcolSalesDetailsSnoNNN"
        Me.dgcolSalesDetailsSnoNNN.ReadOnly = True
        Me.dgcolSalesDetailsSnoNNN.Visible = False
        '
        'dgcolItemBarCode
        '
        Me.dgcolItemBarCode.FillWeight = 0.688048!
        Me.dgcolItemBarCode.HeaderText = "Item Bar Code"
        Me.dgcolItemBarCode.MaxInputLength = 30
        Me.dgcolItemBarCode.Name = "dgcolItemBarCode"
        '
        'dgcboItemNameMMM
        '
        Me.dgcboItemNameMMM.DropDownWidth = 4
        Me.dgcboItemNameMMM.FillWeight = 2.5!
        Me.dgcboItemNameMMM.HeaderText = "Item Name"
        Me.dgcboItemNameMMM.MaxDropDownItems = 40
        Me.dgcboItemNameMMM.MinimumWidth = 2
        Me.dgcboItemNameMMM.Name = "dgcboItemNameMMM"
        '
        'dgcboMainUnit
        '
        Me.dgcboMainUnit.FillWeight = 0.688048!
        Me.dgcboMainUnit.HeaderText = "Main Unit"
        Me.dgcboMainUnit.Items.AddRange(New Object() {"Nos", "Kgs", "Ltr", "Sheet", "Meter", "Set"})
        Me.dgcboMainUnit.Name = "dgcboMainUnit"
        Me.dgcboMainUnit.ReadOnly = True
        '
        'dgcolItemMainQtyNNN
        '
        DataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight
        DataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(CType(CType(128, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(128, Byte), Integer))
        DataGridViewCellStyle3.Format = "N2"
        DataGridViewCellStyle3.NullValue = "0.00"
        Me.dgcolItemMainQtyNNN.DefaultCellStyle = DataGridViewCellStyle3
        Me.dgcolItemMainQtyNNN.FillWeight = 0.7!
        Me.dgcolItemMainQtyNNN.HeaderText = "Main Qty"
        Me.dgcolItemMainQtyNNN.MaxInputLength = 10
        Me.dgcolItemMainQtyNNN.Name = "dgcolItemMainQtyNNN"
        '
        'dgcolItemSalesRateMainQtyExclVATNNN
        '
        DataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight
        DataGridViewCellStyle4.Format = "N2"
        DataGridViewCellStyle4.NullValue = "0.00"
        Me.dgcolItemSalesRateMainQtyExclVATNNN.DefaultCellStyle = DataGridViewCellStyle4
        Me.dgcolItemSalesRateMainQtyExclVATNNN.FillWeight = 0.7!
        Me.dgcolItemSalesRateMainQtyExclVATNNN.HeaderText = "Sale Rate Main Qty  / Pcs (Excl.VAT)"
        Me.dgcolItemSalesRateMainQtyExclVATNNN.MaxInputLength = 10
        Me.dgcolItemSalesRateMainQtyExclVATNNN.Name = "dgcolItemSalesRateMainQtyExclVATNNN"
        '
        'dgcboSubUnit
        '
        Me.dgcboSubUnit.FillWeight = 0.7!
        Me.dgcboSubUnit.HeaderText = "Sub Unit"
        Me.dgcboSubUnit.Name = "dgcboSubUnit"
        Me.dgcboSubUnit.ReadOnly = True
        Me.dgcboSubUnit.Resizable = System.Windows.Forms.DataGridViewTriState.[True]
        Me.dgcboSubUnit.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic
        '
        'dgcolItemSubQtyNNN
        '
        DataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight
        DataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(CType(CType(128, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(128, Byte), Integer))
        DataGridViewCellStyle5.Format = "N2"
        DataGridViewCellStyle5.NullValue = "0.00"
        Me.dgcolItemSubQtyNNN.DefaultCellStyle = DataGridViewCellStyle5
        Me.dgcolItemSubQtyNNN.FillWeight = 0.7!
        Me.dgcolItemSubQtyNNN.HeaderText = "Sub Qty"
        Me.dgcolItemSubQtyNNN.MaxInputLength = 10
        Me.dgcolItemSubQtyNNN.Name = "dgcolItemSubQtyNNN"
        '
        'dgcolItemSalesRateSubQtyExclVATNNN
        '
        DataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight
        DataGridViewCellStyle6.Format = "N2"
        DataGridViewCellStyle6.NullValue = "0.00"
        Me.dgcolItemSalesRateSubQtyExclVATNNN.DefaultCellStyle = DataGridViewCellStyle6
        Me.dgcolItemSalesRateSubQtyExclVATNNN.FillWeight = 0.7!
        Me.dgcolItemSalesRateSubQtyExclVATNNN.HeaderText = "Sale Rate Sub Qty  / Pcs (Excl.VAT)"
        Me.dgcolItemSalesRateSubQtyExclVATNNN.MaxInputLength = 10
        Me.dgcolItemSalesRateSubQtyExclVATNNN.Name = "dgcolItemSalesRateSubQtyExclVATNNN"
        '
        'dgcolItemSalesDiscAmountNNN
        '
        DataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight
        DataGridViewCellStyle7.Format = "N2"
        DataGridViewCellStyle7.NullValue = "0.00"
        Me.dgcolItemSalesDiscAmountNNN.DefaultCellStyle = DataGridViewCellStyle7
        Me.dgcolItemSalesDiscAmountNNN.FillWeight = 0.55!
        Me.dgcolItemSalesDiscAmountNNN.HeaderText = "Sale Disc Amount"
        Me.dgcolItemSalesDiscAmountNNN.MaxInputLength = 10
        Me.dgcolItemSalesDiscAmountNNN.Name = "dgcolItemSalesDiscAmountNNN"
        '
        'dgcboItemSalesVATper
        '
        DataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
        DataGridViewCellStyle8.BackColor = System.Drawing.Color.FromArgb(CType(CType(128, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(128, Byte), Integer))
        Me.dgcboItemSalesVATper.DefaultCellStyle = DataGridViewCellStyle8
        Me.dgcboItemSalesVATper.FillWeight = 0.5!
        Me.dgcboItemSalesVATper.HeaderText = "Sale VAT%"
        Me.dgcboItemSalesVATper.MinimumWidth = 2
        Me.dgcboItemSalesVATper.Name = "dgcboItemSalesVATper"
        Me.dgcboItemSalesVATper.Resizable = System.Windows.Forms.DataGridViewTriState.[True]
        Me.dgcboItemSalesVATper.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic
        '
        'dgcolItemSalesVATAmountNNN
        '
        DataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight
        DataGridViewCellStyle9.Format = "N2"
        DataGridViewCellStyle9.NullValue = "0.00"
        Me.dgcolItemSalesVATAmountNNN.DefaultCellStyle = DataGridViewCellStyle9
        Me.dgcolItemSalesVATAmountNNN.FillWeight = 0.55!
        Me.dgcolItemSalesVATAmountNNN.HeaderText = "Sale VAT Amount"
        Me.dgcolItemSalesVATAmountNNN.MaxInputLength = 10
        Me.dgcolItemSalesVATAmountNNN.Name = "dgcolItemSalesVATAmountNNN"
        '
        'dgcolItemSalesRateMainQtyInclVATNNN
        '
        DataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight
        DataGridViewCellStyle10.Format = "N2"
        DataGridViewCellStyle10.NullValue = "0.00"
        Me.dgcolItemSalesRateMainQtyInclVATNNN.DefaultCellStyle = DataGridViewCellStyle10
        Me.dgcolItemSalesRateMainQtyInclVATNNN.FillWeight = 0.7!
        Me.dgcolItemSalesRateMainQtyInclVATNNN.HeaderText = "Sale Rate Main Qty / Pcs (Incl.VAT)"
        Me.dgcolItemSalesRateMainQtyInclVATNNN.MaxInputLength = 10
        Me.dgcolItemSalesRateMainQtyInclVATNNN.Name = "dgcolItemSalesRateMainQtyInclVATNNN"
        Me.dgcolItemSalesRateMainQtyInclVATNNN.Visible = False
        '
        'dgcolItemSalesRateSubQtyInclVATNNN
        '
        DataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight
        DataGridViewCellStyle11.Format = "N2"
        DataGridViewCellStyle11.NullValue = "0.00"
        Me.dgcolItemSalesRateSubQtyInclVATNNN.DefaultCellStyle = DataGridViewCellStyle11
        Me.dgcolItemSalesRateSubQtyInclVATNNN.FillWeight = 0.7!
        Me.dgcolItemSalesRateSubQtyInclVATNNN.HeaderText = "Sale Rate Sub Qty  / Pcs (Incl.VAT)"
        Me.dgcolItemSalesRateSubQtyInclVATNNN.MaxInputLength = 10
        Me.dgcolItemSalesRateSubQtyInclVATNNN.Name = "dgcolItemSalesRateSubQtyInclVATNNN"
        Me.dgcolItemSalesRateSubQtyInclVATNNN.Visible = False
        '
        'dgcolItemSalesAmountNNN
        '
        DataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight
        DataGridViewCellStyle12.BackColor = System.Drawing.Color.FromArgb(CType(CType(128, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(128, Byte), Integer))
        DataGridViewCellStyle12.Format = "N2"
        DataGridViewCellStyle12.NullValue = "0.00"
        Me.dgcolItemSalesAmountNNN.DefaultCellStyle = DataGridViewCellStyle12
        Me.dgcolItemSalesAmountNNN.FillWeight = 0.7!
        Me.dgcolItemSalesAmountNNN.HeaderText = "Sale Amount (Incl.VAT)"
        Me.dgcolItemSalesAmountNNN.MaxInputLength = 10
        Me.dgcolItemSalesAmountNNN.Name = "dgcolItemSalesAmountNNN"
        '
        'dgcolItemSalesToFindInclVATPercentNNN
        '
        DataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight
        DataGridViewCellStyle13.Format = "N2"
        DataGridViewCellStyle13.NullValue = "0.00"
        Me.dgcolItemSalesToFindInclVATPercentNNN.DefaultCellStyle = DataGridViewCellStyle13
        Me.dgcolItemSalesToFindInclVATPercentNNN.FillWeight = 0.5!
        Me.dgcolItemSalesToFindInclVATPercentNNN.HeaderText = "Sale To Find Incl VAT %"
        Me.dgcolItemSalesToFindInclVATPercentNNN.MaxInputLength = 10
        Me.dgcolItemSalesToFindInclVATPercentNNN.Name = "dgcolItemSalesToFindInclVATPercentNNN"
        Me.dgcolItemSalesToFindInclVATPercentNNN.ReadOnly = True
        Me.dgcolItemSalesToFindInclVATPercentNNN.Visible = False
        '
        'dgcolItemSalesToFindInclDiscPercentNNN
        '
        DataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight
        DataGridViewCellStyle14.Format = "N2"
        DataGridViewCellStyle14.NullValue = "0.00"
        Me.dgcolItemSalesToFindInclDiscPercentNNN.DefaultCellStyle = DataGridViewCellStyle14
        Me.dgcolItemSalesToFindInclDiscPercentNNN.FillWeight = 0.5!
        Me.dgcolItemSalesToFindInclDiscPercentNNN.HeaderText = "Sale To Find Inc Disc %"
        Me.dgcolItemSalesToFindInclDiscPercentNNN.MaxInputLength = 10
        Me.dgcolItemSalesToFindInclDiscPercentNNN.Name = "dgcolItemSalesToFindInclDiscPercentNNN"
        Me.dgcolItemSalesToFindInclDiscPercentNNN.Visible = False
        '
        'dgcolItemSalesDiscPerNNN
        '
        DataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight
        DataGridViewCellStyle15.Format = "N2"
        DataGridViewCellStyle15.NullValue = "0.00"
        Me.dgcolItemSalesDiscPerNNN.DefaultCellStyle = DataGridViewCellStyle15
        Me.dgcolItemSalesDiscPerNNN.FillWeight = 0.5!
        Me.dgcolItemSalesDiscPerNNN.HeaderText = "Sale Disc.% / Pcs"
        Me.dgcolItemSalesDiscPerNNN.MaxInputLength = 10
        Me.dgcolItemSalesDiscPerNNN.Name = "dgcolItemSalesDiscPerNNN"
        Me.dgcolItemSalesDiscPerNNN.Visible = False
        '
        'dgcolMainUnitRatioNNN
        '
        DataGridViewCellStyle16.Format = "N5"
        DataGridViewCellStyle16.NullValue = "0.00000"
        Me.dgcolMainUnitRatioNNN.DefaultCellStyle = DataGridViewCellStyle16
        Me.dgcolMainUnitRatioNNN.HeaderText = "Main Unit Ratio"
        Me.dgcolMainUnitRatioNNN.MaxInputLength = 30
        Me.dgcolMainUnitRatioNNN.Name = "dgcolMainUnitRatioNNN"
        Me.dgcolMainUnitRatioNNN.Visible = False
        '
        'dgcolSubUnitRatioNNN
        '
        DataGridViewCellStyle17.Format = "N5"
        DataGridViewCellStyle17.NullValue = "0.00000"
        Me.dgcolSubUnitRatioNNN.DefaultCellStyle = DataGridViewCellStyle17
        Me.dgcolSubUnitRatioNNN.HeaderText = "Sub Unit Ratio"
        Me.dgcolSubUnitRatioNNN.MaxInputLength = 30
        Me.dgcolSubUnitRatioNNN.Name = "dgcolSubUnitRatioNNN"
        Me.dgcolSubUnitRatioNNN.Visible = False
        '
        'dgcolGroupLedgerCodeSalesStock
        '
        Me.dgcolGroupLedgerCodeSalesStock.HeaderText = "GroupLedgerCodeSalesStock"
        Me.dgcolGroupLedgerCodeSalesStock.Name = "dgcolGroupLedgerCodeSalesStock"
        Me.dgcolGroupLedgerCodeSalesStock.Visible = False
        '
        'dgcolLedgerCodeSalesStock
        '
        Me.dgcolLedgerCodeSalesStock.HeaderText = "LedgerCodeSalesStock"
        Me.dgcolLedgerCodeSalesStock.Name = "dgcolLedgerCodeSalesStock"
        Me.dgcolLedgerCodeSalesStock.Visible = False
        '
        'dgcolItemSalesVATperNNN
        '
        DataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight
        DataGridViewCellStyle18.BackColor = System.Drawing.Color.FromArgb(CType(CType(128, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(128, Byte), Integer))
        DataGridViewCellStyle18.Format = "N2"
        DataGridViewCellStyle18.NullValue = "0.00"
        Me.dgcolItemSalesVATperNNN.DefaultCellStyle = DataGridViewCellStyle18
        Me.dgcolItemSalesVATperNNN.FillWeight = 0.4816336!
        Me.dgcolItemSalesVATperNNN.HeaderText = "Sale VAT%"
        Me.dgcolItemSalesVATperNNN.MaxInputLength = 6
        Me.dgcolItemSalesVATperNNN.Name = "dgcolItemSalesVATperNNN"
        Me.dgcolItemSalesVATperNNN.Visible = False
        '
        'Panel1
        '
        Me.Panel1.BackColor = System.Drawing.Color.Transparent
        Me.Panel1.Controls.Add(Me.TableLayoutPanel2)
        Me.Panel1.Dock = System.Windows.Forms.DockStyle.Top
        Me.Panel1.Location = New System.Drawing.Point(0, 33)
        Me.Panel1.Name = "Panel1"
        Me.Panel1.Size = New System.Drawing.Size(1182, 42)
        Me.Panel1.TabIndex = 0
        '
        'TableLayoutPanel2
        '
        Me.TableLayoutPanel2.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
                    Or System.Windows.Forms.AnchorStyles.Left) _
                    Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
        Me.TableLayoutPanel2.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.[Single]
        Me.TableLayoutPanel2.ColumnCount = 10
        Me.TableLayoutPanel2.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 2.624894!))
        Me.TableLayoutPanel2.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 7.705335!))
        Me.TableLayoutPanel2.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 2.876481!))
        Me.TableLayoutPanel2.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 11.75973!))
        Me.TableLayoutPanel2.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 4.064352!))
        Me.TableLayoutPanel2.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 10.07621!))
        Me.TableLayoutPanel2.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 7.19729!))
        Me.TableLayoutPanel2.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 34.88569!))
        Me.TableLayoutPanel2.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 2.455546!))
        Me.TableLayoutPanel2.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 15.66469!))
        Me.TableLayoutPanel2.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20.0!))
        Me.TableLayoutPanel2.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20.0!))
        Me.TableLayoutPanel2.Controls.Add(Me.Label14, 0, 0)
        Me.TableLayoutPanel2.Controls.Add(Me.cboPaymentMode, 9, 0)
        Me.TableLayoutPanel2.Controls.Add(Me.Label20, 8, 0)
        Me.TableLayoutPanel2.Controls.Add(Me.txtSalesSno, 1, 0)
        Me.TableLayoutPanel2.Controls.Add(Me.Label10, 2, 0)
        Me.TableLayoutPanel2.Controls.Add(Me.txtCustomerBillNo, 3, 0)
        Me.TableLayoutPanel2.Controls.Add(Me.Label9, 6, 0)
        Me.TableLayoutPanel2.Controls.Add(Me.Label5, 4, 0)
        Me.TableLayoutPanel2.Controls.Add(Me.cboCustomerMMM, 7, 0)
        Me.TableLayoutPanel2.Controls.Add(Me.dtpCustomerBillDate, 5, 0)
        Me.TableLayoutPanel2.Location = New System.Drawing.Point(0, 0)
        Me.TableLayoutPanel2.Name = "TableLayoutPanel2"
        Me.TableLayoutPanel2.RowCount = 1
        Me.TableLayoutPanel2.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100.0!))
        Me.TableLayoutPanel2.Size = New System.Drawing.Size(1182, 42)
        Me.TableLayoutPanel2.TabIndex = 0
        '
        'frmSales
        '
        Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 13.0!)
        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
        Me.BackColor = System.Drawing.Color.LightGreen
        Me.CancelButton = Me.btnExit
        Me.ClientSize = New System.Drawing.Size(1182, 778)
        Me.Controls.Add(Me.Panel2)
        Me.Controls.Add(Me.Panel1)
        Me.Controls.Add(Me.Panel3)
        Me.Controls.Add(Me.Panel0)
        Me.Controls.Add(Me.Panel4)
        Me.Controls.Add(Me.Panel5)
        Me.Font = New System.Drawing.Font("Verdana", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Name = "frmSales"
        Me.Text = "Sales"
        Me.Panel5.ResumeLayout(False)
        Me.GroupBox2.ResumeLayout(False)
        CType(Me.dgSalesMast, System.ComponentModel.ISupportInitialize).EndInit()
        Me.Panel4.ResumeLayout(False)
        Me.FlowLayoutPanel1.ResumeLayout(False)
        Me.Panel0.ResumeLayout(False)
        Me.Panel0.PerformLayout()
        Me.Panel3.ResumeLayout(False)
        Me.TableLayoutPanel1.ResumeLayout(False)
        Me.TableLayoutPanel1.PerformLayout()
        Me.Panel2.ResumeLayout(False)
        CType(Me.dgSalesDetailsMMM, System.ComponentModel.ISupportInitialize).EndInit()
        Me.Panel1.ResumeLayout(False)
        Me.TableLayoutPanel2.ResumeLayout(False)
        Me.TableLayoutPanel2.PerformLayout()
        Me.ResumeLayout(False)

    End Sub
    Friend WithEvents Panel5 As System.Windows.Forms.Panel
    Friend WithEvents Panel4 As System.Windows.Forms.Panel
    Friend WithEvents Panel0 As System.Windows.Forms.Panel
    Friend WithEvents Panel3 As System.Windows.Forms.Panel
    Friend WithEvents Panel2 As System.Windows.Forms.Panel
    Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox
    Friend WithEvents dgSalesMast As System.Windows.Forms.DataGridView
    Friend WithEvents FlowLayoutPanel1 As System.Windows.Forms.FlowLayoutPanel
    Friend WithEvents btnNew As DotNetSkin.SkinControls.SkinButton
    Friend WithEvents btnEdit As DotNetSkin.SkinControls.SkinButton
    Friend WithEvents btnSave As DotNetSkin.SkinControls.SkinButton
    Friend WithEvents btnUpdate As DotNetSkin.SkinControls.SkinButton
    Friend WithEvents btnConfirm As DotNetSkin.SkinControls.SkinButton
    Friend WithEvents btnView As DotNetSkin.SkinControls.SkinButton
    Friend WithEvents btnCancel As DotNetSkin.SkinControls.SkinButton
    Friend WithEvents btnDelete As DotNetSkin.SkinControls.SkinButton
    Friend WithEvents btnExit As DotNetSkin.SkinControls.SkinButton
    Friend WithEvents Panel1 As System.Windows.Forms.Panel
    Friend WithEvents cboFreightAc As System.Windows.Forms.ComboBox
    Friend WithEvents Label22 As System.Windows.Forms.Label
    Friend WithEvents lblTotalMainQty As System.Windows.Forms.Label
    Friend WithEvents txtSaleBillAdjustmentNNN As System.Windows.Forms.TextBox
    Friend WithEvents Label19 As System.Windows.Forms.Label
    Friend WithEvents txtSplDiscountPerNNN As System.Windows.Forms.TextBox
    Friend WithEvents txtSplDiscountAmountNNN As System.Windows.Forms.TextBox
    Friend WithEvents txtAutoVATTotal As System.Windows.Forms.TextBox
    Friend WithEvents txtAutoDiscountTotal As System.Windows.Forms.TextBox
    Friend WithEvents Label11 As System.Windows.Forms.Label
    Friend WithEvents Label6 As System.Windows.Forms.Label
    Friend WithEvents lblTotalSubQty As System.Windows.Forms.Label
    Friend WithEvents lblTotalItems As System.Windows.Forms.Label
    Friend WithEvents lblTotalAmountWords As System.Windows.Forms.Label
    Friend WithEvents txtDutyNNN As System.Windows.Forms.TextBox
    Friend WithEvents txtFreightNNN As System.Windows.Forms.TextBox
    Friend WithEvents txtSalesTaxPerNNN As System.Windows.Forms.TextBox
    Friend WithEvents txtSalesTaxNNN As System.Windows.Forms.TextBox
    Friend WithEvents txtCoolieNNN As System.Windows.Forms.TextBox
    Friend WithEvents Label13 As System.Windows.Forms.Label
    Friend WithEvents Label17 As System.Windows.Forms.Label
    Friend WithEvents txtSubTotalNNN As System.Windows.Forms.TextBox
    Friend WithEvents Label12 As System.Windows.Forms.Label
    Friend WithEvents lable27 As System.Windows.Forms.Label
    Friend WithEvents txtRemarks As System.Windows.Forms.TextBox
    Friend WithEvents txtNetAmtNNN As System.Windows.Forms.TextBox
    Friend WithEvents Label16 As System.Windows.Forms.Label
    Friend WithEvents Label15 As System.Windows.Forms.Label
    Friend WithEvents Label8 As System.Windows.Forms.Label
    Friend WithEvents Label18 As System.Windows.Forms.Label
    Friend WithEvents Label7 As System.Windows.Forms.Label
    Friend WithEvents Label3 As System.Windows.Forms.Label
    Friend WithEvents Label21 As System.Windows.Forms.Label
    Friend WithEvents Label2 As System.Windows.Forms.Label
    Friend WithEvents cboPaymentMode As System.Windows.Forms.ComboBox
    Friend WithEvents cboCustomerMMM As System.Windows.Forms.ComboBox
    Friend WithEvents dtpCustomerBillDate As System.Windows.Forms.DateTimePicker
    Friend WithEvents Label14 As System.Windows.Forms.Label
    Friend WithEvents txtSalesSno As System.Windows.Forms.TextBox
    Friend WithEvents txtCustomerBillNo As System.Windows.Forms.TextBox
    Friend WithEvents Label20 As System.Windows.Forms.Label
    Friend WithEvents Label10 As System.Windows.Forms.Label
    Friend WithEvents Label9 As System.Windows.Forms.Label
    Friend WithEvents Label5 As System.Windows.Forms.Label
    Friend WithEvents txtSearch As System.Windows.Forms.TextBox
    Friend WithEvents btnPrint As DotNetSkin.SkinControls.SkinButton
    Friend WithEvents lblSearch As System.Windows.Forms.Label
    Friend WithEvents TableLayoutPanel1 As System.Windows.Forms.TableLayoutPanel
    Friend WithEvents TableLayoutPanel2 As System.Windows.Forms.TableLayoutPanel
    Friend WithEvents dgSalesDetailsMMM As System.Windows.Forms.DataGridView
    Friend WithEvents btnRoundUp As DotNetSkin.SkinControls.SkinButton
    Friend WithEvents btnRoundDown As DotNetSkin.SkinControls.SkinButton
    Friend WithEvents dgcolSalesDetailsSnoNNN As System.Windows.Forms.DataGridViewTextBoxColumn
    Friend WithEvents dgcolItemBarCode As System.Windows.Forms.DataGridViewTextBoxColumn
    Friend WithEvents dgcboItemNameMMM As System.Windows.Forms.DataGridViewComboBoxColumn
    Friend WithEvents dgcboMainUnit As System.Windows.Forms.DataGridViewComboBoxColumn
    Friend WithEvents dgcolItemMainQtyNNN As System.Windows.Forms.DataGridViewTextBoxColumn
    Friend WithEvents dgcolItemSalesRateMainQtyExclVATNNN As System.Windows.Forms.DataGridViewTextBoxColumn
    Friend WithEvents dgcboSubUnit As System.Windows.Forms.DataGridViewComboBoxColumn
    Friend WithEvents dgcolItemSubQtyNNN As System.Windows.Forms.DataGridViewTextBoxColumn
    Friend WithEvents dgcolItemSalesRateSubQtyExclVATNNN As System.Windows.Forms.DataGridViewTextBoxColumn
    Friend WithEvents dgcolItemSalesDiscAmountNNN As System.Windows.Forms.DataGridViewTextBoxColumn
    Friend WithEvents dgcboItemSalesVATper As System.Windows.Forms.DataGridViewComboBoxColumn
    Friend WithEvents dgcolItemSalesVATAmountNNN As System.Windows.Forms.DataGridViewTextBoxColumn
    Friend WithEvents dgcolItemSalesRateMainQtyInclVATNNN As System.Windows.Forms.DataGridViewTextBoxColumn
    Friend WithEvents dgcolItemSalesRateSubQtyInclVATNNN As System.Windows.Forms.DataGridViewTextBoxColumn
    Friend WithEvents dgcolItemSalesAmountNNN As System.Windows.Forms.DataGridViewTextBoxColumn
    Friend WithEvents dgcolItemSalesToFindInclVATPercentNNN As System.Windows.Forms.DataGridViewTextBoxColumn
    Friend WithEvents dgcolItemSalesToFindInclDiscPercentNNN As System.Windows.Forms.DataGridViewTextBoxColumn
    Friend WithEvents dgcolItemSalesDiscPerNNN As System.Windows.Forms.DataGridViewTextBoxColumn
    Friend WithEvents dgcolMainUnitRatioNNN As System.Windows.Forms.DataGridViewTextBoxColumn
    Friend WithEvents dgcolSubUnitRatioNNN As System.Windows.Forms.DataGridViewTextBoxColumn
    Friend WithEvents dgcolGroupLedgerCodeSalesStock As System.Windows.Forms.DataGridViewTextBoxColumn
    Friend WithEvents dgcolLedgerCodeSalesStock As System.Windows.Forms.DataGridViewTextBoxColumn
    Friend WithEvents dgcolItemSalesVATperNNN As System.Windows.Forms.DataGridViewTextBoxColumn

End Class



--------------

Regards,
B.Lakshmi Narayanan
Use Solutions
Tuticorin
+919940292099
www.usesolutions.net
usesolutions@yahoo.com
 
Share this answer
 
Comments
MCY 19-Dec-10 12:40pm    
ummm....what exactly does this code do? you do realize it is not c#?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900