public static void FromTextControls(AutoCompleteTextBox[] textBoxes,string[] textFieldNames,EMDataRow row) { for (int i=0;i<textBoxes.Length;i++) { // Don't apply an empty string over a null field if (row.IsNull(textFieldNames[i]) && textBoxes[i].Text.Length == 0) continue; row[textFieldNames[i]] = textBoxes[i].Text; } }
public static void FromDateControls(AutoCompleteTextBox[] dateBoxes,string[]dateFieldNames,EMDataRow row) { for (int i=0;i<dateBoxes.Length;i++) { if (dateBoxes[i].Text == "") { row[dateFieldNames[i]] = DBNull.Value; } else { row[dateFieldNames[i]] = dateBoxes[i].Text; } } }
void UpdateLocationCombo(object companyIDObj, AutoCompleteComboBox combo, object locationID,AutoCompleteTextBox address, AutoCompleteTextBox country, AutoCompleteComboBox contactCombo, object contactIDObj) { address.Text = ""; country.Text = ""; UpdateComboBoxesBasedOnCompany(companyIDObj, m_emDataSet.LocationTbl, "LocID", "LocName", locationID, combo); UpdateComboBoxesBasedOnCompany(companyIDObj, m_emDataSet.ContactsTbl, "ContactID", "LastName", contactIDObj, contactCombo); EMDataSet.LocationTblRow locationRow = null; if (!(locationID is DBNull)) locationRow = m_emDataSet.LocationTbl.FindByLocID((int)locationID); if (locationRow!=null) { address.Text = locationRow.Address; country.Text = locationRow.CountryTblRow.CountryName; } }
private void OnLocationChanged(EMDataSet dataSet,AutoCompleteComboBox box, AutoCompleteTextBox addressEdt,AutoCompleteTextBox countryEdt, AutoCompleteComboBox companyCombo) { int locationID = ((TaggedItem)box.SelectedItem).key; EMDataSet.LocationTblRow row = dataSet.LocationTbl.FindByLocID(locationID); int countryID = row.CountryID; EMDataSet.CountryTblRow countryRow = dataSet.CountryTbl.FindByCountryID(countryID); addressEdt.Text = row.Address; countryEdt.Text = countryRow.CountryName; box.Text = row.LocName; }
private void OnContactChanged(EMDataSet dataSet,AutoCompleteComboBox box,AutoCompleteTextBox contactEdt, AutoCompleteTextBox phoneEdt,AutoCompleteTextBox faxEdt,AutoCompleteTextBox emailEdt) { TaggedItem item = (TaggedItem)box.SelectedItem; int contactsID = item.key; EMDataSet.ContactsTblRow row = dataSet.ContactsTbl.FindByContactID(contactsID); contactEdt.Text = row.FirstName + " " + row.LastName; phoneEdt.Text = row.Phone; faxEdt.Text = row.Fax; emailEdt.Text = row.EMail; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.label1 = new System.Windows.Forms.Label(); this.m_statusCombo = new EM.AutoCompleteComboBox(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.m_dateEdt = new EM.AutoCompleteTextBox(); this.m_dateBtn = new System.Windows.Forms.Button(); this.m_shipCodeCombo = new EM.AutoCompleteComboBox(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.m_fobEdt = new EM.AutoCompleteTextBox(); this.label6 = new System.Windows.Forms.Label(); this.m_termsCombo = new EM.AutoCompleteComboBox(); this.label7 = new System.Windows.Forms.Label(); this.m_exchangeRateEdt = new EM.AutoCompleteTextBox(); this.label8 = new System.Windows.Forms.Label(); this.m_cancelDateEdt = new EM.AutoCompleteTextBox(); this.m_cancelDateBtn = new System.Windows.Forms.Button(); this.m_commentEdt = new EM.AutoCompleteTextBox(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.btnApplyConfirmationToEntirePO = new System.Windows.Forms.CheckBox(); this.invoiceGroup = new System.Windows.Forms.GroupBox(); this.invoiceEdt = new EM.AutoCompleteTextBox(); this.label30 = new System.Windows.Forms.Label(); this.label28 = new System.Windows.Forms.Label(); this.invoiceDateEdt = new EM.AutoCompleteTextBox(); this.invoiceDateBtn = new System.Windows.Forms.Button(); this.ackRevisedDateBtn = new System.Windows.Forms.Button(); this.ackRevisedDateEdt = new EM.AutoCompleteTextBox(); this.revisedAckLabel = new System.Windows.Forms.Label(); this.surchargeCheck = new System.Windows.Forms.CheckBox(); this.exchangeDateBtn = new System.Windows.Forms.Button(); this.exchangeDateEdt = new EM.AutoCompleteTextBox(); this.label27 = new System.Windows.Forms.Label(); this.currencyCombo = new System.Windows.Forms.ComboBox(); this.label26 = new System.Windows.Forms.Label(); this.ackDateBtn = new System.Windows.Forms.Button(); this.ackDateEdt = new EM.AutoCompleteTextBox(); this.labelAckDate = new System.Windows.Forms.Label(); this.millConfirmationNumberEdit = new EM.AutoCompleteTextBox(); this.labelMillConfirmation = new System.Windows.Forms.Label(); this.groupBox4 = new System.Windows.Forms.GroupBox(); this.addNewCustomerLocationBtn = new System.Windows.Forms.Button(); this.label11 = new System.Windows.Forms.Label(); this.label15 = new System.Windows.Forms.Label(); this.customerLocationCombo = new EM.AutoCompleteComboBox(); this.customerCombo = new EM.AutoCompleteComboBox(); this.customerCountryEdt = new EM.AutoCompleteTextBox(); this.customerAddressEdt = new EM.AutoCompleteTextBox(); this.addNewCustomerBtn = new System.Windows.Forms.Button(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.addNewMillLocationBtn = new System.Windows.Forms.Button(); this.addNewMillBtn = new System.Windows.Forms.Button(); this.label14 = new System.Windows.Forms.Label(); this.millCombo = new EM.AutoCompleteComboBox(); this.label10 = new System.Windows.Forms.Label(); this.millLocationCombo = new EM.AutoCompleteComboBox(); this.millCountryEdt = new EM.AutoCompleteTextBox(); this.millAddressEdt = new EM.AutoCompleteTextBox(); this.label9 = new System.Windows.Forms.Label(); this.umCombo = new EM.AutoCompleteComboBox(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.addMillContact = new System.Windows.Forms.Button(); this.millContactCombo = new EM.AutoCompleteComboBox(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.addCustomerContact = new System.Windows.Forms.Button(); this.custContactCombo = new EM.AutoCompleteComboBox(); this.commentPage = new System.Windows.Forms.TabPage(); this.label12 = new System.Windows.Forms.Label(); this.m_totalCostEdit = new EM.AutoCompleteTextBox(); this.m_totalCostUSEdit = new EM.AutoCompleteTextBox(); this.label13 = new System.Windows.Forms.Label(); this.removeItemBtn = new System.Windows.Forms.Button(); this.moveUpBtn = new System.Windows.Forms.Button(); this.moveDownBtn = new System.Windows.Forms.Button(); this.printPOBtn = new System.Windows.Forms.Button(); this.printAckBtn = new System.Windows.Forms.Button(); this.m_purchaseEdt = new EM.AutoCompleteTextBox(); this.groupBox5 = new System.Windows.Forms.GroupBox(); this.panel1 = new System.Windows.Forms.Panel(); this.changeBtn = new System.Windows.Forms.Button(); this.statusLabel = new System.Windows.Forms.Label(); this.label31 = new System.Windows.Forms.Label(); this.showGradeTotalsBtn = new System.Windows.Forms.Button(); this.panel2 = new System.Windows.Forms.Panel(); this.m_tabControl = new System.Windows.Forms.TabControl(); this.purchaseOrderPage = new System.Windows.Forms.TabPage(); this.weightPage = new System.Windows.Forms.TabPage(); this.containerTrackingPage = new System.Windows.Forms.TabPage(); this.containerTrackingPanel = new System.Windows.Forms.Panel(); this.splitter1 = new System.Windows.Forms.Splitter(); this.containerItemDetailsGroupBox = new System.Windows.Forms.GroupBox(); this.containerItemDetailsPanel = new System.Windows.Forms.Panel(); this.panel4 = new System.Windows.Forms.Panel(); this.refreshContainerItemtn = new System.Windows.Forms.Button(); this.goToContainerBtn = new System.Windows.Forms.Button(); this.panel3 = new System.Windows.Forms.Panel(); this.insertRowBtn = new System.Windows.Forms.Button(); this.millConfirmationPage = new System.Windows.Forms.TabPage(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); this.invoiceGroup.SuspendLayout(); this.groupBox4.SuspendLayout(); this.groupBox3.SuspendLayout(); this.tabPage2.SuspendLayout(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.commentPage.SuspendLayout(); this.groupBox5.SuspendLayout(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); this.m_tabControl.SuspendLayout(); this.containerTrackingPage.SuspendLayout(); this.containerItemDetailsGroupBox.SuspendLayout(); this.panel4.SuspendLayout(); this.panel3.SuspendLayout(); this.SuspendLayout(); // // label1 // this.label1.Location = new System.Drawing.Point(8, 24); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(56, 16); this.label1.TabIndex = 0; this.label1.Text = "PO No.:"; // // m_statusCombo // this.m_statusCombo.ForeColor = System.Drawing.SystemColors.WindowText; this.m_statusCombo.ItemHeight = 13; this.m_statusCombo.Items.AddRange(new object[] { "Open", "Cancelled", "Closed"}); this.m_statusCombo.Location = new System.Drawing.Point(120, 32); this.m_statusCombo.Name = "m_statusCombo"; this.m_statusCombo.Size = new System.Drawing.Size(96, 21); this.m_statusCombo.TabIndex = 4; this.m_statusCombo.SelectedIndexChanged += new System.EventHandler(this.onStatusSelChanged); this.m_statusCombo.TextChanged += new System.EventHandler(this.OnStatusTextChanged); // // label2 // this.label2.Location = new System.Drawing.Point(8, 32); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(40, 16); this.label2.TabIndex = 3; this.label2.Text = "Status"; // // label3 // this.label3.Location = new System.Drawing.Point(8, 8); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(48, 23); this.label3.TabIndex = 0; this.label3.Text = "PO Date"; // // m_dateEdt // this.m_dateEdt.Location = new System.Drawing.Point(120, 8); this.m_dateEdt.Name = "m_dateEdt"; this.m_dateEdt.Size = new System.Drawing.Size(96, 20); this.m_dateEdt.TabIndex = 1; this.m_dateEdt.Leave += new System.EventHandler(this.OnDateLeave); // // m_dateBtn // this.m_dateBtn.Location = new System.Drawing.Point(224, 8); this.m_dateBtn.Name = "m_dateBtn"; this.m_dateBtn.Size = new System.Drawing.Size(24, 24); this.m_dateBtn.TabIndex = 2; this.m_dateBtn.Text = "..."; this.m_dateBtn.Click += new System.EventHandler(this.SelectDateBtn); // // m_shipCodeCombo // this.m_shipCodeCombo.Location = new System.Drawing.Point(120, 104); this.m_shipCodeCombo.Name = "m_shipCodeCombo"; this.m_shipCodeCombo.Size = new System.Drawing.Size(120, 21); this.m_shipCodeCombo.TabIndex = 11; // // label4 // this.label4.Location = new System.Drawing.Point(8, 104); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(56, 16); this.label4.TabIndex = 10; this.label4.Text = "Ship Via:"; // // label5 // this.label5.Location = new System.Drawing.Point(8, 128); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(32, 16); this.label5.TabIndex = 12; this.label5.Text = "FOB:"; // // m_fobEdt // this.m_fobEdt.Location = new System.Drawing.Point(120, 128); this.m_fobEdt.Name = "m_fobEdt"; this.m_fobEdt.Size = new System.Drawing.Size(120, 20); this.m_fobEdt.TabIndex = 13; this.m_fobEdt.Text = "textBox1"; // // label6 // this.label6.Location = new System.Drawing.Point(8, 80); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(44, 16); this.label6.TabIndex = 8; this.label6.Text = "Terms:"; // // m_termsCombo // this.m_termsCombo.Location = new System.Drawing.Point(120, 80); this.m_termsCombo.Name = "m_termsCombo"; this.m_termsCombo.Size = new System.Drawing.Size(121, 21); this.m_termsCombo.TabIndex = 9; // // label7 // this.label7.Location = new System.Drawing.Point(8, 200); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(104, 16); this.label7.TabIndex = 18; this.label7.Text = "Exchange Rate: $/x"; // // m_exchangeRateEdt // this.m_exchangeRateEdt.Location = new System.Drawing.Point(120, 200); this.m_exchangeRateEdt.Name = "m_exchangeRateEdt"; this.m_exchangeRateEdt.Size = new System.Drawing.Size(120, 20); this.m_exchangeRateEdt.TabIndex = 19; this.m_exchangeRateEdt.Text = "textBox1"; this.m_exchangeRateEdt.Validated += new System.EventHandler(this.OnExchangeRateValidated); // // label8 // this.label8.Location = new System.Drawing.Point(8, 56); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(72, 16); this.label8.TabIndex = 5; this.label8.Text = "Cancel Date:"; // // m_cancelDateEdt // this.m_cancelDateEdt.Location = new System.Drawing.Point(120, 56); this.m_cancelDateEdt.Name = "m_cancelDateEdt"; this.m_cancelDateEdt.Size = new System.Drawing.Size(96, 20); this.m_cancelDateEdt.TabIndex = 6; this.m_cancelDateEdt.Leave += new System.EventHandler(this.OnDateLeave); // // m_cancelDateBtn // this.m_cancelDateBtn.Location = new System.Drawing.Point(224, 56); this.m_cancelDateBtn.Name = "m_cancelDateBtn"; this.m_cancelDateBtn.Size = new System.Drawing.Size(24, 24); this.m_cancelDateBtn.TabIndex = 7; this.m_cancelDateBtn.Text = "..."; this.m_cancelDateBtn.Click += new System.EventHandler(this.SelectDateBtn); // // m_commentEdt // this.m_commentEdt.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.m_commentEdt.Location = new System.Drawing.Point(0, 0); this.m_commentEdt.Multiline = true; this.m_commentEdt.Name = "m_commentEdt"; this.m_commentEdt.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.m_commentEdt.Size = new System.Drawing.Size(1008, 261); this.m_commentEdt.TabIndex = 23; this.m_commentEdt.Text = "textBox1"; // // tabControl1 // this.tabControl1.Controls.Add(this.tabPage1); this.tabControl1.Controls.Add(this.tabPage2); this.tabControl1.Controls.Add(this.commentPage); this.tabControl1.Location = new System.Drawing.Point(0, 64); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(1016, 288); this.tabControl1.TabIndex = 0; // // tabPage1 // this.tabPage1.Controls.Add(this.btnApplyConfirmationToEntirePO); this.tabPage1.Controls.Add(this.invoiceGroup); this.tabPage1.Controls.Add(this.ackRevisedDateBtn); this.tabPage1.Controls.Add(this.ackRevisedDateEdt); this.tabPage1.Controls.Add(this.revisedAckLabel); this.tabPage1.Controls.Add(this.surchargeCheck); this.tabPage1.Controls.Add(this.exchangeDateBtn); this.tabPage1.Controls.Add(this.exchangeDateEdt); this.tabPage1.Controls.Add(this.label27); this.tabPage1.Controls.Add(this.currencyCombo); this.tabPage1.Controls.Add(this.label26); this.tabPage1.Controls.Add(this.ackDateBtn); this.tabPage1.Controls.Add(this.ackDateEdt); this.tabPage1.Controls.Add(this.labelAckDate); this.tabPage1.Controls.Add(this.millConfirmationNumberEdit); this.tabPage1.Controls.Add(this.labelMillConfirmation); this.tabPage1.Controls.Add(this.groupBox4); this.tabPage1.Controls.Add(this.groupBox3); this.tabPage1.Controls.Add(this.label9); this.tabPage1.Controls.Add(this.umCombo); this.tabPage1.Controls.Add(this.m_dateBtn); this.tabPage1.Controls.Add(this.m_dateEdt); this.tabPage1.Controls.Add(this.label3); this.tabPage1.Controls.Add(this.label2); this.tabPage1.Controls.Add(this.m_cancelDateBtn); this.tabPage1.Controls.Add(this.m_cancelDateEdt); this.tabPage1.Controls.Add(this.label8); this.tabPage1.Controls.Add(this.m_exchangeRateEdt); this.tabPage1.Controls.Add(this.label7); this.tabPage1.Controls.Add(this.m_termsCombo); this.tabPage1.Controls.Add(this.label6); this.tabPage1.Controls.Add(this.m_fobEdt); this.tabPage1.Controls.Add(this.label5); this.tabPage1.Controls.Add(this.label4); this.tabPage1.Controls.Add(this.m_shipCodeCombo); this.tabPage1.Controls.Add(this.m_statusCombo); this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Size = new System.Drawing.Size(1008, 262); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "General"; this.tabPage1.Click += new System.EventHandler(this.tabPage1_Click); // // btnApplyConfirmationToEntirePO // this.btnApplyConfirmationToEntirePO.AutoSize = true; this.btnApplyConfirmationToEntirePO.Location = new System.Drawing.Point(377, 184); this.btnApplyConfirmationToEntirePO.Name = "btnApplyConfirmationToEntirePO"; this.btnApplyConfirmationToEntirePO.Size = new System.Drawing.Size(172, 17); this.btnApplyConfirmationToEntirePO.TabIndex = 41; this.btnApplyConfirmationToEntirePO.Text = "Apply Confirmation to entire PO"; this.btnApplyConfirmationToEntirePO.UseVisualStyleBackColor = true; this.btnApplyConfirmationToEntirePO.CheckedChanged += new System.EventHandler(this.OnApplyConfirmationChanged); // // invoiceGroup // this.invoiceGroup.Controls.Add(this.invoiceEdt); this.invoiceGroup.Controls.Add(this.label30); this.invoiceGroup.Controls.Add(this.label28); this.invoiceGroup.Controls.Add(this.invoiceDateEdt); this.invoiceGroup.Controls.Add(this.invoiceDateBtn); this.invoiceGroup.Location = new System.Drawing.Point(374, 208); this.invoiceGroup.Name = "invoiceGroup"; this.invoiceGroup.Size = new System.Drawing.Size(328, 48); this.invoiceGroup.TabIndex = 40; this.invoiceGroup.TabStop = false; this.invoiceGroup.Text = "EM Invoice - prepay customers only"; // // invoiceEdt // this.invoiceEdt.Location = new System.Drawing.Point(56, 16); this.invoiceEdt.Name = "invoiceEdt"; this.invoiceEdt.Size = new System.Drawing.Size(120, 20); this.invoiceEdt.TabIndex = 33; // // label30 // this.label30.Location = new System.Drawing.Point(184, 16); this.label30.Name = "label30"; this.label30.Size = new System.Drawing.Size(32, 16); this.label30.TabIndex = 37; this.label30.Text = "Date:"; // // label28 // this.label28.Location = new System.Drawing.Point(8, 16); this.label28.Name = "label28"; this.label28.Size = new System.Drawing.Size(48, 16); this.label28.TabIndex = 32; this.label28.Text = "Number:"; // // invoiceDateEdt // this.invoiceDateEdt.Location = new System.Drawing.Point(224, 16); this.invoiceDateEdt.Name = "invoiceDateEdt"; this.invoiceDateEdt.Size = new System.Drawing.Size(64, 20); this.invoiceDateEdt.TabIndex = 38; // // invoiceDateBtn // this.invoiceDateBtn.Location = new System.Drawing.Point(296, 16); this.invoiceDateBtn.Name = "invoiceDateBtn"; this.invoiceDateBtn.Size = new System.Drawing.Size(24, 23); this.invoiceDateBtn.TabIndex = 39; this.invoiceDateBtn.Text = "..."; this.invoiceDateBtn.Click += new System.EventHandler(this.SelectDateBtn); // // ackRevisedDateBtn // this.ackRevisedDateBtn.Location = new System.Drawing.Point(976, 224); this.ackRevisedDateBtn.Name = "ackRevisedDateBtn"; this.ackRevisedDateBtn.Size = new System.Drawing.Size(24, 23); this.ackRevisedDateBtn.TabIndex = 36; this.ackRevisedDateBtn.Text = "..."; this.ackRevisedDateBtn.Click += new System.EventHandler(this.SelectDateBtn); // // ackRevisedDateEdt // this.ackRevisedDateEdt.Location = new System.Drawing.Point(904, 224); this.ackRevisedDateEdt.Name = "ackRevisedDateEdt"; this.ackRevisedDateEdt.Size = new System.Drawing.Size(64, 20); this.ackRevisedDateEdt.TabIndex = 35; // // revisedAckLabel // this.revisedAckLabel.Location = new System.Drawing.Point(776, 216); this.revisedAckLabel.Name = "revisedAckLabel"; this.revisedAckLabel.Size = new System.Drawing.Size(120, 32); this.revisedAckLabel.TabIndex = 34; this.revisedAckLabel.Text = "Revised Acknowledge Date:"; // // surchargeCheck // this.surchargeCheck.Location = new System.Drawing.Point(280, 224); this.surchargeCheck.Name = "surchargeCheck"; this.surchargeCheck.Size = new System.Drawing.Size(80, 32); this.surchargeCheck.TabIndex = 31; this.surchargeCheck.Text = "Surcharge Applicable"; // // exchangeDateBtn // this.exchangeDateBtn.Location = new System.Drawing.Point(248, 224); this.exchangeDateBtn.Name = "exchangeDateBtn"; this.exchangeDateBtn.Size = new System.Drawing.Size(24, 24); this.exchangeDateBtn.TabIndex = 23; this.exchangeDateBtn.Text = "..."; this.exchangeDateBtn.Click += new System.EventHandler(this.SelectDateBtn); // // exchangeDateEdt // this.exchangeDateEdt.Location = new System.Drawing.Point(120, 224); this.exchangeDateEdt.Name = "exchangeDateEdt"; this.exchangeDateEdt.Size = new System.Drawing.Size(120, 20); this.exchangeDateEdt.TabIndex = 22; this.exchangeDateEdt.Text = "textBox1"; // // label27 // this.label27.Location = new System.Drawing.Point(8, 224); this.label27.Name = "label27"; this.label27.Size = new System.Drawing.Size(88, 24); this.label27.TabIndex = 21; this.label27.Text = "Exchange Date"; // // currencyCombo // this.currencyCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.currencyCombo.Items.AddRange(new object[] { "one", "two", "three"}); this.currencyCombo.Location = new System.Drawing.Point(120, 176); this.currencyCombo.Name = "currencyCombo"; this.currencyCombo.Size = new System.Drawing.Size(121, 21); this.currencyCombo.TabIndex = 17; this.currencyCombo.SelectedIndexChanged += new System.EventHandler(this.OnCurrencyChanged); // // label26 // this.label26.Location = new System.Drawing.Point(8, 176); this.label26.Name = "label26"; this.label26.Size = new System.Drawing.Size(88, 23); this.label26.TabIndex = 16; this.label26.Text = "Currency:"; // // ackDateBtn // this.ackDateBtn.Location = new System.Drawing.Point(976, 184); this.ackDateBtn.Name = "ackDateBtn"; this.ackDateBtn.Size = new System.Drawing.Size(24, 23); this.ackDateBtn.TabIndex = 30; this.ackDateBtn.Text = "..."; this.ackDateBtn.Click += new System.EventHandler(this.SelectDateBtn); // // ackDateEdt // this.ackDateEdt.Location = new System.Drawing.Point(904, 184); this.ackDateEdt.Name = "ackDateEdt"; this.ackDateEdt.Size = new System.Drawing.Size(64, 20); this.ackDateEdt.TabIndex = 29; // // labelAckDate // this.labelAckDate.Location = new System.Drawing.Point(776, 184); this.labelAckDate.Name = "labelAckDate"; this.labelAckDate.Size = new System.Drawing.Size(104, 23); this.labelAckDate.TabIndex = 28; this.labelAckDate.Text = "Acknowledge Date:"; // // millConfirmationNumberEdit // this.millConfirmationNumberEdit.Location = new System.Drawing.Point(650, 187); this.millConfirmationNumberEdit.Name = "millConfirmationNumberEdit"; this.millConfirmationNumberEdit.Size = new System.Drawing.Size(120, 20); this.millConfirmationNumberEdit.TabIndex = 27; // // labelMillConfirmation // this.labelMillConfirmation.Location = new System.Drawing.Point(561, 179); this.labelMillConfirmation.Name = "labelMillConfirmation"; this.labelMillConfirmation.Size = new System.Drawing.Size(83, 37); this.labelMillConfirmation.TabIndex = 26; this.labelMillConfirmation.Text = "Mill Confirmation#:"; // // groupBox4 // this.groupBox4.Controls.Add(this.addNewCustomerLocationBtn); this.groupBox4.Controls.Add(this.label11); this.groupBox4.Controls.Add(this.label15); this.groupBox4.Controls.Add(this.customerLocationCombo); this.groupBox4.Controls.Add(this.customerCombo); this.groupBox4.Controls.Add(this.customerCountryEdt); this.groupBox4.Controls.Add(this.customerAddressEdt); this.groupBox4.Controls.Add(this.addNewCustomerBtn); this.groupBox4.Location = new System.Drawing.Point(672, 8); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new System.Drawing.Size(328, 168); this.groupBox4.TabIndex = 25; this.groupBox4.TabStop = false; this.groupBox4.Text = "Customer"; // // addNewCustomerLocationBtn // this.addNewCustomerLocationBtn.Location = new System.Drawing.Point(304, 40); this.addNewCustomerLocationBtn.Name = "addNewCustomerLocationBtn"; this.addNewCustomerLocationBtn.Size = new System.Drawing.Size(16, 23); this.addNewCustomerLocationBtn.TabIndex = 5; this.addNewCustomerLocationBtn.Text = "+"; this.addNewCustomerLocationBtn.Click += new System.EventHandler(this.addNewLocationBtn_Click); // // label11 // this.label11.Location = new System.Drawing.Point(8, 40); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(56, 23); this.label11.TabIndex = 3; this.label11.Text = "Location:"; // // label15 // this.label15.Location = new System.Drawing.Point(8, 16); this.label15.Name = "label15"; this.label15.Size = new System.Drawing.Size(56, 23); this.label15.TabIndex = 0; this.label15.Text = "Customer:"; // // customerLocationCombo // this.customerLocationCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.customerLocationCombo.Location = new System.Drawing.Point(72, 40); this.customerLocationCombo.Name = "customerLocationCombo"; this.customerLocationCombo.Size = new System.Drawing.Size(224, 21); this.customerLocationCombo.TabIndex = 4; this.customerLocationCombo.SelectedIndexChanged += new System.EventHandler(this.OnShipToLocationChanged); // // customerCombo // this.customerCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.customerCombo.Location = new System.Drawing.Point(72, 16); this.customerCombo.Name = "customerCombo"; this.customerCombo.Size = new System.Drawing.Size(224, 21); this.customerCombo.TabIndex = 1; this.customerCombo.SelectedIndexChanged += new System.EventHandler(this.OnCompanyChanged); // // customerCountryEdt // this.customerCountryEdt.Location = new System.Drawing.Point(16, 136); this.customerCountryEdt.Name = "customerCountryEdt"; this.customerCountryEdt.ReadOnly = true; this.customerCountryEdt.Size = new System.Drawing.Size(280, 20); this.customerCountryEdt.TabIndex = 7; this.customerCountryEdt.Text = "customerCountryEdt"; // // customerAddressEdt // this.customerAddressEdt.Location = new System.Drawing.Point(16, 64); this.customerAddressEdt.Multiline = true; this.customerAddressEdt.Name = "customerAddressEdt"; this.customerAddressEdt.ReadOnly = true; this.customerAddressEdt.Size = new System.Drawing.Size(280, 72); this.customerAddressEdt.TabIndex = 6; this.customerAddressEdt.TabStop = false; this.customerAddressEdt.Text = "customerAddressEdt"; // // addNewCustomerBtn // this.addNewCustomerBtn.Location = new System.Drawing.Point(304, 16); this.addNewCustomerBtn.Name = "addNewCustomerBtn"; this.addNewCustomerBtn.Size = new System.Drawing.Size(16, 23); this.addNewCustomerBtn.TabIndex = 2; this.addNewCustomerBtn.Text = "+"; this.addNewCustomerBtn.Click += new System.EventHandler(this.addNewCompanyBtn_Click); // // groupBox3 // this.groupBox3.Controls.Add(this.addNewMillLocationBtn); this.groupBox3.Controls.Add(this.addNewMillBtn); this.groupBox3.Controls.Add(this.label14); this.groupBox3.Controls.Add(this.millCombo); this.groupBox3.Controls.Add(this.label10); this.groupBox3.Controls.Add(this.millLocationCombo); this.groupBox3.Controls.Add(this.millCountryEdt); this.groupBox3.Controls.Add(this.millAddressEdt); this.groupBox3.Location = new System.Drawing.Point(352, 8); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(312, 168); this.groupBox3.TabIndex = 24; this.groupBox3.TabStop = false; this.groupBox3.Text = "Mill"; // // addNewMillLocationBtn // this.addNewMillLocationBtn.Location = new System.Drawing.Point(272, 40); this.addNewMillLocationBtn.Name = "addNewMillLocationBtn"; this.addNewMillLocationBtn.Size = new System.Drawing.Size(16, 23); this.addNewMillLocationBtn.TabIndex = 6; this.addNewMillLocationBtn.Text = "+"; this.addNewMillLocationBtn.Click += new System.EventHandler(this.addNewLocationBtn_Click); // // addNewMillBtn // this.addNewMillBtn.Location = new System.Drawing.Point(272, 16); this.addNewMillBtn.Name = "addNewMillBtn"; this.addNewMillBtn.Size = new System.Drawing.Size(16, 23); this.addNewMillBtn.TabIndex = 2; this.addNewMillBtn.Text = "+"; this.addNewMillBtn.Click += new System.EventHandler(this.addNewCompanyBtn_Click); // // label14 // this.label14.Location = new System.Drawing.Point(8, 16); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(24, 16); this.label14.TabIndex = 0; this.label14.Text = "Mill:"; // // millCombo // this.millCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.millCombo.Location = new System.Drawing.Point(64, 16); this.millCombo.Name = "millCombo"; this.millCombo.Size = new System.Drawing.Size(200, 21); this.millCombo.TabIndex = 1; this.millCombo.SelectedIndexChanged += new System.EventHandler(this.OnCompanyChanged); // // label10 // this.label10.Location = new System.Drawing.Point(8, 40); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(56, 16); this.label10.TabIndex = 3; this.label10.Text = "Location:"; // // millLocationCombo // this.millLocationCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.millLocationCombo.Location = new System.Drawing.Point(64, 40); this.millLocationCombo.Name = "millLocationCombo"; this.millLocationCombo.Size = new System.Drawing.Size(200, 21); this.millLocationCombo.TabIndex = 5; this.millLocationCombo.SelectedIndexChanged += new System.EventHandler(this.OnMillLocationChanged); // // millCountryEdt // this.millCountryEdt.Location = new System.Drawing.Point(16, 136); this.millCountryEdt.Name = "millCountryEdt"; this.millCountryEdt.ReadOnly = true; this.millCountryEdt.Size = new System.Drawing.Size(256, 20); this.millCountryEdt.TabIndex = 7; this.millCountryEdt.Text = "millCountryEdt"; // // millAddressEdt // this.millAddressEdt.Location = new System.Drawing.Point(16, 64); this.millAddressEdt.Multiline = true; this.millAddressEdt.Name = "millAddressEdt"; this.millAddressEdt.ReadOnly = true; this.millAddressEdt.Size = new System.Drawing.Size(256, 72); this.millAddressEdt.TabIndex = 4; this.millAddressEdt.TabStop = false; this.millAddressEdt.Text = "millAdressEdt"; // // label9 // this.label9.Location = new System.Drawing.Point(8, 152); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(88, 23); this.label9.TabIndex = 14; this.label9.Text = "Unit of Measure:"; // // umCombo // this.umCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.umCombo.Items.AddRange(new object[] { "lbs", "kg"}); this.umCombo.Location = new System.Drawing.Point(120, 152); this.umCombo.Name = "umCombo"; this.umCombo.Size = new System.Drawing.Size(121, 21); this.umCombo.TabIndex = 15; this.umCombo.SelectedIndexChanged += new System.EventHandler(this.umSelectedChanged); // // tabPage2 // this.tabPage2.Controls.Add(this.groupBox1); this.tabPage2.Controls.Add(this.groupBox2); this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Size = new System.Drawing.Size(1008, 262); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "Contacts"; // // groupBox1 // this.groupBox1.Controls.Add(this.addMillContact); this.groupBox1.Controls.Add(this.millContactCombo); this.groupBox1.Location = new System.Drawing.Point(16, 8); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(280, 48); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "Mill Contact"; // // addMillContact // this.addMillContact.Location = new System.Drawing.Point(240, 16); this.addMillContact.Name = "addMillContact"; this.addMillContact.Size = new System.Drawing.Size(27, 23); this.addMillContact.TabIndex = 14; this.addMillContact.Text = "+"; this.addMillContact.UseVisualStyleBackColor = true; this.addMillContact.Click += new System.EventHandler(this.addMillContact_Click); // // millContactCombo // this.millContactCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.millContactCombo.Location = new System.Drawing.Point(8, 16); this.millContactCombo.Name = "millContactCombo"; this.millContactCombo.Size = new System.Drawing.Size(224, 21); this.millContactCombo.TabIndex = 13; this.millContactCombo.SelectedIndexChanged += new System.EventHandler(this.OnMillContactChanged); // // groupBox2 // this.groupBox2.Controls.Add(this.addCustomerContact); this.groupBox2.Controls.Add(this.custContactCombo); this.groupBox2.Location = new System.Drawing.Point(304, 8); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(272, 48); this.groupBox2.TabIndex = 1; this.groupBox2.TabStop = false; this.groupBox2.Text = "Customer Contact"; // // addCustomerContact // this.addCustomerContact.Location = new System.Drawing.Point(232, 16); this.addCustomerContact.Name = "addCustomerContact"; this.addCustomerContact.Size = new System.Drawing.Size(27, 23); this.addCustomerContact.TabIndex = 13; this.addCustomerContact.Text = "+"; this.addCustomerContact.UseVisualStyleBackColor = true; this.addCustomerContact.Click += new System.EventHandler(this.addCustomerContact_Click); // // custContactCombo // this.custContactCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.custContactCombo.Location = new System.Drawing.Point(8, 16); this.custContactCombo.Name = "custContactCombo"; this.custContactCombo.Size = new System.Drawing.Size(221, 21); this.custContactCombo.TabIndex = 12; this.custContactCombo.SelectedIndexChanged += new System.EventHandler(this.OnCustomerContactChanged); // // commentPage // this.commentPage.BackColor = System.Drawing.SystemColors.Control; this.commentPage.Controls.Add(this.m_commentEdt); this.commentPage.Location = new System.Drawing.Point(4, 22); this.commentPage.Name = "commentPage"; this.commentPage.Size = new System.Drawing.Size(1008, 262); this.commentPage.TabIndex = 2; this.commentPage.Text = "Comments"; // // label12 // this.label12.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.label12.Location = new System.Drawing.Point(630, 8); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(40, 16); this.label12.TabIndex = 4; this.label12.Text = "Total:"; // // m_totalCostEdit // this.m_totalCostEdit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.m_totalCostEdit.Location = new System.Drawing.Point(678, 8); this.m_totalCostEdit.Name = "m_totalCostEdit"; this.m_totalCostEdit.ReadOnly = true; this.m_totalCostEdit.Size = new System.Drawing.Size(104, 20); this.m_totalCostEdit.TabIndex = 5; this.m_totalCostEdit.Text = "textBox1"; this.m_totalCostEdit.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // m_totalCostUSEdit // this.m_totalCostUSEdit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.m_totalCostUSEdit.Location = new System.Drawing.Point(870, 8); this.m_totalCostUSEdit.Name = "m_totalCostUSEdit"; this.m_totalCostUSEdit.ReadOnly = true; this.m_totalCostUSEdit.Size = new System.Drawing.Size(120, 20); this.m_totalCostUSEdit.TabIndex = 7; this.m_totalCostUSEdit.Text = "textBox2"; this.m_totalCostUSEdit.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // label13 // this.label13.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.label13.Location = new System.Drawing.Point(798, 8); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(56, 16); this.label13.TabIndex = 6; this.label13.Text = "US Total:"; // // removeItemBtn // this.removeItemBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.removeItemBtn.Location = new System.Drawing.Point(328, 8); this.removeItemBtn.Name = "removeItemBtn"; this.removeItemBtn.Size = new System.Drawing.Size(80, 24); this.removeItemBtn.TabIndex = 3; this.removeItemBtn.Text = "Remove Item"; this.removeItemBtn.Click += new System.EventHandler(this.removeItemBtn_Click); // // moveUpBtn // this.moveUpBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.moveUpBtn.Location = new System.Drawing.Point(120, 8); this.moveUpBtn.Name = "moveUpBtn"; this.moveUpBtn.Size = new System.Drawing.Size(88, 24); this.moveUpBtn.TabIndex = 1; this.moveUpBtn.Text = "Move Item Up"; this.moveUpBtn.Click += new System.EventHandler(this.moveUpBtn_Click); // // moveDownBtn // this.moveDownBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.moveDownBtn.Location = new System.Drawing.Point(216, 8); this.moveDownBtn.Name = "moveDownBtn"; this.moveDownBtn.Size = new System.Drawing.Size(104, 24); this.moveDownBtn.TabIndex = 2; this.moveDownBtn.Text = "Move Item Down"; this.moveDownBtn.Click += new System.EventHandler(this.moveDownBtn_Click); // // printPOBtn // this.printPOBtn.Location = new System.Drawing.Point(8, 16); this.printPOBtn.Name = "printPOBtn"; this.printPOBtn.Size = new System.Drawing.Size(48, 23); this.printPOBtn.TabIndex = 0; this.printPOBtn.Text = "&PO"; this.printPOBtn.Click += new System.EventHandler(this.printPOBtn_Click); // // printAckBtn // this.printAckBtn.Location = new System.Drawing.Point(64, 16); this.printAckBtn.Name = "printAckBtn"; this.printAckBtn.Size = new System.Drawing.Size(136, 23); this.printAckBtn.TabIndex = 1; this.printAckBtn.Text = "&Acknowledgement"; this.printAckBtn.Click += new System.EventHandler(this.printAckBtn_Click); // // m_purchaseEdt // this.m_purchaseEdt.Location = new System.Drawing.Point(64, 16); this.m_purchaseEdt.Name = "m_purchaseEdt"; this.m_purchaseEdt.Size = new System.Drawing.Size(224, 20); this.m_purchaseEdt.TabIndex = 1; this.m_purchaseEdt.Text = "textBox1"; // // groupBox5 // this.groupBox5.Controls.Add(this.printPOBtn); this.groupBox5.Controls.Add(this.printAckBtn); this.groupBox5.Location = new System.Drawing.Point(368, 8); this.groupBox5.Name = "groupBox5"; this.groupBox5.Size = new System.Drawing.Size(216, 48); this.groupBox5.TabIndex = 3; this.groupBox5.TabStop = false; this.groupBox5.Text = "Print"; // // panel1 // this.panel1.Controls.Add(this.changeBtn); this.panel1.Controls.Add(this.statusLabel); this.panel1.Controls.Add(this.label31); this.panel1.Controls.Add(this.showGradeTotalsBtn); this.panel1.Controls.Add(this.tabControl1); this.panel1.Controls.Add(this.groupBox5); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.m_purchaseEdt); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(1026, 352); this.panel1.TabIndex = 0; // // changeBtn // this.changeBtn.Location = new System.Drawing.Point(288, 16); this.changeBtn.Name = "changeBtn"; this.changeBtn.Size = new System.Drawing.Size(75, 23); this.changeBtn.TabIndex = 2; this.changeBtn.Text = "Change"; this.changeBtn.UseVisualStyleBackColor = true; this.changeBtn.Click += new System.EventHandler(this.changeBtn_Click); // // statusLabel // this.statusLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.statusLabel.Location = new System.Drawing.Point(808, 24); this.statusLabel.Name = "statusLabel"; this.statusLabel.Size = new System.Drawing.Size(88, 24); this.statusLabel.TabIndex = 6; this.statusLabel.Text = "asdf"; // // label31 // this.label31.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label31.Location = new System.Drawing.Point(728, 24); this.label31.Name = "label31"; this.label31.Size = new System.Drawing.Size(64, 24); this.label31.TabIndex = 5; this.label31.Text = "Status:"; // // showGradeTotalsBtn // this.showGradeTotalsBtn.Location = new System.Drawing.Point(600, 24); this.showGradeTotalsBtn.Name = "showGradeTotalsBtn"; this.showGradeTotalsBtn.Size = new System.Drawing.Size(112, 23); this.showGradeTotalsBtn.TabIndex = 4; this.showGradeTotalsBtn.Text = "Show Grade Totals"; this.showGradeTotalsBtn.Click += new System.EventHandler(this.showGradeTotalsBtn_Click); // // panel2 // this.panel2.Controls.Add(this.m_tabControl); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 352); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(1026, 324); this.panel2.TabIndex = 2; // // m_tabControl // this.m_tabControl.Controls.Add(this.purchaseOrderPage); this.m_tabControl.Controls.Add(this.weightPage); this.m_tabControl.Controls.Add(this.containerTrackingPage); this.m_tabControl.Controls.Add(this.millConfirmationPage); this.m_tabControl.Dock = System.Windows.Forms.DockStyle.Fill; this.m_tabControl.ItemSize = new System.Drawing.Size(86, 18); this.m_tabControl.Location = new System.Drawing.Point(0, 0); this.m_tabControl.Name = "m_tabControl"; this.m_tabControl.SelectedIndex = 0; this.m_tabControl.Size = new System.Drawing.Size(1026, 324); this.m_tabControl.TabIndex = 0; this.m_tabControl.TabIndexChanged += new System.EventHandler(this.umSelectedChanged); this.m_tabControl.SelectedIndexChanged += new System.EventHandler(this.OnGridTabChanged); // // purchaseOrderPage // this.purchaseOrderPage.Location = new System.Drawing.Point(4, 22); this.purchaseOrderPage.Name = "purchaseOrderPage"; this.purchaseOrderPage.Size = new System.Drawing.Size(1018, 298); this.purchaseOrderPage.TabIndex = 0; this.purchaseOrderPage.Text = "General"; this.purchaseOrderPage.UseVisualStyleBackColor = true; // // weightPage // this.weightPage.Location = new System.Drawing.Point(4, 22); this.weightPage.Name = "weightPage"; this.weightPage.Size = new System.Drawing.Size(1018, 298); this.weightPage.TabIndex = 3; this.weightPage.Text = "Weights"; this.weightPage.UseVisualStyleBackColor = true; // // containerTrackingPage // this.containerTrackingPage.Controls.Add(this.containerTrackingPanel); this.containerTrackingPage.Controls.Add(this.splitter1); this.containerTrackingPage.Controls.Add(this.containerItemDetailsGroupBox); this.containerTrackingPage.Location = new System.Drawing.Point(4, 22); this.containerTrackingPage.Name = "containerTrackingPage"; this.containerTrackingPage.Size = new System.Drawing.Size(1018, 298); this.containerTrackingPage.TabIndex = 2; this.containerTrackingPage.Text = "Container Tracking"; this.containerTrackingPage.UseVisualStyleBackColor = true; // // containerTrackingPanel // this.containerTrackingPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.containerTrackingPanel.Location = new System.Drawing.Point(0, 0); this.containerTrackingPanel.Name = "containerTrackingPanel"; this.containerTrackingPanel.Size = new System.Drawing.Size(815, 298); this.containerTrackingPanel.TabIndex = 2; // // splitter1 // this.splitter1.Dock = System.Windows.Forms.DockStyle.Right; this.splitter1.Location = new System.Drawing.Point(815, 0); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(3, 298); this.splitter1.TabIndex = 1; this.splitter1.TabStop = false; // // containerItemDetailsGroupBox // this.containerItemDetailsGroupBox.Controls.Add(this.containerItemDetailsPanel); this.containerItemDetailsGroupBox.Controls.Add(this.panel4); this.containerItemDetailsGroupBox.Dock = System.Windows.Forms.DockStyle.Right; this.containerItemDetailsGroupBox.Location = new System.Drawing.Point(818, 0); this.containerItemDetailsGroupBox.Name = "containerItemDetailsGroupBox"; this.containerItemDetailsGroupBox.Size = new System.Drawing.Size(200, 298); this.containerItemDetailsGroupBox.TabIndex = 0; this.containerItemDetailsGroupBox.TabStop = false; this.containerItemDetailsGroupBox.Text = "Item Details"; // // containerItemDetailsPanel // this.containerItemDetailsPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.containerItemDetailsPanel.Location = new System.Drawing.Point(3, 16); this.containerItemDetailsPanel.Name = "containerItemDetailsPanel"; this.containerItemDetailsPanel.Size = new System.Drawing.Size(194, 239); this.containerItemDetailsPanel.TabIndex = 1; // // panel4 // this.panel4.Controls.Add(this.refreshContainerItemtn); this.panel4.Controls.Add(this.goToContainerBtn); this.panel4.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel4.Location = new System.Drawing.Point(3, 255); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(194, 40); this.panel4.TabIndex = 2; // // refreshContainerItemtn // this.refreshContainerItemtn.Location = new System.Drawing.Point(8, 8); this.refreshContainerItemtn.Name = "refreshContainerItemtn"; this.refreshContainerItemtn.Size = new System.Drawing.Size(75, 23); this.refreshContainerItemtn.TabIndex = 1; this.refreshContainerItemtn.Text = "Refresh"; // // goToContainerBtn // this.goToContainerBtn.Location = new System.Drawing.Point(88, 8); this.goToContainerBtn.Name = "goToContainerBtn"; this.goToContainerBtn.Size = new System.Drawing.Size(96, 23); this.goToContainerBtn.TabIndex = 0; this.goToContainerBtn.Text = "Go to Container"; this.goToContainerBtn.Click += new System.EventHandler(this.goToContainerBtn_Click); // // panel3 // this.panel3.Controls.Add(this.insertRowBtn); this.panel3.Controls.Add(this.m_totalCostEdit); this.panel3.Controls.Add(this.removeItemBtn); this.panel3.Controls.Add(this.moveUpBtn); this.panel3.Controls.Add(this.moveDownBtn); this.panel3.Controls.Add(this.m_totalCostUSEdit); this.panel3.Controls.Add(this.label12); this.panel3.Controls.Add(this.label13); this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel3.Location = new System.Drawing.Point(0, 676); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(1026, 40); this.panel3.TabIndex = 0; // // insertRowBtn // this.insertRowBtn.Location = new System.Drawing.Point(32, 8); this.insertRowBtn.Name = "insertRowBtn"; this.insertRowBtn.Size = new System.Drawing.Size(75, 23); this.insertRowBtn.TabIndex = 0; this.insertRowBtn.Text = "Insert Row"; this.insertRowBtn.Click += new System.EventHandler(this.insertRowBtn_Click); // // millConfirmationPage // this.millConfirmationPage.Location = new System.Drawing.Point(4, 22); this.millConfirmationPage.Name = "millConfirmationPage"; this.millConfirmationPage.Size = new System.Drawing.Size(1018, 298); this.millConfirmationPage.TabIndex = 4; this.millConfirmationPage.Text = "Mill Confirmation"; this.millConfirmationPage.UseVisualStyleBackColor = true; // // PO // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(1026, 716); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Controls.Add(this.panel3); this.Name = "PO"; this.Text = "Purchase Order"; this.tabControl1.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.tabPage1.PerformLayout(); this.invoiceGroup.ResumeLayout(false); this.invoiceGroup.PerformLayout(); this.groupBox4.ResumeLayout(false); this.groupBox4.PerformLayout(); this.groupBox3.ResumeLayout(false); this.groupBox3.PerformLayout(); this.tabPage2.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.commentPage.ResumeLayout(false); this.commentPage.PerformLayout(); this.groupBox5.ResumeLayout(false); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.panel2.ResumeLayout(false); this.m_tabControl.ResumeLayout(false); this.containerTrackingPage.ResumeLayout(false); this.containerItemDetailsGroupBox.ResumeLayout(false); this.panel4.ResumeLayout(false); this.panel3.ResumeLayout(false); this.panel3.PerformLayout(); this.ResumeLayout(false); }
public static void UpdateDateControls(AutoCompleteTextBox[] dateBoxes,Button[] dateButtons, string[] dateFieldNames,EMDataRow row,bool isEmptyTable) { for (int i=0;i<dateBoxes.Length;i++) { dateBoxes[i].Enabled = !isEmptyTable; dateButtons[i].Enabled = !isEmptyTable; if (row.IsNull(dateFieldNames[i])) { dateBoxes[i].Text = ""; } else { DateTime date = (DateTime)row[dateFieldNames[i]]; dateBoxes[i].Text = HelperFunctions.ToDateText(date); } } }
public static void UpdateTextControls(AutoCompleteTextBox[] textBoxes,string[] textFieldNames,EMDataRow row, bool isEmptyTable) { for (int i=0;i<textBoxes.Length;i++) { textBoxes[i].Enabled = !isEmptyTable; if (row.IsNull(textFieldNames[i])) { textBoxes[i].Text = ""; } else { textBoxes[i].Text = (string)row[textFieldNames[i]]; } } }
public static void OnDateLeave(object sender,AutoCompleteTextBox[] dateBoxes,string[] dateFields, EMDataRow row) { AutoCompleteTextBox dateBox = null; string dateField=""; for (int i=0;i<dateBoxes.Length;i++) { if (sender == dateBoxes[i]) { dateBox = dateBoxes[i]; dateField = dateFields[i]; break; } } Debug.Assert(dateBox != null); try { if (dateBox.Text == "") row[dateField] = DBNull.Value; else row[dateField] = dateBox.Text; } catch(Exception ex) { MessageBox.Show(ex.Message); } if (row.IsNull(dateField)) { dateBox.Text = ""; } else { dateBox.Text = HelperFunctions.ToDateText( (DateTime)row[dateField]); } }
public static DialogResult OnDateBtn(object sender,Button[] dateButtons,AutoCompleteTextBox[] dateBoxes, string[] dateFieldNames,EMDataRow row,out DateTime dateTime) { // first find the control int i=0; for (i=0;i<dateButtons.Length;i++) { if (sender == dateButtons[i]) { break; } } Debug.Assert(i!= dateButtons.Length); string fieldName = dateFieldNames[i]; AutoCompleteTextBox box = dateBoxes[i]; if (row.IsNull(fieldName)) dateTime = System.DateTime.Today; else dateTime = (DateTime)row[fieldName]; if (DialogResult.OK == DateTimeSelector.RequestTime(ref dateTime)) { box.Text = HelperFunctions.ToDateText(dateTime); return DialogResult.OK; } return DialogResult.Cancel; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.bolNumberEdt = new EM.AutoCompleteTextBox(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.pickupDateEdt = new EM.AutoCompleteTextBox(); this.pickupDateBtn = new System.Windows.Forms.Button(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.containerViewTabPage = new System.Windows.Forms.TabControl(); this.containerBundlePage = new System.Windows.Forms.TabPage(); this.containerWeightPage = new System.Windows.Forms.TabPage(); this.findContainerBtn = new System.Windows.Forms.Button(); this.contNumberEdt = new EM.AutoCompleteTextBox(); this.asdabfsd = new System.Windows.Forms.Label(); this.bolViewTabPage = new System.Windows.Forms.TabControl(); this.bundlesPage = new System.Windows.Forms.TabPage(); this.addBtn = new System.Windows.Forms.Button(); this.removeBtn = new System.Windows.Forms.Button(); this.panel1 = new System.Windows.Forms.Panel(); this.statusCombo = new System.Windows.Forms.ComboBox(); this.label3 = new System.Windows.Forms.Label(); this.panel2 = new System.Windows.Forms.Panel(); this.panel3 = new System.Windows.Forms.Panel(); this.groupBox1.SuspendLayout(); this.containerViewTabPage.SuspendLayout(); this.bolViewTabPage.SuspendLayout(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); this.panel3.SuspendLayout(); this.SuspendLayout(); // // bolNumberEdt // this.bolNumberEdt.Location = new System.Drawing.Point(96, 8); this.bolNumberEdt.Name = "bolNumberEdt"; this.bolNumberEdt.TabIndex = 0; this.bolNumberEdt.Text = ""; // // label1 // this.label1.Location = new System.Drawing.Point(8, 8); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(88, 23); this.label1.TabIndex = 1; this.label1.Text = "Bill Of Lading #"; // // label2 // this.label2.Location = new System.Drawing.Point(248, 8); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(72, 16); this.label2.TabIndex = 2; this.label2.Text = "Pickup Date:"; // // pickupDateEdt // this.pickupDateEdt.Location = new System.Drawing.Point(320, 8); this.pickupDateEdt.Name = "pickupDateEdt"; this.pickupDateEdt.TabIndex = 3; this.pickupDateEdt.Text = ""; this.pickupDateEdt.Leave += new System.EventHandler(this.OnDateLeave); // // pickupDateBtn // this.pickupDateBtn.Location = new System.Drawing.Point(432, 8); this.pickupDateBtn.Name = "pickupDateBtn"; this.pickupDateBtn.Size = new System.Drawing.Size(24, 23); this.pickupDateBtn.TabIndex = 4; this.pickupDateBtn.Text = "..."; this.pickupDateBtn.Click += new System.EventHandler(this.OnDateClick); // // groupBox1 // this.groupBox1.Controls.Add(this.containerViewTabPage); this.groupBox1.Controls.Add(this.findContainerBtn); this.groupBox1.Controls.Add(this.contNumberEdt); this.groupBox1.Controls.Add(this.asdabfsd); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox1.Location = new System.Drawing.Point(0, 32); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(960, 312); this.groupBox1.TabIndex = 1; this.groupBox1.TabStop = false; this.groupBox1.Text = "Container View"; // // containerViewTabPage // this.containerViewTabPage.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.containerViewTabPage.Controls.Add(this.containerBundlePage); this.containerViewTabPage.Controls.Add(this.containerWeightPage); this.containerViewTabPage.Location = new System.Drawing.Point(8, 40); this.containerViewTabPage.Name = "containerViewTabPage"; this.containerViewTabPage.SelectedIndex = 0; this.containerViewTabPage.Size = new System.Drawing.Size(944, 272); this.containerViewTabPage.TabIndex = 9; // // containerBundlePage // this.containerBundlePage.Location = new System.Drawing.Point(4, 22); this.containerBundlePage.Name = "containerBundlePage"; this.containerBundlePage.Size = new System.Drawing.Size(936, 246); this.containerBundlePage.TabIndex = 0; this.containerBundlePage.Text = "Container Bundles"; // // containerWeightPage // this.containerWeightPage.Location = new System.Drawing.Point(4, 22); this.containerWeightPage.Name = "containerWeightPage"; this.containerWeightPage.Size = new System.Drawing.Size(936, 246); this.containerWeightPage.TabIndex = 1; this.containerWeightPage.Text = "Container by Weight"; // // findContainerBtn // this.findContainerBtn.Location = new System.Drawing.Point(224, 16); this.findContainerBtn.Name = "findContainerBtn"; this.findContainerBtn.Size = new System.Drawing.Size(24, 23); this.findContainerBtn.TabIndex = 8; this.findContainerBtn.Text = "..."; this.findContainerBtn.Click += new System.EventHandler(this.findContainerBtn_Click); // // contNumberEdt // this.contNumberEdt.Location = new System.Drawing.Point(120, 16); this.contNumberEdt.Name = "contNumberEdt"; this.contNumberEdt.ReadOnly = true; this.contNumberEdt.TabIndex = 7; this.contNumberEdt.Text = ""; // // asdabfsd // this.asdabfsd.Location = new System.Drawing.Point(8, 16); this.asdabfsd.Name = "asdabfsd"; this.asdabfsd.TabIndex = 6; this.asdabfsd.Text = "Container #"; // // bolViewTabPage // this.bolViewTabPage.Controls.Add(this.bundlesPage); this.bolViewTabPage.Dock = System.Windows.Forms.DockStyle.Fill; this.bolViewTabPage.Location = new System.Drawing.Point(0, 392); this.bolViewTabPage.Name = "bolViewTabPage"; this.bolViewTabPage.SelectedIndex = 0; this.bolViewTabPage.Size = new System.Drawing.Size(960, 237); this.bolViewTabPage.TabIndex = 3; // // bundlesPage // this.bundlesPage.Location = new System.Drawing.Point(4, 22); this.bundlesPage.Name = "bundlesPage"; this.bundlesPage.Size = new System.Drawing.Size(952, 211); this.bundlesPage.TabIndex = 0; this.bundlesPage.Text = "B/L Bundles"; // // addBtn // this.addBtn.Location = new System.Drawing.Point(8, 16); this.addBtn.Name = "addBtn"; this.addBtn.TabIndex = 8; this.addBtn.Text = "Add"; this.addBtn.Click += new System.EventHandler(this.addBtn_Click); // // removeBtn // this.removeBtn.Location = new System.Drawing.Point(8, 8); this.removeBtn.Name = "removeBtn"; this.removeBtn.TabIndex = 9; this.removeBtn.Text = "Remove"; this.removeBtn.Click += new System.EventHandler(this.removeBtn_Click); // // panel1 // this.panel1.Controls.Add(this.statusCombo); this.panel1.Controls.Add(this.label3); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.pickupDateBtn); this.panel1.Controls.Add(this.bolNumberEdt); this.panel1.Controls.Add(this.pickupDateEdt); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(960, 32); this.panel1.TabIndex = 0; // // statusCombo // this.statusCombo.Items.AddRange(new object[] { "Open", "Closed", "Cancelled"}); this.statusCombo.Location = new System.Drawing.Point(528, 8); this.statusCombo.Name = "statusCombo"; this.statusCombo.Size = new System.Drawing.Size(121, 21); this.statusCombo.TabIndex = 6; // // label3 // this.label3.Location = new System.Drawing.Point(480, 8); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(40, 16); this.label3.TabIndex = 5; this.label3.Text = "Status:"; // // panel2 // this.panel2.Controls.Add(this.removeBtn); this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel2.Location = new System.Drawing.Point(0, 629); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(960, 40); this.panel2.TabIndex = 4; // // panel3 // this.panel3.Controls.Add(this.addBtn); this.panel3.Dock = System.Windows.Forms.DockStyle.Top; this.panel3.Location = new System.Drawing.Point(0, 344); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(960, 48); this.panel3.TabIndex = 2; // // BillOfLading // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(960, 669); this.Controls.Add(this.bolViewTabPage); this.Controls.Add(this.panel3); this.Controls.Add(this.panel2); this.Controls.Add(this.groupBox1); this.Controls.Add(this.panel1); this.Name = "BillOfLading"; this.Text = "Bill Of Lading"; this.groupBox1.ResumeLayout(false); this.containerViewTabPage.ResumeLayout(false); this.bolViewTabPage.ResumeLayout(false); this.panel1.ResumeLayout(false); this.panel2.ResumeLayout(false); this.panel3.ResumeLayout(false); this.ResumeLayout(false); }
public static object FromDateText(AutoCompleteTextBox box) { if (box.Text == "") return System.DBNull.Value; return System.DateTime.Parse(box.Text); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.label1 = new System.Windows.Forms.Label(); this.containerNumberEdt = new EM.AutoCompleteTextBox(); this.choosePOBtn = new System.Windows.Forms.Button(); this.poNumberEdt = new EM.AutoCompleteTextBox(); this.label2 = new System.Windows.Forms.Label(); this.poGridLocation = new System.Windows.Forms.PictureBox(); this.addBtn = new System.Windows.Forms.Button(); this.tabControl = new System.Windows.Forms.TabControl(); this.bundlesTab = new System.Windows.Forms.TabPage(); this.weightTab = new System.Windows.Forms.TabPage(); this.invoiceTab = new System.Windows.Forms.TabPage(); this.shipDateEdt = new EM.AutoCompleteTextBox(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.etaEdt = new EM.AutoCompleteTextBox(); this.shipDateBtn = new System.Windows.Forms.Button(); this.etaBtn = new System.Windows.Forms.Button(); this.label5 = new System.Windows.Forms.Label(); this.attnEdt = new EM.AutoCompleteTextBox(); this.removeBtn = new System.Windows.Forms.Button(); this.moveUpBtn = new System.Windows.Forms.Button(); this.moveDownBtn = new System.Windows.Forms.Button(); this.label6 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.totalLbsEdt = new EM.AutoCompleteTextBox(); this.totalKgEdt = new EM.AutoCompleteTextBox(); this.refreshPOBtn = new System.Windows.Forms.Button(); this.customerLocationCombo = new EM.AutoCompleteComboBox(); this.label10 = new System.Windows.Forms.Label(); this.label11 = new System.Windows.Forms.Label(); this.customerNameCombo = new EM.AutoCompleteComboBox(); this.topPanel = new System.Windows.Forms.Panel(); this.balanceReportBtn = new System.Windows.Forms.Button(); this.changeBtn = new System.Windows.Forms.Button(); this.releaseDateBtn = new System.Windows.Forms.Button(); this.releaseDateEdt = new EM.AutoCompleteTextBox(); this.label16 = new System.Windows.Forms.Label(); this.closeContainerButton = new System.Windows.Forms.Button(); this.topTab = new System.Windows.Forms.TabControl(); this.poTabPage = new System.Windows.Forms.TabPage(); this.poPanel = new System.Windows.Forms.Panel(); this.commentPage = new System.Windows.Forms.TabPage(); this.commentsTxt = new EM.AutoCompleteTextBox(); this.printITLBtn = new System.Windows.Forms.Button(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.contDeliveryDateBtn = new System.Windows.Forms.Button(); this.label15 = new System.Windows.Forms.Label(); this.label13 = new System.Windows.Forms.Label(); this.contDeliveryDateEdt = new EM.AutoCompleteTextBox(); this.label14 = new System.Windows.Forms.Label(); this.closingInfoForContainerBttn = new System.Windows.Forms.CheckBox(); this.label12 = new System.Windows.Forms.Label(); this.contTerminalEdt = new EM.AutoCompleteTextBox(); this.contProofEdt = new EM.AutoCompleteTextBox(); this.ccEdt = new EM.AutoCompleteTextBox(); this.label9 = new System.Windows.Forms.Label(); this.statusCombo = new System.Windows.Forms.ComboBox(); this.label8 = new System.Windows.Forms.Label(); this.printToExcelBtn = new System.Windows.Forms.Button(); this.bottomPanel = new System.Windows.Forms.Panel(); this.gotoBOLBtn = new System.Windows.Forms.Button(); this.gotoPOBtn = new System.Windows.Forms.Button(); this.fillPanel = new System.Windows.Forms.Panel(); ((System.ComponentModel.ISupportInitialize)(this.poGridLocation)).BeginInit(); this.tabControl.SuspendLayout(); this.topPanel.SuspendLayout(); this.topTab.SuspendLayout(); this.poTabPage.SuspendLayout(); this.poPanel.SuspendLayout(); this.commentPage.SuspendLayout(); this.groupBox1.SuspendLayout(); this.bottomPanel.SuspendLayout(); this.fillPanel.SuspendLayout(); this.SuspendLayout(); // // label1 // this.label1.Location = new System.Drawing.Point(0, 8); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(64, 16); this.label1.TabIndex = 0; this.label1.Text = "Container #"; // // containerNumberEdt // this.containerNumberEdt.Location = new System.Drawing.Point(64, 8); this.containerNumberEdt.Name = "containerNumberEdt"; this.containerNumberEdt.Size = new System.Drawing.Size(152, 20); this.containerNumberEdt.TabIndex = 1; // // choosePOBtn // this.choosePOBtn.Location = new System.Drawing.Point(376, 8); this.choosePOBtn.Name = "choosePOBtn"; this.choosePOBtn.Size = new System.Drawing.Size(24, 23); this.choosePOBtn.TabIndex = 2; this.choosePOBtn.Text = "..."; this.choosePOBtn.Click += new System.EventHandler(this.choosePOBtn_Click); // // poNumberEdt // this.poNumberEdt.Location = new System.Drawing.Point(48, 8); this.poNumberEdt.Name = "poNumberEdt"; this.poNumberEdt.ReadOnly = true; this.poNumberEdt.Size = new System.Drawing.Size(320, 20); this.poNumberEdt.TabIndex = 1; // // label2 // this.label2.Location = new System.Drawing.Point(8, 8); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(40, 16); this.label2.TabIndex = 0; this.label2.Text = "PO #"; // // poGridLocation // this.poGridLocation.Dock = System.Windows.Forms.DockStyle.Bottom; this.poGridLocation.Location = new System.Drawing.Point(3, 40); this.poGridLocation.Name = "poGridLocation"; this.poGridLocation.Size = new System.Drawing.Size(834, 171); this.poGridLocation.TabIndex = 4; this.poGridLocation.TabStop = false; // // addBtn // this.addBtn.Location = new System.Drawing.Point(560, 8); this.addBtn.Name = "addBtn"; this.addBtn.Size = new System.Drawing.Size(75, 23); this.addBtn.TabIndex = 4; this.addBtn.Text = "Add Item"; this.addBtn.Click += new System.EventHandler(this.addBtn_Click); // // tabControl // this.tabControl.Controls.Add(this.bundlesTab); this.tabControl.Controls.Add(this.weightTab); this.tabControl.Controls.Add(this.invoiceTab); this.tabControl.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControl.Location = new System.Drawing.Point(0, 0); this.tabControl.Name = "tabControl"; this.tabControl.SelectedIndex = 0; this.tabControl.Size = new System.Drawing.Size(1028, 330); this.tabControl.TabIndex = 0; this.tabControl.SelectedIndexChanged += new System.EventHandler(this.OnItemGridIndexChanged); // // bundlesTab // this.bundlesTab.Location = new System.Drawing.Point(4, 22); this.bundlesTab.Name = "bundlesTab"; this.bundlesTab.Size = new System.Drawing.Size(1020, 304); this.bundlesTab.TabIndex = 0; this.bundlesTab.Text = "Container Bundles"; this.bundlesTab.UseVisualStyleBackColor = true; // // weightTab // this.weightTab.Location = new System.Drawing.Point(4, 22); this.weightTab.Name = "weightTab"; this.weightTab.Size = new System.Drawing.Size(1020, 304); this.weightTab.TabIndex = 1; this.weightTab.Text = "View by Item Weight"; this.weightTab.UseVisualStyleBackColor = true; // // invoiceTab // this.invoiceTab.Location = new System.Drawing.Point(4, 22); this.invoiceTab.Name = "invoiceTab"; this.invoiceTab.Padding = new System.Windows.Forms.Padding(3); this.invoiceTab.Size = new System.Drawing.Size(1020, 304); this.invoiceTab.TabIndex = 2; this.invoiceTab.Text = "Invoice Totals"; this.invoiceTab.UseVisualStyleBackColor = true; // // shipDateEdt // this.shipDateEdt.Location = new System.Drawing.Point(520, 8); this.shipDateEdt.Name = "shipDateEdt"; this.shipDateEdt.Size = new System.Drawing.Size(64, 20); this.shipDateEdt.TabIndex = 5; this.shipDateEdt.Leave += new System.EventHandler(this.OnDateLeave); // // label3 // this.label3.Location = new System.Drawing.Point(456, 8); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(64, 23); this.label3.TabIndex = 4; this.label3.Text = "Ship Date"; // // label4 // this.label4.Location = new System.Drawing.Point(624, 8); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(64, 23); this.label4.TabIndex = 7; this.label4.Text = "ETA Date"; // // etaEdt // this.etaEdt.Location = new System.Drawing.Point(696, 8); this.etaEdt.Name = "etaEdt"; this.etaEdt.Size = new System.Drawing.Size(64, 20); this.etaEdt.TabIndex = 8; this.etaEdt.Leave += new System.EventHandler(this.OnDateLeave); // // shipDateBtn // this.shipDateBtn.Location = new System.Drawing.Point(592, 8); this.shipDateBtn.Name = "shipDateBtn"; this.shipDateBtn.Size = new System.Drawing.Size(24, 23); this.shipDateBtn.TabIndex = 6; this.shipDateBtn.Text = "..."; this.shipDateBtn.Click += new System.EventHandler(this.OnDateBtn); // // etaBtn // this.etaBtn.Location = new System.Drawing.Point(768, 8); this.etaBtn.Name = "etaBtn"; this.etaBtn.Size = new System.Drawing.Size(24, 23); this.etaBtn.TabIndex = 9; this.etaBtn.Text = "..."; this.etaBtn.Click += new System.EventHandler(this.OnDateBtn); // // label5 // this.label5.Location = new System.Drawing.Point(864, 8); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(64, 23); this.label5.TabIndex = 17; this.label5.Text = "Attn:"; // // attnEdt // this.attnEdt.AcceptsReturn = true; this.attnEdt.Location = new System.Drawing.Point(864, 32); this.attnEdt.Multiline = true; this.attnEdt.Name = "attnEdt"; this.attnEdt.ScrollBars = System.Windows.Forms.ScrollBars.Both; this.attnEdt.Size = new System.Drawing.Size(304, 104); this.attnEdt.TabIndex = 18; this.attnEdt.WordWrap = false; // // removeBtn // this.removeBtn.Location = new System.Drawing.Point(24, 24); this.removeBtn.Name = "removeBtn"; this.removeBtn.Size = new System.Drawing.Size(75, 23); this.removeBtn.TabIndex = 0; this.removeBtn.Text = "Remove"; this.removeBtn.Click += new System.EventHandler(this.removeBtn_Click); // // moveUpBtn // this.moveUpBtn.Location = new System.Drawing.Point(104, 24); this.moveUpBtn.Name = "moveUpBtn"; this.moveUpBtn.Size = new System.Drawing.Size(75, 23); this.moveUpBtn.TabIndex = 1; this.moveUpBtn.Text = "Move Up"; this.moveUpBtn.Click += new System.EventHandler(this.moveUpBtn_Click); // // moveDownBtn // this.moveDownBtn.Location = new System.Drawing.Point(184, 24); this.moveDownBtn.Name = "moveDownBtn"; this.moveDownBtn.Size = new System.Drawing.Size(75, 23); this.moveDownBtn.TabIndex = 2; this.moveDownBtn.Text = "Move Down"; this.moveDownBtn.Click += new System.EventHandler(this.moveDownBtn_Click); // // label6 // this.label6.Location = new System.Drawing.Point(552, 16); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(72, 23); this.label6.TabIndex = 5; this.label6.Text = "Weight(kg)"; // // label7 // this.label7.Location = new System.Drawing.Point(744, 16); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(72, 23); this.label7.TabIndex = 7; this.label7.Text = "Weight(lbs)"; // // totalLbsEdt // this.totalLbsEdt.Location = new System.Drawing.Point(824, 16); this.totalLbsEdt.Name = "totalLbsEdt"; this.totalLbsEdt.ReadOnly = true; this.totalLbsEdt.Size = new System.Drawing.Size(100, 20); this.totalLbsEdt.TabIndex = 8; // // totalKgEdt // this.totalKgEdt.Location = new System.Drawing.Point(632, 16); this.totalKgEdt.Name = "totalKgEdt"; this.totalKgEdt.ReadOnly = true; this.totalKgEdt.Size = new System.Drawing.Size(100, 20); this.totalKgEdt.TabIndex = 6; // // refreshPOBtn // this.refreshPOBtn.Location = new System.Drawing.Point(408, 8); this.refreshPOBtn.Name = "refreshPOBtn"; this.refreshPOBtn.Size = new System.Drawing.Size(75, 23); this.refreshPOBtn.TabIndex = 3; this.refreshPOBtn.Text = "Refresh PO"; this.refreshPOBtn.Click += new System.EventHandler(this.refreshPOBtn_Click); // // customerLocationCombo // this.customerLocationCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.customerLocationCombo.Location = new System.Drawing.Point(360, 32); this.customerLocationCombo.Name = "customerLocationCombo"; this.customerLocationCombo.Size = new System.Drawing.Size(232, 21); this.customerLocationCombo.TabIndex = 13; this.customerLocationCombo.SelectedIndexChanged += new System.EventHandler(this.OnLocationChanged); // // label10 // this.label10.Location = new System.Drawing.Point(304, 32); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(48, 16); this.label10.TabIndex = 12; this.label10.Text = "Location"; // // label11 // this.label11.Location = new System.Drawing.Point(0, 32); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(56, 16); this.label11.TabIndex = 10; this.label11.Text = "Customer"; // // customerNameCombo // this.customerNameCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.customerNameCombo.Location = new System.Drawing.Point(80, 32); this.customerNameCombo.Name = "customerNameCombo"; this.customerNameCombo.Size = new System.Drawing.Size(216, 21); this.customerNameCombo.TabIndex = 11; this.customerNameCombo.SelectedIndexChanged += new System.EventHandler(this.OnCustomerChanged); // // topPanel // this.topPanel.Controls.Add(this.balanceReportBtn); this.topPanel.Controls.Add(this.changeBtn); this.topPanel.Controls.Add(this.releaseDateBtn); this.topPanel.Controls.Add(this.releaseDateEdt); this.topPanel.Controls.Add(this.label16); this.topPanel.Controls.Add(this.closeContainerButton); this.topPanel.Controls.Add(this.topTab); this.topPanel.Controls.Add(this.printITLBtn); this.topPanel.Controls.Add(this.groupBox1); this.topPanel.Controls.Add(this.ccEdt); this.topPanel.Controls.Add(this.label9); this.topPanel.Controls.Add(this.statusCombo); this.topPanel.Controls.Add(this.label8); this.topPanel.Controls.Add(this.attnEdt); this.topPanel.Controls.Add(this.label3); this.topPanel.Controls.Add(this.label4); this.topPanel.Controls.Add(this.containerNumberEdt); this.topPanel.Controls.Add(this.etaEdt); this.topPanel.Controls.Add(this.label1); this.topPanel.Controls.Add(this.shipDateBtn); this.topPanel.Controls.Add(this.etaBtn); this.topPanel.Controls.Add(this.label5); this.topPanel.Controls.Add(this.shipDateEdt); this.topPanel.Controls.Add(this.label11); this.topPanel.Controls.Add(this.customerNameCombo); this.topPanel.Controls.Add(this.label10); this.topPanel.Controls.Add(this.customerLocationCombo); this.topPanel.Controls.Add(this.printToExcelBtn); this.topPanel.Dock = System.Windows.Forms.DockStyle.Top; this.topPanel.Location = new System.Drawing.Point(0, 0); this.topPanel.Name = "topPanel"; this.topPanel.Size = new System.Drawing.Size(1028, 352); this.topPanel.TabIndex = 0; // // balanceReportBtn // this.balanceReportBtn.Location = new System.Drawing.Point(648, 304); this.balanceReportBtn.Name = "balanceReportBtn"; this.balanceReportBtn.Size = new System.Drawing.Size(112, 24); this.balanceReportBtn.TabIndex = 26; this.balanceReportBtn.Text = "Show Balance..."; this.balanceReportBtn.UseVisualStyleBackColor = true; this.balanceReportBtn.Click += new System.EventHandler(this.balanceReportBtn_Click); // // changeBtn // this.changeBtn.Location = new System.Drawing.Point(216, 8); this.changeBtn.Name = "changeBtn"; this.changeBtn.Size = new System.Drawing.Size(75, 23); this.changeBtn.TabIndex = 2; this.changeBtn.Text = "Change"; this.changeBtn.UseVisualStyleBackColor = true; this.changeBtn.Click += new System.EventHandler(this.changeBtn_Click); // // releaseDateBtn // this.releaseDateBtn.Location = new System.Drawing.Point(768, 40); this.releaseDateBtn.Name = "releaseDateBtn"; this.releaseDateBtn.Size = new System.Drawing.Size(24, 23); this.releaseDateBtn.TabIndex = 16; this.releaseDateBtn.Text = "..."; this.releaseDateBtn.UseVisualStyleBackColor = true; this.releaseDateBtn.Click += new System.EventHandler(this.OnDateBtn); // // releaseDateEdt // this.releaseDateEdt.Location = new System.Drawing.Point(696, 40); this.releaseDateEdt.Name = "releaseDateEdt"; this.releaseDateEdt.Size = new System.Drawing.Size(64, 20); this.releaseDateEdt.TabIndex = 15; // // label16 // this.label16.AutoSize = true; this.label16.Location = new System.Drawing.Point(608, 40); this.label16.Name = "label16"; this.label16.Size = new System.Drawing.Size(72, 13); this.label16.TabIndex = 14; this.label16.Text = "Release Date"; // // closeContainerButton // this.closeContainerButton.Location = new System.Drawing.Point(648, 328); this.closeContainerButton.Name = "closeContainerButton"; this.closeContainerButton.Size = new System.Drawing.Size(112, 24); this.closeContainerButton.TabIndex = 23; this.closeContainerButton.Text = "Close Container..."; this.closeContainerButton.UseVisualStyleBackColor = true; this.closeContainerButton.Click += new System.EventHandler(this.closeContainerButton_Click); // // topTab // this.topTab.Controls.Add(this.poTabPage); this.topTab.Controls.Add(this.commentPage); this.topTab.Location = new System.Drawing.Point(8, 56); this.topTab.Name = "topTab"; this.topTab.SelectedIndex = 0; this.topTab.Size = new System.Drawing.Size(848, 240); this.topTab.TabIndex = 21; // // poTabPage // this.poTabPage.Controls.Add(this.poPanel); this.poTabPage.Controls.Add(this.poGridLocation); this.poTabPage.Location = new System.Drawing.Point(4, 22); this.poTabPage.Name = "poTabPage"; this.poTabPage.Padding = new System.Windows.Forms.Padding(3); this.poTabPage.Size = new System.Drawing.Size(840, 214); this.poTabPage.TabIndex = 0; this.poTabPage.Text = "Choose PO Items"; this.poTabPage.UseVisualStyleBackColor = true; // // poPanel // this.poPanel.Controls.Add(this.label2); this.poPanel.Controls.Add(this.poNumberEdt); this.poPanel.Controls.Add(this.addBtn); this.poPanel.Controls.Add(this.refreshPOBtn); this.poPanel.Controls.Add(this.choosePOBtn); this.poPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.poPanel.Location = new System.Drawing.Point(3, 3); this.poPanel.Name = "poPanel"; this.poPanel.Size = new System.Drawing.Size(834, 37); this.poPanel.TabIndex = 0; // // commentPage // this.commentPage.Controls.Add(this.commentsTxt); this.commentPage.Location = new System.Drawing.Point(4, 22); this.commentPage.Name = "commentPage"; this.commentPage.Padding = new System.Windows.Forms.Padding(3); this.commentPage.Size = new System.Drawing.Size(840, 214); this.commentPage.TabIndex = 1; this.commentPage.Text = "Container Comments"; this.commentPage.UseVisualStyleBackColor = true; // // commentsTxt // this.commentsTxt.Dock = System.Windows.Forms.DockStyle.Fill; this.commentsTxt.Location = new System.Drawing.Point(3, 3); this.commentsTxt.Multiline = true; this.commentsTxt.Name = "commentsTxt"; this.commentsTxt.Size = new System.Drawing.Size(834, 208); this.commentsTxt.TabIndex = 0; // // printITLBtn // this.printITLBtn.Location = new System.Drawing.Point(768, 328); this.printITLBtn.Name = "printITLBtn"; this.printITLBtn.Size = new System.Drawing.Size(96, 23); this.printITLBtn.TabIndex = 25; this.printITLBtn.Text = "Print ITL"; this.printITLBtn.Click += new System.EventHandler(this.printITLBtn_Click); // // groupBox1 // this.groupBox1.Controls.Add(this.contDeliveryDateBtn); this.groupBox1.Controls.Add(this.label15); this.groupBox1.Controls.Add(this.label13); this.groupBox1.Controls.Add(this.contDeliveryDateEdt); this.groupBox1.Controls.Add(this.label14); this.groupBox1.Controls.Add(this.closingInfoForContainerBttn); this.groupBox1.Controls.Add(this.label12); this.groupBox1.Controls.Add(this.contTerminalEdt); this.groupBox1.Controls.Add(this.contProofEdt); this.groupBox1.Location = new System.Drawing.Point(8, 296); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(560, 48); this.groupBox1.TabIndex = 22; this.groupBox1.TabStop = false; this.groupBox1.Text = "Container Closing Info"; // // contDeliveryDateBtn // this.contDeliveryDateBtn.Location = new System.Drawing.Point(240, 24); this.contDeliveryDateBtn.Name = "contDeliveryDateBtn"; this.contDeliveryDateBtn.Size = new System.Drawing.Size(24, 23); this.contDeliveryDateBtn.TabIndex = 3; this.contDeliveryDateBtn.Text = "..."; this.contDeliveryDateBtn.Click += new System.EventHandler(this.contDeliveryDateBtn_Click); // // label15 // this.label15.Location = new System.Drawing.Point(400, 24); this.label15.Name = "label15"; this.label15.Size = new System.Drawing.Size(24, 16); this.label15.TabIndex = 6; this.label15.Text = "Or"; // // label13 // this.label13.Location = new System.Drawing.Point(288, 8); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(100, 16); this.label13.TabIndex = 4; this.label13.Text = "Terminal"; // // contDeliveryDateEdt // this.contDeliveryDateEdt.Location = new System.Drawing.Point(152, 24); this.contDeliveryDateEdt.Name = "contDeliveryDateEdt"; this.contDeliveryDateEdt.Size = new System.Drawing.Size(80, 20); this.contDeliveryDateEdt.TabIndex = 2; this.contDeliveryDateEdt.Text = "textBox1"; // // label14 // this.label14.Location = new System.Drawing.Point(448, 8); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(100, 16); this.label14.TabIndex = 7; this.label14.Text = "Bill of lading"; // // closingInfoForContainerBttn // this.closingInfoForContainerBttn.Location = new System.Drawing.Point(8, 16); this.closingInfoForContainerBttn.Name = "closingInfoForContainerBttn"; this.closingInfoForContainerBttn.Size = new System.Drawing.Size(144, 24); this.closingInfoForContainerBttn.TabIndex = 0; this.closingInfoForContainerBttn.Text = "Apply to entire container"; this.closingInfoForContainerBttn.CheckedChanged += new System.EventHandler(this.OnContainerClosingChanged); // // label12 // this.label12.Location = new System.Drawing.Point(152, 8); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(100, 16); this.label12.TabIndex = 1; this.label12.Text = "Delivery Date"; // // contTerminalEdt // this.contTerminalEdt.Location = new System.Drawing.Point(288, 24); this.contTerminalEdt.Name = "contTerminalEdt"; this.contTerminalEdt.Size = new System.Drawing.Size(100, 20); this.contTerminalEdt.TabIndex = 5; this.contTerminalEdt.Text = "textBox2"; // // contProofEdt // this.contProofEdt.Location = new System.Drawing.Point(448, 24); this.contProofEdt.Name = "contProofEdt"; this.contProofEdt.Size = new System.Drawing.Size(100, 20); this.contProofEdt.TabIndex = 8; this.contProofEdt.Text = "textBox3"; // // ccEdt // this.ccEdt.AcceptsReturn = true; this.ccEdt.Location = new System.Drawing.Point(864, 160); this.ccEdt.Multiline = true; this.ccEdt.Name = "ccEdt"; this.ccEdt.ScrollBars = System.Windows.Forms.ScrollBars.Both; this.ccEdt.Size = new System.Drawing.Size(304, 136); this.ccEdt.TabIndex = 20; this.ccEdt.WordWrap = false; // // label9 // this.label9.Location = new System.Drawing.Point(864, 144); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(64, 23); this.label9.TabIndex = 19; this.label9.Text = "CC:"; // // statusCombo // this.statusCombo.Items.AddRange(new object[] { "Open", "Closed", "Cancelled"}); this.statusCombo.Location = new System.Drawing.Point(352, 8); this.statusCombo.Name = "statusCombo"; this.statusCombo.Size = new System.Drawing.Size(96, 21); this.statusCombo.TabIndex = 3; // // label8 // this.label8.Location = new System.Drawing.Point(304, 8); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(40, 16); this.label8.TabIndex = 2; this.label8.Text = "Status"; // // printToExcelBtn // this.printToExcelBtn.Location = new System.Drawing.Point(768, 304); this.printToExcelBtn.Name = "printToExcelBtn"; this.printToExcelBtn.Size = new System.Drawing.Size(96, 23); this.printToExcelBtn.TabIndex = 24; this.printToExcelBtn.Text = "Print"; this.printToExcelBtn.Click += new System.EventHandler(this.printToExcelBtn_Click); // // bottomPanel // this.bottomPanel.Controls.Add(this.gotoBOLBtn); this.bottomPanel.Controls.Add(this.gotoPOBtn); this.bottomPanel.Controls.Add(this.removeBtn); this.bottomPanel.Controls.Add(this.moveUpBtn); this.bottomPanel.Controls.Add(this.moveDownBtn); this.bottomPanel.Controls.Add(this.totalLbsEdt); this.bottomPanel.Controls.Add(this.totalKgEdt); this.bottomPanel.Controls.Add(this.label6); this.bottomPanel.Controls.Add(this.label7); this.bottomPanel.Dock = System.Windows.Forms.DockStyle.Bottom; this.bottomPanel.Location = new System.Drawing.Point(0, 682); this.bottomPanel.Name = "bottomPanel"; this.bottomPanel.Size = new System.Drawing.Size(1028, 64); this.bottomPanel.TabIndex = 1; // // gotoBOLBtn // this.gotoBOLBtn.Location = new System.Drawing.Point(0, 0); this.gotoBOLBtn.Name = "gotoBOLBtn"; this.gotoBOLBtn.Size = new System.Drawing.Size(75, 23); this.gotoBOLBtn.TabIndex = 0; // // gotoPOBtn // this.gotoPOBtn.Location = new System.Drawing.Point(304, 24); this.gotoPOBtn.Name = "gotoPOBtn"; this.gotoPOBtn.Size = new System.Drawing.Size(75, 23); this.gotoPOBtn.TabIndex = 3; this.gotoPOBtn.Text = "Go to PO"; this.gotoPOBtn.Click += new System.EventHandler(this.gotoPOBtn_Click); // // fillPanel // this.fillPanel.Controls.Add(this.tabControl); this.fillPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.fillPanel.Location = new System.Drawing.Point(0, 352); this.fillPanel.Name = "fillPanel"; this.fillPanel.Size = new System.Drawing.Size(1028, 330); this.fillPanel.TabIndex = 27; // // ContainerItem // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(1028, 746); this.Controls.Add(this.fillPanel); this.Controls.Add(this.topPanel); this.Controls.Add(this.bottomPanel); this.Name = "ContainerItem"; this.Text = "ContainerItem"; ((System.ComponentModel.ISupportInitialize)(this.poGridLocation)).EndInit(); this.tabControl.ResumeLayout(false); this.topPanel.ResumeLayout(false); this.topPanel.PerformLayout(); this.topTab.ResumeLayout(false); this.poTabPage.ResumeLayout(false); this.poPanel.ResumeLayout(false); this.poPanel.PerformLayout(); this.commentPage.ResumeLayout(false); this.commentPage.PerformLayout(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.bottomPanel.ResumeLayout(false); this.bottomPanel.PerformLayout(); this.fillPanel.ResumeLayout(false); this.ResumeLayout(false); }