public void Print() { reader = File.OpenText("~Optical Measurements.txt"); Consolas11Font = new Font("Consolas", 11); PrintDocument doc = new PrintDocument(); doc.PrintPage += PrintTextFileHandler; System.Windows.Forms.PrintDialog dlg = new System.Windows.Forms.PrintDialog(); System.Windows.Forms.PrintPreviewDialog preview = new System.Windows.Forms.PrintPreviewDialog(); dlg.Document = doc; preview.Document = doc; //if (preview.ShowDialog() == System.Windows.Forms.DialogResult.Yes) //{ if (dlg.ShowDialog() == System.Windows.Forms.DialogResult.OK) { doc.Print(); } //} reader.Close(); File.Delete("~Optical Measurements.txt"); }
private void PrintPreview() { var dialog = new System.Windows.Forms.PrintPreviewDialog(); dialog.Document = GeneratePrintDocuemnt(CurrentForm, new System.Windows.Forms.PrintDialog().PrinterSettings, true); dialog.Show(); }
public void PrintPreview() { this.CreatePrintDocument(); using (System.Windows.Forms.PrintPreviewDialog dlg = new System.Windows.Forms.PrintPreviewDialog()) { dlg.Document = this._printDoc; dlg.ShowDialog(this.FindForm()); } }
//Druck-Funktion, die den StandardPrintDialog aufruft public void drucken(bool erfuellung, bool gewichtung, bool nutzwert, bool prozent, int ProjektID, int[] ProduktID, bool produkte) { dok.BuildDataTable(erfuellung: false, anforderungen: true, gewichtung: gewichtung, nutzwert: nutzwert, prozent: prozent, ProjektID: ProjektID, ProduktID: ProduktID, db: db, produkte: produkte); System.Windows.Forms.PrintPreviewDialog dialog = new System.Windows.Forms.PrintPreviewDialog(); dialog.Document = dok; dialog.ShowDialog(); }
public void PrintReceipt(bool giftReceipt, ArrayList currentCart) { arCart = currentCart; PrintDocument recordDoc; // Create the document and name it recordDoc = new PrintDocument(); recordDoc.DocumentName = "Customer Receipt"; recordDoc.DefaultPageSettings.Landscape = false; if (giftReceipt) { recordDoc.PrintPage += new PrintPageEventHandler(this.printGiftReceiptPage); } else { recordDoc.PrintPage += new PrintPageEventHandler(this.printReceipt); } PaperSize paperSize = null; switch (receiptWidth) { case (30): //new thermal printer paperSize = new PaperSize("Receipt", 230, 1100); break; default: paperSize = new PaperSize("Receipt", 275, 1100); break; } recordDoc.DefaultPageSettings.PaperSize = paperSize; Margins margins = new Margins(5, 8, 5, 5); recordDoc.DefaultPageSettings.Margins = margins; recordDoc.PrinterSettings.PrinterName = "Receipt Printer"; #if DEBUG // Preview document System.Windows.Forms.PrintPreviewDialog printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog(); printPreviewDialog1.Document = recordDoc; printPreviewDialog1.ShowDialog(); #else //print with no preview recordDoc.Print(); #endif //Dispose of document when done printing recordDoc.Dispose(); }
private void CommandBindingPrintWishlist_Executed(object sender, ExecutedRoutedEventArgs e) { System.Windows.Forms.PrintPreviewDialog previewDialog = new System.Windows.Forms.PrintPreviewDialog(); printDocument = new System.Drawing.Printing.PrintDocument(); printDocument.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(printDocument_PrintPage); previewDialog.Document = printDocument; currentPrintRecord = 0; currentPage = 1; previewDialog.ShowDialog(); }
//----------------------------------------------------------------------------------- /// <summary> /// Вызывает окно предварительного просмотра печати документа /// </summary> public void PrintPreview() { if ((_FileToPrint != null) && (_PrintDocument != null)) { System.Windows.Forms.PrintPreviewDialog printPreviewDialog = new System.Windows.Forms.PrintPreviewDialog(); // Устанавливаем курсор на начало файла System.IO.Stream stream = _FileToPrint.BaseStream; stream.Seek(0, System.IO.SeekOrigin.Begin); printPreviewDialog.Document = _PrintDocument; System.Windows.Forms.DialogResult result = printPreviewDialog.ShowDialog(); } return; }
public virtual void PrintPreview() { if (_view == null) { throw new PrintDocumentException("A Diagram reference was not set for this PrintDocument."); } System.Windows.Forms.PrintPreviewDialog objDialog = new System.Windows.Forms.PrintPreviewDialog(); objDialog.Document = this; //Set the zoom _render.Zoom = _view.Zoom; objDialog.ShowDialog(); objDialog.Dispose(); }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(InclinationPanel)); this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog(); this.SuspendLayout(); // // printPreviewDialog1 // this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0); this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0); this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300); this.printPreviewDialog1.Enabled = true; this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon"))); this.printPreviewDialog1.Name = "printPreviewDialog1"; this.printPreviewDialog1.Visible = false; this.ResumeLayout(false); }
/// <summary> /// 预览 /// </summary> public virtual void Preview() { PrintDocument doc = new PrintDocument(); PageSettings ps = new PageSettings(); ps.PaperSize = paperSize; ps.Margins = new Margins(paperInfo.Left, paperInfo.Right, paperInfo.Top, paperInfo.Bottom); doc.DefaultPageSettings = ps; System.Windows.Forms.PrintPreviewDialog dlg = new System.Windows.Forms.PrintPreviewDialog(); doc.PrintPage += new PrintPageEventHandler(doc_PrintPage); dlg.Document = doc; dlg.ShowDialog(); doc.Dispose(); }
public void PrintLabel(Voodoo.Objects.InventoryItem ItemToPrint) { itemToPrint = ItemToPrint; LabelTemplate labelTemplate = new LabelTemplate(); if (labelTemplate.ShowDialog() == System.Windows.Forms.DialogResult.OK) { if (itemToPrint.Quantity > 0 && labelTemplate.SelectedColumnIndex >= 0 && labelTemplate.SelectedRowIndex >= 0) { labelRow = labelTemplate.SelectedRowIndex; labelColumn = labelTemplate.SelectedColumnIndex; numLabelColumns = labelTemplate.NumberOfColumns; PrintDocument labelDoc; // Create the document and name it labelDoc = new PrintDocument(); labelDoc.DocumentName = "Pricing Label"; labelDoc.DefaultPageSettings.Landscape = false; labelDoc.PrintPage += new PrintPageEventHandler(this.printTheLabel); PaperSize paperSize = new PaperSize("Label", 850, 1100); //full 8.5 x 11 page //PaperSize paperSize = new PaperSize("Label", 83, 366); labelDoc.DefaultPageSettings.PaperSize = paperSize; Margins margins = new Margins(10, 5, 35, 15); labelDoc.DefaultPageSettings.Margins = margins; labelDoc.PrinterSettings.PrinterName = "HP Deskjet D4200 series"; #if DEBUG // Preview document System.Windows.Forms.PrintPreviewDialog printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog(); printPreviewDialog1.Document = labelDoc; printPreviewDialog1.ShowDialog(); #else //print with no preview labelDoc.Print(); #endif //Dispose of document when done printing labelDoc.Dispose(); } } }
public virtual void PrintPreview(Point Location, Size Size) { if (mDiagram == null) { throw new PrintDocumentException("A Diagram reference was not set for this PrintDocument."); } System.Windows.Forms.PrintPreviewDialog objDialog = new System.Windows.Forms.PrintPreviewDialog(); objDialog.Document = this; objDialog.Location = Location; objDialog.Size = Size; //Set the zoom mRender.Zoom = mDiagram.Zoom; objDialog.ShowDialog(); objDialog.Dispose(); }
/// <summary> /// Handler for the menu item "File" - "Print Preview". /// </summary> /// <param name="sender">Not used.</param> /// <param name="e">Not used.</param> private void EhMenuFilePrintPreview_OnClick(object sender, System.EventArgs e) { try { System.Windows.Forms.PrintPreviewDialog dlg = new System.Windows.Forms.PrintPreviewDialog(); Current.PrintingService.PrintDocument.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.EhPrintPage); dlg.Document = Current.PrintingService.PrintDocument; dlg.ShowDialog(this.m_View.Window); dlg.Dispose(); } catch (Exception ex) { System.Windows.Forms.MessageBox.Show(this.m_View.Window, ex.ToString()); } finally { Current.PrintingService.PrintDocument.PrintPage -= new System.Drawing.Printing.PrintPageEventHandler(this.EhPrintPage); } }
private void btnToPrintPreview_Click(object sender, RoutedEventArgs e) { PrinterInteractiveOverlay printerInteractiveOverlay = (PrinterInteractiveOverlay)Map1.InteractiveOverlays["PrintPreviewOverlay"]; PagePrinterLayer pagePrinterLayer = printerInteractiveOverlay.PrinterLayers["PageLayer"] as PagePrinterLayer; PrintDialog printDialog = new PrintDialog(); PrintDocument printDocument = new PrintDocument(); printDocument.DefaultPageSettings.Landscape = true; if (pagePrinterLayer.Orientation == PrinterOrientation.Portrait) { printDocument.DefaultPageSettings.Landscape = false; } printDocument.DefaultPageSettings.PaperSize = GetPrintPreviewPaperSize(pagePrinterLayer); PrinterGeoCanvas printerGeoCanvas = new PrinterGeoCanvas(); printerGeoCanvas.DrawingArea = printDocument.DefaultPageSettings.Bounds; printerGeoCanvas.BeginDrawing(printDocument, pagePrinterLayer.GetBoundingBox(), Map1.MapUnit); // Loop through all of the PrintingLayer in the PrinterInteractiveOverlay and print all of the // except for the PagePrinterLayer Collection <SimpleCandidate> labelsInAllLayers = new Collection <SimpleCandidate>(); foreach (PrinterLayer printerLayer in printerInteractiveOverlay.PrinterLayers) { printerLayer.IsDrawing = true; if (!(printerLayer is PagePrinterLayer)) { printerLayer.Draw(printerGeoCanvas, labelsInAllLayers); } printerLayer.IsDrawing = false; } printerGeoCanvas.Flush(); System.Windows.Forms.PrintPreviewDialog printPreviewDialog = new System.Windows.Forms.PrintPreviewDialog(); printPreviewDialog.Document = printDocument; System.Windows.Forms.DialogResult dialogResult = printPreviewDialog.ShowDialog(); }
public void PrintGiftCertificate(string NameOnCertificate, double Amount, int GiftCertificateID, Bitmap barcode) { PrintDocument labelDoc; nameOnCertificate = NameOnCertificate; giftCertificateID = GiftCertificateID; giftCertificateAmount = Amount; barcodeToPrint = barcode; // Create the document and name it labelDoc = new PrintDocument(); labelDoc.DocumentName = "Gift Certificate"; labelDoc.DefaultPageSettings.Landscape = true; labelDoc.PrintPage += new PrintPageEventHandler(this.printGiftCertificate); PaperSize paperSize = new PaperSize("GiftCertificate", 1100, 850); //full 8.5 x 11 page //PaperSize paperSize = new PaperSize("Label", 83, 366); labelDoc.DefaultPageSettings.PaperSize = paperSize; Margins margins = new Margins(5, 5, 5, 5); labelDoc.DefaultPageSettings.Margins = margins; #if DEBUG // Preview document System.Windows.Forms.PrintPreviewDialog printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog(); printPreviewDialog1.Document = labelDoc; printPreviewDialog1.ShowDialog(); #else //print with no preview labelDoc.Print(); #endif //Dispose of document when done printing labelDoc.Dispose(); }
/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(cambio_de_estatus)); this.textBox1 = new System.Windows.Forms.TextBox(); this.boton_cierre = new System.Windows.Forms.Button(); this.printDocument1 = new System.Drawing.Printing.PrintDocument(); this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog(); this.printDialog1 = new System.Windows.Forms.PrintDialog(); this.textBox3 = new System.Windows.Forms.TextBox(); this.textBox4 = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.textBox6 = new System.Windows.Forms.TextBox(); this.textBox7 = new System.Windows.Forms.TextBox(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.label7 = new System.Windows.Forms.Label(); this.comboBox2 = new System.Windows.Forms.ComboBox(); this.SuspendLayout(); // // textBox1 // this.textBox1.Location = new System.Drawing.Point(166, 12); this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(501, 20); this.textBox1.TabIndex = 0; // // boton_cierre // this.boton_cierre.Location = new System.Drawing.Point(833, 100); this.boton_cierre.Name = "boton_cierre"; this.boton_cierre.Size = new System.Drawing.Size(119, 69); this.boton_cierre.TabIndex = 7; this.boton_cierre.Text = "Actualizar estatus"; this.boton_cierre.UseVisualStyleBackColor = true; this.boton_cierre.Click += new System.EventHandler(this.Boton_cierreClick); // // printPreviewDialog1 // this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0); this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0); this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300); this.printPreviewDialog1.Document = this.printDocument1; this.printPreviewDialog1.Enabled = true; this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon"))); this.printPreviewDialog1.Name = "printPreviewDialog1"; this.printPreviewDialog1.Visible = false; // // printDialog1 // this.printDialog1.UseEXDialog = true; // // textBox3 // this.textBox3.Location = new System.Drawing.Point(166, 63); this.textBox3.Name = "textBox3"; this.textBox3.Size = new System.Drawing.Size(501, 20); this.textBox3.TabIndex = 2; // // textBox4 // this.textBox4.Location = new System.Drawing.Point(166, 116); this.textBox4.Name = "textBox4"; this.textBox4.Size = new System.Drawing.Size(501, 20); this.textBox4.TabIndex = 3; // // label1 // this.label1.Location = new System.Drawing.Point(21, 19); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(129, 13); this.label1.TabIndex = 9; this.label1.Text = "Domicilio"; this.label1.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // label2 // this.label2.Location = new System.Drawing.Point(21, 119); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(129, 13); this.label2.TabIndex = 10; this.label2.Text = "Presupuesto"; this.label2.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // label3 // this.label3.Location = new System.Drawing.Point(21, 66); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(129, 13); this.label3.TabIndex = 11; this.label3.Text = "Diagnostico"; this.label3.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // label4 // this.label4.Location = new System.Drawing.Point(21, 177); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(129, 13); this.label4.TabIndex = 12; this.label4.Text = "Garantia"; this.label4.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // label5 // this.label5.Location = new System.Drawing.Point(21, 222); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(129, 13); this.label5.TabIndex = 13; this.label5.Text = "Tecnico 1"; this.label5.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // label6 // this.label6.Location = new System.Drawing.Point(21, 268); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(129, 13); this.label6.TabIndex = 14; this.label6.Text = "Tecnico 2"; this.label6.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // textBox6 // this.textBox6.Location = new System.Drawing.Point(166, 219); this.textBox6.Name = "textBox6"; this.textBox6.Size = new System.Drawing.Size(501, 20); this.textBox6.TabIndex = 5; // // textBox7 // this.textBox7.Location = new System.Drawing.Point(166, 265); this.textBox7.Name = "textBox7"; this.textBox7.Size = new System.Drawing.Size(501, 20); this.textBox7.TabIndex = 6; // // comboBox1 // this.comboBox1.FormattingEnabled = true; this.comboBox1.Items.AddRange(new object[] { "N/A", "1 mes", "2 meses", "3 meses", "6 meses", "1 anio" }); this.comboBox1.Location = new System.Drawing.Point(164, 174); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(503, 21); this.comboBox1.TabIndex = 4; // // label7 // this.label7.Location = new System.Drawing.Point(21, 312); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(129, 13); this.label7.TabIndex = 15; this.label7.Text = "Estatus"; this.label7.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // comboBox2 // this.comboBox2.FormattingEnabled = true; this.comboBox2.Items.AddRange(new object[] { "Taller", "Pendiente por refaccion", "Cerrado" }); this.comboBox2.Location = new System.Drawing.Point(166, 309); this.comboBox2.Name = "comboBox2"; this.comboBox2.Size = new System.Drawing.Size(501, 21); this.comboBox2.TabIndex = 16; // // cambio_de_estatus // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1122, 334); this.Controls.Add(this.comboBox2); this.Controls.Add(this.label7); this.Controls.Add(this.comboBox1); this.Controls.Add(this.textBox7); this.Controls.Add(this.textBox6); this.Controls.Add(this.label6); this.Controls.Add(this.label5); this.Controls.Add(this.label4); this.Controls.Add(this.label3); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.textBox4); this.Controls.Add(this.textBox3); this.Controls.Add(this.boton_cierre); this.Controls.Add(this.textBox1); this.Name = "cambio_de_estatus"; this.Text = "cambio_de_estatus"; this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ReportViewer)); Microsoft.Reporting.WinForms.ReportDataSource reportDataSource3 = new Microsoft.Reporting.WinForms.ReportDataSource(); this.TestBindingSource = new System.Windows.Forms.BindingSource(this.components); this.dnReport = new System.Windows.Forms.BindingNavigator(this.components); this.tspbPrint = new System.Windows.Forms.ToolStripSplitButton(); this.toolPageSettings = new System.Windows.Forms.ToolStripMenuItem(); this.toolPreview = new System.Windows.Forms.ToolStripMenuItem(); this.toolPrint = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.toolRefresh = new System.Windows.Forms.ToolStripButton(); this.toolStop = new System.Windows.Forms.ToolStripButton(); this.toolBack = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.toolExport = new System.Windows.Forms.ToolStripSplitButton(); this.toolExcel = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); this.tspbZoom = new System.Windows.Forms.ToolStripSplitButton(); this.tool25 = new System.Windows.Forms.ToolStripMenuItem(); this.tool50 = new System.Windows.Forms.ToolStripMenuItem(); this.tool100 = new System.Windows.Forms.ToolStripMenuItem(); this.tool200 = new System.Windows.Forms.ToolStripMenuItem(); this.tool400 = new System.Windows.Forms.ToolStripMenuItem(); this.toolWhole = new System.Windows.Forms.ToolStripMenuItem(); this.toolPageWidth = new System.Windows.Forms.ToolStripMenuItem(); this.tspbSearch = new System.Windows.Forms.ToolStripSplitButton(); this.txtSearch = new System.Windows.Forms.ToolStripTextBox(); this.toolSearch = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.toolSearchNext = new System.Windows.Forms.ToolStripMenuItem(); this.tspbNavigation = new System.Windows.Forms.ToolStripSplitButton(); this.toolFirst = new System.Windows.Forms.ToolStripMenuItem(); this.toolLast = new System.Windows.Forms.ToolStripMenuItem(); this.toolPrevious = new System.Windows.Forms.ToolStripMenuItem(); this.toolNext = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.toolJump = new System.Windows.Forms.ToolStripMenuItem(); this.txtJump = new System.Windows.Forms.ToolStripTextBox(); this.toolStripButton1 = new System.Windows.Forms.ToolStripSeparator(); this.rptViewer = new Microsoft.Reporting.WinForms.ReportViewer(); this.PreviewDialog = new System.Windows.Forms.PrintPreviewDialog(); ((System.ComponentModel.ISupportInitialize)(this.TestBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dnReport)).BeginInit(); this.dnReport.SuspendLayout(); this.SuspendLayout(); // // dnReport // this.dnReport.AddNewItem = null; this.dnReport.CountItem = null; this.dnReport.DeleteItem = null; this.dnReport.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tspbPrint, this.toolStripSeparator1, this.toolRefresh, this.toolStop, this.toolBack, this.toolStripSeparator4, this.toolExport, this.toolStripSeparator5, this.tspbZoom, this.tspbSearch, this.tspbNavigation, this.toolStripButton1}); this.dnReport.Location = new System.Drawing.Point(0, 0); this.dnReport.MoveFirstItem = null; this.dnReport.MoveLastItem = null; this.dnReport.MoveNextItem = null; this.dnReport.MovePreviousItem = null; this.dnReport.Name = "dnReport"; this.dnReport.PositionItem = null; this.dnReport.Size = new System.Drawing.Size(641, 25); this.dnReport.TabIndex = 0; this.dnReport.Text = "bindingNavigator1"; // // tspbPrint // this.tspbPrint.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.tspbPrint.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolPageSettings, this.toolPreview, this.toolPrint}); this.tspbPrint.Image = ((System.Drawing.Image)(resources.GetObject("tspbPrint.Image"))); this.tspbPrint.ImageTransparentColor = System.Drawing.Color.Magenta; this.tspbPrint.Name = "tspbPrint"; this.tspbPrint.Size = new System.Drawing.Size(45, 22); this.tspbPrint.Text = "打印"; // // toolPageSettings // this.toolPageSettings.Name = "toolPageSettings"; this.toolPageSettings.Size = new System.Drawing.Size(152, 22); this.toolPageSettings.Text = "页面设置"; this.toolPageSettings.Click += new System.EventHandler(this.toolPageSettings_Click); // // toolPreview // this.toolPreview.Name = "toolPreview"; this.toolPreview.Size = new System.Drawing.Size(152, 22); this.toolPreview.Text = "预览"; this.toolPreview.Click += new System.EventHandler(this.toolPreview_Click); // // toolPrint // this.toolPrint.Name = "toolPrint"; this.toolPrint.Size = new System.Drawing.Size(152, 22); this.toolPrint.Text = "打印"; this.toolPrint.Click += new System.EventHandler(this.toolPrint_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); // // toolRefresh // this.toolRefresh.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolRefresh.Name = "toolRefresh"; this.toolRefresh.Size = new System.Drawing.Size(33, 22); this.toolRefresh.Text = "刷新"; this.toolRefresh.Click += new System.EventHandler(this.toolRefresh_Click); // // toolStop // this.toolStop.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStop.Name = "toolStop"; this.toolStop.Size = new System.Drawing.Size(33, 22); this.toolStop.Text = "停止"; this.toolStop.Click += new System.EventHandler(this.toolStop_Click); // // toolBack // this.toolBack.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolBack.Name = "toolBack"; this.toolBack.Size = new System.Drawing.Size(33, 22); this.toolBack.Text = "后退"; this.toolBack.Click += new System.EventHandler(this.toolBack_Click); // // toolStripSeparator4 // this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.Size = new System.Drawing.Size(6, 25); // // toolExport // this.toolExport.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolExcel}); this.toolExport.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolExport.Name = "toolExport"; this.toolExport.Size = new System.Drawing.Size(45, 22); this.toolExport.Text = "输出"; // // toolExcel // this.toolExcel.Name = "toolExcel"; this.toolExcel.Size = new System.Drawing.Size(136, 22); this.toolExcel.Text = "输出到Excel"; this.toolExcel.Click += new System.EventHandler(this.toolExcel_Click); // // toolStripSeparator5 // this.toolStripSeparator5.Name = "toolStripSeparator5"; this.toolStripSeparator5.Size = new System.Drawing.Size(6, 25); // // tspbZoom // this.tspbZoom.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.tspbZoom.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tool25, this.tool50, this.tool100, this.tool200, this.tool400, this.toolWhole, this.toolPageWidth}); this.tspbZoom.Image = ((System.Drawing.Image)(resources.GetObject("tspbZoom.Image"))); this.tspbZoom.ImageTransparentColor = System.Drawing.Color.Magenta; this.tspbZoom.Name = "tspbZoom"; this.tspbZoom.Size = new System.Drawing.Size(45, 22); this.tspbZoom.Text = "显示"; // // tool25 // this.tool25.Name = "tool25"; this.tool25.Size = new System.Drawing.Size(130, 22); this.tool25.Text = "25%"; this.tool25.Click += new System.EventHandler(this.tool25_Click); // // tool50 // this.tool50.Name = "tool50"; this.tool50.Size = new System.Drawing.Size(130, 22); this.tool50.Text = "50%"; this.tool50.Click += new System.EventHandler(this.tool50_Click); // // tool100 // this.tool100.Name = "tool100"; this.tool100.Size = new System.Drawing.Size(130, 22); this.tool100.Text = "100%"; this.tool100.Click += new System.EventHandler(this.tool100_Click); // // tool200 // this.tool200.Name = "tool200"; this.tool200.Size = new System.Drawing.Size(130, 22); this.tool200.Text = "200%"; this.tool200.Click += new System.EventHandler(this.tool200_Click); // // tool400 // this.tool400.Name = "tool400"; this.tool400.Size = new System.Drawing.Size(130, 22); this.tool400.Text = "400%"; this.tool400.Click += new System.EventHandler(this.tool400_Click); // // toolWhole // this.toolWhole.Name = "toolWhole"; this.toolWhole.Size = new System.Drawing.Size(130, 22); this.toolWhole.Text = "&Whole Page"; this.toolWhole.Click += new System.EventHandler(this.toolWhole_Click); // // toolPageWidth // this.toolPageWidth.Name = "toolPageWidth"; this.toolPageWidth.Size = new System.Drawing.Size(130, 22); this.toolPageWidth.Text = "&Page Width"; this.toolPageWidth.Click += new System.EventHandler(this.toolPageWidth_Click); // // tspbSearch // this.tspbSearch.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.tspbSearch.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.txtSearch, this.toolSearch, this.toolStripSeparator3, this.toolSearchNext}); this.tspbSearch.Image = ((System.Drawing.Image)(resources.GetObject("tspbSearch.Image"))); this.tspbSearch.ImageTransparentColor = System.Drawing.Color.Magenta; this.tspbSearch.Name = "tspbSearch"; this.tspbSearch.Size = new System.Drawing.Size(45, 22); this.tspbSearch.Text = "查找"; // // txtSearch // this.txtSearch.Name = "txtSearch"; this.txtSearch.Size = new System.Drawing.Size(100, 21); // // toolSearch // this.toolSearch.Name = "toolSearch"; this.toolSearch.Size = new System.Drawing.Size(160, 22); this.toolSearch.Text = "查找"; this.toolSearch.Click += new System.EventHandler(this.toolSearch_Click); // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(157, 6); // // toolSearchNext // this.toolSearchNext.Name = "toolSearchNext"; this.toolSearchNext.Size = new System.Drawing.Size(160, 22); this.toolSearchNext.Text = "查找下一个"; this.toolSearchNext.Click += new System.EventHandler(this.toolSearchNext_Click); // // tspbNavigation // this.tspbNavigation.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.tspbNavigation.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolFirst, this.toolLast, this.toolPrevious, this.toolNext, this.toolStripSeparator2, this.toolJump, this.txtJump}); this.tspbNavigation.Image = ((System.Drawing.Image)(resources.GetObject("tspbNavigation.Image"))); this.tspbNavigation.ImageTransparentColor = System.Drawing.Color.Magenta; this.tspbNavigation.Name = "tspbNavigation"; this.tspbNavigation.Size = new System.Drawing.Size(45, 22); this.tspbNavigation.Text = "导航"; // // toolFirst // this.toolFirst.Name = "toolFirst"; this.toolFirst.Size = new System.Drawing.Size(178, 22); this.toolFirst.Text = "首页"; this.toolFirst.Click += new System.EventHandler(this.toolFirst_Click); // // toolLast // this.toolLast.Name = "toolLast"; this.toolLast.Size = new System.Drawing.Size(178, 22); this.toolLast.Text = "末页"; this.toolLast.Click += new System.EventHandler(this.toolLast_Click); // // toolPrevious // this.toolPrevious.Name = "toolPrevious"; this.toolPrevious.Size = new System.Drawing.Size(178, 22); this.toolPrevious.Text = "上页"; this.toolPrevious.Click += new System.EventHandler(this.toolPrevious_Click); // // toolNext // this.toolNext.Name = "toolNext"; this.toolNext.Size = new System.Drawing.Size(178, 22); this.toolNext.Text = "下页"; this.toolNext.Click += new System.EventHandler(this.toolNext_Click); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(175, 6); // // toolJump // this.toolJump.Name = "toolJump"; this.toolJump.Size = new System.Drawing.Size(178, 22); this.toolJump.Text = "Jump to Specific:"; this.toolJump.Click += new System.EventHandler(this.toolJump_Click); // // txtJump // this.txtJump.Name = "txtJump"; this.txtJump.Size = new System.Drawing.Size(100, 21); // // toolStripButton1 // this.toolStripButton1.Name = "toolStripButton1"; this.toolStripButton1.Size = new System.Drawing.Size(6, 25); // // rptViewer // this.rptViewer.Dock = System.Windows.Forms.DockStyle.Fill; reportDataSource3.Name = "dsTest_Test"; reportDataSource3.Value = this.TestBindingSource; this.rptViewer.LocalReport.DataSources.Add(reportDataSource3); this.rptViewer.LocalReport.ReportEmbeddedResource = "ReportProject.Report1.rdlc"; this.rptViewer.Location = new System.Drawing.Point(0, 25); this.rptViewer.Name = "rptViewer"; this.rptViewer.ShowToolBar = false; this.rptViewer.Size = new System.Drawing.Size(641, 486); this.rptViewer.TabIndex = 1; // // PreviewDialog // this.PreviewDialog.AutoScrollMargin = new System.Drawing.Size(0, 0); this.PreviewDialog.AutoScrollMinSize = new System.Drawing.Size(0, 0); this.PreviewDialog.ClientSize = new System.Drawing.Size(400, 300); this.PreviewDialog.Enabled = true; this.PreviewDialog.Icon = ((System.Drawing.Icon)(resources.GetObject("PreviewDialog.Icon"))); this.PreviewDialog.Name = "printPreviewDialog1"; this.PreviewDialog.Visible = false; // // ReportViewer // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(641, 511); this.Controls.Add(this.rptViewer); this.Controls.Add(this.dnReport); this.Name = "ReportViewer"; this.Text = "报表打印"; this.Load += new System.EventHandler(this.ReportViewer_Load); ((System.ComponentModel.ISupportInitialize)(this.TestBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dnReport)).EndInit(); this.dnReport.ResumeLayout(false); this.dnReport.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent( ) { this.components = new System.ComponentModel.Container( ); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager( typeof( MainForm ) ); this.mainMenu = new System.Windows.Forms.MainMenu( this.components ); this.fileItem = new System.Windows.Forms.MenuItem( ); this.OpenItem = new System.Windows.Forms.MenuItem( ); this.reloadFileItem = new System.Windows.Forms.MenuItem( ); this.saveFileItem = new System.Windows.Forms.MenuItem( ); this.menuItem1 = new System.Windows.Forms.MenuItem( ); this.copyFileItem = new System.Windows.Forms.MenuItem( ); this.pasteFileItem = new System.Windows.Forms.MenuItem( ); this.menuItem5 = new System.Windows.Forms.MenuItem( ); this.closeFileItem = new System.Windows.Forms.MenuItem( ); this.closeAllFileItem = new System.Windows.Forms.MenuItem( ); this.menuItem8 = new System.Windows.Forms.MenuItem( ); this.pageSetupFileItem = new System.Windows.Forms.MenuItem( ); this.printFileItem = new System.Windows.Forms.MenuItem( ); this.printPreviewFileItem = new System.Windows.Forms.MenuItem( ); this.menuItem2 = new System.Windows.Forms.MenuItem( ); this.exitFileItem = new System.Windows.Forms.MenuItem( ); this.viewItem = new System.Windows.Forms.MenuItem( ); this.mainBarViewItem = new System.Windows.Forms.MenuItem( ); this.imageBarViewItem = new System.Windows.Forms.MenuItem( ); this.menuItem7 = new System.Windows.Forms.MenuItem( ); this.histogramViewItem = new System.Windows.Forms.MenuItem( ); this.statisticsViewItem = new System.Windows.Forms.MenuItem( ); this.redHistogramViewItem = new System.Windows.Forms.MenuItem( ); this.greenHistogramViewItem = new System.Windows.Forms.MenuItem( ); this.blueHistogramViewItem = new System.Windows.Forms.MenuItem( ); this.menuItem3 = new System.Windows.Forms.MenuItem( ); this.centerViewItem = new System.Windows.Forms.MenuItem( ); this.optionsItem = new System.Windows.Forms.MenuItem( ); this.openInNewOptionsItem = new System.Windows.Forms.MenuItem( ); this.rememberOptionsItem = new System.Windows.Forms.MenuItem( ); this.windowItem = new System.Windows.Forms.MenuItem( ); this.helpItem = new System.Windows.Forms.MenuItem( ); this.aboutHelpItem = new System.Windows.Forms.MenuItem( ); this.statusBar = new System.Windows.Forms.StatusBar( ); this.zoomPanel = new System.Windows.Forms.StatusBarPanel( ); this.sizePanel = new System.Windows.Forms.StatusBarPanel( ); this.selectionPanel = new System.Windows.Forms.StatusBarPanel( ); this.colorPanel = new System.Windows.Forms.StatusBarPanel( ); this.hslPanel = new System.Windows.Forms.StatusBarPanel( ); this.ycbcrPanel = new System.Windows.Forms.StatusBarPanel( ); this.infoPanel = new System.Windows.Forms.StatusBarPanel( ); this.panel1 = new System.Windows.Forms.Panel( ); this.dockManager = new WeifenLuo.WinFormsUI.DockManager( ); this.mainToolBar = new System.Windows.Forms.ToolBar( ); this.openButton = new System.Windows.Forms.ToolBarButton( ); this.saveButton = new System.Windows.Forms.ToolBarButton( ); this.sep1 = new System.Windows.Forms.ToolBarButton( ); this.copyButton = new System.Windows.Forms.ToolBarButton( ); this.pasteButton = new System.Windows.Forms.ToolBarButton( ); this.toolBarButton9 = new System.Windows.Forms.ToolBarButton( ); this.histogramButton = new System.Windows.Forms.ToolBarButton( ); this.toolBarButton4 = new System.Windows.Forms.ToolBarButton( ); this.aboutButton = new System.Windows.Forms.ToolBarButton( ); this.imageList = new System.Windows.Forms.ImageList( this.components ); this.imageToolBar = new System.Windows.Forms.ToolBar( ); this.cloneButton = new System.Windows.Forms.ToolBarButton( ); this.toolBarButton1 = new System.Windows.Forms.ToolBarButton( ); this.cropButton = new System.Windows.Forms.ToolBarButton( ); this.toolBarButton2 = new System.Windows.Forms.ToolBarButton( ); this.zoomInButton = new System.Windows.Forms.ToolBarButton( ); this.zoomOutButton = new System.Windows.Forms.ToolBarButton( ); this.toolBarButton3 = new System.Windows.Forms.ToolBarButton( ); this.fitToScreenButton = new System.Windows.Forms.ToolBarButton( ); this.toolBarButton5 = new System.Windows.Forms.ToolBarButton( ); this.resizeButton = new System.Windows.Forms.ToolBarButton( ); this.rotateButton = new System.Windows.Forms.ToolBarButton( ); this.toolBarButton7 = new System.Windows.Forms.ToolBarButton( ); this.levelsButton = new System.Windows.Forms.ToolBarButton( ); this.grayscaleButton = new System.Windows.Forms.ToolBarButton( ); this.thresholdButton = new System.Windows.Forms.ToolBarButton( ); this.toolBarButton6 = new System.Windows.Forms.ToolBarButton( ); this.morphologyButton = new System.Windows.Forms.ToolBarButton( ); this.convolutionButton = new System.Windows.Forms.ToolBarButton( ); this.toolBarButton8 = new System.Windows.Forms.ToolBarButton( ); this.saturationButton = new System.Windows.Forms.ToolBarButton( ); this.fourierButton = new System.Windows.Forms.ToolBarButton( ); this.imageList2 = new System.Windows.Forms.ImageList( this.components ); this.ofd = new System.Windows.Forms.OpenFileDialog( ); this.sfd = new System.Windows.Forms.SaveFileDialog( ); this.printDocument = new System.Drawing.Printing.PrintDocument( ); this.printPreviewDialog = new System.Windows.Forms.PrintPreviewDialog( ); this.pageSetupDialog = new System.Windows.Forms.PageSetupDialog( ); this.printDialog = new System.Windows.Forms.PrintDialog( ); ( (System.ComponentModel.ISupportInitialize) ( this.zoomPanel ) ).BeginInit( ); ( (System.ComponentModel.ISupportInitialize) ( this.sizePanel ) ).BeginInit( ); ( (System.ComponentModel.ISupportInitialize) ( this.selectionPanel ) ).BeginInit( ); ( (System.ComponentModel.ISupportInitialize) ( this.colorPanel ) ).BeginInit( ); ( (System.ComponentModel.ISupportInitialize) ( this.hslPanel ) ).BeginInit( ); ( (System.ComponentModel.ISupportInitialize) ( this.ycbcrPanel ) ).BeginInit( ); ( (System.ComponentModel.ISupportInitialize) ( this.infoPanel ) ).BeginInit( ); this.panel1.SuspendLayout( ); this.dockManager.SuspendLayout( ); this.SuspendLayout( ); // // mainMenu // this.mainMenu.MenuItems.AddRange( new System.Windows.Forms.MenuItem[] { this.fileItem, this.viewItem, this.optionsItem, this.windowItem, this.helpItem} ); // // fileItem // this.fileItem.Index = 0; this.fileItem.MenuItems.AddRange( new System.Windows.Forms.MenuItem[] { this.OpenItem, this.reloadFileItem, this.saveFileItem, this.menuItem1, this.copyFileItem, this.pasteFileItem, this.menuItem5, this.closeFileItem, this.closeAllFileItem, this.menuItem8, this.pageSetupFileItem, this.printFileItem, this.printPreviewFileItem, this.menuItem2, this.exitFileItem} ); this.fileItem.Text = "&File"; this.fileItem.Popup += new System.EventHandler( this.fileItem_Popup ); // // OpenItem // this.OpenItem.Index = 0; this.OpenItem.Shortcut = System.Windows.Forms.Shortcut.CtrlO; this.OpenItem.Text = "&Open"; this.OpenItem.Click += new System.EventHandler( this.OpenItem_Click ); // // reloadFileItem // this.reloadFileItem.Index = 1; this.reloadFileItem.Shortcut = System.Windows.Forms.Shortcut.CtrlR; this.reloadFileItem.Text = "&Reload"; this.reloadFileItem.Click += new System.EventHandler( this.reloadFileItem_Click ); // // saveFileItem // this.saveFileItem.Index = 2; this.saveFileItem.Shortcut = System.Windows.Forms.Shortcut.CtrlS; this.saveFileItem.Text = "&Save"; this.saveFileItem.Click += new System.EventHandler( this.saveFileItem_Click ); // // menuItem1 // this.menuItem1.Index = 3; this.menuItem1.Text = "-"; // // copyFileItem // this.copyFileItem.Index = 4; this.copyFileItem.Shortcut = System.Windows.Forms.Shortcut.CtrlC; this.copyFileItem.Text = "&Copy"; this.copyFileItem.Click += new System.EventHandler( this.copyFileItem_Click ); // // pasteFileItem // this.pasteFileItem.Index = 5; this.pasteFileItem.Shortcut = System.Windows.Forms.Shortcut.CtrlV; this.pasteFileItem.Text = "&Paste"; this.pasteFileItem.Click += new System.EventHandler( this.pasteFileItem_Click ); // // menuItem5 // this.menuItem5.Index = 6; this.menuItem5.Text = "-"; // // closeFileItem // this.closeFileItem.Index = 7; this.closeFileItem.Shortcut = System.Windows.Forms.Shortcut.CtrlF4; this.closeFileItem.Text = "C&lose"; this.closeFileItem.Click += new System.EventHandler( this.closeFileItem_Click ); // // closeAllFileItem // this.closeAllFileItem.Index = 8; this.closeAllFileItem.Text = "Close All"; this.closeAllFileItem.Click += new System.EventHandler( this.closeAllFileItem_Click ); // // menuItem8 // this.menuItem8.Index = 9; this.menuItem8.Text = "-"; // // pageSetupFileItem // this.pageSetupFileItem.Index = 10; this.pageSetupFileItem.Text = "Page Setup"; this.pageSetupFileItem.Click += new System.EventHandler( this.pageSetupFileItem_Click ); // // printFileItem // this.printFileItem.Index = 11; this.printFileItem.Text = "&Print"; this.printFileItem.Click += new System.EventHandler( this.printFileItem_Click ); // // printPreviewFileItem // this.printPreviewFileItem.Index = 12; this.printPreviewFileItem.Text = "Print Preview"; this.printPreviewFileItem.Click += new System.EventHandler( this.printPreviewFileItem_Click ); // // menuItem2 // this.menuItem2.Index = 13; this.menuItem2.Text = "-"; // // exitFileItem // this.exitFileItem.Index = 14; this.exitFileItem.Text = "E&xit"; this.exitFileItem.Click += new System.EventHandler( this.exitFileItem_Click ); // // viewItem // this.viewItem.Index = 1; this.viewItem.MenuItems.AddRange( new System.Windows.Forms.MenuItem[] { this.mainBarViewItem, this.imageBarViewItem, this.menuItem7, this.histogramViewItem, this.statisticsViewItem, this.redHistogramViewItem, this.greenHistogramViewItem, this.blueHistogramViewItem, this.menuItem3, this.centerViewItem} ); this.viewItem.MergeOrder = 1; this.viewItem.Text = "&View"; this.viewItem.Popup += new System.EventHandler( this.viewItem_Popup ); // // mainBarViewItem // this.mainBarViewItem.Index = 0; this.mainBarViewItem.Text = "Main tool bar"; this.mainBarViewItem.Click += new System.EventHandler( this.mainBarViewItem_Click ); // // imageBarViewItem // this.imageBarViewItem.Index = 1; this.imageBarViewItem.Text = "Image tool bar"; this.imageBarViewItem.Click += new System.EventHandler( this.imageBarViewItem_Click ); // // menuItem7 // this.menuItem7.Index = 2; this.menuItem7.Text = "-"; // // histogramViewItem // this.histogramViewItem.Index = 3; this.histogramViewItem.Shortcut = System.Windows.Forms.Shortcut.CtrlH; this.histogramViewItem.Text = "&Histogram"; this.histogramViewItem.Click += new System.EventHandler( this.histogramViewItem_Click ); // // statisticsViewItem // this.statisticsViewItem.Index = 4; this.statisticsViewItem.Shortcut = System.Windows.Forms.Shortcut.CtrlT; this.statisticsViewItem.Text = "&Statistics"; this.statisticsViewItem.Click += new System.EventHandler( this.statisticsViewItem_Click ); // // redHistogramViewItem // this.redHistogramViewItem.Index = 5; this.redHistogramViewItem.Shortcut = System.Windows.Forms.Shortcut.Ctrl1; this.redHistogramViewItem.Text = "R"; this.redHistogramViewItem.Visible = false; this.redHistogramViewItem.Click += new System.EventHandler( this.redHistogramViewItem_Click ); // // greenHistogramViewItem // this.greenHistogramViewItem.Index = 6; this.greenHistogramViewItem.Shortcut = System.Windows.Forms.Shortcut.Ctrl2; this.greenHistogramViewItem.Text = "G"; this.greenHistogramViewItem.Visible = false; this.greenHistogramViewItem.Click += new System.EventHandler( this.greenHistogramViewItem_Click ); // // blueHistogramViewItem // this.blueHistogramViewItem.Index = 7; this.blueHistogramViewItem.Shortcut = System.Windows.Forms.Shortcut.Ctrl3; this.blueHistogramViewItem.Text = "B"; this.blueHistogramViewItem.Visible = false; this.blueHistogramViewItem.Click += new System.EventHandler( this.blueHistogramViewItem_Click ); // // menuItem3 // this.menuItem3.Index = 8; this.menuItem3.Text = "-"; // // centerViewItem // this.centerViewItem.Index = 9; this.centerViewItem.Shortcut = System.Windows.Forms.Shortcut.F9; this.centerViewItem.Text = "&Center"; this.centerViewItem.Click += new System.EventHandler( this.centerViewItem_Click ); // // optionsItem // this.optionsItem.Index = 2; this.optionsItem.MenuItems.AddRange( new System.Windows.Forms.MenuItem[] { this.openInNewOptionsItem, this.rememberOptionsItem} ); this.optionsItem.MergeOrder = 2; this.optionsItem.Text = "&Options"; this.optionsItem.Popup += new System.EventHandler( this.optionsItem_Popup ); // // openInNewOptionsItem // this.openInNewOptionsItem.Index = 0; this.openInNewOptionsItem.Text = "Open in &new document on change"; this.openInNewOptionsItem.Click += new System.EventHandler( this.openInNewOptionsItem_Click ); // // rememberOptionsItem // this.rememberOptionsItem.Index = 1; this.rememberOptionsItem.Text = "&Remember on change"; this.rememberOptionsItem.Click += new System.EventHandler( this.rememberOptionsItem_Click ); // // windowItem // this.windowItem.Index = 3; this.windowItem.MdiList = true; this.windowItem.MergeOrder = 3; this.windowItem.Text = "&Window"; // // helpItem // this.helpItem.Index = 4; this.helpItem.MenuItems.AddRange( new System.Windows.Forms.MenuItem[] { this.aboutHelpItem} ); this.helpItem.MergeOrder = 4; this.helpItem.Text = "&Help"; // // aboutHelpItem // this.aboutHelpItem.Index = 0; this.aboutHelpItem.Text = "&About"; this.aboutHelpItem.Click += new System.EventHandler( this.aboutHelpItem_Click ); // // statusBar // this.statusBar.Location = new System.Drawing.Point( 0, 511 ); this.statusBar.Name = "statusBar"; this.statusBar.Panels.AddRange( new System.Windows.Forms.StatusBarPanel[] { this.zoomPanel, this.sizePanel, this.selectionPanel, this.colorPanel, this.hslPanel, this.ycbcrPanel, this.infoPanel} ); this.statusBar.ShowPanels = true; this.statusBar.Size = new System.Drawing.Size( 792, 22 ); this.statusBar.TabIndex = 1; // // zoomPanel // this.zoomPanel.Name = "zoomPanel"; this.zoomPanel.ToolTipText = "Zoom coefficient"; this.zoomPanel.Width = 50; // // sizePanel // this.sizePanel.Name = "sizePanel"; this.sizePanel.ToolTipText = "Image size"; // // selectionPanel // this.selectionPanel.Name = "selectionPanel"; this.selectionPanel.ToolTipText = "Current point and selection size"; this.selectionPanel.Width = 120; // // colorPanel // this.colorPanel.Name = "colorPanel"; this.colorPanel.ToolTipText = "Current color"; this.colorPanel.Width = 110; // // hslPanel // this.hslPanel.Name = "hslPanel"; this.hslPanel.Width = 130; // // ycbcrPanel // this.ycbcrPanel.Name = "ycbcrPanel"; this.ycbcrPanel.Width = 145; // // infoPanel // this.infoPanel.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring; this.infoPanel.Name = "infoPanel"; this.infoPanel.Width = 120; // // panel1 // this.panel1.Controls.Add( this.dockManager ); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point( 0, 0 ); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size( 792, 511 ); this.panel1.TabIndex = 2; // // dockManager // this.dockManager.ActiveAutoHideContent = null; this.dockManager.Controls.Add( this.mainToolBar ); this.dockManager.Controls.Add( this.imageToolBar ); this.dockManager.Dock = System.Windows.Forms.DockStyle.Fill; this.dockManager.Location = new System.Drawing.Point( 0, 0 ); this.dockManager.Name = "dockManager"; this.dockManager.Size = new System.Drawing.Size( 792, 511 ); this.dockManager.TabIndex = 2; this.dockManager.ActiveDocumentChanged += new System.EventHandler( this.dockManager_ActiveDocumentChanged ); // // mainToolBar // this.mainToolBar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat; this.mainToolBar.Buttons.AddRange( new System.Windows.Forms.ToolBarButton[] { this.openButton, this.saveButton, this.sep1, this.copyButton, this.pasteButton, this.toolBarButton9, this.histogramButton, this.toolBarButton4, this.aboutButton} ); this.mainToolBar.Divider = false; this.mainToolBar.Dock = System.Windows.Forms.DockStyle.None; this.mainToolBar.DropDownArrows = true; this.mainToolBar.ImageList = this.imageList; this.mainToolBar.Location = new System.Drawing.Point( 256, 32 ); this.mainToolBar.Name = "mainToolBar"; this.mainToolBar.ShowToolTips = true; this.mainToolBar.Size = new System.Drawing.Size( 24, 202 ); this.mainToolBar.TabIndex = 2; this.mainToolBar.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler( this.mainToolBar_ButtonClick ); // // openButton // this.openButton.ImageIndex = 0; this.openButton.Name = "openButton"; this.openButton.ToolTipText = "Open an image "; // // saveButton // this.saveButton.ImageIndex = 1; this.saveButton.Name = "saveButton"; this.saveButton.ToolTipText = "Save"; // // sep1 // this.sep1.Name = "sep1"; this.sep1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // copyButton // this.copyButton.ImageIndex = 2; this.copyButton.Name = "copyButton"; this.copyButton.ToolTipText = "Copy to clipboard"; // // pasteButton // this.pasteButton.ImageIndex = 3; this.pasteButton.Name = "pasteButton"; this.pasteButton.ToolTipText = "Paste from clipboard"; // // toolBarButton9 // this.toolBarButton9.Name = "toolBarButton9"; this.toolBarButton9.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // histogramButton // this.histogramButton.ImageIndex = 4; this.histogramButton.Name = "histogramButton"; this.histogramButton.ToolTipText = "Show histogram"; // // toolBarButton4 // this.toolBarButton4.Name = "toolBarButton4"; this.toolBarButton4.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // aboutButton // this.aboutButton.ImageIndex = 5; this.aboutButton.Name = "aboutButton"; this.aboutButton.ToolTipText = "About"; // // imageList // this.imageList.ImageStream = ( (System.Windows.Forms.ImageListStreamer) ( resources.GetObject( "imageList.ImageStream" ) ) ); this.imageList.TransparentColor = System.Drawing.Color.Transparent; this.imageList.Images.SetKeyName( 0, "" ); this.imageList.Images.SetKeyName( 1, "" ); this.imageList.Images.SetKeyName( 2, "" ); this.imageList.Images.SetKeyName( 3, "" ); this.imageList.Images.SetKeyName( 4, "" ); this.imageList.Images.SetKeyName( 5, "" ); // // imageToolBar // this.imageToolBar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat; this.imageToolBar.Buttons.AddRange( new System.Windows.Forms.ToolBarButton[] { this.cloneButton, this.toolBarButton1, this.cropButton, this.toolBarButton2, this.zoomInButton, this.zoomOutButton, this.toolBarButton3, this.fitToScreenButton, this.toolBarButton5, this.resizeButton, this.rotateButton, this.toolBarButton7, this.levelsButton, this.grayscaleButton, this.thresholdButton, this.toolBarButton6, this.morphologyButton, this.convolutionButton, this.toolBarButton8, this.saturationButton, this.fourierButton} ); this.imageToolBar.Divider = false; this.imageToolBar.Dock = System.Windows.Forms.DockStyle.None; this.imageToolBar.DropDownArrows = true; this.imageToolBar.ImageList = this.imageList2; this.imageToolBar.Location = new System.Drawing.Point( 144, 312 ); this.imageToolBar.Name = "imageToolBar"; this.imageToolBar.ShowToolTips = true; this.imageToolBar.Size = new System.Drawing.Size( 472, 26 ); this.imageToolBar.TabIndex = 3; this.imageToolBar.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler( this.imageToolBar_ButtonClick ); // // cloneButton // this.cloneButton.ImageIndex = 0; this.cloneButton.Name = "cloneButton"; this.cloneButton.ToolTipText = "Clone the image"; // // toolBarButton1 // this.toolBarButton1.Name = "toolBarButton1"; this.toolBarButton1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // cropButton // this.cropButton.ImageIndex = 1; this.cropButton.Name = "cropButton"; this.cropButton.ToolTipText = "Crop image"; // // toolBarButton2 // this.toolBarButton2.Name = "toolBarButton2"; this.toolBarButton2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // zoomInButton // this.zoomInButton.ImageIndex = 2; this.zoomInButton.Name = "zoomInButton"; this.zoomInButton.ToolTipText = "Zoom In"; // // zoomOutButton // this.zoomOutButton.ImageIndex = 3; this.zoomOutButton.Name = "zoomOutButton"; this.zoomOutButton.ToolTipText = "Zoom out"; // // toolBarButton3 // this.toolBarButton3.ImageIndex = 4; this.toolBarButton3.Name = "toolBarButton3"; this.toolBarButton3.ToolTipText = "Original size"; // // fitToScreenButton // this.fitToScreenButton.ImageIndex = 5; this.fitToScreenButton.Name = "fitToScreenButton"; this.fitToScreenButton.ToolTipText = "Fit to window size"; // // toolBarButton5 // this.toolBarButton5.Name = "toolBarButton5"; this.toolBarButton5.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // resizeButton // this.resizeButton.ImageIndex = 11; this.resizeButton.Name = "resizeButton"; this.resizeButton.ToolTipText = "Resize the image"; // // rotateButton // this.rotateButton.ImageIndex = 12; this.rotateButton.Name = "rotateButton"; this.rotateButton.ToolTipText = "Rotate the image"; // // toolBarButton7 // this.toolBarButton7.Name = "toolBarButton7"; this.toolBarButton7.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // levelsButton // this.levelsButton.ImageIndex = 6; this.levelsButton.Name = "levelsButton"; this.levelsButton.ToolTipText = "Levels correction"; // // grayscaleButton // this.grayscaleButton.ImageIndex = 7; this.grayscaleButton.Name = "grayscaleButton"; this.grayscaleButton.ToolTipText = "Grayscale"; // // thresholdButton // this.thresholdButton.ImageIndex = 8; this.thresholdButton.Name = "thresholdButton"; this.thresholdButton.ToolTipText = "Threshold"; // // toolBarButton6 // this.toolBarButton6.Name = "toolBarButton6"; this.toolBarButton6.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // morphologyButton // this.morphologyButton.ImageIndex = 9; this.morphologyButton.Name = "morphologyButton"; this.morphologyButton.ToolTipText = "Custom morphology operator"; // // convolutionButton // this.convolutionButton.ImageIndex = 10; this.convolutionButton.Name = "convolutionButton"; this.convolutionButton.ToolTipText = "Custom convolution operator"; // // toolBarButton8 // this.toolBarButton8.Name = "toolBarButton8"; this.toolBarButton8.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // saturationButton // this.saturationButton.ImageIndex = 13; this.saturationButton.Name = "saturationButton"; this.saturationButton.ToolTipText = "Saturation (HSL)"; // // fourierButton // this.fourierButton.ImageIndex = 14; this.fourierButton.Name = "fourierButton"; this.fourierButton.ToolTipText = "Fourier Transformation"; // // imageList2 // this.imageList2.ImageStream = ( (System.Windows.Forms.ImageListStreamer) ( resources.GetObject( "imageList2.ImageStream" ) ) ); this.imageList2.TransparentColor = System.Drawing.Color.Transparent; this.imageList2.Images.SetKeyName( 0, "" ); this.imageList2.Images.SetKeyName( 1, "" ); this.imageList2.Images.SetKeyName( 2, "" ); this.imageList2.Images.SetKeyName( 3, "" ); this.imageList2.Images.SetKeyName( 4, "" ); this.imageList2.Images.SetKeyName( 5, "" ); this.imageList2.Images.SetKeyName( 6, "" ); this.imageList2.Images.SetKeyName( 7, "" ); this.imageList2.Images.SetKeyName( 8, "" ); this.imageList2.Images.SetKeyName( 9, "" ); this.imageList2.Images.SetKeyName( 10, "" ); this.imageList2.Images.SetKeyName( 11, "" ); this.imageList2.Images.SetKeyName( 12, "" ); this.imageList2.Images.SetKeyName( 13, "" ); this.imageList2.Images.SetKeyName( 14, "" ); // // ofd // this.ofd.Filter = "Image files (*.jpg,*.png,*.tif,*.bmp,*.gif)|*.jpg;*.png;*.tif;*.bmp;*.gif|JPG fil" + "es (*.jpg)|*.jpg|PNG files (*.png)|*.png|TIF files (*.tif)|*.tif|BMP files (*.bm" + "p)|*.bmp|GIF files (*.gif)|*.gif"; this.ofd.Title = "Open image"; // // sfd // this.sfd.Filter = "PNG files (*.png)|*.png|JPG files (*.jpg)|*.jpg|BMP files (*.bmp)|*.bmp"; this.sfd.Title = "Save image"; // // printDocument // this.printDocument.PrintPage += new System.Drawing.Printing.PrintPageEventHandler( this.printDocument_PrintPage ); // // printPreviewDialog // this.printPreviewDialog.AutoScrollMargin = new System.Drawing.Size( 0, 0 ); this.printPreviewDialog.AutoScrollMinSize = new System.Drawing.Size( 0, 0 ); this.printPreviewDialog.ClientSize = new System.Drawing.Size( 400, 300 ); this.printPreviewDialog.Enabled = true; this.printPreviewDialog.Icon = ( (System.Drawing.Icon) ( resources.GetObject( "printPreviewDialog.Icon" ) ) ); this.printPreviewDialog.Name = "printPreviewDialog"; this.printPreviewDialog.Visible = false; // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size( 5, 13 ); this.ClientSize = new System.Drawing.Size( 792, 533 ); this.Controls.Add( this.panel1 ); this.Controls.Add( this.statusBar ); this.Icon = ( (System.Drawing.Icon) ( resources.GetObject( "$this.Icon" ) ) ); this.IsMdiContainer = true; this.Menu = this.mainMenu; this.Name = "MainForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Image Processing Lab"; this.Load += new System.EventHandler( this.MainForm_Load ); this.Closing += new System.ComponentModel.CancelEventHandler( this.MainForm_Closing ); ( (System.ComponentModel.ISupportInitialize) ( this.zoomPanel ) ).EndInit( ); ( (System.ComponentModel.ISupportInitialize) ( this.sizePanel ) ).EndInit( ); ( (System.ComponentModel.ISupportInitialize) ( this.selectionPanel ) ).EndInit( ); ( (System.ComponentModel.ISupportInitialize) ( this.colorPanel ) ).EndInit( ); ( (System.ComponentModel.ISupportInitialize) ( this.hslPanel ) ).EndInit( ); ( (System.ComponentModel.ISupportInitialize) ( this.ycbcrPanel ) ).EndInit( ); ( (System.ComponentModel.ISupportInitialize) ( this.infoPanel ) ).EndInit( ); this.panel1.ResumeLayout( false ); this.dockManager.ResumeLayout( false ); this.dockManager.PerformLayout( ); this.ResumeLayout( false ); }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmQRCode)); this.btnEncode = new System.Windows.Forms.Button(); this.txtEncodeInfo = new System.Windows.Forms.TextBox(); this.txtDecodeInfo = new System.Windows.Forms.TextBox(); this.btnDecode = new System.Windows.Forms.Button(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.ckbEncode = new System.Windows.Forms.CheckBox(); this.txtSourceStr = new System.Windows.Forms.TextBox(); this.btnQRImage = new System.Windows.Forms.Button(); this.ckbLogo = new System.Windows.Forms.CheckBox(); this.btnPrint = new System.Windows.Forms.Button(); this.printDocument1 = new System.Drawing.Printing.PrintDocument(); this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog(); this.printDialog1 = new System.Windows.Forms.PrintDialog(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.SuspendLayout(); // // btnEncode // this.btnEncode.Location = new System.Drawing.Point(24, 14); this.btnEncode.Name = "btnEncode"; this.btnEncode.Size = new System.Drawing.Size(75, 23); this.btnEncode.TabIndex = 0; this.btnEncode.Text = "生成二维码"; this.btnEncode.UseVisualStyleBackColor = true; this.btnEncode.Click += new System.EventHandler(this.btnEncode_Click); // // txtEncodeInfo // this.txtEncodeInfo.Location = new System.Drawing.Point(105, 14); this.txtEncodeInfo.Name = "txtEncodeInfo"; this.txtEncodeInfo.Size = new System.Drawing.Size(400, 21); this.txtEncodeInfo.TabIndex = 1; this.txtEncodeInfo.Text = "meeting://book?code=c4bc7af4-618e-4aed-a014-fd089b2"; // // txtDecodeInfo // this.txtDecodeInfo.Location = new System.Drawing.Point(105, 378); this.txtDecodeInfo.Name = "txtDecodeInfo"; this.txtDecodeInfo.ReadOnly = true; this.txtDecodeInfo.Size = new System.Drawing.Size(400, 21); this.txtDecodeInfo.TabIndex = 3; // // btnDecode // this.btnDecode.Location = new System.Drawing.Point(24, 391); this.btnDecode.Name = "btnDecode"; this.btnDecode.Size = new System.Drawing.Size(75, 23); this.btnDecode.TabIndex = 2; this.btnDecode.Text = "解码二维码"; this.btnDecode.UseVisualStyleBackColor = true; this.btnDecode.Click += new System.EventHandler(this.btnDecode_Click); // // pictureBox1 // this.pictureBox1.Location = new System.Drawing.Point(140, 47); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(300, 300); this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox1.TabIndex = 4; this.pictureBox1.TabStop = false; // // ckbEncode // this.ckbEncode.AutoSize = true; this.ckbEncode.Location = new System.Drawing.Point(51, 47); this.ckbEncode.Name = "ckbEncode"; this.ckbEncode.Size = new System.Drawing.Size(48, 16); this.ckbEncode.TabIndex = 5; this.ckbEncode.Text = "加密"; this.ckbEncode.UseVisualStyleBackColor = true; // // txtSourceStr // this.txtSourceStr.Location = new System.Drawing.Point(105, 405); this.txtSourceStr.Name = "txtSourceStr"; this.txtSourceStr.ReadOnly = true; this.txtSourceStr.Size = new System.Drawing.Size(400, 21); this.txtSourceStr.TabIndex = 7; // // btnQRImage // this.btnQRImage.Location = new System.Drawing.Point(24, 182); this.btnQRImage.Name = "btnQRImage"; this.btnQRImage.Size = new System.Drawing.Size(75, 23); this.btnQRImage.TabIndex = 8; this.btnQRImage.Text = "选择图片"; this.btnQRImage.UseVisualStyleBackColor = true; this.btnQRImage.Click += new System.EventHandler(this.btnQRImage_Click); // // ckbLogo // this.ckbLogo.AutoSize = true; this.ckbLogo.Location = new System.Drawing.Point(51, 69); this.ckbLogo.Name = "ckbLogo"; this.ckbLogo.Size = new System.Drawing.Size(48, 16); this.ckbLogo.TabIndex = 9; this.ckbLogo.Text = "Logo"; this.ckbLogo.UseVisualStyleBackColor = true; // // btnPrint // this.btnPrint.Location = new System.Drawing.Point(24, 222); this.btnPrint.Name = "btnPrint"; this.btnPrint.Size = new System.Drawing.Size(75, 23); this.btnPrint.TabIndex = 10; this.btnPrint.Text = "打印"; this.btnPrint.UseVisualStyleBackColor = true; this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click); // // printDocument1 // this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage); // // printPreviewDialog1 // this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0); this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0); this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300); this.printPreviewDialog1.Enabled = true; this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon"))); this.printPreviewDialog1.Name = "printPreviewDialog1"; this.printPreviewDialog1.Visible = false; // // printDialog1 // this.printDialog1.UseEXDialog = true; // // FrmQRCode // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(526, 435); this.Controls.Add(this.btnPrint); this.Controls.Add(this.ckbLogo); this.Controls.Add(this.btnQRImage); this.Controls.Add(this.txtSourceStr); this.Controls.Add(this.ckbEncode); this.Controls.Add(this.pictureBox1); this.Controls.Add(this.txtDecodeInfo); this.Controls.Add(this.btnDecode); this.Controls.Add(this.txtEncodeInfo); this.Controls.Add(this.btnEncode); this.Name = "FrmQRCode"; this.Text = "二维码"; this.Load += new System.EventHandler(this.FrmQRCode_Load); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UsersForm)); this.RightOption = new System.Windows.Forms.Timer(this.components); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.gbUsersDetails = new System.Windows.Forms.GroupBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.txtUserSearch = new System.Windows.Forms.TextBox(); this.dataGridView1 = new System.Windows.Forms.DataGridView(); this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column9 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column10 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column7 = new System.Windows.Forms.DataGridViewButtonColumn(); this.Column8 = new System.Windows.Forms.DataGridViewButtonColumn(); this.btnUsersDetail = new System.Windows.Forms.Button(); this.btnAddUsers = new System.Windows.Forms.Button(); this.pbExit = new System.Windows.Forms.PictureBox(); this.pbHome = new System.Windows.Forms.PictureBox(); this.pbLogout = new System.Windows.Forms.PictureBox(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.comboRole = new System.Windows.Forms.ComboBox(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.txtUserMail = new System.Windows.Forms.TextBox(); this.txtUserContect = new System.Windows.Forms.TextBox(); this.label7 = new System.Windows.Forms.Label(); this.txtUserPass = new System.Windows.Forms.TextBox(); this.txtConfirmPass = new System.Windows.Forms.TextBox(); this.txtFirstName = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.registerUser = new System.Windows.Forms.Button(); this.deleteUser = new System.Windows.Forms.Button(); this.updateUser = new System.Windows.Forms.Button(); this.gbuserRegister = new System.Windows.Forms.GroupBox(); this.txtLastName = new System.Windows.Forms.TextBox(); this.label6 = new System.Windows.Forms.Label(); this.newUser = new System.Windows.Forms.Button(); this.txtUserID = new System.Windows.Forms.TextBox(); this.btnGetData = new System.Windows.Forms.Button(); this.userPrintPreviewDialog = new System.Windows.Forms.PrintPreviewDialog(); this.userPrintDocument = new System.Drawing.Printing.PrintDocument(); this.panel1 = new System.Windows.Forms.Panel(); this.panel3 = new System.Windows.Forms.Panel(); this.button1 = new System.Windows.Forms.Button(); this.label8 = new System.Windows.Forms.Label(); this.btnClose = new System.Windows.Forms.Button(); this.gbUsersDetails.SuspendLayout(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pbExit)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pbHome)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pbLogout)).BeginInit(); this.gbuserRegister.SuspendLayout(); this.panel1.SuspendLayout(); this.panel3.SuspendLayout(); this.SuspendLayout(); // // openFileDialog1 // this.openFileDialog1.FileName = "openFileDialog1"; // // gbUsersDetails // this.gbUsersDetails.Controls.Add(this.groupBox1); this.gbUsersDetails.Controls.Add(this.dataGridView1); this.gbUsersDetails.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gbUsersDetails.Location = new System.Drawing.Point(12, 116); this.gbUsersDetails.Name = "gbUsersDetails"; this.gbUsersDetails.Size = new System.Drawing.Size(1009, 518); this.gbUsersDetails.TabIndex = 45; this.gbUsersDetails.TabStop = false; // // groupBox1 // this.groupBox1.Controls.Add(this.txtUserSearch); this.groupBox1.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupBox1.Location = new System.Drawing.Point(15, 28); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(353, 74); this.groupBox1.TabIndex = 2; this.groupBox1.TabStop = false; this.groupBox1.Text = "Search By Name"; // // txtUserSearch // this.txtUserSearch.BackColor = System.Drawing.Color.Gainsboro; this.txtUserSearch.BorderStyle = System.Windows.Forms.BorderStyle.None; this.txtUserSearch.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtUserSearch.Location = new System.Drawing.Point(31, 31); this.txtUserSearch.Name = "txtUserSearch"; this.txtUserSearch.Size = new System.Drawing.Size(269, 26); this.txtUserSearch.TabIndex = 13; this.txtUserSearch.TextChanged += new System.EventHandler(this.txtUserSearch_TextChanged); // // dataGridView1 // this.dataGridView1.BackgroundColor = System.Drawing.Color.White; dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle7.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle7.SelectionBackColor = System.Drawing.Color.OrangeRed; dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7; this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.Column1, this.Column6, this.Column9, this.Column10, this.Column2, this.Column3, this.Column4, this.Column5, this.Column7, this.Column8}); this.dataGridView1.Location = new System.Drawing.Point(15, 126); this.dataGridView1.Name = "dataGridView1"; this.dataGridView1.Size = new System.Drawing.Size(988, 382); this.dataGridView1.TabIndex = 1; this.dataGridView1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentClick); this.dataGridView1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint); this.dataGridView1.Paint += new System.Windows.Forms.PaintEventHandler(this.dataGridView1_Paint); // // Column1 // dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.Column1.DefaultCellStyle = dataGridViewCellStyle8; this.Column1.HeaderText = "User ID"; this.Column1.Name = "Column1"; this.Column1.Width = 50; // // Column6 // this.Column6.HeaderText = "User Role"; this.Column6.Name = "Column6"; this.Column6.Width = 90; // // Column9 // this.Column9.HeaderText = "First Name"; this.Column9.Name = "Column9"; this.Column9.Width = 90; // // Column10 // this.Column10.HeaderText = "Last Name"; this.Column10.Name = "Column10"; this.Column10.Width = 90; // // Column2 // this.Column2.HeaderText = "Full Name"; this.Column2.Name = "Column2"; // // Column3 // this.Column3.HeaderText = "User Password"; this.Column3.Name = "Column3"; this.Column3.Width = 120; // // Column4 // this.Column4.HeaderText = "User Contect Number"; this.Column4.Name = "Column4"; this.Column4.Width = 140; // // Column5 // this.Column5.HeaderText = "User Email"; this.Column5.Name = "Column5"; this.Column5.Width = 150; // // Column7 // this.Column7.HeaderText = "Edit"; this.Column7.Name = "Column7"; this.Column7.Width = 60; // // Column8 // this.Column8.HeaderText = "Delete"; this.Column8.Name = "Column8"; this.Column8.Width = 60; // // btnUsersDetail // this.btnUsersDetail.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(189)))), ((int)(((byte)(242))))); this.btnUsersDetail.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.btnUsersDetail.Cursor = System.Windows.Forms.Cursors.Default; this.btnUsersDetail.FlatAppearance.BorderSize = 0; this.btnUsersDetail.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(119)))), ((int)(((byte)(0))))); this.btnUsersDetail.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnUsersDetail.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnUsersDetail.ForeColor = System.Drawing.Color.White; this.btnUsersDetail.Location = new System.Drawing.Point(116, 63); this.btnUsersDetail.Name = "btnUsersDetail"; this.btnUsersDetail.Size = new System.Drawing.Size(130, 36); this.btnUsersDetail.TabIndex = 0; this.btnUsersDetail.Text = "Users Details"; this.btnUsersDetail.UseVisualStyleBackColor = false; this.btnUsersDetail.Click += new System.EventHandler(this.btnUsersDetail_Click); // // btnAddUsers // this.btnAddUsers.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(189)))), ((int)(((byte)(242))))); this.btnAddUsers.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.btnAddUsers.Cursor = System.Windows.Forms.Cursors.Default; this.btnAddUsers.FlatAppearance.BorderSize = 0; this.btnAddUsers.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(119)))), ((int)(((byte)(0))))); this.btnAddUsers.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnAddUsers.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnAddUsers.ForeColor = System.Drawing.Color.White; this.btnAddUsers.ImageAlign = System.Drawing.ContentAlignment.TopRight; this.btnAddUsers.Location = new System.Drawing.Point(12, 63); this.btnAddUsers.Name = "btnAddUsers"; this.btnAddUsers.Size = new System.Drawing.Size(98, 36); this.btnAddUsers.TabIndex = 0; this.btnAddUsers.Text = "Add User"; this.btnAddUsers.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.btnAddUsers.UseVisualStyleBackColor = false; this.btnAddUsers.Click += new System.EventHandler(this.btnAddUsers_Click); // // pbExit // this.pbExit.BackColor = System.Drawing.Color.Black; this.pbExit.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.pbExit.Location = new System.Drawing.Point(2, 402); this.pbExit.Name = "pbExit"; this.pbExit.Size = new System.Drawing.Size(73, 76); this.pbExit.TabIndex = 5; this.pbExit.TabStop = false; // // pbHome // this.pbHome.BackColor = System.Drawing.Color.Black; this.pbHome.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.pbHome.Location = new System.Drawing.Point(3, 196); this.pbHome.Name = "pbHome"; this.pbHome.Size = new System.Drawing.Size(74, 76); this.pbHome.TabIndex = 4; this.pbHome.TabStop = false; // // pbLogout // this.pbLogout.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.pbLogout.Location = new System.Drawing.Point(3, 0); this.pbLogout.Name = "pbLogout"; this.pbLogout.Size = new System.Drawing.Size(74, 76); this.pbLogout.TabIndex = 3; this.pbLogout.TabStop = false; // // label2 // this.label2.AutoSize = true; this.label2.BackColor = System.Drawing.Color.Transparent; this.label2.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.ForeColor = System.Drawing.Color.Black; this.label2.Location = new System.Drawing.Point(107, 94); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(86, 21); this.label2.TabIndex = 25; this.label2.Text = "First Name"; // // label3 // this.label3.AutoSize = true; this.label3.BackColor = System.Drawing.Color.Transparent; this.label3.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label3.ForeColor = System.Drawing.Color.Black; this.label3.Location = new System.Drawing.Point(107, 195); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(113, 21); this.label3.TabIndex = 25; this.label3.Text = "User Password"; // // comboRole // this.comboRole.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; this.comboRole.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; this.comboRole.BackColor = System.Drawing.Color.Gainsboro; this.comboRole.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.comboRole.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.comboRole.FormattingEnabled = true; this.comboRole.Items.AddRange(new object[] { "Admin", "Employee", "Manager"}); this.comboRole.Location = new System.Drawing.Point(260, 39); this.comboRole.Name = "comboRole"; this.comboRole.Size = new System.Drawing.Size(338, 28); this.comboRole.Sorted = true; this.comboRole.TabIndex = 0; this.comboRole.SelectedIndexChanged += new System.EventHandler(this.comboRole_SelectedIndexChanged); // // label4 // this.label4.AutoSize = true; this.label4.BackColor = System.Drawing.Color.Transparent; this.label4.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label4.ForeColor = System.Drawing.Color.Black; this.label4.Location = new System.Drawing.Point(107, 253); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(138, 21); this.label4.TabIndex = 25; this.label4.Text = "Confirm Password"; // // label5 // this.label5.AutoSize = true; this.label5.BackColor = System.Drawing.Color.Transparent; this.label5.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label5.ForeColor = System.Drawing.Color.Black; this.label5.Location = new System.Drawing.Point(107, 312); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(125, 21); this.label5.TabIndex = 25; this.label5.Text = "Contact Number"; // // txtUserMail // this.txtUserMail.BackColor = System.Drawing.SystemColors.ButtonHighlight; this.txtUserMail.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtUserMail.Location = new System.Drawing.Point(260, 369); this.txtUserMail.Name = "txtUserMail"; this.txtUserMail.Size = new System.Drawing.Size(338, 29); this.txtUserMail.TabIndex = 6; this.txtUserMail.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtUserMail_KeyDown); this.txtUserMail.Validating += new System.ComponentModel.CancelEventHandler(this.txtUserMail_Validating_1); // // txtUserContect // this.txtUserContect.BackColor = System.Drawing.SystemColors.ButtonHighlight; this.txtUserContect.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtUserContect.Location = new System.Drawing.Point(260, 309); this.txtUserContect.Name = "txtUserContect"; this.txtUserContect.Size = new System.Drawing.Size(338, 29); this.txtUserContect.TabIndex = 5; this.txtUserContect.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtUserContect_KeyDown); this.txtUserContect.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtUserContect_KeyPress); // // label7 // this.label7.AutoSize = true; this.label7.BackColor = System.Drawing.Color.Transparent; this.label7.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label7.ForeColor = System.Drawing.Color.Black; this.label7.Location = new System.Drawing.Point(107, 372); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(117, 21); this.label7.TabIndex = 25; this.label7.Text = "Email Adddress"; // // txtUserPass // this.txtUserPass.BackColor = System.Drawing.SystemColors.ButtonHighlight; this.txtUserPass.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtUserPass.Location = new System.Drawing.Point(260, 192); this.txtUserPass.Name = "txtUserPass"; this.txtUserPass.Size = new System.Drawing.Size(338, 29); this.txtUserPass.TabIndex = 3; this.txtUserPass.UseSystemPasswordChar = true; this.txtUserPass.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtUserPass_KeyDown); // // txtConfirmPass // this.txtConfirmPass.BackColor = System.Drawing.SystemColors.ButtonHighlight; this.txtConfirmPass.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtConfirmPass.Location = new System.Drawing.Point(260, 250); this.txtConfirmPass.Name = "txtConfirmPass"; this.txtConfirmPass.Size = new System.Drawing.Size(338, 29); this.txtConfirmPass.TabIndex = 4; this.txtConfirmPass.UseSystemPasswordChar = true; this.txtConfirmPass.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtConfirmPass_KeyDown); // // txtFirstName // this.txtFirstName.BackColor = System.Drawing.SystemColors.ButtonHighlight; this.txtFirstName.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtFirstName.Location = new System.Drawing.Point(260, 91); this.txtFirstName.Name = "txtFirstName"; this.txtFirstName.Size = new System.Drawing.Size(338, 29); this.txtFirstName.TabIndex = 1; this.txtFirstName.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtUserName_KeyDown); this.txtFirstName.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtUserName_KeyPress); // // label1 // this.label1.AutoSize = true; this.label1.BackColor = System.Drawing.Color.Transparent; this.label1.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.Black; this.label1.Location = new System.Drawing.Point(107, 44); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(77, 21); this.label1.TabIndex = 25; this.label1.Text = "User Role"; // // registerUser // this.registerUser.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(189)))), ((int)(((byte)(242))))); this.registerUser.Cursor = System.Windows.Forms.Cursors.Hand; this.registerUser.FlatAppearance.BorderColor = System.Drawing.Color.Gainsboro; this.registerUser.FlatAppearance.CheckedBackColor = System.Drawing.Color.Gainsboro; this.registerUser.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Gainsboro; this.registerUser.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Gainsboro; this.registerUser.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.registerUser.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.registerUser.ForeColor = System.Drawing.Color.Black; this.registerUser.Location = new System.Drawing.Point(284, 450); this.registerUser.Name = "registerUser"; this.registerUser.Size = new System.Drawing.Size(119, 31); this.registerUser.TabIndex = 7; this.registerUser.Text = "Register"; this.registerUser.UseVisualStyleBackColor = false; this.registerUser.Click += new System.EventHandler(this.registerUser_Click); // // deleteUser // this.deleteUser.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(189)))), ((int)(((byte)(242))))); this.deleteUser.Cursor = System.Windows.Forms.Cursors.Hand; this.deleteUser.FlatAppearance.BorderColor = System.Drawing.Color.Gainsboro; this.deleteUser.FlatAppearance.CheckedBackColor = System.Drawing.Color.Gainsboro; this.deleteUser.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Gainsboro; this.deleteUser.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Gainsboro; this.deleteUser.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.deleteUser.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.deleteUser.ForeColor = System.Drawing.Color.Black; this.deleteUser.Location = new System.Drawing.Point(409, 450); this.deleteUser.Name = "deleteUser"; this.deleteUser.Size = new System.Drawing.Size(119, 31); this.deleteUser.TabIndex = 8; this.deleteUser.Text = "Delete"; this.deleteUser.UseVisualStyleBackColor = false; this.deleteUser.Click += new System.EventHandler(this.deleteUser_Click); // // updateUser // this.updateUser.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(189)))), ((int)(((byte)(242))))); this.updateUser.Cursor = System.Windows.Forms.Cursors.Hand; this.updateUser.FlatAppearance.BorderColor = System.Drawing.Color.Gainsboro; this.updateUser.FlatAppearance.CheckedBackColor = System.Drawing.Color.Gainsboro; this.updateUser.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Gainsboro; this.updateUser.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Gainsboro; this.updateUser.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.updateUser.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.updateUser.ForeColor = System.Drawing.Color.Black; this.updateUser.Location = new System.Drawing.Point(534, 450); this.updateUser.Name = "updateUser"; this.updateUser.Size = new System.Drawing.Size(119, 31); this.updateUser.TabIndex = 9; this.updateUser.Text = "Update"; this.updateUser.UseVisualStyleBackColor = false; this.updateUser.Click += new System.EventHandler(this.updateUser_Click); // // gbuserRegister // this.gbuserRegister.Controls.Add(this.txtLastName); this.gbuserRegister.Controls.Add(this.label6); this.gbuserRegister.Controls.Add(this.newUser); this.gbuserRegister.Controls.Add(this.txtUserID); this.gbuserRegister.Controls.Add(this.btnGetData); this.gbuserRegister.Controls.Add(this.updateUser); this.gbuserRegister.Controls.Add(this.deleteUser); this.gbuserRegister.Controls.Add(this.registerUser); this.gbuserRegister.Controls.Add(this.label1); this.gbuserRegister.Controls.Add(this.txtFirstName); this.gbuserRegister.Controls.Add(this.txtConfirmPass); this.gbuserRegister.Controls.Add(this.txtUserPass); this.gbuserRegister.Controls.Add(this.label7); this.gbuserRegister.Controls.Add(this.txtUserContect); this.gbuserRegister.Controls.Add(this.txtUserMail); this.gbuserRegister.Controls.Add(this.label5); this.gbuserRegister.Controls.Add(this.label4); this.gbuserRegister.Controls.Add(this.comboRole); this.gbuserRegister.Controls.Add(this.label3); this.gbuserRegister.Controls.Add(this.label2); this.gbuserRegister.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gbuserRegister.Location = new System.Drawing.Point(12, 116); this.gbuserRegister.Name = "gbuserRegister"; this.gbuserRegister.Size = new System.Drawing.Size(1009, 518); this.gbuserRegister.TabIndex = 35; this.gbuserRegister.TabStop = false; // // txtLastName // this.txtLastName.BackColor = System.Drawing.SystemColors.ButtonHighlight; this.txtLastName.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtLastName.Location = new System.Drawing.Point(260, 138); this.txtLastName.Name = "txtLastName"; this.txtLastName.Size = new System.Drawing.Size(338, 29); this.txtLastName.TabIndex = 2; this.txtLastName.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtLastName_KeyDown); // // label6 // this.label6.AutoSize = true; this.label6.BackColor = System.Drawing.Color.Transparent; this.label6.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label6.ForeColor = System.Drawing.Color.Black; this.label6.Location = new System.Drawing.Point(107, 141); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(84, 21); this.label6.TabIndex = 39; this.label6.Text = "Last Name"; // // newUser // this.newUser.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(189)))), ((int)(((byte)(242))))); this.newUser.Cursor = System.Windows.Forms.Cursors.Hand; this.newUser.FlatAppearance.BorderColor = System.Drawing.Color.Gainsboro; this.newUser.FlatAppearance.CheckedBackColor = System.Drawing.Color.Gainsboro; this.newUser.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Gainsboro; this.newUser.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Gainsboro; this.newUser.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.newUser.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.newUser.ForeColor = System.Drawing.Color.Black; this.newUser.Location = new System.Drawing.Point(159, 450); this.newUser.Name = "newUser"; this.newUser.Size = new System.Drawing.Size(119, 31); this.newUser.TabIndex = 37; this.newUser.Text = "New"; this.newUser.UseVisualStyleBackColor = false; this.newUser.Click += new System.EventHandler(this.newUser_Click); // // txtUserID // this.txtUserID.BorderStyle = System.Windows.Forms.BorderStyle.None; this.txtUserID.ForeColor = System.Drawing.SystemColors.Window; this.txtUserID.Location = new System.Drawing.Point(604, 41); this.txtUserID.Name = "txtUserID"; this.txtUserID.Size = new System.Drawing.Size(100, 22); this.txtUserID.TabIndex = 47; // // btnGetData // this.btnGetData.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(189)))), ((int)(((byte)(242))))); this.btnGetData.Cursor = System.Windows.Forms.Cursors.Hand; this.btnGetData.FlatAppearance.BorderColor = System.Drawing.Color.Gainsboro; this.btnGetData.FlatAppearance.CheckedBackColor = System.Drawing.Color.Gainsboro; this.btnGetData.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Gainsboro; this.btnGetData.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Gainsboro; this.btnGetData.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnGetData.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnGetData.ForeColor = System.Drawing.Color.Black; this.btnGetData.Location = new System.Drawing.Point(659, 450); this.btnGetData.Name = "btnGetData"; this.btnGetData.Size = new System.Drawing.Size(119, 31); this.btnGetData.TabIndex = 10; this.btnGetData.Text = "Get Data"; this.btnGetData.UseVisualStyleBackColor = false; this.btnGetData.Click += new System.EventHandler(this.btnGetData_Click); // // userPrintPreviewDialog // this.userPrintPreviewDialog.AutoScrollMargin = new System.Drawing.Size(0, 0); this.userPrintPreviewDialog.AutoScrollMinSize = new System.Drawing.Size(0, 0); this.userPrintPreviewDialog.ClientSize = new System.Drawing.Size(400, 300); this.userPrintPreviewDialog.Enabled = true; this.userPrintPreviewDialog.Icon = ((System.Drawing.Icon)(resources.GetObject("userPrintPreviewDialog.Icon"))); this.userPrintPreviewDialog.Name = "userPrintPreviewDialog"; this.userPrintPreviewDialog.Visible = false; // // panel1 // this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel1.Controls.Add(this.panel3); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(1025, 642); this.panel1.TabIndex = 167; // // panel3 // this.panel3.BackColor = System.Drawing.Color.LightSkyBlue; this.panel3.Controls.Add(this.btnClose); this.panel3.Controls.Add(this.button1); this.panel3.Controls.Add(this.label8); this.panel3.Location = new System.Drawing.Point(11, 3); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(1009, 41); this.panel3.TabIndex = 189; // // button1 // this.button1.BackColor = System.Drawing.Color.Transparent; this.button1.BackgroundImage = global::OMMS.Properties.Resources.close_2; this.button1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; this.button1.FlatAppearance.BorderSize = 0; this.button1.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Red; this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.button1.ForeColor = System.Drawing.Color.Black; this.button1.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; this.button1.Location = new System.Drawing.Point(1127, 0); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(39, 41); this.button1.TabIndex = 141; this.button1.UseVisualStyleBackColor = false; // // label8 // this.label8.Font = new System.Drawing.Font("Segoe UI", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label8.ForeColor = System.Drawing.Color.White; this.label8.Location = new System.Drawing.Point(371, 0); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(310, 39); this.label8.TabIndex = 3; this.label8.Text = "User Form"; this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // btnClose // this.btnClose.BackColor = System.Drawing.Color.Transparent; this.btnClose.BackgroundImage = global::OMMS.Properties.Resources.close_2; this.btnClose.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; this.btnClose.FlatAppearance.BorderSize = 0; this.btnClose.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Red; this.btnClose.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnClose.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnClose.ForeColor = System.Drawing.Color.Black; this.btnClose.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; this.btnClose.Location = new System.Drawing.Point(970, 0); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(39, 41); this.btnClose.TabIndex = 142; this.btnClose.UseVisualStyleBackColor = false; this.btnClose.Click += new System.EventHandler(this.btnClose_Click_1); // // UsersForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(1025, 642); this.Controls.Add(this.btnUsersDetail); this.Controls.Add(this.btnAddUsers); this.Controls.Add(this.gbuserRegister); this.Controls.Add(this.gbUsersDetails); this.Controls.Add(this.panel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Name = "UsersForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "UsersForm"; this.Load += new System.EventHandler(this.UsersForm_Load); this.gbUsersDetails.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pbExit)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pbHome)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pbLogout)).EndInit(); this.gbuserRegister.ResumeLayout(false); this.gbuserRegister.PerformLayout(); this.panel1.ResumeLayout(false); this.panel3.ResumeLayout(false); this.ResumeLayout(false); }
private void PrintCalibratePage() { var dialog = new System.Windows.Forms.PrintPreviewDialog(); dialog.Document = new PrintDocument(); //dialog.Document.PrinterSettings = dialog.PrinterSettings; dialog.Document.PrintPage += (s, e) => { //Font font1 = new Font("Arial", 11, System.Drawing.FontStyle.Regular); //// Construct a new Rectangle . //Rectangle displayRectangle = // new Rectangle(40, 40, 180, 180); //// Construct 2 new StringFormat objects //StringFormat format1 = new StringFormat(StringFormatFlags.NoClip); //StringFormat format2 = new StringFormat(format1); //// Set the LineAlignment and Alignment properties for //// both StringFormat objects to different values. //format1.LineAlignment = StringAlignment.Near; //format1.Alignment = StringAlignment.Center; //format2.LineAlignment = StringAlignment.Center; //format2.Alignment = StringAlignment.Far; //// Draw the bounding rectangle and a string for each //// StringFormat object. //e.Graphics.DrawRectangle(Pens.Black, displayRectangle); //e.Graphics.DrawString("Showing Format1", font1, // System.Drawing.Brushes.Red, (RectangleF)displayRectangle, format1); //e.Graphics.DrawString("Showing Format2", font1, // System.Drawing.Brushes.Red, (RectangleF)displayRectangle, format2); //return; var x = e.PageSettings.HardMarginX; var y = e.PageSettings.HardMarginY; double lineHeightCm = 1; double lineWidthCm = 1; float lineHeight = (float)CentimeterToPixelConverter.ConvertY(lineHeightCm); float lineWidth = (float)CentimeterToPixelConverter.ConvertX(lineWidthCm); float pWidth = e.PageSettings.PaperSize.Width; float pHight = e.PageSettings.PaperSize.Height; var pen = System.Drawing.Pens.Black; SolidBrush brush = new SolidBrush(System.Drawing.Color.Black); Font font = new Font("Arial", 11, System.Drawing.FontStyle.Regular); e.Graphics.DrawLine(pen, 200 - x, 500 - y, 200 - x, 600 - y); e.Graphics.DrawString("2 дюйма = 5,08 см", font, brush, 220F, 550F); e.Graphics.DrawLine(pen, 10F / 2.54F * 100F - x, 10F / 2.54F * 100F - y, 10F / 2.54F * 100F - x, 15F / 2.54F * 100F - y); e.Graphics.DrawLine(pen, 10F / 2.54F * 100F - x, 10F / 2.54F * 100F - y, 15F / 2.54F * 100F - x, 10F / 2.54F * 100F - y); e.Graphics.DrawString("10 см от верхнего и левого краев", font, brush, 10.5F / 2.54F * 100F, 10.5F / 2.54F * 100F); e.Graphics.DrawLine(pen, 15F / 2.54F * 100F - x, 15F / 2.54F * 100F - y, 15F / 2.54F * 100F - x, 17F / 2.54F * 100F - y); e.Graphics.DrawLine(pen, 15F / 2.54F * 100F - x, 15F / 2.54F * 100F - y, 17F / 2.54F * 100F - x, 15F / 2.54F * 100F - y); e.Graphics.DrawString("15 см от верхнего и левого краев", font, brush, 15.5F / 2.54F * 100F, 15.5F / 2.54F * 100F); e.Graphics.DrawLine(pen, 19F / 2.54F * 100F - x, 25F / 2.54F * 100F - y, 19F / 2.54F * 100F - x, 28F / 2.54F * 100F - y); e.Graphics.DrawLine(pen, 19F / 2.54F * 100F - x, 25F / 2.54F * 100F - y, 21F / 2.54F * 100F - x, 25F / 2.54F * 100F - y); e.Graphics.DrawString("25 от верхнего и\r\n 19 см от левого краев", font, brush, 18F / 2.54F * 100F, 26F / 2.54F * 100F); ////1. top-left conner //e.Graphics.DrawLine(pen, lineWidth * 0.5F, lineHeight, lineWidth * 1.5F, lineHeight); //e.Graphics.DrawLine(pen, lineWidth, lineHeight * 0.5F, lineWidth, lineHeight * 1.5F); //e.Graphics.DrawString(string.Format("{0:N1}:{1:N1}", lineWidthCm, lineHeightCm), font, brush, lineWidth * 2F, lineHeight * 2f); ////2. top-right conner //e.Graphics.DrawLine(pen, e.PageSettings.PaperSize.Width - lineWidth * 1.5F, lineHeight, e.PageSettings.PaperSize.Width - lineWidth * 0.5F, lineHeight); //e.Graphics.DrawLine(pen, e.PageSettings.PaperSize.Width - lineWidth, lineHeight * 0.5F, e.PageSettings.PaperSize.Width - lineWidth, lineHeight * 1.5F); //e.Graphics.DrawString(string.Format("{0:N1}:{1:N1}", CentimeterToPixelConverter.ConvertToCmX(e.PageSettings.PaperSize.Width - lineWidth), lineHeightCm), font, brush, e.PageSettings.PaperSize.Width - lineWidth * 3F, lineHeight * 2f); ////3. bottom-left conner //e.Graphics.DrawLine(pen, lineWidth * 0.5F, e.PageSettings.PaperSize.Height - lineHeight, lineHeight * 1.5F, e.PageSettings.PaperSize.Height - lineHeight); //e.Graphics.DrawLine(pen, lineWidth, e.PageSettings.PaperSize.Height - lineHeight * 1.5F, lineWidth, e.PageSettings.PaperSize.Height - lineHeight * 0.5F); //e.Graphics.DrawString(string.Format("{0:N1}:{1:N1}", lineWidthCm, CentimeterToPixelConverter.ConvertToCmY(e.PageSettings.PaperSize.Height - lineHeight)), font, brush, lineWidth * 2F, e.PageSettings.PaperSize.Height - lineHeight * 2f); ////4. bottom-right //e.Graphics.DrawLine(pen, e.PageSettings.PaperSize.Width - lineWidth * 1.5F, e.PageSettings.PaperSize.Height - lineHeight, e.PageSettings.PaperSize.Width - lineWidth * 0.5F, e.PageSettings.PaperSize.Height - lineHeight); //e.Graphics.DrawLine(pen, e.PageSettings.PaperSize.Width - lineWidth, e.PageSettings.PaperSize.Height - lineHeight * 1.5F, e.PageSettings.PaperSize.Width - lineWidth, e.PageSettings.PaperSize.Height - lineHeight * 0.5F); //e.Graphics.DrawString(string.Format("{0:N1}:{1:N1}", CentimeterToPixelConverter.ConvertToCmX(e.PageSettings.PaperSize.Width - lineWidth), CentimeterToPixelConverter.ConvertToCmY(e.PageSettings.PaperSize.Height - lineHeight)), font, brush, e.PageSettings.PaperSize.Width - lineWidth * 3F, e.PageSettings.PaperSize.Height - lineHeight * 2f); ////5. Center //e.Graphics.DrawLine(pen, e.PageSettings.PaperSize.Width / 2 - lineWidth / 2, e.PageSettings.PaperSize.Height / 2, e.PageSettings.PaperSize.Width / 2 + lineWidth / 2, e.PageSettings.PaperSize.Height / 2); //e.Graphics.DrawLine(pen, e.PageSettings.PaperSize.Width / 2, e.PageSettings.PaperSize.Height / 2 - lineHeight / 2, e.PageSettings.PaperSize.Width / 2, e.PageSettings.PaperSize.Height / 2 + lineHeight / 2); //e.Graphics.DrawString(string.Format("{0:N1}:{1:N1}", CentimeterToPixelConverter.ConvertToCmX(e.PageSettings.PaperSize.Width / 2), CentimeterToPixelConverter.ConvertToCmY(e.PageSettings.PaperSize.Height / 2)), font, brush, e.PageSettings.PaperSize.Width / 2 + lineWidth, e.PageSettings.PaperSize.Height / 2 + lineHeight); //6. Page size e.Graphics.DrawString(string.Format("Размер страницы {0:N1}х{1:N1} см.", e.PageSettings.PaperSize.Width / 100F * 2.54, e.PageSettings.PaperSize.Height / 100F * 2.54), font, brush, lineWidth * 2F, lineHeight * 5f); e.Graphics.DrawString(string.Format("Размер печатной области {0:N1}х{1:N1} см.", e.PageSettings.PrintableArea.Width / 100F * 2.54, e.PageSettings.PrintableArea.Height / 100F * 2.54), font, brush, lineWidth * 2F, lineHeight * 6f); e.Graphics.DrawString(string.Format("Физический отступ принтера {0:N1}х{1:N1} см.", e.PageSettings.HardMarginX / 100F * 2.54, e.PageSettings.HardMarginY / 100F * 2.54), font, brush, lineWidth * 2F, lineHeight * 8f); //7. Риски по границам //e.Graphics.DrawLine(pen, e.PageSettings.PrintableArea.X, e.PageSettings.PrintableArea.Y, e.PageSettings.PrintableArea.X, e.PageSettings.PrintableArea.Y + lineWidth); //e.Graphics.DrawLine(pen, e.PageSettings.PrintableArea.X, e.PageSettings.PrintableArea.Y, e.PageSettings.PrintableArea.X + lineHeight, e.PageSettings.PrintableArea.Y); //e.Graphics.DrawLine(pen,e.PageSettings.PrintableArea.Right,e.PageSettings.PrintableArea.Bottom,e.PageSettings.PrintableArea.Right, e.PageSettings.PrintableArea.Bottom - lineHeight); //e.Graphics.DrawLine(pen,e.PageSettings.PrintableArea.Right,e.PageSettings.PrintableArea.Bottom,e.PageSettings.PrintableArea.Right - lineWidth, e.PageSettings.PrintableArea.Bottom); }; dialog.ShowDialog(); }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormDeclare)); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.textBox15 = new System.Windows.Forms.TextBox(); this.label19 = new System.Windows.Forms.Label(); this.label11 = new System.Windows.Forms.Label(); this.textBox9 = new System.Windows.Forms.TextBox(); this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker(); this.textBox8 = new System.Windows.Forms.TextBox(); this.textBox7 = new System.Windows.Forms.TextBox(); this.textBox6 = new System.Windows.Forms.TextBox(); this.textBox5 = new System.Windows.Forms.TextBox(); this.textBox4 = new System.Windows.Forms.TextBox(); this.textBox3 = new System.Windows.Forms.TextBox(); this.textBox2 = new System.Windows.Forms.TextBox(); this.textBox1 = new System.Windows.Forms.TextBox(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.textBox14 = new System.Windows.Forms.TextBox(); this.textBox13 = new System.Windows.Forms.TextBox(); this.comboBox2 = new System.Windows.Forms.ComboBox(); this.textBox12 = new System.Windows.Forms.TextBox(); this.dateTimePicker2 = new System.Windows.Forms.DateTimePicker(); this.textBox11 = new System.Windows.Forms.TextBox(); this.textBox10 = new System.Windows.Forms.TextBox(); this.label18 = new System.Windows.Forms.Label(); this.label17 = new System.Windows.Forms.Label(); this.label16 = new System.Windows.Forms.Label(); this.label15 = new System.Windows.Forms.Label(); this.label14 = new System.Windows.Forms.Label(); this.label13 = new System.Windows.Forms.Label(); this.label12 = new System.Windows.Forms.Label(); this.printDocument1 = new System.Drawing.Printing.PrintDocument(); this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog(); this.pageSetupDialog1 = new System.Windows.Forms.PageSetupDialog(); this.buttonX4 = new DevComponents.DotNetBar.ButtonX(); this.buttonOK = new DevComponents.DotNetBar.ButtonX(); this.buttonCancel = new DevComponents.DotNetBar.ButtonX(); this.panel1 = new System.Windows.Forms.Panel(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(44, 60); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(53, 12); this.label1.TabIndex = 0; this.label1.Text = "投诉时间"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(68, 30); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(29, 12); this.label2.TabIndex = 1; this.label2.Text = "单号"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(312, 60); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(29, 12); this.label3.TabIndex = 2; this.label3.Text = "机型"; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(68, 87); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(29, 12); this.label4.TabIndex = 3; this.label4.Text = "车主"; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(312, 87); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(29, 12); this.label5.TabIndex = 4; this.label5.Text = "车牌"; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(68, 114); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(29, 12); this.label6.TabIndex = 5; this.label6.Text = "电话"; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(288, 114); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(53, 12); this.label7.TabIndex = 6; this.label7.Text = "汽车品牌"; // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(56, 142); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(41, 12); this.label8.TabIndex = 7; this.label8.Text = "业务员"; // // label9 // this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point(44, 169); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(53, 12); this.label9.TabIndex = 8; this.label9.Text = "联系地址"; // // label10 // this.label10.AutoSize = true; this.label10.Location = new System.Drawing.Point(15, 196); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(89, 12); this.label10.TabIndex = 9; this.label10.Text = "投诉、故障内容"; // // groupBox1 // this.groupBox1.BackColor = System.Drawing.Color.Transparent; this.groupBox1.Controls.Add(this.textBox15); this.groupBox1.Controls.Add(this.label19); this.groupBox1.Controls.Add(this.label11); this.groupBox1.Controls.Add(this.textBox9); this.groupBox1.Controls.Add(this.dateTimePicker1); this.groupBox1.Controls.Add(this.textBox8); this.groupBox1.Controls.Add(this.textBox7); this.groupBox1.Controls.Add(this.textBox6); this.groupBox1.Controls.Add(this.textBox5); this.groupBox1.Controls.Add(this.textBox4); this.groupBox1.Controls.Add(this.textBox3); this.groupBox1.Controls.Add(this.textBox2); this.groupBox1.Controls.Add(this.textBox1); this.groupBox1.Controls.Add(this.label10); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.label9); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.label8); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.label7); this.groupBox1.Controls.Add(this.label4); this.groupBox1.Controls.Add(this.label6); this.groupBox1.Controls.Add(this.label5); this.groupBox1.Location = new System.Drawing.Point(12, 32); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(554, 354); this.groupBox1.TabIndex = 10; this.groupBox1.TabStop = false; this.groupBox1.Text = "投诉、故障申报内容"; // // textBox15 // this.textBox15.Location = new System.Drawing.Point(101, 328); this.textBox15.Name = "textBox15"; this.textBox15.Size = new System.Drawing.Size(156, 21); this.textBox15.TabIndex = 23; // // label19 // this.label19.AutoSize = true; this.label19.Location = new System.Drawing.Point(55, 336); this.label19.Name = "label19"; this.label19.Size = new System.Drawing.Size(41, 12); this.label19.TabIndex = 22; this.label19.Text = "申报人"; // // label11 // this.label11.AutoSize = true; this.label11.Location = new System.Drawing.Point(15, 286); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(89, 12); this.label11.TabIndex = 20; this.label11.Text = "投诉、故障历史"; // // textBox9 // this.textBox9.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.textBox9.Location = new System.Drawing.Point(17, 211); this.textBox9.Multiline = true; this.textBox9.Name = "textBox9"; this.textBox9.Size = new System.Drawing.Size(520, 72); this.textBox9.TabIndex = 19; // // dateTimePicker1 // this.dateTimePicker1.CustomFormat = "yyyy-MM-dd HH:mm"; this.dateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.dateTimePicker1.Location = new System.Drawing.Point(103, 51); this.dateTimePicker1.Name = "dateTimePicker1"; this.dateTimePicker1.Size = new System.Drawing.Size(156, 21); this.dateTimePicker1.TabIndex = 18; // // textBox8 // this.textBox8.Location = new System.Drawing.Point(103, 160); this.textBox8.Name = "textBox8"; this.textBox8.Size = new System.Drawing.Size(434, 21); this.textBox8.TabIndex = 17; // // textBox7 // this.textBox7.Location = new System.Drawing.Point(103, 133); this.textBox7.Name = "textBox7"; this.textBox7.Size = new System.Drawing.Size(156, 21); this.textBox7.TabIndex = 16; // // textBox6 // this.textBox6.Location = new System.Drawing.Point(347, 105); this.textBox6.Name = "textBox6"; this.textBox6.Size = new System.Drawing.Size(156, 21); this.textBox6.TabIndex = 15; // // textBox5 // this.textBox5.Location = new System.Drawing.Point(103, 105); this.textBox5.Name = "textBox5"; this.textBox5.Size = new System.Drawing.Size(156, 21); this.textBox5.TabIndex = 14; // // textBox4 // this.textBox4.Location = new System.Drawing.Point(347, 78); this.textBox4.Name = "textBox4"; this.textBox4.Size = new System.Drawing.Size(156, 21); this.textBox4.TabIndex = 13; // // textBox3 // this.textBox3.Location = new System.Drawing.Point(103, 78); this.textBox3.Name = "textBox3"; this.textBox3.Size = new System.Drawing.Size(156, 21); this.textBox3.TabIndex = 12; // // textBox2 // this.textBox2.Location = new System.Drawing.Point(347, 51); this.textBox2.Name = "textBox2"; this.textBox2.Size = new System.Drawing.Size(156, 21); this.textBox2.TabIndex = 11; // // textBox1 // this.textBox1.Location = new System.Drawing.Point(103, 21); this.textBox1.Name = "textBox1"; this.textBox1.ReadOnly = true; this.textBox1.Size = new System.Drawing.Size(156, 21); this.textBox1.TabIndex = 10; // // comboBox1 // this.comboBox1.FormattingEnabled = true; this.comboBox1.Location = new System.Drawing.Point(3, 4); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(542, 20); this.comboBox1.TabIndex = 21; // // groupBox2 // this.groupBox2.BackColor = System.Drawing.Color.Transparent; this.groupBox2.Controls.Add(this.textBox14); this.groupBox2.Controls.Add(this.textBox13); this.groupBox2.Controls.Add(this.comboBox2); this.groupBox2.Controls.Add(this.textBox12); this.groupBox2.Controls.Add(this.dateTimePicker2); this.groupBox2.Controls.Add(this.textBox11); this.groupBox2.Controls.Add(this.textBox10); this.groupBox2.Controls.Add(this.label18); this.groupBox2.Controls.Add(this.label17); this.groupBox2.Controls.Add(this.label16); this.groupBox2.Controls.Add(this.label15); this.groupBox2.Controls.Add(this.label14); this.groupBox2.Controls.Add(this.label13); this.groupBox2.Controls.Add(this.label12); this.groupBox2.Location = new System.Drawing.Point(10, 387); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(554, 268); this.groupBox2.TabIndex = 11; this.groupBox2.TabStop = false; this.groupBox2.Text = "处理情况"; // // textBox14 // this.textBox14.Location = new System.Drawing.Point(103, 241); this.textBox14.Name = "textBox14"; this.textBox14.ReadOnly = true; this.textBox14.Size = new System.Drawing.Size(156, 21); this.textBox14.TabIndex = 26; // // textBox13 // this.textBox13.Location = new System.Drawing.Point(103, 213); this.textBox13.Name = "textBox13"; this.textBox13.Size = new System.Drawing.Size(434, 21); this.textBox13.TabIndex = 25; // // comboBox2 // this.comboBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBox2.FormattingEnabled = true; this.comboBox2.Items.AddRange(new object[] { "满意", "一般", "不满意"}); this.comboBox2.Location = new System.Drawing.Point(103, 187); this.comboBox2.Name = "comboBox2"; this.comboBox2.Size = new System.Drawing.Size(156, 20); this.comboBox2.TabIndex = 24; // // textBox12 // this.textBox12.Location = new System.Drawing.Point(347, 157); this.textBox12.Name = "textBox12"; this.textBox12.Size = new System.Drawing.Size(156, 21); this.textBox12.TabIndex = 23; // // dateTimePicker2 // this.dateTimePicker2.CustomFormat = "yyyy-MM-dd HH:mm"; this.dateTimePicker2.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.dateTimePicker2.Location = new System.Drawing.Point(103, 156); this.dateTimePicker2.Name = "dateTimePicker2"; this.dateTimePicker2.Size = new System.Drawing.Size(156, 21); this.dateTimePicker2.TabIndex = 22; // // textBox11 // this.textBox11.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.textBox11.Location = new System.Drawing.Point(17, 106); this.textBox11.Multiline = true; this.textBox11.Name = "textBox11"; this.textBox11.Size = new System.Drawing.Size(520, 44); this.textBox11.TabIndex = 21; // // textBox10 // this.textBox10.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.textBox10.Location = new System.Drawing.Point(17, 32); this.textBox10.Multiline = true; this.textBox10.Name = "textBox10"; this.textBox10.Size = new System.Drawing.Size(520, 56); this.textBox10.TabIndex = 20; // // label18 // this.label18.AutoSize = true; this.label18.Location = new System.Drawing.Point(56, 246); this.label18.Name = "label18"; this.label18.Size = new System.Drawing.Size(41, 12); this.label18.TabIndex = 6; this.label18.Text = "处理人"; // // label17 // this.label17.AutoSize = true; this.label17.Location = new System.Drawing.Point(68, 221); this.label17.Name = "label17"; this.label17.Size = new System.Drawing.Size(29, 12); this.label17.TabIndex = 5; this.label17.Text = "意见"; // // label16 // this.label16.AutoSize = true; this.label16.Location = new System.Drawing.Point(44, 195); this.label16.Name = "label16"; this.label16.Size = new System.Drawing.Size(53, 12); this.label16.TabIndex = 4; this.label16.Text = "客户意见"; // // label15 // this.label15.AutoSize = true; this.label15.Location = new System.Drawing.Point(276, 165); this.label15.Name = "label15"; this.label15.Size = new System.Drawing.Size(65, 12); this.label15.TabIndex = 3; this.label15.Text = "经办技术员"; // // label14 // this.label14.AutoSize = true; this.label14.Location = new System.Drawing.Point(44, 165); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(53, 12); this.label14.TabIndex = 2; this.label14.Text = "处理日期"; // // label13 // this.label13.AutoSize = true; this.label13.Location = new System.Drawing.Point(15, 91); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(89, 12); this.label13.TabIndex = 1; this.label13.Text = "维修或更换配件"; // // label12 // this.label12.AutoSize = true; this.label12.Location = new System.Drawing.Point(15, 17); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(53, 12); this.label12.TabIndex = 0; this.label12.Text = "处理情况"; // // printDocument1 // this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage); // // printPreviewDialog1 // this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0); this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0); this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300); this.printPreviewDialog1.Document = this.printDocument1; this.printPreviewDialog1.Enabled = true; this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon"))); this.printPreviewDialog1.Name = "printPreviewDialog1"; this.printPreviewDialog1.Visible = false; // // pageSetupDialog1 // this.pageSetupDialog1.Document = this.printDocument1; // // buttonX4 // this.buttonX4.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.buttonX4.Location = new System.Drawing.Point(27, 661); this.buttonX4.Name = "buttonX4"; this.buttonX4.Size = new System.Drawing.Size(93, 23); this.buttonX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.VS2005; this.buttonX4.TabIndex = 42; this.buttonX4.Text = "打印"; this.buttonX4.Click += new System.EventHandler(this.button3_Click); // // buttonOK // this.buttonOK.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.buttonOK.Location = new System.Drawing.Point(348, 661); this.buttonOK.Name = "buttonOK"; this.buttonOK.Size = new System.Drawing.Size(93, 23); this.buttonOK.Style = DevComponents.DotNetBar.eDotNetBarStyle.VS2005; this.buttonOK.TabIndex = 43; this.buttonOK.Text = "提交"; this.buttonOK.Click += new System.EventHandler(this.button1_Click); // // buttonCancel // this.buttonCancel.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.buttonCancel.Location = new System.Drawing.Point(462, 661); this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.Size = new System.Drawing.Size(93, 23); this.buttonCancel.Style = DevComponents.DotNetBar.eDotNetBarStyle.VS2005; this.buttonCancel.TabIndex = 44; this.buttonCancel.Text = "取消"; // // panel1 // this.panel1.BackColor = System.Drawing.Color.Transparent; this.panel1.Controls.Add(this.comboBox1); this.panel1.Location = new System.Drawing.Point(15, 333); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(550, 26); this.panel1.TabIndex = 27; // // FormDeclare // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackgroundImage = global::YTGPS_Client.Properties.Resources.fbk3; this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.ClientSize = new System.Drawing.Size(579, 706); this.Controls.Add(this.panel1); this.Controls.Add(this.buttonCancel); this.Controls.Add(this.buttonOK); this.Controls.Add(this.buttonX4); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.KeyPreview = true; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "FormDeclare"; this.ShowInTaskbar = false; this.Text = "投诉、故障申报"; this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.FormDeclare_KeyPress); this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FormDeclare_FormClosing); this.Controls.SetChildIndex(this.groupBox1, 0); this.Controls.SetChildIndex(this.groupBox2, 0); this.Controls.SetChildIndex(this.buttonX4, 0); this.Controls.SetChildIndex(this.buttonOK, 0); this.Controls.SetChildIndex(this.buttonCancel, 0); this.Controls.SetChildIndex(this.panel1, 0); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Print the GraphicsWindow contents. /// /// The window must be visible and a short delay may be required after updating the window before calling. /// </summary> /// <param name="border"> /// Include the window border ("True" or "False"). /// </param> /// <returns> /// None. /// </returns> public static void Print(Primitive border) { GraphicsWindow.Show(); Utilities.bTextWindow = false; Utilities.bBorder = border; PrintDocument pd = new PrintDocument(); pd.PrintPage += new PrintPageEventHandler(Utilities.printWindow); System.Windows.Forms.PrintPreviewDialog dlg = new System.Windows.Forms.PrintPreviewDialog(); dlg.Document = pd; dlg.Width = 600; dlg.Height = 600; dlg.ShowIcon = false; dlg.TopMost = true; if (LDUtilities.showPreview) { if (dlg.ShowDialog(Utilities.ForegroundHandle()) == System.Windows.Forms.DialogResult.OK) { pd.Print(); } } else { pd.Print(); } }
public virtual void PrintPreview(Point Location, Size Size) { if (mDiagram == null) throw new PrintDocumentException("A Diagram reference was not set for this PrintDocument."); System.Windows.Forms.PrintPreviewDialog objDialog = new System.Windows.Forms.PrintPreviewDialog(); objDialog.Document = this; objDialog.Location = Location; objDialog.Size = Size; //Set the zoom mRender.Zoom = mDiagram.Zoom; objDialog.ShowDialog(); objDialog.Dispose(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(NewClient)); this.textBoxFName = new System.Windows.Forms.TextBox(); this.textBoxSName = new System.Windows.Forms.TextBox(); this.textBoxLName = new System.Windows.Forms.TextBox(); this.textBoxEGN = new System.Windows.Forms.TextBox(); this.textBoxAdress = new System.Windows.Forms.TextBox(); this.textBoxPhone = new System.Windows.Forms.TextBox(); this.textBoxEmail = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.Add = new System.Windows.Forms.Button(); this.comboBoxStatus = new System.Windows.Forms.ComboBox(); this.comboBoxGender = new System.Windows.Forms.ComboBox(); this.textBoxLeaving = new System.Windows.Forms.TextBox(); this.label9 = new System.Windows.Forms.Label(); this.epInput = new System.Windows.Forms.ErrorProvider(this.components); this.buttonClose = new System.Windows.Forms.Button(); this.label10 = new System.Windows.Forms.Label(); this.label11 = new System.Windows.Forms.Label(); this.label12 = new System.Windows.Forms.Label(); this.label13 = new System.Windows.Forms.Label(); this.label14 = new System.Windows.Forms.Label(); this.label15 = new System.Windows.Forms.Label(); this.label16 = new System.Windows.Forms.Label(); this.label17 = new System.Windows.Forms.Label(); this.printDocument1 = new System.Drawing.Printing.PrintDocument(); this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog(); ((System.ComponentModel.ISupportInitialize)(this.epInput)).BeginInit(); this.SuspendLayout(); // // textBoxFName // this.textBoxFName.Location = new System.Drawing.Point(49, 28); this.textBoxFName.Margin = new System.Windows.Forms.Padding(4); this.textBoxFName.Name = "textBoxFName"; this.textBoxFName.Size = new System.Drawing.Size(137, 22); this.textBoxFName.TabIndex = 0; this.textBoxFName.Validating += new System.ComponentModel.CancelEventHandler(this.textBoxFName_Validating); // // textBoxSName // this.textBoxSName.Location = new System.Drawing.Point(203, 28); this.textBoxSName.Margin = new System.Windows.Forms.Padding(4); this.textBoxSName.Name = "textBoxSName"; this.textBoxSName.Size = new System.Drawing.Size(137, 22); this.textBoxSName.TabIndex = 1; this.textBoxSName.Validating += new System.ComponentModel.CancelEventHandler(this.textBoxSName_Validating); // // textBoxLName // this.textBoxLName.Location = new System.Drawing.Point(359, 28); this.textBoxLName.Margin = new System.Windows.Forms.Padding(4); this.textBoxLName.Name = "textBoxLName"; this.textBoxLName.Size = new System.Drawing.Size(137, 22); this.textBoxLName.TabIndex = 2; this.textBoxLName.Validating += new System.ComponentModel.CancelEventHandler(this.textBoxLName_Validating); // // textBoxEGN // this.textBoxEGN.Location = new System.Drawing.Point(45, 90); this.textBoxEGN.Margin = new System.Windows.Forms.Padding(4); this.textBoxEGN.Name = "textBoxEGN"; this.textBoxEGN.Size = new System.Drawing.Size(155, 22); this.textBoxEGN.TabIndex = 3; // // textBoxAdress // this.textBoxAdress.Location = new System.Drawing.Point(243, 90); this.textBoxAdress.Margin = new System.Windows.Forms.Padding(4); this.textBoxAdress.Multiline = true; this.textBoxAdress.Name = "textBoxAdress"; this.textBoxAdress.Size = new System.Drawing.Size(307, 62); this.textBoxAdress.TabIndex = 4; // // textBoxPhone // this.textBoxPhone.Location = new System.Drawing.Point(45, 177); this.textBoxPhone.Margin = new System.Windows.Forms.Padding(4); this.textBoxPhone.Name = "textBoxPhone"; this.textBoxPhone.Size = new System.Drawing.Size(188, 22); this.textBoxPhone.TabIndex = 5; // // textBoxEmail // this.textBoxEmail.Location = new System.Drawing.Point(243, 177); this.textBoxEmail.Margin = new System.Windows.Forms.Padding(4); this.textBoxEmail.Name = "textBoxEmail"; this.textBoxEmail.Size = new System.Drawing.Size(307, 22); this.textBoxEmail.TabIndex = 6; this.textBoxEmail.Validating += new System.ComponentModel.CancelEventHandler(this.textBoxEmail_Validating); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(45, 9); this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(35, 16); this.label1.TabIndex = 25; this.label1.Text = "Име"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(41, 70); this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(36, 16); this.label2.TabIndex = 18; this.label2.Text = "ЕГН"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(247, 70); this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(48, 16); this.label3.TabIndex = 12; this.label3.Text = "Адрес"; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(41, 158); this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(68, 16); this.label4.TabIndex = 13; this.label4.Text = "Телефон"; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(239, 158); this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(48, 16); this.label5.TabIndex = 14; this.label5.Text = "Е-mail"; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(46, 242); this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(110, 16); this.label6.TabIndex = 15; this.label6.Text = "Завършва през"; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(46, 330); this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(54, 16); this.label7.TabIndex = 16; this.label7.Text = "Статус"; // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(42, 272); this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(34, 16); this.label8.TabIndex = 17; this.label8.Text = "Пол"; // // Add // this.Add.Location = new System.Drawing.Point(336, 344); this.Add.Margin = new System.Windows.Forms.Padding(4); this.Add.Name = "Add"; this.Add.Size = new System.Drawing.Size(101, 30); this.Add.TabIndex = 10; this.Add.Text = "Добави"; this.Add.UseVisualStyleBackColor = true; this.Add.Click += new System.EventHandler(this.Add_Click); // // comboBoxStatus // this.comboBoxStatus.FormattingEnabled = true; this.comboBoxStatus.Location = new System.Drawing.Point(45, 350); this.comboBoxStatus.Margin = new System.Windows.Forms.Padding(4); this.comboBoxStatus.Name = "comboBoxStatus"; this.comboBoxStatus.Size = new System.Drawing.Size(227, 24); this.comboBoxStatus.TabIndex = 9; // // comboBoxGender // this.comboBoxGender.FormattingEnabled = true; this.comboBoxGender.Location = new System.Drawing.Point(45, 292); this.comboBoxGender.Margin = new System.Windows.Forms.Padding(4); this.comboBoxGender.Name = "comboBoxGender"; this.comboBoxGender.Size = new System.Drawing.Size(99, 24); this.comboBoxGender.TabIndex = 8; // // textBoxLeaving // this.textBoxLeaving.Location = new System.Drawing.Point(172, 236); this.textBoxLeaving.Margin = new System.Windows.Forms.Padding(4); this.textBoxLeaving.Name = "textBoxLeaving"; this.textBoxLeaving.Size = new System.Drawing.Size(95, 22); this.textBoxLeaving.TabIndex = 7; // // label9 // this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point(275, 242); this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(54, 16); this.label9.TabIndex = 22; this.label9.Text = "година"; // // epInput // this.epInput.ContainerControl = this; // // buttonClose // this.buttonClose.Location = new System.Drawing.Point(449, 344); this.buttonClose.Margin = new System.Windows.Forms.Padding(4); this.buttonClose.Name = "buttonClose"; this.buttonClose.Size = new System.Drawing.Size(101, 30); this.buttonClose.TabIndex = 11; this.buttonClose.Text = "Затвори"; this.buttonClose.UseVisualStyleBackColor = true; this.buttonClose.Click += new System.EventHandler(this.buttonClose_Click); // // label10 // this.label10.AutoSize = true; this.label10.Location = new System.Drawing.Point(200, 8); this.label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(67, 16); this.label10.TabIndex = 25; this.label10.Text = "Презиме"; // // label11 // this.label11.AutoSize = true; this.label11.Location = new System.Drawing.Point(356, 8); this.label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(67, 16); this.label11.TabIndex = 25; this.label11.Text = "Фамилия"; // // label12 // this.label12.AutoSize = true; this.label12.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.label12.ForeColor = System.Drawing.Color.Red; this.label12.Location = new System.Drawing.Point(71, 215); this.label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(216, 13); this.label12.TabIndex = 22; this.label12.Text = "(Това поле се попълва само за ученици!)"; // // label13 // this.label13.AutoSize = true; this.label13.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.label13.ForeColor = System.Drawing.Color.Red; this.label13.Location = new System.Drawing.Point(86, 9); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(14, 18); this.label13.TabIndex = 26; this.label13.Text = "*"; // // label14 // this.label14.AutoSize = true; this.label14.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.label14.ForeColor = System.Drawing.Color.Red; this.label14.Location = new System.Drawing.Point(275, 9); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(14, 18); this.label14.TabIndex = 26; this.label14.Text = "*"; // // label15 // this.label15.AutoSize = true; this.label15.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.label15.ForeColor = System.Drawing.Color.Red; this.label15.Location = new System.Drawing.Point(430, 9); this.label15.Name = "label15"; this.label15.Size = new System.Drawing.Size(14, 18); this.label15.TabIndex = 26; this.label15.Text = "*"; // // label16 // this.label16.AutoSize = true; this.label16.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.label16.ForeColor = System.Drawing.Color.Red; this.label16.Location = new System.Drawing.Point(84, 70); this.label16.Name = "label16"; this.label16.Size = new System.Drawing.Size(14, 18); this.label16.TabIndex = 26; this.label16.Text = "*"; // // label17 // this.label17.AutoSize = true; this.label17.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.label17.ForeColor = System.Drawing.Color.Red; this.label17.Location = new System.Drawing.Point(116, 158); this.label17.Name = "label17"; this.label17.Size = new System.Drawing.Size(14, 18); this.label17.TabIndex = 26; this.label17.Text = "*"; // // printDocument1 // this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage); // // printPreviewDialog1 // this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0); this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0); this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300); this.printPreviewDialog1.Document = this.printDocument1; this.printPreviewDialog1.Enabled = true; this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon"))); this.printPreviewDialog1.Name = "printPreviewDialog1"; this.printPreviewDialog1.Visible = false; // // NewClient // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(241)))), ((int)(((byte)(253))))); this.ClientSize = new System.Drawing.Size(581, 387); this.Controls.Add(this.label17); this.Controls.Add(this.label16); this.Controls.Add(this.label15); this.Controls.Add(this.label14); this.Controls.Add(this.label13); this.Controls.Add(this.buttonClose); this.Controls.Add(this.label12); this.Controls.Add(this.label9); this.Controls.Add(this.textBoxLeaving); this.Controls.Add(this.comboBoxGender); this.Controls.Add(this.comboBoxStatus); this.Controls.Add(this.Add); this.Controls.Add(this.label8); this.Controls.Add(this.label7); this.Controls.Add(this.label6); this.Controls.Add(this.label5); this.Controls.Add(this.label4); this.Controls.Add(this.label3); this.Controls.Add(this.label2); this.Controls.Add(this.label11); this.Controls.Add(this.label10); this.Controls.Add(this.label1); this.Controls.Add(this.textBoxEmail); this.Controls.Add(this.textBoxPhone); this.Controls.Add(this.textBoxAdress); this.Controls.Add(this.textBoxEGN); this.Controls.Add(this.textBoxLName); this.Controls.Add(this.textBoxSName); this.Controls.Add(this.textBoxFName); this.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.Margin = new System.Windows.Forms.Padding(4); this.Name = "NewClient"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Нов Читател"; this.Load += new System.EventHandler(this.NewClient_Load); ((System.ComponentModel.ISupportInitialize)(this.epInput)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CrosswordForm)); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.OpenToolStripButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.CheckToolStripButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.PrintButton = new System.Windows.Forms.ToolStripButton(); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.файлToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.открытьКроссвордToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.проверитьКроссвордToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.редакторToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.вернутьсяКРедакторуToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.помощьToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.оПрограммеToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.оРазработчикеToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.FooterPanel = new System.Windows.Forms.Panel(); this.AuthorPanel = new System.Windows.Forms.Label(); this.LeftPanel = new System.Windows.Forms.Panel(); this.RightPanel = new System.Windows.Forms.Panel(); this.CheckButton = new System.Windows.Forms.Button(); this.QuestionListView = new System.Windows.Forms.ListView(); this.printDocument1 = new System.Drawing.Printing.PrintDocument(); this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog(); this.toolStrip1.SuspendLayout(); this.menuStrip1.SuspendLayout(); this.FooterPanel.SuspendLayout(); this.RightPanel.SuspendLayout(); this.SuspendLayout(); // // toolStrip1 // this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.OpenToolStripButton, this.toolStripSeparator2, this.CheckToolStripButton, this.toolStripSeparator1, this.PrintButton}); this.toolStrip1.Location = new System.Drawing.Point(0, 24); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(998, 25); this.toolStrip1.TabIndex = 3; this.toolStrip1.Text = "toolStrip1"; // // OpenToolStripButton // this.OpenToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.OpenToolStripButton.Image = global::CrossWordExpress.Properties.Resources._1493902157_icon_folder; this.OpenToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.OpenToolStripButton.Name = "OpenToolStripButton"; this.OpenToolStripButton.Size = new System.Drawing.Size(23, 22); this.OpenToolStripButton.Text = "Открыть кроссворд"; this.OpenToolStripButton.Click += new System.EventHandler(this.OpenToolStripButton_Click); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25); // // CheckToolStripButton // this.CheckToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.CheckToolStripButton.Image = global::CrossWordExpress.Properties.Resources._1496634376_files_folders_44; this.CheckToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.CheckToolStripButton.Name = "CheckToolStripButton"; this.CheckToolStripButton.Size = new System.Drawing.Size(23, 22); this.CheckToolStripButton.Text = "Проверить Кроссворд"; this.CheckToolStripButton.Click += new System.EventHandler(this.CheckButton_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); // // PrintButton // this.PrintButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.PrintButton.Image = global::CrossWordExpress.Properties.Resources.if_print_172530; this.PrintButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.PrintButton.Name = "PrintButton"; this.PrintButton.Size = new System.Drawing.Size(23, 22); this.PrintButton.Text = "toolStripButton1"; this.PrintButton.Click += new System.EventHandler(this.PrintButton_Click); // // menuStrip1 // this.menuStrip1.BackColor = System.Drawing.SystemColors.Control; this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.файлToolStripMenuItem, this.редакторToolStripMenuItem, this.помощьToolStripMenuItem}); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Size = new System.Drawing.Size(998, 24); this.menuStrip1.TabIndex = 2; this.menuStrip1.Text = "menuStrip1"; // // файлToolStripMenuItem // this.файлToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.открытьКроссвордToolStripMenuItem, this.проверитьКроссвордToolStripMenuItem}); this.файлToolStripMenuItem.Name = "файлToolStripMenuItem"; this.файлToolStripMenuItem.Size = new System.Drawing.Size(48, 20); this.файлToolStripMenuItem.Text = "Файл"; // // открытьКроссвордToolStripMenuItem // this.открытьКроссвордToolStripMenuItem.Image = global::CrossWordExpress.Properties.Resources._1493902157_icon_folder; this.открытьКроссвордToolStripMenuItem.Name = "открытьКроссвордToolStripMenuItem"; this.открытьКроссвордToolStripMenuItem.Size = new System.Drawing.Size(195, 22); this.открытьКроссвордToolStripMenuItem.Text = "Открыть кроссворд"; this.открытьКроссвордToolStripMenuItem.Click += new System.EventHandler(this.OpenToolStripButton_Click); // // проверитьКроссвордToolStripMenuItem // this.проверитьКроссвордToolStripMenuItem.Image = global::CrossWordExpress.Properties.Resources._1496634376_files_folders_44; this.проверитьКроссвордToolStripMenuItem.Name = "проверитьКроссвордToolStripMenuItem"; this.проверитьКроссвордToolStripMenuItem.Size = new System.Drawing.Size(195, 22); this.проверитьКроссвордToolStripMenuItem.Text = "Проверить кроссворд"; this.проверитьКроссвордToolStripMenuItem.Click += new System.EventHandler(this.CheckButton_Click); // // редакторToolStripMenuItem // this.редакторToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.вернутьсяКРедакторуToolStripMenuItem}); this.редакторToolStripMenuItem.Name = "редакторToolStripMenuItem"; this.редакторToolStripMenuItem.Size = new System.Drawing.Size(69, 20); this.редакторToolStripMenuItem.Text = "Редактор"; // // вернутьсяКРедакторуToolStripMenuItem // this.вернутьсяКРедакторуToolStripMenuItem.Image = global::CrossWordExpress.Properties.Resources._1496761768_back_alt; this.вернутьсяКРедакторуToolStripMenuItem.Name = "вернутьсяКРедакторуToolStripMenuItem"; this.вернутьсяКРедакторуToolStripMenuItem.Size = new System.Drawing.Size(198, 22); this.вернутьсяКРедакторуToolStripMenuItem.Text = "Вернуться к редактору"; this.вернутьсяКРедакторуToolStripMenuItem.Click += new System.EventHandler(this.вернутьсяКРедакторуToolStripMenuItem_Click); // // помощьToolStripMenuItem // this.помощьToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.оПрограммеToolStripMenuItem, this.оРазработчикеToolStripMenuItem}); this.помощьToolStripMenuItem.Name = "помощьToolStripMenuItem"; this.помощьToolStripMenuItem.Size = new System.Drawing.Size(68, 20); this.помощьToolStripMenuItem.Text = "Помощь"; // // оПрограммеToolStripMenuItem // this.оПрограммеToolStripMenuItem.Image = global::CrossWordExpress.Properties.Resources._1493902247_aiga_information; this.оПрограммеToolStripMenuItem.Name = "оПрограммеToolStripMenuItem"; this.оПрограммеToolStripMenuItem.Size = new System.Drawing.Size(162, 22); this.оПрограммеToolStripMenuItem.Text = "О программе"; this.оПрограммеToolStripMenuItem.Click += new System.EventHandler(this.оПрограммеToolStripMenuItem_Click); // // оРазработчикеToolStripMenuItem // this.оРазработчикеToolStripMenuItem.Image = global::CrossWordExpress.Properties.Resources._1493902198_user_male2; this.оРазработчикеToolStripMenuItem.Name = "оРазработчикеToolStripMenuItem"; this.оРазработчикеToolStripMenuItem.Size = new System.Drawing.Size(162, 22); this.оРазработчикеToolStripMenuItem.Text = "О разработчике"; this.оРазработчикеToolStripMenuItem.Click += new System.EventHandler(this.оРазработчикеToolStripMenuItem_Click); // // FooterPanel // this.FooterPanel.Controls.Add(this.AuthorPanel); this.FooterPanel.Dock = System.Windows.Forms.DockStyle.Bottom; this.FooterPanel.Location = new System.Drawing.Point(0, 625); this.FooterPanel.Name = "FooterPanel"; this.FooterPanel.Size = new System.Drawing.Size(998, 24); this.FooterPanel.TabIndex = 4; // // AuthorPanel // this.AuthorPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.AuthorPanel.Location = new System.Drawing.Point(868, 0); this.AuthorPanel.Name = "AuthorPanel"; this.AuthorPanel.Size = new System.Drawing.Size(130, 24); this.AuthorPanel.TabIndex = 1; this.AuthorPanel.Text = "Created by BelarusNoob"; this.AuthorPanel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // LeftPanel // this.LeftPanel.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.LeftPanel.AutoScroll = true; this.LeftPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.LeftPanel.Cursor = System.Windows.Forms.Cursors.Default; this.LeftPanel.Location = new System.Drawing.Point(0, 49); this.LeftPanel.Name = "LeftPanel"; this.LeftPanel.Size = new System.Drawing.Size(630, 576); this.LeftPanel.TabIndex = 5; // // RightPanel // this.RightPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.RightPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.RightPanel.Controls.Add(this.CheckButton); this.RightPanel.Controls.Add(this.QuestionListView); this.RightPanel.Location = new System.Drawing.Point(632, 49); this.RightPanel.Name = "RightPanel"; this.RightPanel.Size = new System.Drawing.Size(366, 576); this.RightPanel.TabIndex = 6; // // CheckButton // this.CheckButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.CheckButton.Location = new System.Drawing.Point(3, 547); this.CheckButton.Name = "CheckButton"; this.CheckButton.Size = new System.Drawing.Size(358, 23); this.CheckButton.TabIndex = 1; this.CheckButton.Text = "Проверить правильность кроссворда"; this.CheckButton.UseVisualStyleBackColor = true; this.CheckButton.Click += new System.EventHandler(this.CheckButton_Click); // // QuestionListView // this.QuestionListView.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.QuestionListView.Location = new System.Drawing.Point(3, 3); this.QuestionListView.Name = "QuestionListView"; this.QuestionListView.RightToLeft = System.Windows.Forms.RightToLeft.No; this.QuestionListView.ShowGroups = false; this.QuestionListView.Size = new System.Drawing.Size(358, 540); this.QuestionListView.TabIndex = 0; this.QuestionListView.UseCompatibleStateImageBehavior = false; this.QuestionListView.View = System.Windows.Forms.View.List; // // printDocument1 // this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage); // // printPreviewDialog1 // this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0); this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0); this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300); this.printPreviewDialog1.Document = this.printDocument1; this.printPreviewDialog1.Enabled = true; this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon"))); this.printPreviewDialog1.Name = "printPreviewDialog1"; this.printPreviewDialog1.Visible = false; // // CrosswordForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(998, 649); this.Controls.Add(this.RightPanel); this.Controls.Add(this.LeftPanel); this.Controls.Add(this.FooterPanel); this.Controls.Add(this.toolStrip1); this.Controls.Add(this.menuStrip1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "CrosswordForm"; this.Text = "CrossWordExpress"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.CrosswordForm_FormClosing); this.Load += new System.EventHandler(this.CrosswordForm_Load); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); this.FooterPanel.ResumeLayout(false); this.RightPanel.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SatisForm)); this.progressBar1 = new System.Windows.Forms.ProgressBar(); this.panel3 = new System.Windows.Forms.Panel(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.lblSalon = new System.Windows.Forms.Label(); this.lblSeans = new System.Windows.Forms.Label(); this.lblFilmAdi = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.btnBiletAyar = new System.Windows.Forms.Button(); this.label12 = new System.Windows.Forms.Label(); this.txtIndirimli = new System.Windows.Forms.TextBox(); this.label11 = new System.Windows.Forms.Label(); this.txtBiletler = new System.Windows.Forms.TextBox(); this.txtAlici = new System.Windows.Forms.TextBox(); this.label10 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.btnBiletIptal = new System.Windows.Forms.Button(); this.txtIptalBiletler = new System.Windows.Forms.TextBox(); this.label13 = new System.Windows.Forms.Label(); this.btnSatis = new System.Windows.Forms.Button(); this.panel1 = new System.Windows.Forms.Panel(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.panel4 = new System.Windows.Forms.Panel(); this.label14 = new System.Windows.Forms.Label(); this.panel2 = new System.Windows.Forms.Panel(); this.printDocument1 = new System.Drawing.Printing.PrintDocument(); this.printDialog1 = new System.Windows.Forms.PrintDialog(); this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog(); this.pageSetupDialog1 = new System.Windows.Forms.PageSetupDialog(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.panel4.SuspendLayout(); this.SuspendLayout(); // // progressBar1 // this.progressBar1.Location = new System.Drawing.Point(234, 372); this.progressBar1.Name = "progressBar1"; this.progressBar1.Size = new System.Drawing.Size(100, 15); this.progressBar1.TabIndex = 46; // // panel3 // this.panel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(163)))), ((int)(((byte)(173)))), ((int)(((byte)(178))))); this.panel3.Location = new System.Drawing.Point(771, 32); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(2, 351); this.panel3.TabIndex = 41; // // groupBox1 // this.groupBox1.Controls.Add(this.lblSalon); this.groupBox1.Controls.Add(this.lblSeans); this.groupBox1.Controls.Add(this.lblFilmAdi); this.groupBox1.Controls.Add(this.label5); this.groupBox1.Controls.Add(this.label4); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupBox1.ForeColor = System.Drawing.SystemColors.ControlDarkDark; this.groupBox1.Location = new System.Drawing.Point(11, 21); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(164, 90); this.groupBox1.TabIndex = 38; this.groupBox1.TabStop = false; this.groupBox1.Text = "Gişe Bilgileri"; // // lblSalon // this.lblSalon.AutoSize = true; this.lblSalon.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.lblSalon.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(78)))), ((int)(((byte)(78))))); this.lblSalon.Location = new System.Drawing.Point(65, 61); this.lblSalon.Name = "lblSalon"; this.lblSalon.Size = new System.Drawing.Size(53, 17); this.lblSalon.TabIndex = 28; this.lblSalon.Text = "..............."; // // lblSeans // this.lblSeans.AutoSize = true; this.lblSeans.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.lblSeans.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(78)))), ((int)(((byte)(78))))); this.lblSeans.Location = new System.Drawing.Point(65, 41); this.lblSeans.Name = "lblSeans"; this.lblSeans.Size = new System.Drawing.Size(53, 17); this.lblSeans.TabIndex = 27; this.lblSeans.Text = "..............."; // // lblFilmAdi // this.lblFilmAdi.AutoSize = true; this.lblFilmAdi.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.lblFilmAdi.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(78)))), ((int)(((byte)(78))))); this.lblFilmAdi.Location = new System.Drawing.Point(65, 21); this.lblFilmAdi.Name = "lblFilmAdi"; this.lblFilmAdi.Size = new System.Drawing.Size(53, 17); this.lblFilmAdi.TabIndex = 26; this.lblFilmAdi.Text = "..............."; // // label5 // this.label5.AutoSize = true; this.label5.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.label5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(84)))), ((int)(((byte)(117)))), ((int)(((byte)(158))))); this.label5.Location = new System.Drawing.Point(8, 61); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(43, 17); this.label5.TabIndex = 25; this.label5.Text = "Salon:"; // // label4 // this.label4.AutoSize = true; this.label4.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.label4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(84)))), ((int)(((byte)(117)))), ((int)(((byte)(158))))); this.label4.Location = new System.Drawing.Point(8, 41); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(45, 17); this.label4.TabIndex = 7; this.label4.Text = "Seans:"; // // label3 // this.label3.AutoSize = true; this.label3.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(84)))), ((int)(((byte)(117)))), ((int)(((byte)(158))))); this.label3.Location = new System.Drawing.Point(8, 21); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(56, 17); this.label3.TabIndex = 6; this.label3.Text = "Film adı:"; // // groupBox2 // this.groupBox2.Controls.Add(this.btnBiletAyar); this.groupBox2.Controls.Add(this.label12); this.groupBox2.Controls.Add(this.txtIndirimli); this.groupBox2.Controls.Add(this.label11); this.groupBox2.Controls.Add(this.txtBiletler); this.groupBox2.Controls.Add(this.txtAlici); this.groupBox2.Controls.Add(this.label10); this.groupBox2.Controls.Add(this.label9); this.groupBox2.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupBox2.ForeColor = System.Drawing.SystemColors.ControlDarkDark; this.groupBox2.Location = new System.Drawing.Point(11, 114); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(164, 147); this.groupBox2.TabIndex = 39; this.groupBox2.TabStop = false; this.groupBox2.Text = "Bilet Bilgileri"; // // btnBiletAyar // this.btnBiletAyar.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(84)))), ((int)(((byte)(117)))), ((int)(((byte)(158))))); this.btnBiletAyar.Cursor = System.Windows.Forms.Cursors.Hand; this.btnBiletAyar.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnBiletAyar.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.btnBiletAyar.ForeColor = System.Drawing.SystemColors.ButtonFace; this.btnBiletAyar.Location = new System.Drawing.Point(12, 113); this.btnBiletAyar.Name = "btnBiletAyar"; this.btnBiletAyar.Size = new System.Drawing.Size(147, 26); this.btnBiletAyar.TabIndex = 37; this.btnBiletAyar.Text = "Bilet Ayarları"; this.btnBiletAyar.UseVisualStyleBackColor = false; this.btnBiletAyar.Click += new System.EventHandler(this.btnBiletAyar_Click); // // label12 // this.label12.AutoSize = true; this.label12.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.label12.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(84)))), ((int)(((byte)(117)))), ((int)(((byte)(158))))); this.label12.Location = new System.Drawing.Point(121, 84); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(37, 17); this.label12.TabIndex = 36; this.label12.Text = "adet."; // // txtIndirimli // this.txtIndirimli.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(78)))), ((int)(((byte)(78))))); this.txtIndirimli.Location = new System.Drawing.Point(68, 81); this.txtIndirimli.Name = "txtIndirimli"; this.txtIndirimli.Size = new System.Drawing.Size(53, 25); this.txtIndirimli.TabIndex = 35; this.txtIndirimli.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // label11 // this.label11.AutoSize = true; this.label11.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.label11.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(84)))), ((int)(((byte)(117)))), ((int)(((byte)(158))))); this.label11.Location = new System.Drawing.Point(9, 84); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(57, 17); this.label11.TabIndex = 34; this.label11.Text = "İndirimli:"; // // txtBiletler // this.txtBiletler.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(78)))), ((int)(((byte)(78))))); this.txtBiletler.Location = new System.Drawing.Point(68, 53); this.txtBiletler.Name = "txtBiletler"; this.txtBiletler.Size = new System.Drawing.Size(90, 25); this.txtBiletler.TabIndex = 33; // // txtAlici // this.txtAlici.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(78)))), ((int)(((byte)(78))))); this.txtAlici.Location = new System.Drawing.Point(68, 25); this.txtAlici.Name = "txtAlici"; this.txtAlici.Size = new System.Drawing.Size(90, 25); this.txtAlici.TabIndex = 32; // // label10 // this.label10.AutoSize = true; this.label10.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.label10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(84)))), ((int)(((byte)(117)))), ((int)(((byte)(158))))); this.label10.Location = new System.Drawing.Point(9, 56); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(50, 17); this.label10.TabIndex = 30; this.label10.Text = "Biletler:"; // // label9 // this.label9.AutoSize = true; this.label9.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.label9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(84)))), ((int)(((byte)(117)))), ((int)(((byte)(158))))); this.label9.Location = new System.Drawing.Point(9, 28); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(34, 17); this.label9.TabIndex = 29; this.label9.Text = "Alıcı:"; // // groupBox3 // this.groupBox3.Controls.Add(this.btnBiletIptal); this.groupBox3.Controls.Add(this.txtIptalBiletler); this.groupBox3.Controls.Add(this.label13); this.groupBox3.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupBox3.ForeColor = System.Drawing.SystemColors.ControlDarkDark; this.groupBox3.Location = new System.Drawing.Point(11, 262); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(164, 86); this.groupBox3.TabIndex = 43; this.groupBox3.TabStop = false; this.groupBox3.Text = "Bilet İptali"; // // btnBiletIptal // this.btnBiletIptal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(84)))), ((int)(((byte)(117)))), ((int)(((byte)(158))))); this.btnBiletIptal.Cursor = System.Windows.Forms.Cursors.Hand; this.btnBiletIptal.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnBiletIptal.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.btnBiletIptal.ForeColor = System.Drawing.SystemColors.ButtonFace; this.btnBiletIptal.Location = new System.Drawing.Point(11, 52); this.btnBiletIptal.Name = "btnBiletIptal"; this.btnBiletIptal.Size = new System.Drawing.Size(147, 26); this.btnBiletIptal.TabIndex = 37; this.btnBiletIptal.Text = "Onayla"; this.btnBiletIptal.UseVisualStyleBackColor = false; this.btnBiletIptal.Click += new System.EventHandler(this.btnBiletIptal_Click); // // txtIptalBiletler // this.txtIptalBiletler.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(78)))), ((int)(((byte)(78))))); this.txtIptalBiletler.Location = new System.Drawing.Point(68, 22); this.txtIptalBiletler.Name = "txtIptalBiletler"; this.txtIptalBiletler.Size = new System.Drawing.Size(90, 25); this.txtIptalBiletler.TabIndex = 38; // // label13 // this.label13.AutoSize = true; this.label13.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.label13.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(84)))), ((int)(((byte)(117)))), ((int)(((byte)(158))))); this.label13.Location = new System.Drawing.Point(9, 25); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(50, 17); this.label13.TabIndex = 37; this.label13.Text = "Biletler:"; // // btnSatis // this.btnSatis.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(188)))), ((int)(((byte)(50))))); this.btnSatis.Cursor = System.Windows.Forms.Cursors.Hand; this.btnSatis.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnSatis.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.btnSatis.ForeColor = System.Drawing.SystemColors.ButtonFace; this.btnSatis.Location = new System.Drawing.Point(11, 353); this.btnSatis.Name = "btnSatis"; this.btnSatis.Size = new System.Drawing.Size(164, 31); this.btnSatis.TabIndex = 42; this.btnSatis.Text = "Satışı Gerçekleştir"; this.btnSatis.UseVisualStyleBackColor = false; this.btnSatis.Click += new System.EventHandler(this.btnSatis_Click); // // panel1 // this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(163)))), ((int)(((byte)(173)))), ((int)(((byte)(178))))); this.panel1.Location = new System.Drawing.Point(186, 32); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(2, 351); this.panel1.TabIndex = 40; // // pictureBox1 // this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); this.pictureBox1.Location = new System.Drawing.Point(231, 21); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(500, 60); this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; this.pictureBox1.TabIndex = 45; this.pictureBox1.TabStop = false; // // panel4 // this.panel4.Controls.Add(this.label14); this.panel4.Location = new System.Drawing.Point(228, 373); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(192, 15); this.panel4.TabIndex = 47; // // label14 // this.label14.AutoSize = true; this.label14.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.label14.ForeColor = System.Drawing.Color.ForestGreen; this.label14.Location = new System.Drawing.Point(106, -2); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(85, 17); this.label14.TabIndex = 38; this.label14.Text = "%000 (00/00)"; // // panel2 // this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(163)))), ((int)(((byte)(173)))), ((int)(((byte)(178))))); this.panel2.Location = new System.Drawing.Point(188, 381); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(585, 2); this.panel2.TabIndex = 44; // // printDocument1 // this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage); // // printDialog1 // this.printDialog1.UseEXDialog = true; // // printPreviewDialog1 // this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0); this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0); this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300); this.printPreviewDialog1.Document = this.printDocument1; this.printPreviewDialog1.Enabled = true; this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon"))); this.printPreviewDialog1.Name = "printPreviewDialog1"; this.printPreviewDialog1.Visible = false; // // pageSetupDialog1 // this.pageSetupDialog1.Document = this.printDocument1; // // SatisForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(784, 403); this.Controls.Add(this.progressBar1); this.Controls.Add(this.panel3); this.Controls.Add(this.groupBox1); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox3); this.Controls.Add(this.btnSatis); this.Controls.Add(this.panel1); this.Controls.Add(this.pictureBox1); this.Controls.Add(this.panel4); this.Controls.Add(this.panel2); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "SatisForm"; this.ShowIcon = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Bilet Satış Ekranı"; this.Load += new System.EventHandler(this.SatisForm_Load); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.groupBox3.ResumeLayout(false); this.groupBox3.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.panel4.ResumeLayout(false); this.panel4.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmSummarize)); this.dtp_publishDate = new System.Windows.Forms.DateTimePicker(); this.Btn_Update = new System.Windows.Forms.Button(); this.txt_publish = new System.Windows.Forms.TextBox(); this.label6 = new System.Windows.Forms.Label(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.textBox23 = new System.Windows.Forms.TextBox(); this.textBox24 = new System.Windows.Forms.TextBox(); this.textBox21 = new System.Windows.Forms.TextBox(); this.textBox22 = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.button3 = new System.Windows.Forms.Button(); this.textBox20 = new System.Windows.Forms.TextBox(); this.textBox19 = new System.Windows.Forms.TextBox(); this.textBox18 = new System.Windows.Forms.TextBox(); this.textBox17 = new System.Windows.Forms.TextBox(); this.textBox16 = new System.Windows.Forms.TextBox(); this.textBox15 = new System.Windows.Forms.TextBox(); this.textBox14 = new System.Windows.Forms.TextBox(); this.textBox13 = new System.Windows.Forms.TextBox(); this.textBox12 = new System.Windows.Forms.TextBox(); this.textBox11 = new System.Windows.Forms.TextBox(); this.textBox10 = new System.Windows.Forms.TextBox(); this.textBox9 = new System.Windows.Forms.TextBox(); this.textBox8 = new System.Windows.Forms.TextBox(); this.textBox7 = new System.Windows.Forms.TextBox(); this.textBox6 = new System.Windows.Forms.TextBox(); this.textBox5 = new System.Windows.Forms.TextBox(); this.textBox4 = new System.Windows.Forms.TextBox(); this.textBox3 = new System.Windows.Forms.TextBox(); this.textBox2 = new System.Windows.Forms.TextBox(); this.textBox1 = new System.Windows.Forms.TextBox(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.button4 = new System.Windows.Forms.Button(); this.button5 = new System.Windows.Forms.Button(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.printDocument1 = new System.Drawing.Printing.PrintDocument(); this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog(); this.button6 = new System.Windows.Forms.Button(); this.button7 = new System.Windows.Forms.Button(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.SuspendLayout(); // // dtp_publishDate // this.dtp_publishDate.Format = System.Windows.Forms.DateTimePickerFormat.Short; this.dtp_publishDate.Location = new System.Drawing.Point(63, 223); this.dtp_publishDate.Name = "dtp_publishDate"; this.dtp_publishDate.Size = new System.Drawing.Size(92, 21); this.dtp_publishDate.TabIndex = 37; this.dtp_publishDate.TabStop = false; // // Btn_Update // this.Btn_Update.Location = new System.Drawing.Point(315, 526); this.Btn_Update.Name = "Btn_Update"; this.Btn_Update.Size = new System.Drawing.Size(50, 25); this.Btn_Update.TabIndex = 35; this.Btn_Update.Tag = ""; this.Btn_Update.Text = "确定"; this.Btn_Update.UseVisualStyleBackColor = true; this.Btn_Update.Click += new System.EventHandler(this.Btn_Update_Click); // // txt_publish // this.txt_publish.Location = new System.Drawing.Point(19, 20); this.txt_publish.Multiline = true; this.txt_publish.Name = "txt_publish"; this.txt_publish.Size = new System.Drawing.Size(464, 132); this.txt_publish.TabIndex = 0; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(21, 112); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(0, 12); this.label6.TabIndex = 29; // // groupBox1 // this.groupBox1.Controls.Add(this.textBox23); this.groupBox1.Controls.Add(this.textBox24); this.groupBox1.Controls.Add(this.textBox21); this.groupBox1.Controls.Add(this.textBox22); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.button3); this.groupBox1.Controls.Add(this.textBox20); this.groupBox1.Controls.Add(this.textBox19); this.groupBox1.Controls.Add(this.textBox18); this.groupBox1.Controls.Add(this.textBox17); this.groupBox1.Controls.Add(this.textBox16); this.groupBox1.Controls.Add(this.textBox15); this.groupBox1.Controls.Add(this.textBox14); this.groupBox1.Controls.Add(this.textBox13); this.groupBox1.Controls.Add(this.textBox12); this.groupBox1.Controls.Add(this.textBox11); this.groupBox1.Controls.Add(this.textBox10); this.groupBox1.Controls.Add(this.textBox9); this.groupBox1.Controls.Add(this.textBox8); this.groupBox1.Controls.Add(this.textBox7); this.groupBox1.Controls.Add(this.textBox6); this.groupBox1.Controls.Add(this.textBox5); this.groupBox1.Controls.Add(this.textBox4); this.groupBox1.Controls.Add(this.textBox3); this.groupBox1.Controls.Add(this.textBox2); this.groupBox1.Controls.Add(this.textBox1); this.groupBox1.Controls.Add(this.dtp_publishDate); this.groupBox1.Location = new System.Drawing.Point(12, 67); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(499, 267); this.groupBox1.TabIndex = 38; this.groupBox1.TabStop = false; this.groupBox1.Text = "业务汇总"; // // textBox23 // this.textBox23.Location = new System.Drawing.Point(433, 175); this.textBox23.Name = "textBox23"; this.textBox23.ReadOnly = true; this.textBox23.Size = new System.Drawing.Size(50, 21); this.textBox23.TabIndex = 72; this.textBox23.Text = "0"; // // textBox24 // this.textBox24.Location = new System.Drawing.Point(347, 175); this.textBox24.Name = "textBox24"; this.textBox24.ReadOnly = true; this.textBox24.Size = new System.Drawing.Size(80, 21); this.textBox24.TabIndex = 71; // // textBox21 // this.textBox21.Location = new System.Drawing.Point(433, 34); this.textBox21.Name = "textBox21"; this.textBox21.ReadOnly = true; this.textBox21.Size = new System.Drawing.Size(50, 21); this.textBox21.TabIndex = 70; this.textBox21.Text = "0"; // // textBox22 // this.textBox22.Location = new System.Drawing.Point(347, 34); this.textBox22.Name = "textBox22"; this.textBox22.ReadOnly = true; this.textBox22.Size = new System.Drawing.Size(80, 21); this.textBox22.TabIndex = 69; this.textBox22.TabStop = false; this.textBox22.Text = "回款金额"; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(17, 232); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(29, 12); this.label1.TabIndex = 68; this.label1.Text = "日期"; // // button3 // this.button3.Location = new System.Drawing.Point(268, 219); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(50, 25); this.button3.TabIndex = 41; this.button3.Text = "提数"; this.button3.UseVisualStyleBackColor = true; this.button3.Click += new System.EventHandler(this.button3_Click); // // textBox20 // this.textBox20.Location = new System.Drawing.Point(268, 34); this.textBox20.Name = "textBox20"; this.textBox20.ReadOnly = true; this.textBox20.Size = new System.Drawing.Size(50, 21); this.textBox20.TabIndex = 66; this.textBox20.Text = "0"; // // textBox19 // this.textBox19.Location = new System.Drawing.Point(105, 34); this.textBox19.Name = "textBox19"; this.textBox19.ReadOnly = true; this.textBox19.Size = new System.Drawing.Size(50, 21); this.textBox19.TabIndex = 65; this.textBox19.Text = "0"; // // textBox18 // this.textBox18.Location = new System.Drawing.Point(268, 175); this.textBox18.Name = "textBox18"; this.textBox18.ReadOnly = true; this.textBox18.Size = new System.Drawing.Size(50, 21); this.textBox18.TabIndex = 64; this.textBox18.Text = "0"; // // textBox17 // this.textBox17.Location = new System.Drawing.Point(105, 175); this.textBox17.Name = "textBox17"; this.textBox17.ReadOnly = true; this.textBox17.Size = new System.Drawing.Size(50, 21); this.textBox17.TabIndex = 63; this.textBox17.Text = "0"; // // textBox16 // this.textBox16.Location = new System.Drawing.Point(433, 127); this.textBox16.Name = "textBox16"; this.textBox16.ReadOnly = true; this.textBox16.Size = new System.Drawing.Size(50, 21); this.textBox16.TabIndex = 62; this.textBox16.Text = "0"; // // textBox15 // this.textBox15.Location = new System.Drawing.Point(268, 127); this.textBox15.Name = "textBox15"; this.textBox15.ReadOnly = true; this.textBox15.Size = new System.Drawing.Size(50, 21); this.textBox15.TabIndex = 61; this.textBox15.Text = "0"; // // textBox14 // this.textBox14.Location = new System.Drawing.Point(105, 127); this.textBox14.Name = "textBox14"; this.textBox14.ReadOnly = true; this.textBox14.Size = new System.Drawing.Size(50, 21); this.textBox14.TabIndex = 60; this.textBox14.Text = "0"; // // textBox13 // this.textBox13.Location = new System.Drawing.Point(433, 80); this.textBox13.Name = "textBox13"; this.textBox13.ReadOnly = true; this.textBox13.Size = new System.Drawing.Size(50, 21); this.textBox13.TabIndex = 59; this.textBox13.Text = "0"; // // textBox12 // this.textBox12.Location = new System.Drawing.Point(268, 80); this.textBox12.Name = "textBox12"; this.textBox12.ReadOnly = true; this.textBox12.Size = new System.Drawing.Size(50, 21); this.textBox12.TabIndex = 58; this.textBox12.Text = "0"; // // textBox11 // this.textBox11.Location = new System.Drawing.Point(105, 80); this.textBox11.Name = "textBox11"; this.textBox11.ReadOnly = true; this.textBox11.Size = new System.Drawing.Size(50, 21); this.textBox11.TabIndex = 57; this.textBox11.Text = "0"; // // textBox10 // this.textBox10.Location = new System.Drawing.Point(182, 34); this.textBox10.Name = "textBox10"; this.textBox10.ReadOnly = true; this.textBox10.Size = new System.Drawing.Size(80, 21); this.textBox10.TabIndex = 56; this.textBox10.Text = "客户成交"; // // textBox9 // this.textBox9.Location = new System.Drawing.Point(19, 34); this.textBox9.Name = "textBox9"; this.textBox9.ReadOnly = true; this.textBox9.Size = new System.Drawing.Size(80, 21); this.textBox9.TabIndex = 55; this.textBox9.Text = "客户新增"; // // textBox8 // this.textBox8.Location = new System.Drawing.Point(182, 175); this.textBox8.Name = "textBox8"; this.textBox8.ReadOnly = true; this.textBox8.Size = new System.Drawing.Size(80, 21); this.textBox8.TabIndex = 53; // // textBox7 // this.textBox7.Location = new System.Drawing.Point(19, 175); this.textBox7.Name = "textBox7"; this.textBox7.ReadOnly = true; this.textBox7.Size = new System.Drawing.Size(80, 21); this.textBox7.TabIndex = 52; // // textBox6 // this.textBox6.Location = new System.Drawing.Point(347, 127); this.textBox6.Name = "textBox6"; this.textBox6.ReadOnly = true; this.textBox6.Size = new System.Drawing.Size(80, 21); this.textBox6.TabIndex = 50; // // textBox5 // this.textBox5.Location = new System.Drawing.Point(182, 127); this.textBox5.Name = "textBox5"; this.textBox5.ReadOnly = true; this.textBox5.Size = new System.Drawing.Size(80, 21); this.textBox5.TabIndex = 48; // // textBox4 // this.textBox4.Location = new System.Drawing.Point(19, 127); this.textBox4.Name = "textBox4"; this.textBox4.ReadOnly = true; this.textBox4.Size = new System.Drawing.Size(80, 21); this.textBox4.TabIndex = 46; // // textBox3 // this.textBox3.Location = new System.Drawing.Point(347, 80); this.textBox3.Name = "textBox3"; this.textBox3.ReadOnly = true; this.textBox3.Size = new System.Drawing.Size(80, 21); this.textBox3.TabIndex = 44; // // textBox2 // this.textBox2.Location = new System.Drawing.Point(182, 80); this.textBox2.Name = "textBox2"; this.textBox2.ReadOnly = true; this.textBox2.Size = new System.Drawing.Size(80, 21); this.textBox2.TabIndex = 42; // // textBox1 // this.textBox1.Location = new System.Drawing.Point(19, 80); this.textBox1.Name = "textBox1"; this.textBox1.ReadOnly = true; this.textBox1.Size = new System.Drawing.Size(80, 21); this.textBox1.TabIndex = 40; // // groupBox2 // this.groupBox2.Controls.Add(this.txt_publish); this.groupBox2.Location = new System.Drawing.Point(13, 349); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(499, 171); this.groupBox2.TabIndex = 39; this.groupBox2.TabStop = false; this.groupBox2.Text = "备注"; // // button1 // this.button1.Location = new System.Drawing.Point(247, 526); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(50, 25); this.button1.TabIndex = 36; this.button1.Text = "添加"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.Btn_Add_Click); // // button2 // this.button2.Location = new System.Drawing.Point(382, 526); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(50, 25); this.button2.TabIndex = 40; this.button2.Text = "返回"; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.button2_Click); // // button4 // this.button4.Location = new System.Drawing.Point(449, 526); this.button4.Name = "button4"; this.button4.Size = new System.Drawing.Size(50, 25); this.button4.TabIndex = 41; this.button4.Text = "修改"; this.button4.UseVisualStyleBackColor = true; this.button4.Click += new System.EventHandler(this.button4_Click); // // button5 // this.button5.Location = new System.Drawing.Point(350, 22); this.button5.Name = "button5"; this.button5.Size = new System.Drawing.Size(67, 31); this.button5.TabIndex = 42; this.button5.Text = "审 核"; this.button5.UseVisualStyleBackColor = true; this.button5.Click += new System.EventHandler(this.button5_Click); // // label2 // this.label2.AutoSize = true; this.label2.Font = new System.Drawing.Font("宋体", 28F); this.label2.ForeColor = System.Drawing.Color.Red; this.label2.Location = new System.Drawing.Point(27, 9); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(0, 38); this.label2.TabIndex = 43; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(32, 539); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(53, 12); this.label3.TabIndex = 44; this.label3.Text = "业务人:"; // // comboBox1 // this.comboBox1.FormattingEnabled = true; this.comboBox1.Location = new System.Drawing.Point(91, 531); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(121, 20); this.comboBox1.TabIndex = 45; // // printDocument1 // this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage); // // printPreviewDialog1 // this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0); this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0); this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300); this.printPreviewDialog1.Document = this.printDocument1; this.printPreviewDialog1.Enabled = true; this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon"))); this.printPreviewDialog1.Name = "printPreviewDialog1"; this.printPreviewDialog1.Visible = false; // // button6 // this.button6.Location = new System.Drawing.Point(444, 22); this.button6.Name = "button6"; this.button6.Size = new System.Drawing.Size(67, 31); this.button6.TabIndex = 46; this.button6.Text = "打 印"; this.button6.UseVisualStyleBackColor = true; this.button6.Click += new System.EventHandler(this.button6_Click); // // button7 // this.button7.Location = new System.Drawing.Point(263, 22); this.button7.Name = "button7"; this.button7.Size = new System.Drawing.Size(67, 31); this.button7.TabIndex = 47; this.button7.Text = "打 印2"; this.button7.UseVisualStyleBackColor = true; this.button7.Click += new System.EventHandler(this.button7_Click); // // FrmSummarize // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(524, 563); this.Controls.Add(this.button7); this.Controls.Add(this.button6); this.Controls.Add(this.comboBox1); this.Controls.Add(this.label3); this.Controls.Add(this.label2); this.Controls.Add(this.button5); this.Controls.Add(this.button4); this.Controls.Add(this.button2); this.Controls.Add(this.button1); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.Controls.Add(this.Btn_Update); this.Controls.Add(this.label6); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "FrmSummarize"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "工作日报"; this.Load += new System.EventHandler(this.FrmSummarize_Load); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmPurchase)); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); this.RightOption = new System.Windows.Forms.Timer(this.components); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.SupPrintPreviewDialog = new System.Windows.Forms.PrintPreviewDialog(); this.SupPrintDocument = new System.Drawing.Printing.PrintDocument(); this.tabSeedRecord = new System.Windows.Forms.TabControl(); this.tabPageAddSeed = new System.Windows.Forms.TabPage(); this.gbSupplierAdd = new System.Windows.Forms.GroupBox(); this.label10 = new System.Windows.Forms.Label(); this.comboExpenceAccount = new System.Windows.Forms.ComboBox(); this.txtCashAcCode = new System.Windows.Forms.TextBox(); this.txtSupplierID = new System.Windows.Forms.TextBox(); this.button1 = new System.Windows.Forms.Button(); this.label18 = new System.Windows.Forms.Label(); this.label17 = new System.Windows.Forms.Label(); this.txtTaxPer = new System.Windows.Forms.TextBox(); this.txtTax = new System.Windows.Forms.TextBox(); this.label34 = new System.Windows.Forms.Label(); this.txtWeight2 = new System.Windows.Forms.TextBox(); this.txtSeedID = new System.Windows.Forms.TextBox(); this.btnUpdate = new System.Windows.Forms.Button(); this.btnSave = new System.Windows.Forms.Button(); this.btnNew = new System.Windows.Forms.Button(); this.factoryCombo1 = new System.Windows.Forms.ComboBox(); this.txtLabor = new System.Windows.Forms.TextBox(); this.label9 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.txtTotalAmount = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this.txtCareage = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.txtAmount = new System.Windows.Forms.TextBox(); this.dpSeed = new System.Windows.Forms.DateTimePicker(); this.txtLaborAmount = new System.Windows.Forms.TextBox(); this.txtWeight = new System.Windows.Forms.TextBox(); this.Label4 = new System.Windows.Forms.Label(); this.Label2 = new System.Windows.Forms.Label(); this.txtQty = new System.Windows.Forms.TextBox(); this.Label5 = new System.Windows.Forms.Label(); this.Label6 = new System.Windows.Forms.Label(); this.txtNotes = new System.Windows.Forms.TextBox(); this.txtBiltyNo = new System.Windows.Forms.TextBox(); this.txtRate = new System.Windows.Forms.TextBox(); this.txtGariNo = new System.Windows.Forms.TextBox(); this.Label23 = new System.Windows.Forms.Label(); this.Label19 = new System.Windows.Forms.Label(); this.label29 = new System.Windows.Forms.Label(); this.Label21 = new System.Windows.Forms.Label(); this.Label20 = new System.Windows.Forms.Label(); this.tabPageSeedDetails = new System.Windows.Forms.TabPage(); this.gbSupplierDetail = new System.Windows.Forms.GroupBox(); this.txtInvoiceNo = new System.Windows.Forms.TextBox(); this.btnSearch = new System.Windows.Forms.Button(); this.label33 = new System.Windows.Forms.Label(); this.label30 = new System.Windows.Forms.Label(); this.label24 = new System.Windows.Forms.Label(); this.label22 = new System.Windows.Forms.Label(); this.dtEndDate = new System.Windows.Forms.DateTimePicker(); this.dtStartDate = new System.Windows.Forms.DateTimePicker(); this.ddFactory = new System.Windows.Forms.ComboBox(); this.txtAvrageRate = new System.Windows.Forms.TextBox(); this.label35 = new System.Windows.Forms.Label(); this.txtAmount1 = new System.Windows.Forms.TextBox(); this.label16 = new System.Windows.Forms.Label(); this.txtTotalAmount1 = new System.Windows.Forms.TextBox(); this.label15 = new System.Windows.Forms.Label(); this.txtTotalCarege = new System.Windows.Forms.TextBox(); this.txtTotalWeight = new System.Windows.Forms.TextBox(); this.label14 = new System.Windows.Forms.Label(); this.label13 = new System.Windows.Forms.Label(); this.txtTotalQty = new System.Windows.Forms.TextBox(); this.label12 = new System.Windows.Forms.Label(); this.txtTotalGari = new System.Windows.Forms.TextBox(); this.label11 = new System.Windows.Forms.Label(); this.dataGridView1 = new System.Windows.Forms.DataGridView(); this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Email = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Notes = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column8 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column9 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column10 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column11 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column12 = new System.Windows.Forms.DataGridViewButtonColumn(); this.Column13 = new System.Windows.Forms.DataGridViewButtonColumn(); this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.panel4 = new System.Windows.Forms.Panel(); this.btnClose = new System.Windows.Forms.Button(); this.label37 = new System.Windows.Forms.Label(); this.tabSeedRecord.SuspendLayout(); this.tabPageAddSeed.SuspendLayout(); this.gbSupplierAdd.SuspendLayout(); this.tabPageSeedDetails.SuspendLayout(); this.gbSupplierDetail.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); this.panel4.SuspendLayout(); this.SuspendLayout(); // // openFileDialog1 // this.openFileDialog1.FileName = "openFileDialog1"; // // SupPrintPreviewDialog // this.SupPrintPreviewDialog.AutoScrollMargin = new System.Drawing.Size(0, 0); this.SupPrintPreviewDialog.AutoScrollMinSize = new System.Drawing.Size(0, 0); this.SupPrintPreviewDialog.ClientSize = new System.Drawing.Size(400, 300); this.SupPrintPreviewDialog.Enabled = true; this.SupPrintPreviewDialog.Icon = ((System.Drawing.Icon)(resources.GetObject("SupPrintPreviewDialog.Icon"))); this.SupPrintPreviewDialog.Name = "SupPrintPreviewDialog"; this.SupPrintPreviewDialog.Visible = false; // // tabSeedRecord // this.tabSeedRecord.Controls.Add(this.tabPageAddSeed); this.tabSeedRecord.Controls.Add(this.tabPageSeedDetails); this.tabSeedRecord.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.tabSeedRecord.Location = new System.Drawing.Point(12, 59); this.tabSeedRecord.Name = "tabSeedRecord"; this.tabSeedRecord.SelectedIndex = 0; this.tabSeedRecord.Size = new System.Drawing.Size(1160, 609); this.tabSeedRecord.TabIndex = 95; // // tabPageAddSeed // this.tabPageAddSeed.BackColor = System.Drawing.Color.White; this.tabPageAddSeed.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.tabPageAddSeed.Controls.Add(this.gbSupplierAdd); this.tabPageAddSeed.Location = new System.Drawing.Point(4, 26); this.tabPageAddSeed.Name = "tabPageAddSeed"; this.tabPageAddSeed.Padding = new System.Windows.Forms.Padding(3); this.tabPageAddSeed.Size = new System.Drawing.Size(1152, 579); this.tabPageAddSeed.TabIndex = 0; this.tabPageAddSeed.Text = "Add Record"; // // gbSupplierAdd // this.gbSupplierAdd.BackColor = System.Drawing.Color.Transparent; this.gbSupplierAdd.Controls.Add(this.label10); this.gbSupplierAdd.Controls.Add(this.comboExpenceAccount); this.gbSupplierAdd.Controls.Add(this.txtCashAcCode); this.gbSupplierAdd.Controls.Add(this.txtSupplierID); this.gbSupplierAdd.Controls.Add(this.button1); this.gbSupplierAdd.Controls.Add(this.label18); this.gbSupplierAdd.Controls.Add(this.label17); this.gbSupplierAdd.Controls.Add(this.txtTaxPer); this.gbSupplierAdd.Controls.Add(this.txtTax); this.gbSupplierAdd.Controls.Add(this.label34); this.gbSupplierAdd.Controls.Add(this.txtWeight2); this.gbSupplierAdd.Controls.Add(this.txtSeedID); this.gbSupplierAdd.Controls.Add(this.btnUpdate); this.gbSupplierAdd.Controls.Add(this.btnSave); this.gbSupplierAdd.Controls.Add(this.btnNew); this.gbSupplierAdd.Controls.Add(this.factoryCombo1); this.gbSupplierAdd.Controls.Add(this.txtLabor); this.gbSupplierAdd.Controls.Add(this.label9); this.gbSupplierAdd.Controls.Add(this.label8); this.gbSupplierAdd.Controls.Add(this.label7); this.gbSupplierAdd.Controls.Add(this.txtTotalAmount); this.gbSupplierAdd.Controls.Add(this.label3); this.gbSupplierAdd.Controls.Add(this.txtCareage); this.gbSupplierAdd.Controls.Add(this.label1); this.gbSupplierAdd.Controls.Add(this.txtAmount); this.gbSupplierAdd.Controls.Add(this.dpSeed); this.gbSupplierAdd.Controls.Add(this.txtLaborAmount); this.gbSupplierAdd.Controls.Add(this.txtWeight); this.gbSupplierAdd.Controls.Add(this.Label4); this.gbSupplierAdd.Controls.Add(this.Label2); this.gbSupplierAdd.Controls.Add(this.txtQty); this.gbSupplierAdd.Controls.Add(this.Label5); this.gbSupplierAdd.Controls.Add(this.Label6); this.gbSupplierAdd.Controls.Add(this.txtNotes); this.gbSupplierAdd.Controls.Add(this.txtBiltyNo); this.gbSupplierAdd.Controls.Add(this.txtRate); this.gbSupplierAdd.Controls.Add(this.txtGariNo); this.gbSupplierAdd.Controls.Add(this.Label23); this.gbSupplierAdd.Controls.Add(this.Label19); this.gbSupplierAdd.Controls.Add(this.label29); this.gbSupplierAdd.Controls.Add(this.Label21); this.gbSupplierAdd.Controls.Add(this.Label20); this.gbSupplierAdd.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.gbSupplierAdd.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gbSupplierAdd.Location = new System.Drawing.Point(252, -7); this.gbSupplierAdd.Name = "gbSupplierAdd"; this.gbSupplierAdd.Size = new System.Drawing.Size(786, 583); this.gbSupplierAdd.TabIndex = 81; this.gbSupplierAdd.TabStop = false; // // label10 // this.label10.AutoSize = true; this.label10.Font = new System.Drawing.Font("Segoe UI Light", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label10.ForeColor = System.Drawing.Color.Black; this.label10.Location = new System.Drawing.Point(352, 422); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(66, 21); this.label10.TabIndex = 120; this.label10.Text = "Account"; // // comboExpenceAccount // this.comboExpenceAccount.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; this.comboExpenceAccount.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; this.comboExpenceAccount.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.comboExpenceAccount.FormattingEnabled = true; this.comboExpenceAccount.Location = new System.Drawing.Point(459, 419); this.comboExpenceAccount.Name = "comboExpenceAccount"; this.comboExpenceAccount.Size = new System.Drawing.Size(153, 25); this.comboExpenceAccount.TabIndex = 119; this.comboExpenceAccount.SelectedIndexChanged += new System.EventHandler(this.comboExpenceAccount_SelectedIndexChanged); // // txtCashAcCode // this.txtCashAcCode.AutoCompleteCustomSource.AddRange(new string[] { "Muhammad"}); this.txtCashAcCode.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; this.txtCashAcCode.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.FileSystem; this.txtCashAcCode.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper; this.txtCashAcCode.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtCashAcCode.Location = new System.Drawing.Point(619, 458); this.txtCashAcCode.MaxLength = 250; this.txtCashAcCode.Name = "txtCashAcCode"; this.txtCashAcCode.ReadOnly = true; this.txtCashAcCode.Size = new System.Drawing.Size(43, 25); this.txtCashAcCode.TabIndex = 118; this.txtCashAcCode.TabStop = false; this.txtCashAcCode.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // txtSupplierID // this.txtSupplierID.BackColor = System.Drawing.Color.WhiteSmoke; this.txtSupplierID.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtSupplierID.Font = new System.Drawing.Font("Segoe UI Semibold", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtSupplierID.Location = new System.Drawing.Point(612, 67); this.txtSupplierID.Name = "txtSupplierID"; this.txtSupplierID.ReadOnly = true; this.txtSupplierID.Size = new System.Drawing.Size(66, 29); this.txtSupplierID.TabIndex = 101; this.txtSupplierID.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // button1 // this.button1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(34)))), ((int)(((byte)(34)))), ((int)(((byte)(34))))); this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button1.Image = global::OMMS.Properties.Resources.Plus_26; this.button1.Location = new System.Drawing.Point(684, 67); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(35, 29); this.button1.TabIndex = 100; this.button1.UseVisualStyleBackColor = false; this.button1.Click += new System.EventHandler(this.button1_Click); // // label18 // this.label18.AutoSize = true; this.label18.Font = new System.Drawing.Font("Segoe UI Light", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label18.ForeColor = System.Drawing.Color.Black; this.label18.Location = new System.Drawing.Point(37, 379); this.label18.Name = "label18"; this.label18.Size = new System.Drawing.Size(95, 21); this.label18.TabIndex = 99; this.label18.Text = "Purchase Tax"; // // label17 // this.label17.AutoSize = true; this.label17.Font = new System.Drawing.Font("Segoe UI Light", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label17.ForeColor = System.Drawing.Color.Black; this.label17.Location = new System.Drawing.Point(347, 379); this.label17.Name = "label17"; this.label17.Size = new System.Drawing.Size(89, 21); this.label17.TabIndex = 99; this.label17.Text = "Tax Amount"; // // txtTaxPer // this.txtTaxPer.BackColor = System.Drawing.Color.White; this.txtTaxPer.Font = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtTaxPer.Location = new System.Drawing.Point(194, 379); this.txtTaxPer.Name = "txtTaxPer"; this.txtTaxPer.Size = new System.Drawing.Size(150, 25); this.txtTaxPer.TabIndex = 7; this.txtTaxPer.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.txtTaxPer.TextChanged += new System.EventHandler(this.txtTexPer_TextChanged); this.txtTaxPer.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtTaxPer_KeyDown); this.txtTaxPer.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtTaxPer_KeyPress); // // txtTax // this.txtTax.BackColor = System.Drawing.Color.White; this.txtTax.Font = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtTax.Location = new System.Drawing.Point(459, 379); this.txtTax.Name = "txtTax"; this.txtTax.Size = new System.Drawing.Size(150, 25); this.txtTax.TabIndex = 98; this.txtTax.Text = "0"; this.txtTax.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.txtTax.TextChanged += new System.EventHandler(this.txtTax_TextChanged); // // label34 // this.label34.AutoSize = true; this.label34.Font = new System.Drawing.Font("Segoe UI Light", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label34.ForeColor = System.Drawing.Color.Black; this.label34.Location = new System.Drawing.Point(357, 208); this.label34.Name = "label34"; this.label34.Size = new System.Drawing.Size(57, 21); this.label34.TabIndex = 97; this.label34.Text = "Weight"; // // txtWeight2 // this.txtWeight2.BackColor = System.Drawing.Color.WhiteSmoke; this.txtWeight2.Enabled = false; this.txtWeight2.Font = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtWeight2.Location = new System.Drawing.Point(459, 204); this.txtWeight2.Name = "txtWeight2"; this.txtWeight2.Size = new System.Drawing.Size(147, 25); this.txtWeight2.TabIndex = 96; this.txtWeight2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // txtSeedID // this.txtSeedID.BackColor = System.Drawing.Color.WhiteSmoke; this.txtSeedID.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtSeedID.Font = new System.Drawing.Font("Segoe UI Semibold", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtSeedID.Location = new System.Drawing.Point(193, 15); this.txtSeedID.Name = "txtSeedID"; this.txtSeedID.ReadOnly = true; this.txtSeedID.Size = new System.Drawing.Size(106, 29); this.txtSeedID.TabIndex = 95; this.txtSeedID.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // btnUpdate // this.btnUpdate.BackColor = System.Drawing.Color.Gainsboro; this.btnUpdate.FlatAppearance.BorderSize = 0; this.btnUpdate.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Silver; this.btnUpdate.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnUpdate.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnUpdate.ForeColor = System.Drawing.Color.Black; this.btnUpdate.Location = new System.Drawing.Point(487, 540); this.btnUpdate.Name = "btnUpdate"; this.btnUpdate.Size = new System.Drawing.Size(119, 32); this.btnUpdate.TabIndex = 79; this.btnUpdate.Text = "Update"; this.btnUpdate.UseVisualStyleBackColor = false; this.btnUpdate.Click += new System.EventHandler(this.btnUpdate_Click_1); // // btnSave // this.btnSave.BackColor = System.Drawing.Color.Gainsboro; this.btnSave.FlatAppearance.BorderSize = 0; this.btnSave.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Silver; this.btnSave.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnSave.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnSave.ForeColor = System.Drawing.Color.Black; this.btnSave.Location = new System.Drawing.Point(337, 540); this.btnSave.Name = "btnSave"; this.btnSave.Size = new System.Drawing.Size(119, 32); this.btnSave.TabIndex = 10; this.btnSave.Text = "Save"; this.btnSave.UseVisualStyleBackColor = false; this.btnSave.Click += new System.EventHandler(this.btnSave_Click_1); // // btnNew // this.btnNew.BackColor = System.Drawing.Color.Gainsboro; this.btnNew.FlatAppearance.BorderSize = 0; this.btnNew.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Silver; this.btnNew.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnNew.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnNew.ForeColor = System.Drawing.Color.Black; this.btnNew.Location = new System.Drawing.Point(193, 540); this.btnNew.Name = "btnNew"; this.btnNew.Size = new System.Drawing.Size(119, 32); this.btnNew.TabIndex = 11; this.btnNew.Text = "New"; this.btnNew.UseVisualStyleBackColor = false; this.btnNew.Click += new System.EventHandler(this.btnNew_Click_1); // // factoryCombo1 // this.factoryCombo1.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; this.factoryCombo1.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; this.factoryCombo1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(255))))); this.factoryCombo1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.factoryCombo1.FormattingEnabled = true; this.factoryCombo1.Location = new System.Drawing.Point(193, 68); this.factoryCombo1.Name = "factoryCombo1"; this.factoryCombo1.Size = new System.Drawing.Size(413, 29); this.factoryCombo1.TabIndex = 0; this.factoryCombo1.SelectedIndexChanged += new System.EventHandler(this.factoryCombo1_SelectedIndexChanged); this.factoryCombo1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.factoryCombo1_KeyDown); // // txtLabor // this.txtLabor.BackColor = System.Drawing.Color.White; this.txtLabor.Font = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtLabor.Location = new System.Drawing.Point(194, 332); this.txtLabor.Name = "txtLabor"; this.txtLabor.Size = new System.Drawing.Size(147, 25); this.txtLabor.TabIndex = 6; this.txtLabor.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.txtLabor.TextChanged += new System.EventHandler(this.txtLabor_TextChanged_1); this.txtLabor.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtLabor_KeyDown); this.txtLabor.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtLabor_KeyPress); // // label9 // this.label9.AutoSize = true; this.label9.Font = new System.Drawing.Font("Segoe UI Light", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label9.ForeColor = System.Drawing.Color.Black; this.label9.Location = new System.Drawing.Point(37, 333); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(75, 21); this.label9.TabIndex = 94; this.label9.Text = "Labor Pay"; // // label8 // this.label8.AutoSize = true; this.label8.Font = new System.Drawing.Font("Segoe UI Light", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label8.ForeColor = System.Drawing.Color.Black; this.label8.Location = new System.Drawing.Point(37, 21); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(113, 21); this.label8.TabIndex = 91; this.label8.Text = "Cotton Seed ID"; // // label7 // this.label7.AutoSize = true; this.label7.Font = new System.Drawing.Font("Segoe UI Light", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label7.ForeColor = System.Drawing.Color.Black; this.label7.Location = new System.Drawing.Point(37, 486); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(49, 21); this.label7.TabIndex = 89; this.label7.Text = "Notes"; // // txtTotalAmount // this.txtTotalAmount.BackColor = System.Drawing.Color.WhiteSmoke; this.txtTotalAmount.Font = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtTotalAmount.Location = new System.Drawing.Point(192, 458); this.txtTotalAmount.Name = "txtTotalAmount"; this.txtTotalAmount.ReadOnly = true; this.txtTotalAmount.Size = new System.Drawing.Size(414, 25); this.txtTotalAmount.TabIndex = 22; this.txtTotalAmount.TabStop = false; this.txtTotalAmount.Text = "0"; this.txtTotalAmount.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // label3 // this.label3.AutoSize = true; this.label3.Font = new System.Drawing.Font("Segoe UI Light", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label3.ForeColor = System.Drawing.Color.Black; this.label3.Location = new System.Drawing.Point(37, 455); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(99, 21); this.label3.TabIndex = 87; this.label3.Text = "Total Amount"; // // txtCareage // this.txtCareage.BackColor = System.Drawing.Color.White; this.txtCareage.Font = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtCareage.Location = new System.Drawing.Point(192, 421); this.txtCareage.Name = "txtCareage"; this.txtCareage.Size = new System.Drawing.Size(148, 25); this.txtCareage.TabIndex = 8; this.txtCareage.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.txtCareage.TextChanged += new System.EventHandler(this.txtCareage_TextChanged); this.txtCareage.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtCareage_KeyDown); this.txtCareage.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtCareage_KeyPress); // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Segoe UI Light", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.Black; this.label1.Location = new System.Drawing.Point(37, 422); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(66, 21); this.label1.TabIndex = 85; this.label1.Text = "Careage"; // // txtAmount // this.txtAmount.BackColor = System.Drawing.Color.WhiteSmoke; this.txtAmount.Font = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtAmount.Location = new System.Drawing.Point(459, 291); this.txtAmount.Name = "txtAmount"; this.txtAmount.ReadOnly = true; this.txtAmount.Size = new System.Drawing.Size(150, 25); this.txtAmount.TabIndex = 21; this.txtAmount.TabStop = false; this.txtAmount.Text = "0"; this.txtAmount.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // dpSeed // this.dpSeed.CalendarFont = new System.Drawing.Font("Segoe UI Semibold", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dpSeed.CustomFormat = "dd-MM-yyyy"; this.dpSeed.Font = new System.Drawing.Font("Segoe UI Semibold", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dpSeed.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.dpSeed.Location = new System.Drawing.Point(439, 13); this.dpSeed.Name = "dpSeed"; this.dpSeed.Size = new System.Drawing.Size(167, 29); this.dpSeed.TabIndex = 83; // // txtLaborAmount // this.txtLaborAmount.BackColor = System.Drawing.Color.WhiteSmoke; this.txtLaborAmount.Font = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtLaborAmount.Location = new System.Drawing.Point(459, 334); this.txtLaborAmount.Name = "txtLaborAmount"; this.txtLaborAmount.ReadOnly = true; this.txtLaborAmount.Size = new System.Drawing.Size(150, 25); this.txtLaborAmount.TabIndex = 20; this.txtLaborAmount.TabStop = false; this.txtLaborAmount.Text = "0"; this.txtLaborAmount.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // txtWeight // this.txtWeight.BackColor = System.Drawing.Color.White; this.txtWeight.Font = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtWeight.Location = new System.Drawing.Point(192, 251); this.txtWeight.Name = "txtWeight"; this.txtWeight.Size = new System.Drawing.Size(414, 25); this.txtWeight.TabIndex = 4; this.txtWeight.TextChanged += new System.EventHandler(this.txtWeight_TextChanged); this.txtWeight.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtWeight_KeyDown); this.txtWeight.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtWeight_KeyPress); // // Label4 // this.Label4.AutoSize = true; this.Label4.Font = new System.Drawing.Font("Segoe UI Light", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label4.ForeColor = System.Drawing.Color.Black; this.Label4.Location = new System.Drawing.Point(317, 17); this.Label4.Name = "Label4"; this.Label4.Size = new System.Drawing.Size(97, 21); this.Label4.TabIndex = 66; this.Label4.Text = "Choose Date"; // // Label2 // this.Label2.AutoSize = true; this.Label2.Font = new System.Drawing.Font("Segoe UI Light", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label2.ForeColor = System.Drawing.Color.Black; this.Label2.Location = new System.Drawing.Point(37, 68); this.Label2.Name = "Label2"; this.Label2.Size = new System.Drawing.Size(102, 21); this.Label2.TabIndex = 67; this.Label2.Text = "Factory Name"; // // txtQty // this.txtQty.BackColor = System.Drawing.Color.White; this.txtQty.Font = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtQty.Location = new System.Drawing.Point(193, 204); this.txtQty.Name = "txtQty"; this.txtQty.Size = new System.Drawing.Size(148, 25); this.txtQty.TabIndex = 3; this.txtQty.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.txtQty.TextChanged += new System.EventHandler(this.txtQty_TextChanged); this.txtQty.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtQty_KeyDown); this.txtQty.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtQty_KeyPress); // // Label5 // this.Label5.AutoSize = true; this.Label5.Font = new System.Drawing.Font("Segoe UI Light", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label5.ForeColor = System.Drawing.Color.Black; this.Label5.Location = new System.Drawing.Point(37, 122); this.Label5.Name = "Label5"; this.Label5.Size = new System.Drawing.Size(96, 21); this.Label5.TabIndex = 68; this.Label5.Text = "Bilty Number"; // // Label6 // this.Label6.AutoSize = true; this.Label6.Font = new System.Drawing.Font("Segoe UI Light", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label6.ForeColor = System.Drawing.Color.Black; this.Label6.Location = new System.Drawing.Point(37, 171); this.Label6.Name = "Label6"; this.Label6.Size = new System.Drawing.Size(115, 21); this.Label6.TabIndex = 69; this.Label6.Text = "Vehicle Number"; // // txtNotes // this.txtNotes.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtNotes.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtNotes.Location = new System.Drawing.Point(193, 489); this.txtNotes.Multiline = true; this.txtNotes.Name = "txtNotes"; this.txtNotes.ScrollBars = System.Windows.Forms.ScrollBars.Both; this.txtNotes.Size = new System.Drawing.Size(416, 45); this.txtNotes.TabIndex = 9; this.txtNotes.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtNotes_KeyDown); // // txtBiltyNo // this.txtBiltyNo.BackColor = System.Drawing.Color.White; this.txtBiltyNo.Font = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtBiltyNo.Location = new System.Drawing.Point(193, 119); this.txtBiltyNo.Name = "txtBiltyNo"; this.txtBiltyNo.Size = new System.Drawing.Size(415, 25); this.txtBiltyNo.TabIndex = 1; this.txtBiltyNo.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtBiltyNo_KeyDown); // // txtRate // this.txtRate.BackColor = System.Drawing.Color.White; this.txtRate.Font = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtRate.Location = new System.Drawing.Point(193, 291); this.txtRate.Name = "txtRate"; this.txtRate.Size = new System.Drawing.Size(148, 25); this.txtRate.TabIndex = 5; this.txtRate.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.txtRate.TextChanged += new System.EventHandler(this.txtRate_TextChanged); this.txtRate.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtRate_KeyDown); this.txtRate.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtRate_KeyPress); // // txtGariNo // this.txtGariNo.BackColor = System.Drawing.Color.White; this.txtGariNo.Font = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtGariNo.Location = new System.Drawing.Point(193, 168); this.txtGariNo.Name = "txtGariNo"; this.txtGariNo.Size = new System.Drawing.Size(415, 25); this.txtGariNo.TabIndex = 2; this.txtGariNo.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtGariNo_KeyDown); // // Label23 // this.Label23.AutoSize = true; this.Label23.Font = new System.Drawing.Font("Segoe UI Light", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label23.ForeColor = System.Drawing.Color.Black; this.Label23.Location = new System.Drawing.Point(347, 291); this.Label23.Name = "Label23"; this.Label23.Size = new System.Drawing.Size(65, 21); this.Label23.TabIndex = 77; this.Label23.Text = "Amount"; // // Label19 // this.Label19.AutoSize = true; this.Label19.Font = new System.Drawing.Font("Segoe UI Light", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label19.ForeColor = System.Drawing.Color.Black; this.Label19.Location = new System.Drawing.Point(37, 208); this.Label19.Name = "Label19"; this.Label19.Size = new System.Drawing.Size(68, 21); this.Label19.TabIndex = 73; this.Label19.Text = "Quantity"; // // label29 // this.label29.AutoSize = true; this.label29.Font = new System.Drawing.Font("Segoe UI Light", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label29.ForeColor = System.Drawing.Color.Black; this.label29.Location = new System.Drawing.Point(347, 333); this.label29.Name = "label29"; this.label29.Size = new System.Drawing.Size(107, 21); this.label29.TabIndex = 75; this.label29.Text = "Labor Amount"; // // Label21 // this.Label21.AutoSize = true; this.Label21.Font = new System.Drawing.Font("Segoe UI Light", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label21.ForeColor = System.Drawing.Color.Black; this.Label21.Location = new System.Drawing.Point(37, 255); this.Label21.Name = "Label21"; this.Label21.Size = new System.Drawing.Size(91, 21); this.Label21.TabIndex = 75; this.Label21.Text = "Total Weight"; // // Label20 // this.Label20.AutoSize = true; this.Label20.Font = new System.Drawing.Font("Segoe UI Light", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label20.ForeColor = System.Drawing.Color.Black; this.Label20.Location = new System.Drawing.Point(38, 336); this.Label20.Name = "Label20"; this.Label20.Size = new System.Drawing.Size(40, 21); this.Label20.TabIndex = 74; this.Label20.Text = "Rate"; // // tabPageSeedDetails // this.tabPageSeedDetails.BackColor = System.Drawing.Color.White; this.tabPageSeedDetails.Controls.Add(this.gbSupplierDetail); this.tabPageSeedDetails.Location = new System.Drawing.Point(4, 26); this.tabPageSeedDetails.Name = "tabPageSeedDetails"; this.tabPageSeedDetails.Padding = new System.Windows.Forms.Padding(3); this.tabPageSeedDetails.Size = new System.Drawing.Size(1152, 579); this.tabPageSeedDetails.TabIndex = 1; this.tabPageSeedDetails.Text = "View Seed Record"; // // gbSupplierDetail // this.gbSupplierDetail.Controls.Add(this.txtInvoiceNo); this.gbSupplierDetail.Controls.Add(this.btnSearch); this.gbSupplierDetail.Controls.Add(this.label33); this.gbSupplierDetail.Controls.Add(this.label30); this.gbSupplierDetail.Controls.Add(this.label24); this.gbSupplierDetail.Controls.Add(this.label22); this.gbSupplierDetail.Controls.Add(this.dtEndDate); this.gbSupplierDetail.Controls.Add(this.dtStartDate); this.gbSupplierDetail.Controls.Add(this.ddFactory); this.gbSupplierDetail.Controls.Add(this.txtAvrageRate); this.gbSupplierDetail.Controls.Add(this.label35); this.gbSupplierDetail.Controls.Add(this.txtAmount1); this.gbSupplierDetail.Controls.Add(this.label16); this.gbSupplierDetail.Controls.Add(this.txtTotalAmount1); this.gbSupplierDetail.Controls.Add(this.label15); this.gbSupplierDetail.Controls.Add(this.txtTotalCarege); this.gbSupplierDetail.Controls.Add(this.txtTotalWeight); this.gbSupplierDetail.Controls.Add(this.label14); this.gbSupplierDetail.Controls.Add(this.label13); this.gbSupplierDetail.Controls.Add(this.txtTotalQty); this.gbSupplierDetail.Controls.Add(this.label12); this.gbSupplierDetail.Controls.Add(this.txtTotalGari); this.gbSupplierDetail.Controls.Add(this.label11); this.gbSupplierDetail.Controls.Add(this.dataGridView1); this.gbSupplierDetail.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.gbSupplierDetail.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gbSupplierDetail.Location = new System.Drawing.Point(6, 6); this.gbSupplierDetail.Name = "gbSupplierDetail"; this.gbSupplierDetail.Size = new System.Drawing.Size(1313, 649); this.gbSupplierDetail.TabIndex = 81; this.gbSupplierDetail.TabStop = false; // // txtInvoiceNo // this.txtInvoiceNo.BackColor = System.Drawing.Color.White; this.txtInvoiceNo.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtInvoiceNo.Location = new System.Drawing.Point(453, 80); this.txtInvoiceNo.Name = "txtInvoiceNo"; this.txtInvoiceNo.Size = new System.Drawing.Size(91, 29); this.txtInvoiceNo.TabIndex = 192; this.txtInvoiceNo.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // btnSearch // this.btnSearch.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(188)))), ((int)(((byte)(155))))); this.btnSearch.FlatAppearance.BorderColor = System.Drawing.Color.DarkGray; this.btnSearch.FlatAppearance.MouseOverBackColor = System.Drawing.Color.SeaGreen; this.btnSearch.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnSearch.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnSearch.ForeColor = System.Drawing.Color.White; this.btnSearch.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnSearch.Location = new System.Drawing.Point(548, 79); this.btnSearch.Name = "btnSearch"; this.btnSearch.Size = new System.Drawing.Size(70, 29); this.btnSearch.TabIndex = 191; this.btnSearch.Text = "Search"; this.btnSearch.UseVisualStyleBackColor = false; this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); // // label33 // this.label33.AutoSize = true; this.label33.BackColor = System.Drawing.Color.White; this.label33.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label33.Location = new System.Drawing.Point(454, 60); this.label33.Name = "label33"; this.label33.Size = new System.Drawing.Size(80, 17); this.label33.TabIndex = 187; this.label33.Text = "Enter Bill No"; // // label30 // this.label30.AutoSize = true; this.label30.BackColor = System.Drawing.Color.White; this.label30.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label30.Location = new System.Drawing.Point(248, 60); this.label30.Name = "label30"; this.label30.Size = new System.Drawing.Size(88, 17); this.label30.TabIndex = 188; this.label30.Text = "Select Factory"; // // label24 // this.label24.AutoSize = true; this.label24.BackColor = System.Drawing.Color.White; this.label24.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label24.Location = new System.Drawing.Point(125, 60); this.label24.Name = "label24"; this.label24.Size = new System.Drawing.Size(61, 17); this.label24.TabIndex = 189; this.label24.Text = "End Date"; // // label22 // this.label22.AutoSize = true; this.label22.BackColor = System.Drawing.Color.White; this.label22.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label22.Location = new System.Drawing.Point(5, 60); this.label22.Name = "label22"; this.label22.Size = new System.Drawing.Size(66, 17); this.label22.TabIndex = 190; this.label22.Text = "Start Date"; // // dtEndDate // this.dtEndDate.CalendarFont = new System.Drawing.Font("Segoe UI Semibold", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dtEndDate.CustomFormat = "dd/MM/yyyy"; this.dtEndDate.Font = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dtEndDate.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.dtEndDate.Location = new System.Drawing.Point(128, 80); this.dtEndDate.Name = "dtEndDate"; this.dtEndDate.Size = new System.Drawing.Size(117, 25); this.dtEndDate.TabIndex = 185; this.dtEndDate.TabStop = false; // // dtStartDate // this.dtStartDate.CalendarFont = new System.Drawing.Font("Segoe UI Semibold", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dtStartDate.CustomFormat = "dd/MM/yyyy"; this.dtStartDate.Font = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dtStartDate.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.dtStartDate.Location = new System.Drawing.Point(5, 80); this.dtStartDate.Name = "dtStartDate"; this.dtStartDate.Size = new System.Drawing.Size(117, 25); this.dtStartDate.TabIndex = 186; this.dtStartDate.TabStop = false; // // ddFactory // this.ddFactory.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest; this.ddFactory.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; this.ddFactory.BackColor = System.Drawing.Color.WhiteSmoke; this.ddFactory.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.ddFactory.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ddFactory.FormattingEnabled = true; this.ddFactory.Location = new System.Drawing.Point(251, 80); this.ddFactory.Name = "ddFactory"; this.ddFactory.Size = new System.Drawing.Size(201, 29); this.ddFactory.TabIndex = 184; // // txtAvrageRate // this.txtAvrageRate.BackColor = System.Drawing.Color.WhiteSmoke; this.txtAvrageRate.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtAvrageRate.Location = new System.Drawing.Point(1073, 83); this.txtAvrageRate.Name = "txtAvrageRate"; this.txtAvrageRate.Size = new System.Drawing.Size(64, 25); this.txtAvrageRate.TabIndex = 183; this.txtAvrageRate.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // label35 // this.label35.AutoSize = true; this.label35.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label35.ForeColor = System.Drawing.Color.Black; this.label35.Location = new System.Drawing.Point(1069, 64); this.label35.Name = "label35"; this.label35.Size = new System.Drawing.Size(70, 15); this.label35.TabIndex = 182; this.label35.Text = "Avrage Rate"; // // txtAmount1 // this.txtAmount1.BackColor = System.Drawing.Color.WhiteSmoke; this.txtAmount1.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtAmount1.Location = new System.Drawing.Point(822, 83); this.txtAmount1.Name = "txtAmount1"; this.txtAmount1.Size = new System.Drawing.Size(84, 25); this.txtAmount1.TabIndex = 181; this.txtAmount1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // label16 // this.label16.AutoSize = true; this.label16.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label16.ForeColor = System.Drawing.Color.Black; this.label16.Location = new System.Drawing.Point(843, 64); this.label16.Name = "label16"; this.label16.Size = new System.Drawing.Size(51, 15); this.label16.TabIndex = 180; this.label16.Text = "Amount"; // // txtTotalAmount1 // this.txtTotalAmount1.BackColor = System.Drawing.Color.WhiteSmoke; this.txtTotalAmount1.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtTotalAmount1.Location = new System.Drawing.Point(977, 83); this.txtTotalAmount1.Name = "txtTotalAmount1"; this.txtTotalAmount1.Size = new System.Drawing.Size(98, 25); this.txtTotalAmount1.TabIndex = 179; this.txtTotalAmount1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // label15 // this.label15.AutoSize = true; this.label15.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label15.ForeColor = System.Drawing.Color.Black; this.label15.Location = new System.Drawing.Point(987, 64); this.label15.Name = "label15"; this.label15.Size = new System.Drawing.Size(81, 15); this.label15.TabIndex = 178; this.label15.Text = "Total Amount"; // // txtTotalCarege // this.txtTotalCarege.BackColor = System.Drawing.Color.WhiteSmoke; this.txtTotalCarege.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtTotalCarege.Location = new System.Drawing.Point(902, 83); this.txtTotalCarege.Name = "txtTotalCarege"; this.txtTotalCarege.Size = new System.Drawing.Size(78, 25); this.txtTotalCarege.TabIndex = 177; this.txtTotalCarege.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // txtTotalWeight // this.txtTotalWeight.BackColor = System.Drawing.Color.WhiteSmoke; this.txtTotalWeight.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtTotalWeight.Location = new System.Drawing.Point(747, 83); this.txtTotalWeight.Name = "txtTotalWeight"; this.txtTotalWeight.Size = new System.Drawing.Size(80, 25); this.txtTotalWeight.TabIndex = 175; this.txtTotalWeight.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // label14 // this.label14.AutoSize = true; this.label14.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label14.ForeColor = System.Drawing.Color.Black; this.label14.Location = new System.Drawing.Point(899, 65); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(74, 15); this.label14.TabIndex = 176; this.label14.Text = "Total Carege"; // // label13 // this.label13.AutoSize = true; this.label13.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label13.ForeColor = System.Drawing.Color.Black; this.label13.Location = new System.Drawing.Point(751, 65); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(75, 15); this.label13.TabIndex = 174; this.label13.Text = "Total Weight"; // // txtTotalQty // this.txtTotalQty.BackColor = System.Drawing.Color.WhiteSmoke; this.txtTotalQty.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtTotalQty.Location = new System.Drawing.Point(681, 83); this.txtTotalQty.Name = "txtTotalQty"; this.txtTotalQty.Size = new System.Drawing.Size(69, 25); this.txtTotalQty.TabIndex = 173; this.txtTotalQty.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // label12 // this.label12.AutoSize = true; this.label12.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label12.ForeColor = System.Drawing.Color.Black; this.label12.Location = new System.Drawing.Point(694, 64); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(53, 15); this.label12.TabIndex = 172; this.label12.Text = "Quantity"; // // txtTotalGari // this.txtTotalGari.BackColor = System.Drawing.Color.WhiteSmoke; this.txtTotalGari.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtTotalGari.Location = new System.Drawing.Point(624, 83); this.txtTotalGari.Name = "txtTotalGari"; this.txtTotalGari.Size = new System.Drawing.Size(58, 25); this.txtTotalGari.TabIndex = 171; this.txtTotalGari.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // label11 // this.label11.AutoSize = true; this.label11.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label11.ForeColor = System.Drawing.Color.Black; this.label11.Location = new System.Drawing.Point(621, 65); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(50, 15); this.label11.TabIndex = 170; this.label11.Text = "Vehicles"; // // dataGridView1 // this.dataGridView1.AllowUserToAddRows = false; this.dataGridView1.AllowUserToDeleteRows = false; this.dataGridView1.BackgroundColor = System.Drawing.Color.White; dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle1.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle1.SelectionBackColor = System.Drawing.Color.OrangeRed; dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.Column1, this.Column2, this.Column3, this.Column4, this.Column5, this.Column6, this.Column15, this.Email, this.Notes, this.Column7, this.Column8, this.Column9, this.Column10, this.Column16, this.Column11, this.Column12, this.Column13, this.Column14}); dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Window; dataGridViewCellStyle5.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.ControlText; dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False; this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle5; this.dataGridView1.Location = new System.Drawing.Point(6, 112); this.dataGridView1.Name = "dataGridView1"; this.dataGridView1.Size = new System.Drawing.Size(1137, 455); this.dataGridView1.TabIndex = 3; this.dataGridView1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentClick_1); this.dataGridView1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint); this.dataGridView1.Paint += new System.Windows.Forms.PaintEventHandler(this.dataGridView1_Paint); // // Column1 // this.Column1.HeaderText = "Seed ID"; this.Column1.Name = "Column1"; this.Column1.Visible = false; this.Column1.Width = 50; // // Column2 // this.Column2.HeaderText = "Date"; this.Column2.Name = "Column2"; this.Column2.Width = 80; // // Column3 // this.Column3.HeaderText = "Factory Name"; this.Column3.Name = "Column3"; this.Column3.Width = 150; // // Column4 // this.Column4.HeaderText = "Bilty No"; this.Column4.Name = "Column4"; this.Column4.Visible = false; this.Column4.Width = 70; // // Column5 // this.Column5.HeaderText = "Gari No"; this.Column5.Name = "Column5"; this.Column5.Width = 70; // // Column6 // this.Column6.HeaderText = "Quantity"; this.Column6.Name = "Column6"; this.Column6.Width = 60; // // Column15 // this.Column15.HeaderText = "Weight"; this.Column15.Name = "Column15"; this.Column15.Width = 70; // // Email // this.Email.HeaderText = "Total Weight"; this.Email.Name = "Email"; this.Email.Width = 85; // // Notes // this.Notes.HeaderText = "Rate"; this.Notes.Name = "Notes"; this.Notes.Width = 60; // // Column7 // this.Column7.HeaderText = "Amount"; this.Column7.Name = "Column7"; this.Column7.Width = 90; // // Column8 // this.Column8.HeaderText = "Labor Pay"; this.Column8.Name = "Column8"; this.Column8.Visible = false; this.Column8.Width = 70; // // Column9 // this.Column9.HeaderText = "Labor Amount"; this.Column9.Name = "Column9"; // // Column10 // this.Column10.HeaderText = "Carege"; this.Column10.Name = "Column10"; this.Column10.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.Column10.Width = 70; // // Column16 // this.Column16.HeaderText = "Tax"; this.Column16.Name = "Column16"; this.Column16.Width = 60; // // Column11 // dataGridViewCellStyle2.ForeColor = System.Drawing.Color.Black; this.Column11.DefaultCellStyle = dataGridViewCellStyle2; this.Column11.HeaderText = "Total Amount"; this.Column11.Name = "Column11"; this.Column11.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.Column11.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; // // Column12 // dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle3.BackColor = System.Drawing.Color.White; dataGridViewCellStyle3.ForeColor = System.Drawing.Color.Blue; this.Column12.DefaultCellStyle = dataGridViewCellStyle3; this.Column12.HeaderText = "Edit"; this.Column12.Name = "Column12"; this.Column12.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.Column12.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; this.Column12.Width = 60; // // Column13 // dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle4.ForeColor = System.Drawing.Color.Red; this.Column13.DefaultCellStyle = dataGridViewCellStyle4; this.Column13.HeaderText = "Delete"; this.Column13.Name = "Column13"; this.Column13.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.Column13.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; this.Column13.Width = 60; // // Column14 // this.Column14.HeaderText = "Notes"; this.Column14.Name = "Column14"; this.Column14.Visible = false; // // panel4 // this.panel4.BackColor = System.Drawing.Color.LightSkyBlue; this.panel4.Controls.Add(this.btnClose); this.panel4.Controls.Add(this.label37); this.panel4.Location = new System.Drawing.Point(6, 12); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(1166, 41); this.panel4.TabIndex = 134; // // btnClose // this.btnClose.BackColor = System.Drawing.Color.Transparent; this.btnClose.BackgroundImage = global::OMMS.Properties.Resources.close_2; this.btnClose.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; this.btnClose.FlatAppearance.BorderSize = 0; this.btnClose.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Red; this.btnClose.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnClose.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnClose.ForeColor = System.Drawing.Color.Black; this.btnClose.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; this.btnClose.Location = new System.Drawing.Point(1119, 0); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(39, 41); this.btnClose.TabIndex = 174; this.btnClose.UseVisualStyleBackColor = false; this.btnClose.Click += new System.EventHandler(this.btnClose_Click_1); // // label37 // this.label37.Font = new System.Drawing.Font("Segoe UI", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label37.ForeColor = System.Drawing.Color.White; this.label37.Location = new System.Drawing.Point(371, 0); this.label37.Name = "label37"; this.label37.Size = new System.Drawing.Size(310, 39); this.label37.TabIndex = 3; this.label37.Text = "Purchase Form"; this.label37.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // frmPurchase // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(1182, 714); this.Controls.Add(this.panel4); this.Controls.Add(this.tabSeedRecord); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.MaximizeBox = false; this.Name = "frmPurchase"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Suppliers"; this.Load += new System.EventHandler(this.SuppliersForm_Load); this.tabSeedRecord.ResumeLayout(false); this.tabPageAddSeed.ResumeLayout(false); this.gbSupplierAdd.ResumeLayout(false); this.gbSupplierAdd.PerformLayout(); this.tabPageSeedDetails.ResumeLayout(false); this.gbSupplierDetail.ResumeLayout(false); this.gbSupplierDetail.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); this.panel4.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent( ) { this.components = new System.ComponentModel.Container( ); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); this.mainMenu = new System.Windows.Forms.MainMenu(this.components); this.fileItem = new System.Windows.Forms.MenuItem( ); this.OpenItem = new System.Windows.Forms.MenuItem( ); this.reloadFileItem = new System.Windows.Forms.MenuItem( ); this.saveFileItem = new System.Windows.Forms.MenuItem( ); this.menuItem1 = new System.Windows.Forms.MenuItem( ); this.copyFileItem = new System.Windows.Forms.MenuItem( ); this.pasteFileItem = new System.Windows.Forms.MenuItem( ); this.menuItem5 = new System.Windows.Forms.MenuItem( ); this.closeFileItem = new System.Windows.Forms.MenuItem( ); this.closeAllFileItem = new System.Windows.Forms.MenuItem( ); this.menuItem8 = new System.Windows.Forms.MenuItem( ); this.pageSetupFileItem = new System.Windows.Forms.MenuItem( ); this.printFileItem = new System.Windows.Forms.MenuItem( ); this.printPreviewFileItem = new System.Windows.Forms.MenuItem( ); this.menuItem2 = new System.Windows.Forms.MenuItem( ); this.exitFileItem = new System.Windows.Forms.MenuItem( ); this.viewItem = new System.Windows.Forms.MenuItem( ); this.mainBarViewItem = new System.Windows.Forms.MenuItem( ); this.imageBarViewItem = new System.Windows.Forms.MenuItem( ); this.menuItem7 = new System.Windows.Forms.MenuItem( ); this.histogramViewItem = new System.Windows.Forms.MenuItem( ); this.statisticsViewItem = new System.Windows.Forms.MenuItem( ); this.redHistogramViewItem = new System.Windows.Forms.MenuItem( ); this.greenHistogramViewItem = new System.Windows.Forms.MenuItem( ); this.blueHistogramViewItem = new System.Windows.Forms.MenuItem( ); this.menuItem3 = new System.Windows.Forms.MenuItem( ); this.centerViewItem = new System.Windows.Forms.MenuItem( ); this.optionsItem = new System.Windows.Forms.MenuItem( ); this.openInNewOptionsItem = new System.Windows.Forms.MenuItem( ); this.rememberOptionsItem = new System.Windows.Forms.MenuItem( ); this.windowItem = new System.Windows.Forms.MenuItem( ); this.helpItem = new System.Windows.Forms.MenuItem( ); this.aboutHelpItem = new System.Windows.Forms.MenuItem( ); this.statusBar = new System.Windows.Forms.StatusBar( ); this.zoomPanel = new System.Windows.Forms.StatusBarPanel( ); this.sizePanel = new System.Windows.Forms.StatusBarPanel( ); this.selectionPanel = new System.Windows.Forms.StatusBarPanel( ); this.colorPanel = new System.Windows.Forms.StatusBarPanel( ); this.hslPanel = new System.Windows.Forms.StatusBarPanel( ); this.ycbcrPanel = new System.Windows.Forms.StatusBarPanel( ); this.infoPanel = new System.Windows.Forms.StatusBarPanel( ); this.panel1 = new System.Windows.Forms.Panel( ); this.dockManager = new WeifenLuo.WinFormsUI.DockManager( ); this.mainToolBar = new System.Windows.Forms.ToolBar( ); this.openButton = new System.Windows.Forms.ToolBarButton( ); this.saveButton = new System.Windows.Forms.ToolBarButton( ); this.sep1 = new System.Windows.Forms.ToolBarButton( ); this.copyButton = new System.Windows.Forms.ToolBarButton( ); this.pasteButton = new System.Windows.Forms.ToolBarButton( ); this.toolBarButton9 = new System.Windows.Forms.ToolBarButton( ); this.histogramButton = new System.Windows.Forms.ToolBarButton( ); this.toolBarButton4 = new System.Windows.Forms.ToolBarButton( ); this.aboutButton = new System.Windows.Forms.ToolBarButton( ); this.imageList = new System.Windows.Forms.ImageList(this.components); this.imageToolBar = new System.Windows.Forms.ToolBar( ); this.cloneButton = new System.Windows.Forms.ToolBarButton( ); this.toolBarButton1 = new System.Windows.Forms.ToolBarButton( ); this.cropButton = new System.Windows.Forms.ToolBarButton( ); this.toolBarButton2 = new System.Windows.Forms.ToolBarButton( ); this.zoomInButton = new System.Windows.Forms.ToolBarButton( ); this.zoomOutButton = new System.Windows.Forms.ToolBarButton( ); this.toolBarButton3 = new System.Windows.Forms.ToolBarButton( ); this.fitToScreenButton = new System.Windows.Forms.ToolBarButton( ); this.toolBarButton5 = new System.Windows.Forms.ToolBarButton( ); this.resizeButton = new System.Windows.Forms.ToolBarButton( ); this.rotateButton = new System.Windows.Forms.ToolBarButton( ); this.toolBarButton7 = new System.Windows.Forms.ToolBarButton( ); this.levelsButton = new System.Windows.Forms.ToolBarButton( ); this.grayscaleButton = new System.Windows.Forms.ToolBarButton( ); this.thresholdButton = new System.Windows.Forms.ToolBarButton( ); this.toolBarButton6 = new System.Windows.Forms.ToolBarButton( ); this.morphologyButton = new System.Windows.Forms.ToolBarButton( ); this.convolutionButton = new System.Windows.Forms.ToolBarButton( ); this.toolBarButton8 = new System.Windows.Forms.ToolBarButton( ); this.saturationButton = new System.Windows.Forms.ToolBarButton( ); this.fourierButton = new System.Windows.Forms.ToolBarButton( ); this.imageList2 = new System.Windows.Forms.ImageList(this.components); this.ofd = new System.Windows.Forms.OpenFileDialog( ); this.sfd = new System.Windows.Forms.SaveFileDialog( ); this.printDocument = new System.Drawing.Printing.PrintDocument( ); this.printPreviewDialog = new System.Windows.Forms.PrintPreviewDialog( ); this.pageSetupDialog = new System.Windows.Forms.PageSetupDialog( ); this.printDialog = new System.Windows.Forms.PrintDialog( ); ((System.ComponentModel.ISupportInitialize)(this.zoomPanel)).BeginInit( ); ((System.ComponentModel.ISupportInitialize)(this.sizePanel)).BeginInit( ); ((System.ComponentModel.ISupportInitialize)(this.selectionPanel)).BeginInit( ); ((System.ComponentModel.ISupportInitialize)(this.colorPanel)).BeginInit( ); ((System.ComponentModel.ISupportInitialize)(this.hslPanel)).BeginInit( ); ((System.ComponentModel.ISupportInitialize)(this.ycbcrPanel)).BeginInit( ); ((System.ComponentModel.ISupportInitialize)(this.infoPanel)).BeginInit( ); this.panel1.SuspendLayout( ); this.dockManager.SuspendLayout( ); this.SuspendLayout( ); // // mainMenu // this.mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.fileItem, this.viewItem, this.optionsItem, this.windowItem, this.helpItem }); // // fileItem // this.fileItem.Index = 0; this.fileItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.OpenItem, this.reloadFileItem, this.saveFileItem, this.menuItem1, this.copyFileItem, this.pasteFileItem, this.menuItem5, this.closeFileItem, this.closeAllFileItem, this.menuItem8, this.pageSetupFileItem, this.printFileItem, this.printPreviewFileItem, this.menuItem2, this.exitFileItem }); this.fileItem.Text = "&File"; this.fileItem.Popup += new System.EventHandler(this.fileItem_Popup); // // OpenItem // this.OpenItem.Index = 0; this.OpenItem.Shortcut = System.Windows.Forms.Shortcut.CtrlO; this.OpenItem.Text = "&Open"; this.OpenItem.Click += new System.EventHandler(this.OpenItem_Click); // // reloadFileItem // this.reloadFileItem.Index = 1; this.reloadFileItem.Shortcut = System.Windows.Forms.Shortcut.CtrlR; this.reloadFileItem.Text = "&Reload"; this.reloadFileItem.Click += new System.EventHandler(this.reloadFileItem_Click); // // saveFileItem // this.saveFileItem.Index = 2; this.saveFileItem.Shortcut = System.Windows.Forms.Shortcut.CtrlS; this.saveFileItem.Text = "&Save"; this.saveFileItem.Click += new System.EventHandler(this.saveFileItem_Click); // // menuItem1 // this.menuItem1.Index = 3; this.menuItem1.Text = "-"; // // copyFileItem // this.copyFileItem.Index = 4; this.copyFileItem.Shortcut = System.Windows.Forms.Shortcut.CtrlC; this.copyFileItem.Text = "&Copy"; this.copyFileItem.Click += new System.EventHandler(this.copyFileItem_Click); // // pasteFileItem // this.pasteFileItem.Index = 5; this.pasteFileItem.Shortcut = System.Windows.Forms.Shortcut.CtrlV; this.pasteFileItem.Text = "&Paste"; this.pasteFileItem.Click += new System.EventHandler(this.pasteFileItem_Click); // // menuItem5 // this.menuItem5.Index = 6; this.menuItem5.Text = "-"; // // closeFileItem // this.closeFileItem.Index = 7; this.closeFileItem.Shortcut = System.Windows.Forms.Shortcut.CtrlF4; this.closeFileItem.Text = "C&lose"; this.closeFileItem.Click += new System.EventHandler(this.closeFileItem_Click); // // closeAllFileItem // this.closeAllFileItem.Index = 8; this.closeAllFileItem.Text = "Close All"; this.closeAllFileItem.Click += new System.EventHandler(this.closeAllFileItem_Click); // // menuItem8 // this.menuItem8.Index = 9; this.menuItem8.Text = "-"; // // pageSetupFileItem // this.pageSetupFileItem.Index = 10; this.pageSetupFileItem.Text = "Page Setup"; this.pageSetupFileItem.Click += new System.EventHandler(this.pageSetupFileItem_Click); // // printFileItem // this.printFileItem.Index = 11; this.printFileItem.Text = "&Print"; this.printFileItem.Click += new System.EventHandler(this.printFileItem_Click); // // printPreviewFileItem // this.printPreviewFileItem.Index = 12; this.printPreviewFileItem.Text = "Print Preview"; this.printPreviewFileItem.Click += new System.EventHandler(this.printPreviewFileItem_Click); // // menuItem2 // this.menuItem2.Index = 13; this.menuItem2.Text = "-"; // // exitFileItem // this.exitFileItem.Index = 14; this.exitFileItem.Text = "E&xit"; this.exitFileItem.Click += new System.EventHandler(this.exitFileItem_Click); // // viewItem // this.viewItem.Index = 1; this.viewItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mainBarViewItem, this.imageBarViewItem, this.menuItem7, this.histogramViewItem, this.statisticsViewItem, this.redHistogramViewItem, this.greenHistogramViewItem, this.blueHistogramViewItem, this.menuItem3, this.centerViewItem }); this.viewItem.MergeOrder = 1; this.viewItem.Text = "&View"; this.viewItem.Popup += new System.EventHandler(this.viewItem_Popup); // // mainBarViewItem // this.mainBarViewItem.Index = 0; this.mainBarViewItem.Text = "Main tool bar"; this.mainBarViewItem.Click += new System.EventHandler(this.mainBarViewItem_Click); // // imageBarViewItem // this.imageBarViewItem.Index = 1; this.imageBarViewItem.Text = "Image tool bar"; this.imageBarViewItem.Click += new System.EventHandler(this.imageBarViewItem_Click); // // menuItem7 // this.menuItem7.Index = 2; this.menuItem7.Text = "-"; // // histogramViewItem // this.histogramViewItem.Index = 3; this.histogramViewItem.Shortcut = System.Windows.Forms.Shortcut.CtrlH; this.histogramViewItem.Text = "&Histogram"; this.histogramViewItem.Click += new System.EventHandler(this.histogramViewItem_Click); // // statisticsViewItem // this.statisticsViewItem.Index = 4; this.statisticsViewItem.Shortcut = System.Windows.Forms.Shortcut.CtrlT; this.statisticsViewItem.Text = "&Statistics"; this.statisticsViewItem.Click += new System.EventHandler(this.statisticsViewItem_Click); // // redHistogramViewItem // this.redHistogramViewItem.Index = 5; this.redHistogramViewItem.Shortcut = System.Windows.Forms.Shortcut.Ctrl1; this.redHistogramViewItem.Text = "R"; this.redHistogramViewItem.Visible = false; this.redHistogramViewItem.Click += new System.EventHandler(this.redHistogramViewItem_Click); // // greenHistogramViewItem // this.greenHistogramViewItem.Index = 6; this.greenHistogramViewItem.Shortcut = System.Windows.Forms.Shortcut.Ctrl2; this.greenHistogramViewItem.Text = "G"; this.greenHistogramViewItem.Visible = false; this.greenHistogramViewItem.Click += new System.EventHandler(this.greenHistogramViewItem_Click); // // blueHistogramViewItem // this.blueHistogramViewItem.Index = 7; this.blueHistogramViewItem.Shortcut = System.Windows.Forms.Shortcut.Ctrl3; this.blueHistogramViewItem.Text = "B"; this.blueHistogramViewItem.Visible = false; this.blueHistogramViewItem.Click += new System.EventHandler(this.blueHistogramViewItem_Click); // // menuItem3 // this.menuItem3.Index = 8; this.menuItem3.Text = "-"; // // centerViewItem // this.centerViewItem.Index = 9; this.centerViewItem.Shortcut = System.Windows.Forms.Shortcut.F9; this.centerViewItem.Text = "&Center"; this.centerViewItem.Click += new System.EventHandler(this.centerViewItem_Click); // // optionsItem // this.optionsItem.Index = 2; this.optionsItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.openInNewOptionsItem, this.rememberOptionsItem }); this.optionsItem.MergeOrder = 2; this.optionsItem.Text = "&Options"; this.optionsItem.Popup += new System.EventHandler(this.optionsItem_Popup); // // openInNewOptionsItem // this.openInNewOptionsItem.Index = 0; this.openInNewOptionsItem.Text = "Open in &new document on change"; this.openInNewOptionsItem.Click += new System.EventHandler(this.openInNewOptionsItem_Click); // // rememberOptionsItem // this.rememberOptionsItem.Index = 1; this.rememberOptionsItem.Text = "&Remember on change"; this.rememberOptionsItem.Click += new System.EventHandler(this.rememberOptionsItem_Click); // // windowItem // this.windowItem.Index = 3; this.windowItem.MdiList = true; this.windowItem.MergeOrder = 3; this.windowItem.Text = "&Window"; // // helpItem // this.helpItem.Index = 4; this.helpItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.aboutHelpItem }); this.helpItem.MergeOrder = 4; this.helpItem.Text = "&Help"; // // aboutHelpItem // this.aboutHelpItem.Index = 0; this.aboutHelpItem.Text = "&About"; this.aboutHelpItem.Click += new System.EventHandler(this.aboutHelpItem_Click); // // statusBar // this.statusBar.Location = new System.Drawing.Point(0, 511); this.statusBar.Name = "statusBar"; this.statusBar.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.zoomPanel, this.sizePanel, this.selectionPanel, this.colorPanel, this.hslPanel, this.ycbcrPanel, this.infoPanel }); this.statusBar.ShowPanels = true; this.statusBar.Size = new System.Drawing.Size(792, 22); this.statusBar.TabIndex = 1; // // zoomPanel // this.zoomPanel.Name = "zoomPanel"; this.zoomPanel.ToolTipText = "Zoom coefficient"; this.zoomPanel.Width = 50; // // sizePanel // this.sizePanel.Name = "sizePanel"; this.sizePanel.ToolTipText = "Image size"; // // selectionPanel // this.selectionPanel.Name = "selectionPanel"; this.selectionPanel.ToolTipText = "Current point and selection size"; this.selectionPanel.Width = 120; // // colorPanel // this.colorPanel.Name = "colorPanel"; this.colorPanel.ToolTipText = "Current color"; this.colorPanel.Width = 110; // // hslPanel // this.hslPanel.Name = "hslPanel"; this.hslPanel.Width = 130; // // ycbcrPanel // this.ycbcrPanel.Name = "ycbcrPanel"; this.ycbcrPanel.Width = 145; // // infoPanel // this.infoPanel.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring; this.infoPanel.Name = "infoPanel"; this.infoPanel.Width = 120; // // panel1 // this.panel1.Controls.Add(this.dockManager); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(792, 511); this.panel1.TabIndex = 2; // // dockManager // this.dockManager.ActiveAutoHideContent = null; this.dockManager.Controls.Add(this.mainToolBar); this.dockManager.Controls.Add(this.imageToolBar); this.dockManager.Dock = System.Windows.Forms.DockStyle.Fill; this.dockManager.Location = new System.Drawing.Point(0, 0); this.dockManager.Name = "dockManager"; this.dockManager.Size = new System.Drawing.Size(792, 511); this.dockManager.TabIndex = 2; this.dockManager.ActiveDocumentChanged += new System.EventHandler(this.dockManager_ActiveDocumentChanged); // // mainToolBar // this.mainToolBar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat; this.mainToolBar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.openButton, this.saveButton, this.sep1, this.copyButton, this.pasteButton, this.toolBarButton9, this.histogramButton, this.toolBarButton4, this.aboutButton }); this.mainToolBar.Divider = false; this.mainToolBar.Dock = System.Windows.Forms.DockStyle.None; this.mainToolBar.DropDownArrows = true; this.mainToolBar.ImageList = this.imageList; this.mainToolBar.Location = new System.Drawing.Point(256, 32); this.mainToolBar.Name = "mainToolBar"; this.mainToolBar.ShowToolTips = true; this.mainToolBar.Size = new System.Drawing.Size(24, 202); this.mainToolBar.TabIndex = 2; this.mainToolBar.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.mainToolBar_ButtonClick); // // openButton // this.openButton.ImageIndex = 0; this.openButton.Name = "openButton"; this.openButton.ToolTipText = "Open an image "; // // saveButton // this.saveButton.ImageIndex = 1; this.saveButton.Name = "saveButton"; this.saveButton.ToolTipText = "Save"; // // sep1 // this.sep1.Name = "sep1"; this.sep1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // copyButton // this.copyButton.ImageIndex = 2; this.copyButton.Name = "copyButton"; this.copyButton.ToolTipText = "Copy to clipboard"; // // pasteButton // this.pasteButton.ImageIndex = 3; this.pasteButton.Name = "pasteButton"; this.pasteButton.ToolTipText = "Paste from clipboard"; // // toolBarButton9 // this.toolBarButton9.Name = "toolBarButton9"; this.toolBarButton9.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // histogramButton // this.histogramButton.ImageIndex = 4; this.histogramButton.Name = "histogramButton"; this.histogramButton.ToolTipText = "Show histogram"; // // toolBarButton4 // this.toolBarButton4.Name = "toolBarButton4"; this.toolBarButton4.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // aboutButton // this.aboutButton.ImageIndex = 5; this.aboutButton.Name = "aboutButton"; this.aboutButton.ToolTipText = "About"; // // imageList // this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream"))); this.imageList.TransparentColor = System.Drawing.Color.Transparent; this.imageList.Images.SetKeyName(0, ""); this.imageList.Images.SetKeyName(1, ""); this.imageList.Images.SetKeyName(2, ""); this.imageList.Images.SetKeyName(3, ""); this.imageList.Images.SetKeyName(4, ""); this.imageList.Images.SetKeyName(5, ""); // // imageToolBar // this.imageToolBar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat; this.imageToolBar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.cloneButton, this.toolBarButton1, this.cropButton, this.toolBarButton2, this.zoomInButton, this.zoomOutButton, this.toolBarButton3, this.fitToScreenButton, this.toolBarButton5, this.resizeButton, this.rotateButton, this.toolBarButton7, this.levelsButton, this.grayscaleButton, this.thresholdButton, this.toolBarButton6, this.morphologyButton, this.convolutionButton, this.toolBarButton8, this.saturationButton, this.fourierButton }); this.imageToolBar.Divider = false; this.imageToolBar.Dock = System.Windows.Forms.DockStyle.None; this.imageToolBar.DropDownArrows = true; this.imageToolBar.ImageList = this.imageList2; this.imageToolBar.Location = new System.Drawing.Point(144, 312); this.imageToolBar.Name = "imageToolBar"; this.imageToolBar.ShowToolTips = true; this.imageToolBar.Size = new System.Drawing.Size(472, 26); this.imageToolBar.TabIndex = 3; this.imageToolBar.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.imageToolBar_ButtonClick); // // cloneButton // this.cloneButton.ImageIndex = 0; this.cloneButton.Name = "cloneButton"; this.cloneButton.ToolTipText = "Clone the image"; // // toolBarButton1 // this.toolBarButton1.Name = "toolBarButton1"; this.toolBarButton1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // cropButton // this.cropButton.ImageIndex = 1; this.cropButton.Name = "cropButton"; this.cropButton.ToolTipText = "Crop image"; // // toolBarButton2 // this.toolBarButton2.Name = "toolBarButton2"; this.toolBarButton2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // zoomInButton // this.zoomInButton.ImageIndex = 2; this.zoomInButton.Name = "zoomInButton"; this.zoomInButton.ToolTipText = "Zoom In"; // // zoomOutButton // this.zoomOutButton.ImageIndex = 3; this.zoomOutButton.Name = "zoomOutButton"; this.zoomOutButton.ToolTipText = "Zoom out"; // // toolBarButton3 // this.toolBarButton3.ImageIndex = 4; this.toolBarButton3.Name = "toolBarButton3"; this.toolBarButton3.ToolTipText = "Original size"; // // fitToScreenButton // this.fitToScreenButton.ImageIndex = 5; this.fitToScreenButton.Name = "fitToScreenButton"; this.fitToScreenButton.ToolTipText = "Fit to window size"; // // toolBarButton5 // this.toolBarButton5.Name = "toolBarButton5"; this.toolBarButton5.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // resizeButton // this.resizeButton.ImageIndex = 11; this.resizeButton.Name = "resizeButton"; this.resizeButton.ToolTipText = "Resize the image"; // // rotateButton // this.rotateButton.ImageIndex = 12; this.rotateButton.Name = "rotateButton"; this.rotateButton.ToolTipText = "Rotate the image"; // // toolBarButton7 // this.toolBarButton7.Name = "toolBarButton7"; this.toolBarButton7.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // levelsButton // this.levelsButton.ImageIndex = 6; this.levelsButton.Name = "levelsButton"; this.levelsButton.ToolTipText = "Levels correction"; // // grayscaleButton // this.grayscaleButton.ImageIndex = 7; this.grayscaleButton.Name = "grayscaleButton"; this.grayscaleButton.ToolTipText = "Grayscale"; // // thresholdButton // this.thresholdButton.ImageIndex = 8; this.thresholdButton.Name = "thresholdButton"; this.thresholdButton.ToolTipText = "Threshold"; // // toolBarButton6 // this.toolBarButton6.Name = "toolBarButton6"; this.toolBarButton6.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // morphologyButton // this.morphologyButton.ImageIndex = 9; this.morphologyButton.Name = "morphologyButton"; this.morphologyButton.ToolTipText = "Custom morphology operator"; // // convolutionButton // this.convolutionButton.ImageIndex = 10; this.convolutionButton.Name = "convolutionButton"; this.convolutionButton.ToolTipText = "Custom convolution operator"; // // toolBarButton8 // this.toolBarButton8.Name = "toolBarButton8"; this.toolBarButton8.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // saturationButton // this.saturationButton.ImageIndex = 13; this.saturationButton.Name = "saturationButton"; this.saturationButton.ToolTipText = "Saturation (HSL)"; // // fourierButton // this.fourierButton.ImageIndex = 14; this.fourierButton.Name = "fourierButton"; this.fourierButton.ToolTipText = "Fourier Transformation"; // // imageList2 // this.imageList2.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList2.ImageStream"))); this.imageList2.TransparentColor = System.Drawing.Color.Transparent; this.imageList2.Images.SetKeyName(0, ""); this.imageList2.Images.SetKeyName(1, ""); this.imageList2.Images.SetKeyName(2, ""); this.imageList2.Images.SetKeyName(3, ""); this.imageList2.Images.SetKeyName(4, ""); this.imageList2.Images.SetKeyName(5, ""); this.imageList2.Images.SetKeyName(6, ""); this.imageList2.Images.SetKeyName(7, ""); this.imageList2.Images.SetKeyName(8, ""); this.imageList2.Images.SetKeyName(9, ""); this.imageList2.Images.SetKeyName(10, ""); this.imageList2.Images.SetKeyName(11, ""); this.imageList2.Images.SetKeyName(12, ""); this.imageList2.Images.SetKeyName(13, ""); this.imageList2.Images.SetKeyName(14, ""); // // ofd // this.ofd.Filter = "Image files (*.jpg,*.png,*.tif,*.bmp,*.gif)|*.jpg;*.png;*.tif;*.bmp;*.gif|JPG fil" + "es (*.jpg)|*.jpg|PNG files (*.png)|*.png|TIF files (*.tif)|*.tif|BMP files (*.bm" + "p)|*.bmp|GIF files (*.gif)|*.gif"; this.ofd.Title = "Open image"; // // sfd // this.sfd.Filter = "PNG files (*.png)|*.png|JPG files (*.jpg)|*.jpg|BMP files (*.bmp)|*.bmp"; this.sfd.Title = "Save image"; // // printDocument // this.printDocument.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument_PrintPage); // // printPreviewDialog // this.printPreviewDialog.AutoScrollMargin = new System.Drawing.Size(0, 0); this.printPreviewDialog.AutoScrollMinSize = new System.Drawing.Size(0, 0); this.printPreviewDialog.ClientSize = new System.Drawing.Size(400, 300); this.printPreviewDialog.Enabled = true; this.printPreviewDialog.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog.Icon"))); this.printPreviewDialog.Name = "printPreviewDialog"; this.printPreviewDialog.Visible = false; // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(792, 533); this.Controls.Add(this.panel1); this.Controls.Add(this.statusBar); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.IsMdiContainer = true; this.Menu = this.mainMenu; this.Name = "MainForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Image Processing Lab"; this.Load += new System.EventHandler(this.MainForm_Load); this.Closing += new System.ComponentModel.CancelEventHandler(this.MainForm_Closing); ((System.ComponentModel.ISupportInitialize)(this.zoomPanel)).EndInit( ); ((System.ComponentModel.ISupportInitialize)(this.sizePanel)).EndInit( ); ((System.ComponentModel.ISupportInitialize)(this.selectionPanel)).EndInit( ); ((System.ComponentModel.ISupportInitialize)(this.colorPanel)).EndInit( ); ((System.ComponentModel.ISupportInitialize)(this.hslPanel)).EndInit( ); ((System.ComponentModel.ISupportInitialize)(this.ycbcrPanel)).EndInit( ); ((System.ComponentModel.ISupportInitialize)(this.infoPanel)).EndInit( ); this.panel1.ResumeLayout(false); this.dockManager.ResumeLayout(false); this.dockManager.PerformLayout( ); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmPurchases)); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle41 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle42 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle43 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle44 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle45 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle46 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle47 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle48 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle49 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle50 = new System.Windows.Forms.DataGridViewCellStyle(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.panel3 = new System.Windows.Forms.Panel(); this.comboSupName = new System.Windows.Forms.ComboBox(); this.txtCusID = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.label14 = new System.Windows.Forms.Label(); this.dpInvoice = new System.Windows.Forms.DateTimePicker(); this.txtInvoiceId = new System.Windows.Forms.TextBox(); this.label5 = new System.Windows.Forms.Label(); this.panel1 = new System.Windows.Forms.Panel(); this.txtPrice = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label(); this.txtTotalAmount = new System.Windows.Forms.TextBox(); this.comboItem = new System.Windows.Forms.ComboBox(); this.btnAdd = new System.Windows.Forms.Button(); this.label12 = new System.Windows.Forms.Label(); this.txtQty = new System.Windows.Forms.TextBox(); this.lbQty = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); this.label16 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.label26 = new System.Windows.Forms.Label(); this.txtPurchaseTax = new System.Windows.Forms.TextBox(); this.txtCartAmount = new System.Windows.Forms.TextBox(); this.txtDiscount = new System.Windows.Forms.TextBox(); this.txtAmount = new System.Windows.Forms.TextBox(); this.label11 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label59 = new System.Windows.Forms.Label(); this.txtCartQty = new System.Windows.Forms.TextBox(); this.txtTotalDuePayment = new System.Windows.Forms.TextBox(); this.txtTotalDueQty = new System.Windows.Forms.TextBox(); this.btnInvoiceSave = new System.Windows.Forms.Button(); this.dataGridViewShopingCart = new System.Windows.Forms.DataGridView(); this.Column19 = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column28 = new System.Windows.Forms.DataGridViewButtonColumn(); this.txtComments = new System.Windows.Forms.TextBox(); this.label15 = new System.Windows.Forms.Label(); this.btnInvoiceUpdate = new System.Windows.Forms.Button(); this.btnInvoice = new System.Windows.Forms.Button(); this.btnNewRecord = new System.Windows.Forms.Button(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.GridSaleDetails = new System.Windows.Forms.DataGridView(); this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn23 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column1 = new System.Windows.Forms.DataGridViewButtonColumn(); this.Column2 = new System.Windows.Forms.DataGridViewButtonColumn(); this.label40 = new System.Windows.Forms.Label(); this.label55 = new System.Windows.Forms.Label(); this.EndDate = new System.Windows.Forms.DateTimePicker(); this.StartDate = new System.Windows.Forms.DateTimePicker(); this.btnSearch = new System.Windows.Forms.Button(); this.btnPrint = new System.Windows.Forms.Button(); this.label6 = new System.Windows.Forms.Label(); this.label33 = new System.Windows.Forms.Label(); this.ddItems = new System.Windows.Forms.ComboBox(); this.ddSupplier = new System.Windows.Forms.ComboBox(); this.txtCusTotalAmount = new System.Windows.Forms.TextBox(); this.lbCusId = new System.Windows.Forms.Label(); this.InvPrintDocument = new System.Drawing.Printing.PrintDocument(); this.InvPrintDialog = new System.Windows.Forms.PrintDialog(); this.InvPrintPreviewDialog = new System.Windows.Forms.PrintPreviewDialog(); this.pnlMain = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel(); this.btnClose = new System.Windows.Forms.Button(); this.label18 = new System.Windows.Forms.Label(); this.label47 = new System.Windows.Forms.Label(); this.button7 = new System.Windows.Forms.Button(); this.button5 = new System.Windows.Forms.Button(); this.comboGetItem = new System.Windows.Forms.ComboBox(); this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); this.panel3.SuspendLayout(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridViewShopingCart)).BeginInit(); this.tabPage2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.GridSaleDetails)).BeginInit(); this.pnlMain.SuspendLayout(); this.panel2.SuspendLayout(); this.SuspendLayout(); // // tabControl1 // this.tabControl1.Controls.Add(this.tabPage1); this.tabControl1.Controls.Add(this.tabPage2); this.tabControl1.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.tabControl1.Location = new System.Drawing.Point(0, 51); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(1178, 577); this.tabControl1.SizeMode = System.Windows.Forms.TabSizeMode.FillToRight; this.tabControl1.TabIndex = 0; // // tabPage1 // this.tabPage1.BackColor = System.Drawing.Color.White; this.tabPage1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.tabPage1.Controls.Add(this.panel3); this.tabPage1.Controls.Add(this.panel1); this.tabPage1.Controls.Add(this.label9); this.tabPage1.Controls.Add(this.label16); this.tabPage1.Controls.Add(this.label8); this.tabPage1.Controls.Add(this.label26); this.tabPage1.Controls.Add(this.txtPurchaseTax); this.tabPage1.Controls.Add(this.txtCartAmount); this.tabPage1.Controls.Add(this.txtDiscount); this.tabPage1.Controls.Add(this.txtAmount); this.tabPage1.Controls.Add(this.label11); this.tabPage1.Controls.Add(this.label4); this.tabPage1.Controls.Add(this.label59); this.tabPage1.Controls.Add(this.txtCartQty); this.tabPage1.Controls.Add(this.txtTotalDuePayment); this.tabPage1.Controls.Add(this.txtTotalDueQty); this.tabPage1.Controls.Add(this.btnInvoiceSave); this.tabPage1.Controls.Add(this.dataGridViewShopingCart); this.tabPage1.Controls.Add(this.txtComments); this.tabPage1.Controls.Add(this.label15); this.tabPage1.Controls.Add(this.btnInvoiceUpdate); this.tabPage1.Controls.Add(this.btnInvoice); this.tabPage1.Controls.Add(this.btnNewRecord); this.tabPage1.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.tabPage1.Location = new System.Drawing.Point(4, 34); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(3); this.tabPage1.Size = new System.Drawing.Size(1170, 539); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "Shopping Cart"; // // panel3 // this.panel3.BackColor = System.Drawing.Color.Transparent; this.panel3.Controls.Add(this.comboSupName); this.panel3.Controls.Add(this.txtCusID); this.panel3.Controls.Add(this.label1); this.panel3.Controls.Add(this.label14); this.panel3.Controls.Add(this.dpInvoice); this.panel3.Controls.Add(this.txtInvoiceId); this.panel3.Controls.Add(this.label5); this.panel3.Location = new System.Drawing.Point(0, 0); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(1164, 53); this.panel3.TabIndex = 167; // // comboSupName // this.comboSupName.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; this.comboSupName.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; this.comboSupName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(255))))); this.comboSupName.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.comboSupName.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.comboSupName.FormattingEnabled = true; this.comboSupName.Location = new System.Drawing.Point(375, 9); this.comboSupName.Name = "comboSupName"; this.comboSupName.Size = new System.Drawing.Size(253, 29); this.comboSupName.TabIndex = 0; // // txtCusID // this.txtCusID.AccessibleRole = System.Windows.Forms.AccessibleRole.MenuBar; this.txtCusID.BackColor = System.Drawing.Color.White; this.txtCusID.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtCusID.ForeColor = System.Drawing.Color.Black; this.txtCusID.Location = new System.Drawing.Point(945, 9); this.txtCusID.Name = "txtCusID"; this.txtCusID.Size = new System.Drawing.Size(100, 25); this.txtCusID.TabIndex = 160; this.txtCusID.TabStop = false; this.txtCusID.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Segoe UI", 24F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.Black; this.label1.Location = new System.Drawing.Point(4, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(263, 45); this.label1.TabIndex = 0; this.label1.Text = "Prchase Vouchers"; // // label14 // this.label14.AutoSize = true; this.label14.BackColor = System.Drawing.Color.White; this.label14.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label14.ForeColor = System.Drawing.Color.Black; this.label14.Location = new System.Drawing.Point(634, 15); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(122, 17); this.label14.TabIndex = 164; this.label14.Text = "Sale Voucher Date :"; // // dpInvoice // this.dpInvoice.CalendarFont = new System.Drawing.Font("Segoe UI Semibold", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dpInvoice.CustomFormat = "dd/MM/yyyy"; this.dpInvoice.Font = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dpInvoice.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.dpInvoice.Location = new System.Drawing.Point(777, 9); this.dpInvoice.Name = "dpInvoice"; this.dpInvoice.Size = new System.Drawing.Size(152, 25); this.dpInvoice.TabIndex = 163; this.dpInvoice.TabStop = false; // // txtInvoiceId // this.txtInvoiceId.BackColor = System.Drawing.Color.WhiteSmoke; this.txtInvoiceId.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtInvoiceId.Location = new System.Drawing.Point(1051, 9); this.txtInvoiceId.Name = "txtInvoiceId"; this.txtInvoiceId.Size = new System.Drawing.Size(97, 25); this.txtInvoiceId.TabIndex = 165; this.txtInvoiceId.TabStop = false; this.txtInvoiceId.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // label5 // this.label5.AutoSize = true; this.label5.BackColor = System.Drawing.Color.White; this.label5.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label5.Location = new System.Drawing.Point(270, 15); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(109, 17); this.label5.TabIndex = 162; this.label5.Text = "Supplier Account:"; // // panel1 // this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(189)))), ((int)(((byte)(242))))); this.panel1.Controls.Add(this.txtPrice); this.panel1.Controls.Add(this.label3); this.panel1.Controls.Add(this.label10); this.panel1.Controls.Add(this.txtTotalAmount); this.panel1.Controls.Add(this.comboItem); this.panel1.Controls.Add(this.btnAdd); this.panel1.Controls.Add(this.label12); this.panel1.Controls.Add(this.txtQty); this.panel1.Controls.Add(this.lbQty); this.panel1.Location = new System.Drawing.Point(0, 48); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(1178, 67); this.panel1.TabIndex = 208; // // txtPrice // this.txtPrice.BackColor = System.Drawing.Color.WhiteSmoke; this.txtPrice.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtPrice.Location = new System.Drawing.Point(606, 31); this.txtPrice.Name = "txtPrice"; this.txtPrice.Size = new System.Drawing.Size(217, 25); this.txtPrice.TabIndex = 181; this.txtPrice.TextChanged += new System.EventHandler(this.txtPrice_TextChanged); this.txtPrice.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtPrice_KeyDown); this.txtPrice.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtPrice_KeyPress); // // label3 // this.label3.AutoSize = true; this.label3.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label3.ForeColor = System.Drawing.Color.White; this.label3.Location = new System.Drawing.Point(603, 5); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(71, 17); this.label3.TabIndex = 189; this.label3.Text = "Sale Price :"; // // label10 // this.label10.AutoSize = true; this.label10.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label10.ForeColor = System.Drawing.Color.White; this.label10.Location = new System.Drawing.Point(815, 5); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(119, 17); this.label10.TabIndex = 187; this.label10.Text = "Sub Total Amount :"; // // txtTotalAmount // this.txtTotalAmount.BackColor = System.Drawing.Color.WhiteSmoke; this.txtTotalAmount.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtTotalAmount.Location = new System.Drawing.Point(818, 31); this.txtTotalAmount.Name = "txtTotalAmount"; this.txtTotalAmount.ReadOnly = true; this.txtTotalAmount.Size = new System.Drawing.Size(237, 25); this.txtTotalAmount.TabIndex = 188; this.txtTotalAmount.TabStop = false; this.txtTotalAmount.Text = "0"; this.txtTotalAmount.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // comboItem // this.comboItem.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest; this.comboItem.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; this.comboItem.BackColor = System.Drawing.Color.White; this.comboItem.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.comboItem.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.comboItem.FormattingEnabled = true; this.comboItem.Location = new System.Drawing.Point(38, 31); this.comboItem.Name = "comboItem"; this.comboItem.Size = new System.Drawing.Size(326, 25); this.comboItem.TabIndex = 179; this.comboItem.SelectedIndexChanged += new System.EventHandler(this.comboItem_SelectedIndexChanged_1); this.comboItem.KeyDown += new System.Windows.Forms.KeyEventHandler(this.comboItem_KeyDown); // // btnAdd // this.btnAdd.BackColor = System.Drawing.Color.Transparent; this.btnAdd.FlatAppearance.BorderSize = 0; this.btnAdd.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Silver; this.btnAdd.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnAdd.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnAdd.ForeColor = System.Drawing.Color.White; this.btnAdd.Image = global::PHMS.Properties.Resources.Plus_26; this.btnAdd.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnAdd.Location = new System.Drawing.Point(1074, 31); this.btnAdd.Name = "btnAdd"; this.btnAdd.Size = new System.Drawing.Size(90, 29); this.btnAdd.TabIndex = 182; this.btnAdd.TabStop = false; this.btnAdd.Text = "Add"; this.btnAdd.UseVisualStyleBackColor = false; this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click); // // label12 // this.label12.AutoSize = true; this.label12.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label12.ForeColor = System.Drawing.Color.White; this.label12.Location = new System.Drawing.Point(35, 5); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(78, 17); this.label12.TabIndex = 186; this.label12.Text = "Select Item :"; // // txtQty // this.txtQty.BackColor = System.Drawing.Color.White; this.txtQty.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtQty.Location = new System.Drawing.Point(385, 31); this.txtQty.Name = "txtQty"; this.txtQty.Size = new System.Drawing.Size(224, 25); this.txtQty.TabIndex = 180; this.txtQty.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.txtQty.TextChanged += new System.EventHandler(this.txtQty_TextChanged_1); this.txtQty.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtQty_KeyDown); this.txtQty.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtQty_KeyPress); // // lbQty // this.lbQty.AutoSize = true; this.lbQty.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lbQty.ForeColor = System.Drawing.Color.White; this.lbQty.Location = new System.Drawing.Point(378, 5); this.lbQty.Name = "lbQty"; this.lbQty.Size = new System.Drawing.Size(63, 17); this.lbQty.TabIndex = 185; this.lbQty.Text = "Quantity :"; // // label9 // this.label9.AutoSize = true; this.label9.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label9.ForeColor = System.Drawing.Color.Black; this.label9.Location = new System.Drawing.Point(788, 459); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(65, 17); this.label9.TabIndex = 204; this.label9.Text = "Discount :"; // // label16 // this.label16.AutoSize = true; this.label16.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label16.ForeColor = System.Drawing.Color.Black; this.label16.Location = new System.Drawing.Point(788, 387); this.label16.Name = "label16"; this.label16.Size = new System.Drawing.Size(90, 17); this.label16.TabIndex = 205; this.label16.Text = "Sub Amount :"; // // label8 // this.label8.AutoSize = true; this.label8.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label8.ForeColor = System.Drawing.Color.Black; this.label8.Location = new System.Drawing.Point(788, 424); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(95, 17); this.label8.TabIndex = 205; this.label8.Text = "Purchase Tex :"; // // label26 // this.label26.AutoSize = true; this.label26.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label26.ForeColor = System.Drawing.Color.Black; this.label26.Location = new System.Drawing.Point(786, 492); this.label26.Name = "label26"; this.label26.Size = new System.Drawing.Size(93, 17); this.label26.TabIndex = 206; this.label26.Text = "Total Amount :"; // // txtPurchaseTax // this.txtPurchaseTax.BackColor = System.Drawing.Color.WhiteSmoke; this.txtPurchaseTax.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtPurchaseTax.ForeColor = System.Drawing.Color.Black; this.txtPurchaseTax.Location = new System.Drawing.Point(891, 418); this.txtPurchaseTax.Name = "txtPurchaseTax"; this.txtPurchaseTax.Size = new System.Drawing.Size(226, 29); this.txtPurchaseTax.TabIndex = 201; this.txtPurchaseTax.Text = "0"; this.txtPurchaseTax.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.txtPurchaseTax.TextChanged += new System.EventHandler(this.txtSaleTax_TextChanged); // // txtCartAmount // this.txtCartAmount.BackColor = System.Drawing.Color.WhiteSmoke; this.txtCartAmount.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtCartAmount.ForeColor = System.Drawing.Color.Black; this.txtCartAmount.Location = new System.Drawing.Point(891, 381); this.txtCartAmount.Name = "txtCartAmount"; this.txtCartAmount.Size = new System.Drawing.Size(226, 29); this.txtCartAmount.TabIndex = 201; this.txtCartAmount.Text = "0"; this.txtCartAmount.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // txtDiscount // this.txtDiscount.BackColor = System.Drawing.Color.WhiteSmoke; this.txtDiscount.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtDiscount.ForeColor = System.Drawing.Color.Black; this.txtDiscount.Location = new System.Drawing.Point(891, 453); this.txtDiscount.Name = "txtDiscount"; this.txtDiscount.Size = new System.Drawing.Size(226, 29); this.txtDiscount.TabIndex = 203; this.txtDiscount.TabStop = false; this.txtDiscount.Text = "0"; this.txtDiscount.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.txtDiscount.TextChanged += new System.EventHandler(this.txtDiscount_TextChanged); // // txtAmount // this.txtAmount.BackColor = System.Drawing.Color.WhiteSmoke; this.txtAmount.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtAmount.ForeColor = System.Drawing.Color.LimeGreen; this.txtAmount.Location = new System.Drawing.Point(891, 488); this.txtAmount.Multiline = true; this.txtAmount.Name = "txtAmount"; this.txtAmount.Size = new System.Drawing.Size(226, 29); this.txtAmount.TabIndex = 200; this.txtAmount.Text = "0"; this.txtAmount.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.txtAmount.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtPayment_KeyPress); // // label11 // this.label11.AutoSize = true; this.label11.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label11.ForeColor = System.Drawing.Color.Black; this.label11.Location = new System.Drawing.Point(252, 380); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(184, 17); this.label11.TabIndex = 197; this.label11.Text = "Customer Total Due Payment :"; // // label4 // this.label4.AutoSize = true; this.label4.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label4.ForeColor = System.Drawing.Color.Black; this.label4.Location = new System.Drawing.Point(442, 380); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(84, 17); this.label4.TabIndex = 198; this.label4.Text = "Cart Quanty :"; // // label59 // this.label59.AutoSize = true; this.label59.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label59.ForeColor = System.Drawing.Color.Black; this.label59.Location = new System.Drawing.Point(15, 380); this.label59.Name = "label59"; this.label59.Size = new System.Drawing.Size(126, 17); this.label59.TabIndex = 195; this.label59.Text = "Available Qty Stock :"; // // txtCartQty // this.txtCartQty.BackColor = System.Drawing.Color.WhiteSmoke; this.txtCartQty.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtCartQty.ForeColor = System.Drawing.Color.Black; this.txtCartQty.Location = new System.Drawing.Point(436, 400); this.txtCartQty.Multiline = true; this.txtCartQty.Name = "txtCartQty"; this.txtCartQty.Size = new System.Drawing.Size(238, 30); this.txtCartQty.TabIndex = 194; this.txtCartQty.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // txtTotalDuePayment // this.txtTotalDuePayment.BackColor = System.Drawing.Color.WhiteSmoke; this.txtTotalDuePayment.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtTotalDuePayment.ForeColor = System.Drawing.Color.Red; this.txtTotalDuePayment.Location = new System.Drawing.Point(226, 400); this.txtTotalDuePayment.Multiline = true; this.txtTotalDuePayment.Name = "txtTotalDuePayment"; this.txtTotalDuePayment.Size = new System.Drawing.Size(215, 30); this.txtTotalDuePayment.TabIndex = 193; this.txtTotalDuePayment.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // txtTotalDueQty // this.txtTotalDueQty.BackColor = System.Drawing.Color.WhiteSmoke; this.txtTotalDueQty.Font = new System.Drawing.Font("Segoe UI Semibold", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtTotalDueQty.ForeColor = System.Drawing.Color.Red; this.txtTotalDueQty.Location = new System.Drawing.Point(18, 400); this.txtTotalDueQty.Multiline = true; this.txtTotalDueQty.Name = "txtTotalDueQty"; this.txtTotalDueQty.Size = new System.Drawing.Size(211, 30); this.txtTotalDueQty.TabIndex = 191; this.txtTotalDueQty.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // btnInvoiceSave // this.btnInvoiceSave.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(189)))), ((int)(((byte)(242))))); this.btnInvoiceSave.FlatAppearance.BorderSize = 0; this.btnInvoiceSave.FlatAppearance.MouseOverBackColor = System.Drawing.Color.MediumAquamarine; this.btnInvoiceSave.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnInvoiceSave.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnInvoiceSave.ForeColor = System.Drawing.Color.White; this.btnInvoiceSave.Image = ((System.Drawing.Image)(resources.GetObject("btnInvoiceSave.Image"))); this.btnInvoiceSave.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnInvoiceSave.Location = new System.Drawing.Point(273, 492); this.btnInvoiceSave.Name = "btnInvoiceSave"; this.btnInvoiceSave.Size = new System.Drawing.Size(106, 36); this.btnInvoiceSave.TabIndex = 184; this.btnInvoiceSave.TabStop = false; this.btnInvoiceSave.Text = "Save"; this.btnInvoiceSave.UseVisualStyleBackColor = false; this.btnInvoiceSave.Click += new System.EventHandler(this.btnInvoiceSave_Click); // // dataGridViewShopingCart // this.dataGridViewShopingCart.AllowUserToAddRows = false; this.dataGridViewShopingCart.AllowUserToDeleteRows = false; this.dataGridViewShopingCart.BackgroundColor = System.Drawing.Color.White; this.dataGridViewShopingCart.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridViewShopingCart.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.Column19, this.Column20, this.Column15, this.Column17, this.Column16, this.Column25, this.Column28}); this.dataGridViewShopingCart.Location = new System.Drawing.Point(0, 115); this.dataGridViewShopingCart.Name = "dataGridViewShopingCart"; this.dataGridViewShopingCart.Size = new System.Drawing.Size(1164, 259); this.dataGridViewShopingCart.TabIndex = 183; this.dataGridViewShopingCart.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewShopingCart_CellContentClick); // // Column19 // this.Column19.HeaderText = "Return"; this.Column19.Name = "Column19"; this.Column19.Width = 50; // // Column20 // this.Column20.HeaderText = "ItemID"; this.Column20.Name = "Column20"; this.Column20.Visible = false; this.Column20.Width = 50; // // Column15 // this.Column15.HeaderText = "Item Description"; this.Column15.Name = "Column15"; this.Column15.Width = 500; // // Column17 // dataGridViewCellStyle41.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.Column17.DefaultCellStyle = dataGridViewCellStyle41; this.Column17.HeaderText = "Quantity"; this.Column17.Name = "Column17"; this.Column17.Width = 150; // // Column16 // this.Column16.HeaderText = "Sale Price"; this.Column16.Name = "Column16"; this.Column16.Width = 150; // // Column25 // dataGridViewCellStyle42.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.Column25.DefaultCellStyle = dataGridViewCellStyle42; this.Column25.HeaderText = "Sub Total Amount"; this.Column25.Name = "Column25"; this.Column25.Width = 200; // // Column28 // this.Column28.HeaderText = "Edit"; this.Column28.Name = "Column28"; this.Column28.Width = 50; // // txtComments // this.txtComments.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtComments.Location = new System.Drawing.Point(91, 432); this.txtComments.Multiline = true; this.txtComments.Name = "txtComments"; this.txtComments.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.txtComments.Size = new System.Drawing.Size(584, 51); this.txtComments.TabIndex = 190; this.txtComments.TabStop = false; this.txtComments.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // label15 // this.label15.AutoSize = true; this.label15.BackColor = System.Drawing.Color.Transparent; this.label15.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label15.ForeColor = System.Drawing.Color.Black; this.label15.Location = new System.Drawing.Point(15, 438); this.label15.Name = "label15"; this.label15.Size = new System.Drawing.Size(70, 17); this.label15.TabIndex = 189; this.label15.Text = "Comments"; // // btnInvoiceUpdate // this.btnInvoiceUpdate.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(189)))), ((int)(((byte)(242))))); this.btnInvoiceUpdate.FlatAppearance.BorderSize = 0; this.btnInvoiceUpdate.FlatAppearance.MouseOverBackColor = System.Drawing.Color.MediumAquamarine; this.btnInvoiceUpdate.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnInvoiceUpdate.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnInvoiceUpdate.ForeColor = System.Drawing.Color.White; this.btnInvoiceUpdate.Image = ((System.Drawing.Image)(resources.GetObject("btnInvoiceUpdate.Image"))); this.btnInvoiceUpdate.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnInvoiceUpdate.Location = new System.Drawing.Point(385, 492); this.btnInvoiceUpdate.Name = "btnInvoiceUpdate"; this.btnInvoiceUpdate.Size = new System.Drawing.Size(106, 36); this.btnInvoiceUpdate.TabIndex = 188; this.btnInvoiceUpdate.TabStop = false; this.btnInvoiceUpdate.Text = "Update"; this.btnInvoiceUpdate.UseVisualStyleBackColor = false; this.btnInvoiceUpdate.Click += new System.EventHandler(this.btnInvoiceUpdate_Click); // // btnInvoice // this.btnInvoice.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(189)))), ((int)(((byte)(242))))); this.btnInvoice.FlatAppearance.BorderSize = 0; this.btnInvoice.FlatAppearance.MouseOverBackColor = System.Drawing.Color.MediumAquamarine; this.btnInvoice.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnInvoice.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnInvoice.ForeColor = System.Drawing.Color.White; this.btnInvoice.Image = ((System.Drawing.Image)(resources.GetObject("btnInvoice.Image"))); this.btnInvoice.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnInvoice.Location = new System.Drawing.Point(497, 492); this.btnInvoice.Name = "btnInvoice"; this.btnInvoice.Size = new System.Drawing.Size(131, 36); this.btnInvoice.TabIndex = 186; this.btnInvoice.Text = "Print Invoice"; this.btnInvoice.UseVisualStyleBackColor = false; this.btnInvoice.Click += new System.EventHandler(this.btnInvoice_Click); // // btnNewRecord // this.btnNewRecord.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(189)))), ((int)(((byte)(242))))); this.btnNewRecord.FlatAppearance.BorderSize = 0; this.btnNewRecord.FlatAppearance.MouseOverBackColor = System.Drawing.Color.MediumAquamarine; this.btnNewRecord.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnNewRecord.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnNewRecord.ForeColor = System.Drawing.Color.White; this.btnNewRecord.Image = ((System.Drawing.Image)(resources.GetObject("btnNewRecord.Image"))); this.btnNewRecord.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnNewRecord.Location = new System.Drawing.Point(161, 492); this.btnNewRecord.Name = "btnNewRecord"; this.btnNewRecord.Size = new System.Drawing.Size(106, 36); this.btnNewRecord.TabIndex = 187; this.btnNewRecord.TabStop = false; this.btnNewRecord.Text = "New"; this.btnNewRecord.UseVisualStyleBackColor = false; this.btnNewRecord.Click += new System.EventHandler(this.btnNewRecord_Click); // // tabPage2 // this.tabPage2.BackColor = System.Drawing.Color.White; this.tabPage2.Controls.Add(this.GridSaleDetails); this.tabPage2.Controls.Add(this.label40); this.tabPage2.Controls.Add(this.label55); this.tabPage2.Controls.Add(this.EndDate); this.tabPage2.Controls.Add(this.StartDate); this.tabPage2.Controls.Add(this.btnSearch); this.tabPage2.Controls.Add(this.btnPrint); this.tabPage2.Controls.Add(this.label6); this.tabPage2.Controls.Add(this.label33); this.tabPage2.Controls.Add(this.ddItems); this.tabPage2.Controls.Add(this.ddSupplier); this.tabPage2.Controls.Add(this.txtCusTotalAmount); this.tabPage2.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.tabPage2.Location = new System.Drawing.Point(4, 34); this.tabPage2.Name = "tabPage2"; this.tabPage2.Size = new System.Drawing.Size(1170, 539); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "View Purchases"; // // GridSaleDetails // this.GridSaleDetails.AllowUserToAddRows = false; this.GridSaleDetails.AllowUserToDeleteRows = false; this.GridSaleDetails.BackgroundColor = System.Drawing.Color.White; dataGridViewCellStyle43.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle43.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle43.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle43.ForeColor = System.Drawing.SystemColors.Window; dataGridViewCellStyle43.SelectionBackColor = System.Drawing.Color.OrangeRed; dataGridViewCellStyle43.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle43.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.GridSaleDetails.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle43; this.GridSaleDetails.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.GridSaleDetails.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dataGridViewTextBoxColumn1, this.dataGridViewTextBoxColumn2, this.dataGridViewTextBoxColumn5, this.dataGridViewTextBoxColumn6, this.dataGridViewTextBoxColumn7, this.dataGridViewTextBoxColumn8, this.dataGridViewTextBoxColumn23, this.Column1, this.Column2}); this.GridSaleDetails.Location = new System.Drawing.Point(9, 68); this.GridSaleDetails.Name = "GridSaleDetails"; this.GridSaleDetails.Size = new System.Drawing.Size(1153, 433); this.GridSaleDetails.TabIndex = 160; this.GridSaleDetails.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.GridSaleDetails_CellContentClick); // // dataGridViewTextBoxColumn1 // this.dataGridViewTextBoxColumn1.HeaderText = "Invoice ID"; this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; this.dataGridViewTextBoxColumn1.Width = 70; // // dataGridViewTextBoxColumn2 // this.dataGridViewTextBoxColumn2.HeaderText = "Date"; this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; this.dataGridViewTextBoxColumn2.Width = 130; // // dataGridViewTextBoxColumn5 // this.dataGridViewTextBoxColumn5.HeaderText = "Supplier Name"; this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5"; this.dataGridViewTextBoxColumn5.Width = 200; // // dataGridViewTextBoxColumn6 // dataGridViewCellStyle44.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; this.dataGridViewTextBoxColumn6.DefaultCellStyle = dataGridViewCellStyle44; this.dataGridViewTextBoxColumn6.HeaderText = "Item Name"; this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6"; this.dataGridViewTextBoxColumn6.Width = 250; // // dataGridViewTextBoxColumn7 // dataGridViewCellStyle45.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn7.DefaultCellStyle = dataGridViewCellStyle45; this.dataGridViewTextBoxColumn7.HeaderText = "Quantity"; this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7"; this.dataGridViewTextBoxColumn7.Width = 90; // // dataGridViewTextBoxColumn8 // this.dataGridViewTextBoxColumn8.HeaderText = "Rate"; this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8"; this.dataGridViewTextBoxColumn8.Width = 90; // // dataGridViewTextBoxColumn23 // dataGridViewCellStyle46.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle46.ForeColor = System.Drawing.Color.Black; this.dataGridViewTextBoxColumn23.DefaultCellStyle = dataGridViewCellStyle46; this.dataGridViewTextBoxColumn23.HeaderText = "SubTotal Amount"; this.dataGridViewTextBoxColumn23.Name = "dataGridViewTextBoxColumn23"; this.dataGridViewTextBoxColumn23.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.dataGridViewTextBoxColumn23.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.dataGridViewTextBoxColumn23.Width = 150; // // Column1 // this.Column1.HeaderText = "Edit"; this.Column1.Name = "Column1"; this.Column1.Width = 60; // // Column2 // this.Column2.HeaderText = "Delete"; this.Column2.Name = "Column2"; this.Column2.Width = 60; // // label40 // this.label40.AutoSize = true; this.label40.Font = new System.Drawing.Font("Segoe UI Light", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label40.ForeColor = System.Drawing.Color.Black; this.label40.Location = new System.Drawing.Point(171, 8); this.label40.Name = "label40"; this.label40.Size = new System.Drawing.Size(72, 21); this.label40.TabIndex = 147; this.label40.Text = "End Date"; // // label55 // this.label55.AutoSize = true; this.label55.Font = new System.Drawing.Font("Segoe UI Light", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label55.ForeColor = System.Drawing.Color.Black; this.label55.Location = new System.Drawing.Point(12, 8); this.label55.Name = "label55"; this.label55.Size = new System.Drawing.Size(78, 21); this.label55.TabIndex = 146; this.label55.Text = "Start Date"; // // EndDate // this.EndDate.CalendarFont = new System.Drawing.Font("Segoe UI Semibold", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.EndDate.CustomFormat = "dd/MM/yyyy"; this.EndDate.Font = new System.Drawing.Font("Segoe UI Semibold", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.EndDate.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.EndDate.Location = new System.Drawing.Point(146, 34); this.EndDate.Name = "EndDate"; this.EndDate.Size = new System.Drawing.Size(128, 29); this.EndDate.TabIndex = 145; // // StartDate // this.StartDate.CalendarFont = new System.Drawing.Font("Segoe UI Semibold", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.StartDate.CustomFormat = "dd/MM/yyyy"; this.StartDate.Font = new System.Drawing.Font("Segoe UI Semibold", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.StartDate.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.StartDate.Location = new System.Drawing.Point(16, 34); this.StartDate.Name = "StartDate"; this.StartDate.Size = new System.Drawing.Size(124, 29); this.StartDate.TabIndex = 144; // // btnSearch // this.btnSearch.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(188)))), ((int)(((byte)(155))))); this.btnSearch.FlatAppearance.BorderColor = System.Drawing.Color.DarkGray; this.btnSearch.FlatAppearance.MouseOverBackColor = System.Drawing.Color.SeaGreen; this.btnSearch.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnSearch.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnSearch.ForeColor = System.Drawing.Color.White; this.btnSearch.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnSearch.Location = new System.Drawing.Point(651, 36); this.btnSearch.Name = "btnSearch"; this.btnSearch.Size = new System.Drawing.Size(70, 29); this.btnSearch.TabIndex = 143; this.btnSearch.Text = "Search"; this.btnSearch.UseVisualStyleBackColor = false; this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); // // btnPrint // this.btnPrint.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(188)))), ((int)(((byte)(155))))); this.btnPrint.FlatAppearance.BorderColor = System.Drawing.Color.DarkGray; this.btnPrint.FlatAppearance.MouseOverBackColor = System.Drawing.Color.SeaGreen; this.btnPrint.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnPrint.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnPrint.ForeColor = System.Drawing.Color.White; this.btnPrint.Image = global::PHMS.Properties.Resources.print; this.btnPrint.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnPrint.Location = new System.Drawing.Point(727, 37); this.btnPrint.Name = "btnPrint"; this.btnPrint.Size = new System.Drawing.Size(78, 28); this.btnPrint.TabIndex = 141; this.btnPrint.Text = "Print"; this.btnPrint.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.btnPrint.UseVisualStyleBackColor = false; this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click_1); // // label6 // this.label6.AutoSize = true; this.label6.Font = new System.Drawing.Font("Segoe UI Light", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label6.ForeColor = System.Drawing.Color.Black; this.label6.Location = new System.Drawing.Point(459, 7); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(89, 21); this.label6.TabIndex = 140; this.label6.Text = "Select Items"; // // label33 // this.label33.AutoSize = true; this.label33.Font = new System.Drawing.Font("Segoe UI Light", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label33.ForeColor = System.Drawing.Color.Black; this.label33.Location = new System.Drawing.Point(276, 7); this.label33.Name = "label33"; this.label33.Size = new System.Drawing.Size(107, 21); this.label33.TabIndex = 140; this.label33.Text = "Select Supplier"; // // ddItems // this.ddItems.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest; this.ddItems.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; this.ddItems.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(255))))); this.ddItems.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.ddItems.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ddItems.FormattingEnabled = true; this.ddItems.Location = new System.Drawing.Point(463, 35); this.ddItems.Name = "ddItems"; this.ddItems.Size = new System.Drawing.Size(177, 29); this.ddItems.TabIndex = 139; // // ddSupplier // this.ddSupplier.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest; this.ddSupplier.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; this.ddSupplier.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(255))))); this.ddSupplier.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.ddSupplier.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ddSupplier.FormattingEnabled = true; this.ddSupplier.Location = new System.Drawing.Point(280, 34); this.ddSupplier.Name = "ddSupplier"; this.ddSupplier.Size = new System.Drawing.Size(177, 29); this.ddSupplier.TabIndex = 139; // // txtCusTotalAmount // this.txtCusTotalAmount.BackColor = System.Drawing.Color.White; this.txtCusTotalAmount.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtCusTotalAmount.Location = new System.Drawing.Point(959, 507); this.txtCusTotalAmount.Name = "txtCusTotalAmount"; this.txtCusTotalAmount.Size = new System.Drawing.Size(207, 29); this.txtCusTotalAmount.TabIndex = 107; this.txtCusTotalAmount.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // lbCusId // this.lbCusId.AutoSize = true; this.lbCusId.BackColor = System.Drawing.Color.Transparent; this.lbCusId.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lbCusId.ForeColor = System.Drawing.Color.Transparent; this.lbCusId.Location = new System.Drawing.Point(7, 751); this.lbCusId.Name = "lbCusId"; this.lbCusId.Size = new System.Drawing.Size(44, 15); this.lbCusId.TabIndex = 132; this.lbCusId.Text = "label15"; // // InvPrintDialog // this.InvPrintDialog.UseEXDialog = true; // // InvPrintPreviewDialog // this.InvPrintPreviewDialog.AutoScrollMargin = new System.Drawing.Size(0, 0); this.InvPrintPreviewDialog.AutoScrollMinSize = new System.Drawing.Size(0, 0); this.InvPrintPreviewDialog.ClientSize = new System.Drawing.Size(400, 300); this.InvPrintPreviewDialog.Enabled = true; this.InvPrintPreviewDialog.Icon = ((System.Drawing.Icon)(resources.GetObject("InvPrintPreviewDialog.Icon"))); this.InvPrintPreviewDialog.Name = "InvPrintPreviewDialog"; this.InvPrintPreviewDialog.Visible = false; // // pnlMain // this.pnlMain.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.pnlMain.Controls.Add(this.panel2); this.pnlMain.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlMain.Location = new System.Drawing.Point(0, 0); this.pnlMain.Name = "pnlMain"; this.pnlMain.Size = new System.Drawing.Size(1182, 628); this.pnlMain.TabIndex = 175; // // panel2 // this.panel2.BackColor = System.Drawing.Color.LightSkyBlue; this.panel2.Controls.Add(this.btnClose); this.panel2.Controls.Add(this.label18); this.panel2.Location = new System.Drawing.Point(11, 7); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(1162, 41); this.panel2.TabIndex = 177; // // btnClose // this.btnClose.BackColor = System.Drawing.Color.Transparent; this.btnClose.BackgroundImage = global::PHMS.Properties.Resources.close_2; this.btnClose.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; this.btnClose.FlatAppearance.BorderSize = 0; this.btnClose.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Red; this.btnClose.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnClose.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnClose.ForeColor = System.Drawing.Color.Black; this.btnClose.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; this.btnClose.Location = new System.Drawing.Point(1123, 0); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(39, 41); this.btnClose.TabIndex = 174; this.btnClose.UseVisualStyleBackColor = false; this.btnClose.Click += new System.EventHandler(this.btnClose_Click_1); // // label18 // this.label18.Font = new System.Drawing.Font("Segoe UI", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label18.ForeColor = System.Drawing.Color.White; this.label18.Location = new System.Drawing.Point(371, 0); this.label18.Name = "label18"; this.label18.Size = new System.Drawing.Size(310, 39); this.label18.TabIndex = 3; this.label18.Text = "Purchase Form"; this.label18.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label47 // this.label47.AutoSize = true; this.label47.Font = new System.Drawing.Font("Segoe UI Light", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label47.ForeColor = System.Drawing.Color.Black; this.label47.Location = new System.Drawing.Point(23, 20); this.label47.Name = "label47"; this.label47.Size = new System.Drawing.Size(0, 21); this.label47.TabIndex = 93; // // button7 // this.button7.Location = new System.Drawing.Point(0, 0); this.button7.Name = "button7"; this.button7.Size = new System.Drawing.Size(75, 23); this.button7.TabIndex = 0; // // button5 // this.button5.Location = new System.Drawing.Point(0, 0); this.button5.Name = "button5"; this.button5.Size = new System.Drawing.Size(75, 23); this.button5.TabIndex = 0; // // comboGetItem // this.comboGetItem.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest; this.comboGetItem.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; this.comboGetItem.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(255))))); this.comboGetItem.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.comboGetItem.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.comboGetItem.FormattingEnabled = true; this.comboGetItem.Items.AddRange(new object[] { "Cotton Cake", "Cotton Oil", "Cotton Dirty", "Cotton Seed"}); this.comboGetItem.Location = new System.Drawing.Point(19, 49); this.comboGetItem.Name = "comboGetItem"; this.comboGetItem.Size = new System.Drawing.Size(254, 29); this.comboGetItem.TabIndex = 141; // // dataGridViewTextBoxColumn16 // dataGridViewCellStyle47.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle47.ForeColor = System.Drawing.Color.Black; this.dataGridViewTextBoxColumn16.DefaultCellStyle = dataGridViewCellStyle47; this.dataGridViewTextBoxColumn16.HeaderText = "SubTotal Amount"; this.dataGridViewTextBoxColumn16.Name = "dataGridViewTextBoxColumn16"; this.dataGridViewTextBoxColumn16.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.dataGridViewTextBoxColumn16.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.dataGridViewTextBoxColumn16.Width = 130; // // dataGridViewTextBoxColumn15 // dataGridViewCellStyle48.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn15.DefaultCellStyle = dataGridViewCellStyle48; this.dataGridViewTextBoxColumn15.HeaderText = "Weight"; this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15"; this.dataGridViewTextBoxColumn15.Width = 110; // // dataGridViewTextBoxColumn14 // this.dataGridViewTextBoxColumn14.HeaderText = "Rate"; this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14"; this.dataGridViewTextBoxColumn14.Width = 110; // // dataGridViewTextBoxColumn13 // dataGridViewCellStyle49.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn13.DefaultCellStyle = dataGridViewCellStyle49; this.dataGridViewTextBoxColumn13.HeaderText = "Quantity"; this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13"; this.dataGridViewTextBoxColumn13.Width = 110; // // dataGridViewTextBoxColumn12 // dataGridViewCellStyle50.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; this.dataGridViewTextBoxColumn12.DefaultCellStyle = dataGridViewCellStyle50; this.dataGridViewTextBoxColumn12.HeaderText = "Item Name"; this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12"; this.dataGridViewTextBoxColumn12.Width = 370; // // Column13 // this.Column13.HeaderText = "Item Code"; this.Column13.Name = "Column13"; // // dataGridViewTextBoxColumn11 // this.dataGridViewTextBoxColumn11.HeaderText = "Customer Name"; this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11"; this.dataGridViewTextBoxColumn11.Width = 180; // // dataGridViewTextBoxColumn10 // this.dataGridViewTextBoxColumn10.HeaderText = "Date"; this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10"; this.dataGridViewTextBoxColumn10.Width = 120; // // dataGridViewTextBoxColumn9 // this.dataGridViewTextBoxColumn9.HeaderText = "Invoice ID"; this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9"; this.dataGridViewTextBoxColumn9.Width = 70; // // frmPurchases // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.White; this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.ClientSize = new System.Drawing.Size(1182, 628); this.Controls.Add(this.lbCusId); this.Controls.Add(this.tabControl1); this.Controls.Add(this.pnlMain); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Name = "frmPurchases"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "frmCottonCake"; this.Load += new System.EventHandler(this.frmCottonCake_Load); this.tabControl1.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.tabPage1.PerformLayout(); this.panel3.ResumeLayout(false); this.panel3.PerformLayout(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridViewShopingCart)).EndInit(); this.tabPage2.ResumeLayout(false); this.tabPage2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.GridSaleDetails)).EndInit(); this.pnlMain.ResumeLayout(false); this.panel2.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); this.menuStrip = new System.Windows.Forms.MenuStrip(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.pageSetupToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.printPreviewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.printToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.contentsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.printDocument = new System.Drawing.Printing.PrintDocument(); this.toolStripContainer = new System.Windows.Forms.ToolStripContainer(); this.yearChartPanel = new YearChart.YearChartPanel(); this.helpProvider = new System.Windows.Forms.HelpProvider(); this.pageSetupDialog = new System.Windows.Forms.PageSetupDialog(); this.printPreviewDialog = new System.Windows.Forms.PrintPreviewDialog(); this.printDialog = new System.Windows.Forms.PrintDialog(); this.exportToHTMLToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.menuStrip.SuspendLayout(); this.toolStripContainer.ContentPanel.SuspendLayout(); this.toolStripContainer.TopToolStripPanel.SuspendLayout(); this.toolStripContainer.SuspendLayout(); this.SuspendLayout(); // // menuStrip // this.menuStrip.Dock = System.Windows.Forms.DockStyle.None; this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.toolsToolStripMenuItem, this.helpToolStripMenuItem }); this.menuStrip.Location = new System.Drawing.Point(0, 0); this.menuStrip.Name = "menuStrip"; this.menuStrip.Size = new System.Drawing.Size(624, 24); this.menuStrip.TabIndex = 0; this.menuStrip.Text = "menuStrip1"; // // fileToolStripMenuItem // this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.pageSetupToolStripMenuItem, this.printPreviewToolStripMenuItem, this.printToolStripMenuItem, this.toolStripSeparator1, this.exportToHTMLToolStripMenuItem, this.toolStripSeparator2, this.exitToolStripMenuItem }); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); this.fileToolStripMenuItem.Text = "&File"; // // pageSetupToolStripMenuItem // this.pageSetupToolStripMenuItem.Name = "pageSetupToolStripMenuItem"; this.pageSetupToolStripMenuItem.Size = new System.Drawing.Size(157, 22); this.pageSetupToolStripMenuItem.Text = "Page Set&up..."; this.pageSetupToolStripMenuItem.ToolTipText = "Change the layout of the printed page - margins and orientation."; this.pageSetupToolStripMenuItem.Click += new System.EventHandler(this.PageSetupToolStripMenuItemClick); // // printPreviewToolStripMenuItem // this.printPreviewToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("printPreviewToolStripMenuItem.Image"))); this.printPreviewToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta; this.printPreviewToolStripMenuItem.Name = "printPreviewToolStripMenuItem"; this.printPreviewToolStripMenuItem.Size = new System.Drawing.Size(157, 22); this.printPreviewToolStripMenuItem.Text = "Print Pre&view"; this.printPreviewToolStripMenuItem.ToolTipText = "Shows how the chart will look when printed."; this.printPreviewToolStripMenuItem.Click += new System.EventHandler(this.PrintPreviewToolStripMenuItemClick); // // printToolStripMenuItem // this.printToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("printToolStripMenuItem.Image"))); this.printToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta; this.printToolStripMenuItem.Name = "printToolStripMenuItem"; this.printToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.P))); this.printToolStripMenuItem.Size = new System.Drawing.Size(157, 22); this.printToolStripMenuItem.Text = "&Print..."; this.printToolStripMenuItem.ToolTipText = "Print the YearChart to your selected printer."; this.printToolStripMenuItem.Click += new System.EventHandler(this.PrintToolStripMenuItemClick); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(154, 6); // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.Size = new System.Drawing.Size(157, 22); this.exitToolStripMenuItem.Text = "E&xit"; this.exitToolStripMenuItem.ToolTipText = "Closes the appliction."; this.exitToolStripMenuItem.Click += new System.EventHandler(this.ExitToolStripMenuItemClick); // // toolsToolStripMenuItem // this.toolsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.optionsToolStripMenuItem }); this.toolsToolStripMenuItem.Name = "toolsToolStripMenuItem"; this.toolsToolStripMenuItem.Size = new System.Drawing.Size(48, 20); this.toolsToolStripMenuItem.Text = "&Tools"; // // optionsToolStripMenuItem // this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem"; this.optionsToolStripMenuItem.Size = new System.Drawing.Size(125, 22); this.optionsToolStripMenuItem.Text = "&Options..."; this.optionsToolStripMenuItem.ToolTipText = "Change the settings for the chart including year and title."; this.optionsToolStripMenuItem.Click += new System.EventHandler(this.OptionsToolStripMenuItemClick); // // helpToolStripMenuItem // this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.contentsToolStripMenuItem, this.toolStripSeparator5, this.aboutToolStripMenuItem }); this.helpToolStripMenuItem.Name = "helpToolStripMenuItem"; this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20); this.helpToolStripMenuItem.Text = "&Help"; // // contentsToolStripMenuItem // this.contentsToolStripMenuItem.Name = "contentsToolStripMenuItem"; this.contentsToolStripMenuItem.Size = new System.Drawing.Size(122, 22); this.contentsToolStripMenuItem.Text = "&Contents"; this.contentsToolStripMenuItem.ToolTipText = "Open the Help window on the Contents page."; this.contentsToolStripMenuItem.Click += new System.EventHandler(this.ContentsToolStripMenuItemClick); // // toolStripSeparator5 // this.toolStripSeparator5.Name = "toolStripSeparator5"; this.toolStripSeparator5.Size = new System.Drawing.Size(119, 6); // // aboutToolStripMenuItem // this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem"; this.aboutToolStripMenuItem.Size = new System.Drawing.Size(122, 22); this.aboutToolStripMenuItem.Text = "&About..."; this.aboutToolStripMenuItem.Click += new System.EventHandler(this.AboutToolStripMenuItemClick); // // printDocument // this.printDocument.DocumentName = "YearChart document"; this.printDocument.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument_PrintPage); // // toolStripContainer // // // toolStripContainer.ContentPanel // this.toolStripContainer.ContentPanel.Controls.Add(this.yearChartPanel); this.toolStripContainer.ContentPanel.Size = new System.Drawing.Size(624, 386); this.toolStripContainer.Dock = System.Windows.Forms.DockStyle.Fill; this.toolStripContainer.Location = new System.Drawing.Point(0, 0); this.toolStripContainer.Name = "toolStripContainer"; this.toolStripContainer.Size = new System.Drawing.Size(624, 410); this.toolStripContainer.TabIndex = 1; this.toolStripContainer.Text = "toolStripContainer1"; // // toolStripContainer.TopToolStripPanel // this.toolStripContainer.TopToolStripPanel.Controls.Add(this.menuStrip); // // yearChartPanel // this.yearChartPanel.Abbreviate = false; //this.yearChartPanel.BackColor = System.Drawing.Color.White; //this.yearChartPanel.BlankColor = System.Drawing.Color.LightGray; this.yearChartPanel.Dock = System.Windows.Forms.DockStyle.Fill; //this.yearChartPanel.EndDate = new System.DateTime( 2011, 12, 31, 0, 0, 0, 0 ); this.yearChartPanel.ExtraColumns = new YearChart.Model.YearChartCell[0]; this.yearChartPanel.ExtraRows = new YearChart.Model.YearChartCell[0]; //this.yearChartPanel.HeadingColor = System.Drawing.Color.Yellow; this.yearChartPanel.Location = new System.Drawing.Point(0, 0); this.yearChartPanel.Name = "yearChartPanel"; this.helpProvider.SetShowHelp(this.yearChartPanel, true); this.yearChartPanel.Size = new System.Drawing.Size(624, 386); //this.yearChartPanel.StartDate = new System.DateTime( 2011, 1, 1, 0, 0, 0, 0 ); this.yearChartPanel.TabIndex = 0; this.yearChartPanel.Title = "YearChart"; //this.yearChartPanel.WeekendColor = System.Drawing.Color.Orange; //this.yearChartPanel.WeekStartDay = System.DayOfWeek.Monday; //this.yearChartPanel.Year = 2011; this.yearChartPanel.DoubleClick += new System.EventHandler(this.YearChartPanelDoubleClick); // // helpProvider // this.helpProvider.HelpNamespace = "YearChart.chm"; // // pageSetupDialog // this.pageSetupDialog.Document = this.printDocument; this.pageSetupDialog.EnableMetric = true; // // printPreviewDialog // this.printPreviewDialog.AutoScrollMargin = new System.Drawing.Size(0, 0); this.printPreviewDialog.AutoScrollMinSize = new System.Drawing.Size(0, 0); this.printPreviewDialog.ClientSize = new System.Drawing.Size(400, 300); this.printPreviewDialog.Document = this.printDocument; this.printPreviewDialog.Enabled = true; this.printPreviewDialog.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog.Icon"))); this.printPreviewDialog.Name = "printPreviewDialog"; this.printPreviewDialog.ShowIcon = false; this.printPreviewDialog.Visible = false; // // printDialog // this.printDialog.Document = this.printDocument; this.printDialog.UseEXDialog = true; // // exportToHTMLToolStripMenuItem // this.exportToHTMLToolStripMenuItem.Name = "exportToHTMLToolStripMenuItem"; this.exportToHTMLToolStripMenuItem.Size = new System.Drawing.Size(157, 22); this.exportToHTMLToolStripMenuItem.Text = "Export to HTML"; this.exportToHTMLToolStripMenuItem.Click += new System.EventHandler(this.exportToHTMLToolStripMenuItem_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(154, 6); // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(624, 410); this.Controls.Add(this.toolStripContainer); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MainMenuStrip = this.menuStrip; this.Name = "MainForm"; this.Text = "Kajabity YearChart"; this.menuStrip.ResumeLayout(false); this.menuStrip.PerformLayout(); this.toolStripContainer.ContentPanel.ResumeLayout(false); this.toolStripContainer.TopToolStripPanel.ResumeLayout(false); this.toolStripContainer.TopToolStripPanel.PerformLayout(); this.toolStripContainer.ResumeLayout(false); this.toolStripContainer.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ColourBMD)); this.dgBMDReportSheet = new System.Windows.Forms.DataGridView(); this.statusStrip = new System.Windows.Forms.StatusStrip(); this.tsRecords = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.mnuSaveCensusColumnLayout = new System.Windows.Forms.ToolStripButton(); this.mnuResetCensusColumns = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.printToolStripButton = new System.Windows.Forms.ToolStripButton(); this.printPreviewToolStripButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.mnuExportToExcel = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); this.cbBMDSearchProvider = new System.Windows.Forms.ToolStripComboBox(); this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel(); this.cbRegion = new System.Windows.Forms.ToolStripComboBox(); this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); this.cbFilter = new System.Windows.Forms.ToolStripComboBox(); this.printDocument = new System.Drawing.Printing.PrintDocument(); this.printDialog = new System.Windows.Forms.PrintDialog(); this.printPreviewDialog = new System.Windows.Forms.PrintPreviewDialog(); this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); this.mnuViewFacts = new System.Windows.Forms.ToolStripMenuItem(); this.IndividualID = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Forenames = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Surname = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Relation = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.RelationToRoot = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Birth = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.BaptChri = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Marriage1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Marriage2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Marriage3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Death = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.CremBuri = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.BirthDate = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.DeathDate = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.FirstMarriage = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.SecondMarriage = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.ThirdMarriage = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.BirthLocation = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.DeathLocation = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Ahnentafel = new System.Windows.Forms.DataGridViewTextBoxColumn(); ((System.ComponentModel.ISupportInitialize)(this.dgBMDReportSheet)).BeginInit(); this.statusStrip.SuspendLayout(); this.toolStrip1.SuspendLayout(); this.contextMenuStrip.SuspendLayout(); this.SuspendLayout(); // // dgBMDReportSheet // this.dgBMDReportSheet.AllowUserToAddRows = false; this.dgBMDReportSheet.AllowUserToDeleteRows = false; this.dgBMDReportSheet.AllowUserToOrderColumns = true; this.dgBMDReportSheet.AllowUserToResizeRows = false; this.dgBMDReportSheet.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.dgBMDReportSheet.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgBMDReportSheet.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.IndividualID, this.Forenames, this.Surname, this.Relation, this.RelationToRoot, this.Birth, this.BaptChri, this.Marriage1, this.Marriage2, this.Marriage3, this.Death, this.CremBuri, this.BirthDate, this.DeathDate, this.FirstMarriage, this.SecondMarriage, this.ThirdMarriage, this.BirthLocation, this.DeathLocation, this.Ahnentafel}); this.dgBMDReportSheet.Location = new System.Drawing.Point(0, 28); this.dgBMDReportSheet.MultiSelect = false; this.dgBMDReportSheet.Name = "dgBMDReportSheet"; this.dgBMDReportSheet.ReadOnly = true; this.dgBMDReportSheet.RowHeadersWidth = 20; this.dgBMDReportSheet.Size = new System.Drawing.Size(1038, 530); this.dgBMDReportSheet.TabIndex = 1; this.dgBMDReportSheet.CellContextMenuStripNeeded += new System.Windows.Forms.DataGridViewCellContextMenuStripNeededEventHandler(this.DgBMDReportSheet_CellContextMenuStripNeeded); this.dgBMDReportSheet.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.DgReportSheet_CellDoubleClick); this.dgBMDReportSheet.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.DgReportSheet_CellFormatting); // // statusStrip // this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsRecords}); this.statusStrip.Location = new System.Drawing.Point(0, 561); this.statusStrip.Name = "statusStrip"; this.statusStrip.Size = new System.Drawing.Size(1038, 22); this.statusStrip.TabIndex = 2; this.statusStrip.Text = "statusStrip1"; // // tsRecords // this.tsRecords.Name = "tsRecords"; this.tsRecords.Size = new System.Drawing.Size(118, 17); this.tsRecords.Text = "toolStripStatusLabel1"; // // toolStrip1 // this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mnuSaveCensusColumnLayout, this.mnuResetCensusColumns, this.toolStripSeparator3, this.printToolStripButton, this.printPreviewToolStripButton, this.toolStripSeparator1, this.mnuExportToExcel, this.toolStripSeparator2, this.toolStripLabel1, this.cbBMDSearchProvider, this.toolStripLabel3, this.cbRegion, this.toolStripLabel2, this.cbFilter}); this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(1038, 25); this.toolStrip1.TabIndex = 3; this.toolStrip1.Text = "toolStrip1"; // // mnuSaveCensusColumnLayout // this.mnuSaveCensusColumnLayout.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.mnuSaveCensusColumnLayout.Image = ((System.Drawing.Image)(resources.GetObject("mnuSaveCensusColumnLayout.Image"))); this.mnuSaveCensusColumnLayout.ImageTransparentColor = System.Drawing.Color.Magenta; this.mnuSaveCensusColumnLayout.Name = "mnuSaveCensusColumnLayout"; this.mnuSaveCensusColumnLayout.Size = new System.Drawing.Size(23, 22); this.mnuSaveCensusColumnLayout.Text = "Save Census Column Sort Order"; this.mnuSaveCensusColumnLayout.Click += new System.EventHandler(this.MnuSaveCensusColumnLayout_Click); // // mnuResetCensusColumns // this.mnuResetCensusColumns.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.mnuResetCensusColumns.Image = ((System.Drawing.Image)(resources.GetObject("mnuResetCensusColumns.Image"))); this.mnuResetCensusColumns.ImageTransparentColor = System.Drawing.Color.Magenta; this.mnuResetCensusColumns.Name = "mnuResetCensusColumns"; this.mnuResetCensusColumns.Size = new System.Drawing.Size(23, 22); this.mnuResetCensusColumns.Text = "Reset Census Column Sort Order to Default"; this.mnuResetCensusColumns.Click += new System.EventHandler(this.MnuResetCensusColumns_Click); // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25); // // printToolStripButton // this.printToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.printToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("printToolStripButton.Image"))); this.printToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.printToolStripButton.Name = "printToolStripButton"; this.printToolStripButton.Size = new System.Drawing.Size(23, 22); this.printToolStripButton.Text = "&Print"; this.printToolStripButton.Click += new System.EventHandler(this.PrintToolStripButton_Click); // // printPreviewToolStripButton // this.printPreviewToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.printPreviewToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("printPreviewToolStripButton.Image"))); this.printPreviewToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.printPreviewToolStripButton.Name = "printPreviewToolStripButton"; this.printPreviewToolStripButton.Size = new System.Drawing.Size(23, 22); this.printPreviewToolStripButton.Text = "Print Preview..."; this.printPreviewToolStripButton.Click += new System.EventHandler(this.PrintPreviewToolStripButton_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); // // mnuExportToExcel // this.mnuExportToExcel.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.mnuExportToExcel.Image = ((System.Drawing.Image)(resources.GetObject("mnuExportToExcel.Image"))); this.mnuExportToExcel.ImageTransparentColor = System.Drawing.Color.Magenta; this.mnuExportToExcel.Name = "mnuExportToExcel"; this.mnuExportToExcel.Size = new System.Drawing.Size(23, 22); this.mnuExportToExcel.Text = "Export to Excel"; this.mnuExportToExcel.Click += new System.EventHandler(this.MnuExportToExcel_Click); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25); // // toolStripLabel1 // this.toolStripLabel1.Name = "toolStripLabel1"; this.toolStripLabel1.Size = new System.Drawing.Size(106, 22); this.toolStripLabel1.Text = "BMD Search using:"; // // cbBMDSearchProvider // this.cbBMDSearchProvider.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbBMDSearchProvider.Items.AddRange(new object[] { "Ancestry", "Find My Past", "FreeBMD", "FamilySearch", "Scotlands People"}); this.cbBMDSearchProvider.Name = "cbBMDSearchProvider"; this.cbBMDSearchProvider.Size = new System.Drawing.Size(121, 25); this.cbBMDSearchProvider.SelectedIndexChanged += new System.EventHandler(this.CbCensusSearchProvider_SelectedIndexChanged); // // toolStripLabel3 // this.toolStripLabel3.Name = "toolStripLabel3"; this.toolStripLabel3.Size = new System.Drawing.Size(47, 22); this.toolStripLabel3.Text = "Region:"; // // cbRegion // this.cbRegion.AutoCompleteCustomSource.AddRange(new string[] { ".com", ".co.uk", ".ca", ".com.au"}); this.cbRegion.Items.AddRange(new object[] { ".com", ".co.uk", ".ca", ".com.au"}); this.cbRegion.Name = "cbRegion"; this.cbRegion.Size = new System.Drawing.Size(121, 25); this.cbRegion.Text = ".co.uk"; // // toolStripLabel2 // this.toolStripLabel2.Name = "toolStripLabel2"; this.toolStripLabel2.Size = new System.Drawing.Size(39, 22); this.toolStripLabel2.Text = "Filter :"; // // cbFilter // this.cbFilter.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbFilter.DropDownWidth = 220; this.cbFilter.Items.AddRange(new object[] { "All Individuals", "None Found (All Red)", "All Found (All Green)", "All Open Ended Date Range (Orange Red)", "All Very Wide Date Range (Light Red)", "All Wide Date Range (Orange)", "All Narrow Date Range (Yellow)", "All Just Year Date (Yellow Green)", "All Approx Date Range (Light Green)", "Some Missing (Some Red)", "Some Found (Some Green)", "Some Open Ended Date Range (Orange Red)", "Some Very Wide Date Range (Light Red)", "Some Wide Date Range (Orange)", "Some Narrow Date Range (Yellow)", "Some Just Year Date (Yellow Green)", "Some Approx Date Range (Light Green)", "Of Marrying Age no partner (Pink)", "No Partner shared fact/children (Coral)", "Partner but no marriage (Red Brown)"}); this.cbFilter.Name = "cbFilter"; this.cbFilter.Size = new System.Drawing.Size(235, 25); this.cbFilter.SelectedIndexChanged += new System.EventHandler(this.CbFilter_SelectedIndexChanged); // // printDialog // this.printDialog.AllowSelection = true; this.printDialog.AllowSomePages = true; this.printDialog.Document = this.printDocument; this.printDialog.UseEXDialog = true; // // printPreviewDialog // this.printPreviewDialog.AutoScrollMargin = new System.Drawing.Size(0, 0); this.printPreviewDialog.AutoScrollMinSize = new System.Drawing.Size(0, 0); this.printPreviewDialog.ClientSize = new System.Drawing.Size(400, 300); this.printPreviewDialog.Document = this.printDocument; this.printPreviewDialog.Enabled = true; this.printPreviewDialog.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog.Icon"))); this.printPreviewDialog.Name = "printPreviewDialog"; this.printPreviewDialog.Visible = false; // // contextMenuStrip // this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mnuViewFacts}); this.contextMenuStrip.Name = "contextMenuStrip"; this.contextMenuStrip.Size = new System.Drawing.Size(190, 26); // // mnuViewFacts // this.mnuViewFacts.Name = "mnuViewFacts"; this.mnuViewFacts.Size = new System.Drawing.Size(189, 22); this.mnuViewFacts.Text = "View Individuals Facts"; this.mnuViewFacts.Click += new System.EventHandler(this.MnuViewFacts_Click); // // IndividualID // this.IndividualID.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; this.IndividualID.DataPropertyName = "IndividualID"; this.IndividualID.HeaderText = "Ind. ID"; this.IndividualID.MinimumWidth = 50; this.IndividualID.Name = "IndividualID"; this.IndividualID.ReadOnly = true; this.IndividualID.Width = 50; // // Forenames // this.Forenames.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; this.Forenames.DataPropertyName = "Forenames"; this.Forenames.HeaderText = "Forenames"; this.Forenames.MinimumWidth = 100; this.Forenames.Name = "Forenames"; this.Forenames.ReadOnly = true; // // Surname // this.Surname.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; this.Surname.DataPropertyName = "Surname"; this.Surname.HeaderText = "Surname"; this.Surname.MinimumWidth = 75; this.Surname.Name = "Surname"; this.Surname.ReadOnly = true; this.Surname.Width = 75; // // Relation // this.Relation.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; this.Relation.DataPropertyName = "Relation"; this.Relation.HeaderText = "Relation"; this.Relation.MinimumWidth = 105; this.Relation.Name = "Relation"; this.Relation.ReadOnly = true; this.Relation.Width = 105; // // RelationToRoot // this.RelationToRoot.DataPropertyName = "RelationToRoot"; this.RelationToRoot.HeaderText = "Relation To Root"; this.RelationToRoot.MinimumWidth = 100; this.RelationToRoot.Name = "RelationToRoot"; this.RelationToRoot.ReadOnly = true; this.RelationToRoot.Width = 150; // // Birth // this.Birth.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; this.Birth.DataPropertyName = "Birth"; this.Birth.HeaderText = "Birth"; this.Birth.MinimumWidth = 60; this.Birth.Name = "Birth"; this.Birth.ReadOnly = true; this.Birth.Resizable = System.Windows.Forms.DataGridViewTriState.False; this.Birth.Width = 60; // // BaptChri // this.BaptChri.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; this.BaptChri.DataPropertyName = "BaptChri"; this.BaptChri.HeaderText = "Baptism Christening"; this.BaptChri.MinimumWidth = 62; this.BaptChri.Name = "BaptChri"; this.BaptChri.ReadOnly = true; this.BaptChri.Resizable = System.Windows.Forms.DataGridViewTriState.False; this.BaptChri.Width = 62; // // Marriage1 // this.Marriage1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; this.Marriage1.DataPropertyName = "Marriage1"; this.Marriage1.HeaderText = "Marriage No. 1"; this.Marriage1.MinimumWidth = 60; this.Marriage1.Name = "Marriage1"; this.Marriage1.ReadOnly = true; this.Marriage1.Resizable = System.Windows.Forms.DataGridViewTriState.False; this.Marriage1.Width = 60; // // Marriage2 // this.Marriage2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; this.Marriage2.DataPropertyName = "Marriage2"; this.Marriage2.HeaderText = "Marriage No. 2"; this.Marriage2.MinimumWidth = 60; this.Marriage2.Name = "Marriage2"; this.Marriage2.ReadOnly = true; this.Marriage2.Resizable = System.Windows.Forms.DataGridViewTriState.False; this.Marriage2.Width = 60; // // Marriage3 // this.Marriage3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; this.Marriage3.DataPropertyName = "Marriage3"; this.Marriage3.HeaderText = "Marriage No. 3"; this.Marriage3.MinimumWidth = 60; this.Marriage3.Name = "Marriage3"; this.Marriage3.ReadOnly = true; this.Marriage3.Resizable = System.Windows.Forms.DataGridViewTriState.False; this.Marriage3.Width = 60; // // Death // this.Death.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; this.Death.DataPropertyName = "Death"; this.Death.HeaderText = "Death"; this.Death.MinimumWidth = 60; this.Death.Name = "Death"; this.Death.ReadOnly = true; this.Death.Resizable = System.Windows.Forms.DataGridViewTriState.False; this.Death.Width = 60; // // CremBuri // this.CremBuri.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; this.CremBuri.DataPropertyName = "CremBuri"; this.CremBuri.HeaderText = "Burial Cremation"; this.CremBuri.MinimumWidth = 60; this.CremBuri.Name = "CremBuri"; this.CremBuri.ReadOnly = true; this.CremBuri.Resizable = System.Windows.Forms.DataGridViewTriState.False; this.CremBuri.Width = 60; // // BirthDate // this.BirthDate.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; this.BirthDate.DataPropertyName = "BirthDate"; this.BirthDate.HeaderText = "Birth Date"; this.BirthDate.MinimumWidth = 50; this.BirthDate.Name = "BirthDate"; this.BirthDate.ReadOnly = true; this.BirthDate.Width = 150; // // DeathDate // this.DeathDate.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; this.DeathDate.DataPropertyName = "DeathDate"; this.DeathDate.HeaderText = "Death Date"; this.DeathDate.MinimumWidth = 50; this.DeathDate.Name = "DeathDate"; this.DeathDate.ReadOnly = true; this.DeathDate.Width = 150; // // FirstMarriage // this.FirstMarriage.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; this.FirstMarriage.DataPropertyName = "FirstMarriage"; this.FirstMarriage.HeaderText = "First Marriage"; this.FirstMarriage.MinimumWidth = 100; this.FirstMarriage.Name = "FirstMarriage"; this.FirstMarriage.ReadOnly = true; // // SecondMarriage // this.SecondMarriage.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; this.SecondMarriage.DataPropertyName = "SecondMarriage"; this.SecondMarriage.HeaderText = "Second Marriage"; this.SecondMarriage.MinimumWidth = 100; this.SecondMarriage.Name = "SecondMarriage"; this.SecondMarriage.ReadOnly = true; // // ThirdMarriage // this.ThirdMarriage.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; this.ThirdMarriage.DataPropertyName = "ThirdMarriage"; this.ThirdMarriage.HeaderText = "Third Marriage"; this.ThirdMarriage.MinimumWidth = 100; this.ThirdMarriage.Name = "ThirdMarriage"; this.ThirdMarriage.ReadOnly = true; // // BirthLocation // this.BirthLocation.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; this.BirthLocation.DataPropertyName = "BirthLocation"; this.BirthLocation.HeaderText = "Birth Location"; this.BirthLocation.MinimumWidth = 120; this.BirthLocation.Name = "BirthLocation"; this.BirthLocation.ReadOnly = true; this.BirthLocation.Width = 120; // // DeathLocation // this.DeathLocation.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; this.DeathLocation.DataPropertyName = "DeathLocation"; this.DeathLocation.HeaderText = "Death Location"; this.DeathLocation.MinimumWidth = 120; this.DeathLocation.Name = "DeathLocation"; this.DeathLocation.ReadOnly = true; this.DeathLocation.Width = 120; // // Ahnentafel // this.Ahnentafel.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader; this.Ahnentafel.DataPropertyName = "Ahnentafel"; this.Ahnentafel.HeaderText = "Ahnentafel"; this.Ahnentafel.MinimumWidth = 20; this.Ahnentafel.Name = "Ahnentafel"; this.Ahnentafel.ReadOnly = true; this.Ahnentafel.Width = 83; // // ColourBMD // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1038, 583); this.Controls.Add(this.toolStrip1); this.Controls.Add(this.statusStrip); this.Controls.Add(this.dgBMDReportSheet); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "ColourBMD"; this.Text = "Colour BMD Report Result"; this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.ColourBMD_FormClosed); this.Load += new System.EventHandler(this.ColourBMD_Load); ((System.ComponentModel.ISupportInitialize)(this.dgBMDReportSheet)).EndInit(); this.statusStrip.ResumeLayout(false); this.statusStrip.PerformLayout(); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.contextMenuStrip.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
public new void PrintPreview() { using (System.Windows.Forms.PrintPreviewDialog dlg = new System.Windows.Forms.PrintPreviewDialog()) this.PrintPreview(dlg); }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmPrint)); this.btnPrintPageOne = new System.Windows.Forms.Button(); this.btnPrintPageTwo = new System.Windows.Forms.Button(); this.btnPrintNow = new System.Windows.Forms.Button(); this.radiobtnacross = new System.Windows.Forms.RadioButton(); this.radiobtnvertinal = new System.Windows.Forms.RadioButton(); this.btnCancel = new System.Windows.Forms.Button(); this.btnPirntSet = new System.Windows.Forms.Button(); this.btnPrint = new System.Windows.Forms.Button(); this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog(); this.BtnLocalIP = new System.Windows.Forms.Button(); this.btnFieldIP = new System.Windows.Forms.Button(); this.SuspendLayout(); // // btnPrintPageOne // this.btnPrintPageOne.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnPrintPageOne.Location = new System.Drawing.Point(422, 404); this.btnPrintPageOne.Name = "btnPrintPageOne"; this.btnPrintPageOne.Size = new System.Drawing.Size(75, 23); this.btnPrintPageOne.TabIndex = 0; this.btnPrintPageOne.Text = "打印1(F7)"; this.btnPrintPageOne.UseVisualStyleBackColor = true; this.btnPrintPageOne.Click += new System.EventHandler(this.btnPrintPageOne_Click_1); // // btnPrintPageTwo // this.btnPrintPageTwo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnPrintPageTwo.Location = new System.Drawing.Point(499, 404); this.btnPrintPageTwo.Name = "btnPrintPageTwo"; this.btnPrintPageTwo.Size = new System.Drawing.Size(75, 23); this.btnPrintPageTwo.TabIndex = 1; this.btnPrintPageTwo.Text = "打印2(F8)"; this.btnPrintPageTwo.UseVisualStyleBackColor = true; this.btnPrintPageTwo.Click += new System.EventHandler(this.btnPrintPageTwo_Click_1); // // btnPrintNow // this.btnPrintNow.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnPrintNow.Location = new System.Drawing.Point(345, 404); this.btnPrintNow.Name = "btnPrintNow"; this.btnPrintNow.Size = new System.Drawing.Size(75, 23); this.btnPrintNow.TabIndex = 2; this.btnPrintNow.Text = "直接打印"; this.btnPrintNow.UseVisualStyleBackColor = true; this.btnPrintNow.Click += new System.EventHandler(this.btnPrintNow_Click); // // radiobtnacross // this.radiobtnacross.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.radiobtnacross.AutoSize = true; this.radiobtnacross.Location = new System.Drawing.Point(78, 411); this.radiobtnacross.Name = "radiobtnacross"; this.radiobtnacross.Size = new System.Drawing.Size(71, 16); this.radiobtnacross.TabIndex = 3; this.radiobtnacross.Text = "横向打印"; this.radiobtnacross.UseVisualStyleBackColor = true; // // radiobtnvertinal // this.radiobtnvertinal.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.radiobtnvertinal.AutoSize = true; this.radiobtnvertinal.Checked = true; this.radiobtnvertinal.Location = new System.Drawing.Point(7, 411); this.radiobtnvertinal.Name = "radiobtnvertinal"; this.radiobtnvertinal.Size = new System.Drawing.Size(71, 16); this.radiobtnvertinal.TabIndex = 4; this.radiobtnvertinal.TabStop = true; this.radiobtnvertinal.Text = "纵向打印"; this.radiobtnvertinal.UseVisualStyleBackColor = true; // // btnCancel // this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnCancel.Location = new System.Drawing.Point(575, 404); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.TabIndex = 5; this.btnCancel.Text = "关闭(C)"; this.btnCancel.UseVisualStyleBackColor = true; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // btnPirntSet // this.btnPirntSet.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnPirntSet.Location = new System.Drawing.Point(191, 404); this.btnPirntSet.Name = "btnPirntSet"; this.btnPirntSet.Size = new System.Drawing.Size(75, 23); this.btnPirntSet.TabIndex = 6; this.btnPirntSet.Text = "打印设置"; this.btnPirntSet.UseVisualStyleBackColor = true; this.btnPirntSet.Click += new System.EventHandler(this.btnPirntSet_Click); // // btnPrint // this.btnPrint.Location = new System.Drawing.Point(268, 404); this.btnPrint.Name = "btnPrint"; this.btnPrint.Size = new System.Drawing.Size(75, 23); this.btnPrint.TabIndex = 7; this.btnPrint.Text = "打印"; this.btnPrint.UseVisualStyleBackColor = true; this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click); // // printPreviewDialog1 // this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0); this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0); this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300); this.printPreviewDialog1.Enabled = true; this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon"))); this.printPreviewDialog1.Name = "printPreviewDialog1"; this.printPreviewDialog1.Visible = false; // // BtnLocalIP // this.BtnLocalIP.Location = new System.Drawing.Point(499, 375); this.BtnLocalIP.Name = "BtnLocalIP"; this.BtnLocalIP.Size = new System.Drawing.Size(75, 23); this.BtnLocalIP.TabIndex = 8; this.BtnLocalIP.Text = "本地IP"; this.BtnLocalIP.UseVisualStyleBackColor = true; this.BtnLocalIP.Click += new System.EventHandler(this.BtnLocalIP_Click); // // btnFieldIP // this.btnFieldIP.Location = new System.Drawing.Point(575, 375); this.btnFieldIP.Name = "btnFieldIP"; this.btnFieldIP.Size = new System.Drawing.Size(75, 23); this.btnFieldIP.TabIndex = 9; this.btnFieldIP.Text = "域名IP"; this.btnFieldIP.UseVisualStyleBackColor = true; this.btnFieldIP.Click += new System.EventHandler(this.btnFieldIP_Click); // // FormPrint // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackgroundImage = global::DotNet.WinForm.Common.Properties.Resources.Head; this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.ClientSize = new System.Drawing.Size(657, 431); this.Controls.Add(this.btnFieldIP); this.Controls.Add(this.BtnLocalIP); this.Controls.Add(this.btnPrint); this.Controls.Add(this.btnPirntSet); this.Controls.Add(this.btnCancel); this.Controls.Add(this.radiobtnvertinal); this.Controls.Add(this.radiobtnacross); this.Controls.Add(this.btnPrintNow); this.Controls.Add(this.btnPrintPageTwo); this.Controls.Add(this.btnPrintPageOne); this.KeyPreview = true; this.Name = "FormPrint"; this.Padding = new System.Windows.Forms.Padding(8); this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "抓屏打印"; this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.GetPrint_KeyDown); this.Load += new System.EventHandler(this.FormPrint_Load); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Handler for Print Cards menu item Executed event /// </summary> /// <param name="sender">not used</param> /// <param name="e">not used</param> private void PrintCardsCommand_Executed(object sender, ExecutedRoutedEventArgs e) { CardTabItem cti = mainTabControl.SelectedItem as CardTabItem; PrintProperties props = new PrintProperties( cti.cardPanel.QslCard.CardPrintProperties); if(App.Logger.DebugPrinting) { App.Logger.Log("PrintCardsCommand_Executed:" + Environment.NewLine + "Card size = " + cti.cardPanel.QslCard.Width + " x " + cti.cardPanel.QslCard.Height + Environment.NewLine + props.ToString()); } HamQSLerPrintDialog printDialog = new HamQSLerPrintDialog(); printDialog.PrinterName = props.PrinterName; printDialog.PrinterPaperSize = props.PrinterPaperSize; printDialog.Resolution = props.Resolution; printDialog.Source = props.Source; printDialog.InsideMargins = props.InsideMargins; printDialog.PrintCardOutlines = props.PrintCardOutlines; printDialog.FillLastPage = props.FillLastPage; printDialog.SetCardMargins = props.SetCardMargins; printDialog.Layout = props.Layout; printDialog.CardWidth = cti.cardPanel.QslCard.Width; printDialog.CardHeight = cti.cardPanel.QslCard.Height; if(printDialog.ShowDialog() == true) { props.PrinterName = printDialog.PrinterName; props.PrinterPaperSize = printDialog.PrinterPaperSize; props.Resolution = printDialog.Resolution; props.Source = printDialog.Source; props.InsideMargins = printDialog.InsideMargins; props.PrintCardOutlines = printDialog.PrintCardOutlines; props.FillLastPage = printDialog.FillLastPage; props.SetCardMargins = printDialog.SetCardMargins; props.Layout = printDialog.Layout; if(App.Logger.DebugPrinting) { App.Logger.Log("PrintCardsCommand after printDialog.ShowDialog:" + Environment.NewLine + "Card size = " + cti.cardPanel.QslCard.Width + " x " + cti.cardPanel.QslCard.Height + Environment.NewLine + props.ToString()); } CardPrintDocument document = new CardPrintDocument(qsosView.DisplayQsos); document.PrintProperties = props; document.QslCard = cti.cardPanel.QslCard; if(printDialog.Preview) { System.Windows.Forms.PrintPreviewDialog ppDialog = new System.Windows.Forms.PrintPreviewDialog(); ppDialog.Document = document; ppDialog.WindowState = System.Windows.Forms.FormWindowState.Maximized; ppDialog.ShowDialog(); } else { document.Print(); } } else { if(App.Logger.DebugPrinting) { App.Logger.Log("Printing canceled"); } } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle29 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle30 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle31 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle32 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle33 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle34 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle35 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle36 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle37 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle38 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle39 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle40 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle41 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle42 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle43 = new System.Windows.Forms.DataGridViewCellStyle(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmSales)); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle44 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle45 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle46 = new System.Windows.Forms.DataGridViewCellStyle(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.panel2 = new System.Windows.Forms.Panel(); this.panel5 = new System.Windows.Forms.Panel(); this.label29 = new System.Windows.Forms.Label(); this.label28 = new System.Windows.Forms.Label(); this.label25 = new System.Windows.Forms.Label(); this.label19 = new System.Windows.Forms.Label(); this.txtCartQty = new System.Windows.Forms.TextBox(); this.txtCartSotari = new System.Windows.Forms.TextBox(); this.txtCartBardana = new System.Windows.Forms.TextBox(); this.txtCartLaborPay = new System.Windows.Forms.TextBox(); this.label27 = new System.Windows.Forms.Label(); this.txtCartAmount = new System.Windows.Forms.TextBox(); this.txtCartWeight = new System.Windows.Forms.TextBox(); this.label34 = new System.Windows.Forms.Label(); this.label59 = new System.Windows.Forms.Label(); this.txtTotalDueOfCus = new System.Windows.Forms.TextBox(); this.btnInvoiceSave = new System.Windows.Forms.Button(); this.dataGridViewShopingCart = new System.Windows.Forms.DataGridView(); this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column28 = new System.Windows.Forms.DataGridViewButtonColumn(); this.txtComments = new System.Windows.Forms.TextBox(); this.label15 = new System.Windows.Forms.Label(); this.btnInvoiceUpdate = new System.Windows.Forms.Button(); this.btnInvoice = new System.Windows.Forms.Button(); this.label26 = new System.Windows.Forms.Label(); this.label35 = new System.Windows.Forms.Label(); this.txtPayment = new System.Windows.Forms.TextBox(); this.btnNewRecord = new System.Windows.Forms.Button(); this.txtDuePayment = new System.Windows.Forms.TextBox(); this.panel1 = new System.Windows.Forms.Panel(); this.chkWeight = new System.Windows.Forms.CheckBox(); this.chKDecimal = new System.Windows.Forms.CheckBox(); this.pnlLaborPay = new System.Windows.Forms.Panel(); this.label60 = new System.Windows.Forms.Label(); this.txtBardana = new System.Windows.Forms.TextBox(); this.txtSotari = new System.Windows.Forms.TextBox(); this.txtLaborAmount = new System.Windows.Forms.TextBox(); this.label11 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.txtLaborPay = new System.Windows.Forms.TextBox(); this.label13 = new System.Windows.Forms.Label(); this.txtBardana2 = new System.Windows.Forms.TextBox(); this.label9 = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label(); this.txtTotalAmount = new System.Windows.Forms.TextBox(); this.txtTotalWeight = new System.Windows.Forms.TextBox(); this.txtAmount = new System.Windows.Forms.TextBox(); this.comboProduct = new System.Windows.Forms.ComboBox(); this.txtWeight = new System.Windows.Forms.TextBox(); this.txtRate = new System.Windows.Forms.TextBox(); this.btnAdd = new System.Windows.Forms.Button(); this.label12 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.lbTotalWeight = new System.Windows.Forms.Label(); this.txtQty = new System.Windows.Forms.TextBox(); this.lbQty = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.panel3 = new System.Windows.Forms.Panel(); this.txtName = new System.Windows.Forms.TextBox(); this.label14 = new System.Windows.Forms.Label(); this.label16 = new System.Windows.Forms.Label(); this.dpInvoice = new System.Windows.Forms.DateTimePicker(); this.txtCusID = new System.Windows.Forms.TextBox(); this.chKNotDliver = new System.Windows.Forms.CheckBox(); this.button2 = new System.Windows.Forms.Button(); this.label17 = new System.Windows.Forms.Label(); this.txtInvoiceId = new System.Windows.Forms.TextBox(); this.comboCusName = new System.Windows.Forms.ComboBox(); this.label5 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.txtCusTotalLaborPay = new System.Windows.Forms.TextBox(); this.label18 = new System.Windows.Forms.Label(); this.txtCusAvgRate = new System.Windows.Forms.TextBox(); this.label21 = new System.Windows.Forms.Label(); this.txtCusTotalAmount = new System.Windows.Forms.TextBox(); this.label20 = new System.Windows.Forms.Label(); this.txtCusTotalWeight = new System.Windows.Forms.TextBox(); this.label22 = new System.Windows.Forms.Label(); this.txtTotalQty = new System.Windows.Forms.TextBox(); this.label23 = new System.Windows.Forms.Label(); this.txtInvoiceNo = new System.Windows.Forms.TextBox(); this.btnSearch = new System.Windows.Forms.Button(); this.label33 = new System.Windows.Forms.Label(); this.label30 = new System.Windows.Forms.Label(); this.label24 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.dtEndDate = new System.Windows.Forms.DateTimePicker(); this.dtStartDate = new System.Windows.Forms.DateTimePicker(); this.ddCustomer = new System.Windows.Forms.ComboBox(); this.CusRecorddataGridView = new System.Windows.Forms.DataGridView(); this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column12 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Email = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column8 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column9 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column10 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column11 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column13 = new System.Windows.Forms.DataGridViewButtonColumn(); this.Column14 = new System.Windows.Forms.DataGridViewButtonColumn(); this.tabPage6 = new System.Windows.Forms.TabPage(); this.btnOilSearch = new System.Windows.Forms.Button(); this.label48 = new System.Windows.Forms.Label(); this.comboOilProduct = new System.Windows.Forms.ComboBox(); this.txtOilAvgRate = new System.Windows.Forms.TextBox(); this.label31 = new System.Windows.Forms.Label(); this.txtOilToAmount = new System.Windows.Forms.TextBox(); this.label32 = new System.Windows.Forms.Label(); this.txtOilTotalWt = new System.Windows.Forms.TextBox(); this.label41 = new System.Windows.Forms.Label(); this.dataGridView1 = new System.Windows.Forms.DataGridView(); this.lbCusId = new System.Windows.Forms.Label(); this.InvPrintDocument = new System.Drawing.Printing.PrintDocument(); this.InvPrintDialog = new System.Windows.Forms.PrintDialog(); this.InvPrintPreviewDialog = new System.Windows.Forms.PrintPreviewDialog(); this.panel4 = new System.Windows.Forms.Panel(); this.btnClose = new System.Windows.Forms.Button(); this.Label1 = new System.Windows.Forms.Label(); this.panel6 = new System.Windows.Forms.Panel(); this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn21 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn34 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn40 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn42 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn44 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column29 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn49 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column30 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column31 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column24 = new System.Windows.Forms.DataGridViewButtonColumn(); this.Column27 = new System.Windows.Forms.DataGridViewButtonColumn(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); this.panel2.SuspendLayout(); this.panel5.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridViewShopingCart)).BeginInit(); this.panel1.SuspendLayout(); this.pnlLaborPay.SuspendLayout(); this.panel3.SuspendLayout(); this.tabPage2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.CusRecorddataGridView)).BeginInit(); this.tabPage6.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); this.panel4.SuspendLayout(); this.SuspendLayout(); // // tabControl1 // this.tabControl1.Controls.Add(this.tabPage1); this.tabControl1.Controls.Add(this.tabPage2); this.tabControl1.Controls.Add(this.tabPage6); this.tabControl1.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.tabControl1.Location = new System.Drawing.Point(10, 59); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(1164, 645); this.tabControl1.SizeMode = System.Windows.Forms.TabSizeMode.FillToRight; this.tabControl1.TabIndex = 0; this.tabControl1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.tabControl1_MouseDown); // // tabPage1 // this.tabPage1.BackColor = System.Drawing.Color.White; this.tabPage1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.tabPage1.Controls.Add(this.panel2); this.tabPage1.Controls.Add(this.panel1); this.tabPage1.Controls.Add(this.panel3); this.tabPage1.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.tabPage1.Location = new System.Drawing.Point(4, 34); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(3); this.tabPage1.Size = new System.Drawing.Size(1156, 607); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "Sale Cart"; // // panel2 // this.panel2.BackColor = System.Drawing.Color.Transparent; this.panel2.Controls.Add(this.panel5); this.panel2.Controls.Add(this.label59); this.panel2.Controls.Add(this.txtTotalDueOfCus); this.panel2.Controls.Add(this.btnInvoiceSave); this.panel2.Controls.Add(this.dataGridViewShopingCart); this.panel2.Controls.Add(this.txtComments); this.panel2.Controls.Add(this.label15); this.panel2.Controls.Add(this.btnInvoiceUpdate); this.panel2.Controls.Add(this.btnInvoice); this.panel2.Controls.Add(this.label26); this.panel2.Controls.Add(this.label35); this.panel2.Controls.Add(this.txtPayment); this.panel2.Controls.Add(this.btnNewRecord); this.panel2.Controls.Add(this.txtDuePayment); this.panel2.ForeColor = System.Drawing.Color.Black; this.panel2.Location = new System.Drawing.Point(0, 177); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(1089, 427); this.panel2.TabIndex = 133; // // panel5 // this.panel5.BackColor = System.Drawing.Color.LightSkyBlue; this.panel5.Controls.Add(this.label29); this.panel5.Controls.Add(this.label28); this.panel5.Controls.Add(this.label25); this.panel5.Controls.Add(this.label19); this.panel5.Controls.Add(this.txtCartQty); this.panel5.Controls.Add(this.txtCartSotari); this.panel5.Controls.Add(this.txtCartBardana); this.panel5.Controls.Add(this.txtCartLaborPay); this.panel5.Controls.Add(this.label27); this.panel5.Controls.Add(this.txtCartAmount); this.panel5.Controls.Add(this.txtCartWeight); this.panel5.Controls.Add(this.label34); this.panel5.Location = new System.Drawing.Point(2, 196); this.panel5.Name = "panel5"; this.panel5.Size = new System.Drawing.Size(1087, 80); this.panel5.TabIndex = 172; // // label29 // this.label29.AutoSize = true; this.label29.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label29.ForeColor = System.Drawing.Color.Black; this.label29.Location = new System.Drawing.Point(231, 0); this.label29.Name = "label29"; this.label29.Size = new System.Drawing.Size(92, 17); this.label29.TabIndex = 180; this.label29.Text = "Total Quantity:"; // // label28 // this.label28.AutoSize = true; this.label28.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label28.ForeColor = System.Drawing.Color.Black; this.label28.Location = new System.Drawing.Point(576, -2); this.label28.Name = "label28"; this.label28.Size = new System.Drawing.Size(97, 17); this.label28.TabIndex = 179; this.label28.Text = "Total bardana :"; // // label25 // this.label25.AutoSize = true; this.label25.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label25.ForeColor = System.Drawing.Color.Black; this.label25.Location = new System.Drawing.Point(685, -3); this.label25.Name = "label25"; this.label25.Size = new System.Drawing.Size(82, 17); this.label25.TabIndex = 178; this.label25.Text = "Total Sotari :"; // // label19 // this.label19.AutoSize = true; this.label19.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label19.ForeColor = System.Drawing.Color.Black; this.label19.Location = new System.Drawing.Point(474, -2); this.label19.Name = "label19"; this.label19.Size = new System.Drawing.Size(82, 17); this.label19.TabIndex = 177; this.label19.Text = "Total Labor :"; // // txtCartQty // this.txtCartQty.BackColor = System.Drawing.SystemColors.ActiveCaptionText; this.txtCartQty.Font = new System.Drawing.Font("Segoe UI Semibold", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtCartQty.ForeColor = System.Drawing.Color.White; this.txtCartQty.Location = new System.Drawing.Point(229, 20); this.txtCartQty.Multiline = true; this.txtCartQty.Name = "txtCartQty"; this.txtCartQty.ReadOnly = true; this.txtCartQty.Size = new System.Drawing.Size(98, 51); this.txtCartQty.TabIndex = 176; this.txtCartQty.TabStop = false; this.txtCartQty.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // txtCartSotari // this.txtCartSotari.BackColor = System.Drawing.SystemColors.ActiveCaptionText; this.txtCartSotari.Font = new System.Drawing.Font("Segoe UI Semibold", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtCartSotari.ForeColor = System.Drawing.Color.White; this.txtCartSotari.Location = new System.Drawing.Point(681, 20); this.txtCartSotari.Multiline = true; this.txtCartSotari.Name = "txtCartSotari"; this.txtCartSotari.ReadOnly = true; this.txtCartSotari.Size = new System.Drawing.Size(104, 51); this.txtCartSotari.TabIndex = 175; this.txtCartSotari.TabStop = false; this.txtCartSotari.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // txtCartBardana // this.txtCartBardana.BackColor = System.Drawing.SystemColors.ActiveCaptionText; this.txtCartBardana.Font = new System.Drawing.Font("Segoe UI Semibold", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtCartBardana.ForeColor = System.Drawing.Color.White; this.txtCartBardana.Location = new System.Drawing.Point(575, 20); this.txtCartBardana.Multiline = true; this.txtCartBardana.Name = "txtCartBardana"; this.txtCartBardana.ReadOnly = true; this.txtCartBardana.Size = new System.Drawing.Size(104, 51); this.txtCartBardana.TabIndex = 174; this.txtCartBardana.TabStop = false; this.txtCartBardana.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // txtCartLaborPay // this.txtCartLaborPay.BackColor = System.Drawing.SystemColors.ActiveCaptionText; this.txtCartLaborPay.Font = new System.Drawing.Font("Segoe UI Semibold", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtCartLaborPay.ForeColor = System.Drawing.Color.White; this.txtCartLaborPay.Location = new System.Drawing.Point(471, 20); this.txtCartLaborPay.Multiline = true; this.txtCartLaborPay.Name = "txtCartLaborPay"; this.txtCartLaborPay.ReadOnly = true; this.txtCartLaborPay.Size = new System.Drawing.Size(104, 51); this.txtCartLaborPay.TabIndex = 173; this.txtCartLaborPay.TabStop = false; this.txtCartLaborPay.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // label27 // this.label27.AutoSize = true; this.label27.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label27.ForeColor = System.Drawing.Color.Black; this.label27.Location = new System.Drawing.Point(341, -1); this.label27.Name = "label27"; this.label27.Size = new System.Drawing.Size(89, 17); this.label27.TabIndex = 172; this.label27.Text = "Total Weight :"; // // txtCartAmount // this.txtCartAmount.BackColor = System.Drawing.SystemColors.ActiveCaptionText; this.txtCartAmount.Font = new System.Drawing.Font("Segoe UI Semibold", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtCartAmount.ForeColor = System.Drawing.Color.White; this.txtCartAmount.Location = new System.Drawing.Point(791, 20); this.txtCartAmount.Multiline = true; this.txtCartAmount.Name = "txtCartAmount"; this.txtCartAmount.ReadOnly = true; this.txtCartAmount.Size = new System.Drawing.Size(233, 51); this.txtCartAmount.TabIndex = 169; this.txtCartAmount.TabStop = false; this.txtCartAmount.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // txtCartWeight // this.txtCartWeight.BackColor = System.Drawing.SystemColors.ActiveCaptionText; this.txtCartWeight.Font = new System.Drawing.Font("Segoe UI Semibold", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtCartWeight.ForeColor = System.Drawing.Color.White; this.txtCartWeight.Location = new System.Drawing.Point(329, 20); this.txtCartWeight.Multiline = true; this.txtCartWeight.Name = "txtCartWeight"; this.txtCartWeight.ReadOnly = true; this.txtCartWeight.Size = new System.Drawing.Size(129, 51); this.txtCartWeight.TabIndex = 170; this.txtCartWeight.TabStop = false; this.txtCartWeight.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // label34 // this.label34.AutoSize = true; this.label34.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label34.ForeColor = System.Drawing.Color.Black; this.label34.Location = new System.Drawing.Point(788, 0); this.label34.Name = "label34"; this.label34.Size = new System.Drawing.Size(93, 17); this.label34.TabIndex = 171; this.label34.Text = "Total Amount :"; // // label59 // this.label59.AutoSize = true; this.label59.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label59.ForeColor = System.Drawing.Color.Black; this.label59.Location = new System.Drawing.Point(3, 283); this.label59.Name = "label59"; this.label59.Size = new System.Drawing.Size(181, 17); this.label59.TabIndex = 171; this.label59.Text = "Customer Total Duepayment :"; // // txtTotalDueOfCus // this.txtTotalDueOfCus.BackColor = System.Drawing.SystemColors.ActiveCaptionText; this.txtTotalDueOfCus.Font = new System.Drawing.Font("Segoe UI Semibold", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtTotalDueOfCus.ForeColor = System.Drawing.Color.Red; this.txtTotalDueOfCus.Location = new System.Drawing.Point(6, 303); this.txtTotalDueOfCus.Multiline = true; this.txtTotalDueOfCus.Name = "txtTotalDueOfCus"; this.txtTotalDueOfCus.Size = new System.Drawing.Size(272, 51); this.txtTotalDueOfCus.TabIndex = 170; this.txtTotalDueOfCus.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // btnInvoiceSave // this.btnInvoiceSave.BackColor = System.Drawing.Color.LightSkyBlue; this.btnInvoiceSave.FlatAppearance.BorderSize = 0; this.btnInvoiceSave.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Silver; this.btnInvoiceSave.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnInvoiceSave.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnInvoiceSave.ForeColor = System.Drawing.Color.Black; this.btnInvoiceSave.Image = global::OMMS.Properties.Resources.Save_26; this.btnInvoiceSave.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnInvoiceSave.Location = new System.Drawing.Point(479, 371); this.btnInvoiceSave.Name = "btnInvoiceSave"; this.btnInvoiceSave.Size = new System.Drawing.Size(189, 43); this.btnInvoiceSave.TabIndex = 169; this.btnInvoiceSave.TabStop = false; this.btnInvoiceSave.Text = "Save"; this.btnInvoiceSave.UseVisualStyleBackColor = false; this.btnInvoiceSave.Click += new System.EventHandler(this.btnInvoiceSave_Click); // // dataGridViewShopingCart // this.dataGridViewShopingCart.AllowUserToAddRows = false; this.dataGridViewShopingCart.AllowUserToDeleteRows = false; this.dataGridViewShopingCart.BackgroundColor = System.Drawing.Color.White; this.dataGridViewShopingCart.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridViewShopingCart.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.Column15, this.Column16, this.Column17, this.Column18, this.Column19, this.Column20, this.Column21, this.Column22, this.Column23, this.Column25, this.Column26, this.Column28}); this.dataGridViewShopingCart.Location = new System.Drawing.Point(-10, 0); this.dataGridViewShopingCart.Name = "dataGridViewShopingCart"; this.dataGridViewShopingCart.Size = new System.Drawing.Size(1099, 197); this.dataGridViewShopingCart.TabIndex = 3; this.dataGridViewShopingCart.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewShopingCart_CellContentClick); this.dataGridViewShopingCart.CellMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dataGridViewShopingCart_CellMouseClick); this.dataGridViewShopingCart.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridViewShopingCart_RowPostPaint); // // Column15 // this.Column15.HeaderText = "Product Name"; this.Column15.Name = "Column15"; this.Column15.Width = 200; // // Column16 // dataGridViewCellStyle24.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.Column16.DefaultCellStyle = dataGridViewCellStyle24; this.Column16.HeaderText = "Quantity"; this.Column16.Name = "Column16"; this.Column16.Width = 70; // // Column17 // dataGridViewCellStyle25.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.Column17.DefaultCellStyle = dataGridViewCellStyle25; this.Column17.HeaderText = "Weight"; this.Column17.Name = "Column17"; this.Column17.Width = 70; // // Column18 // dataGridViewCellStyle26.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.Column18.DefaultCellStyle = dataGridViewCellStyle26; this.Column18.HeaderText = "Rate"; this.Column18.Name = "Column18"; this.Column18.Width = 80; // // Column19 // dataGridViewCellStyle27.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.Column19.DefaultCellStyle = dataGridViewCellStyle27; this.Column19.HeaderText = "Sab Total Wight"; this.Column19.Name = "Column19"; // // Column20 // dataGridViewCellStyle28.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.Column20.DefaultCellStyle = dataGridViewCellStyle28; this.Column20.HeaderText = "Labor Pay"; this.Column20.Name = "Column20"; this.Column20.Width = 70; // // Column21 // dataGridViewCellStyle29.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.Column21.DefaultCellStyle = dataGridViewCellStyle29; this.Column21.HeaderText = "Labor Pay Amount"; this.Column21.Name = "Column21"; // // Column22 // dataGridViewCellStyle30.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.Column22.DefaultCellStyle = dataGridViewCellStyle30; this.Column22.HeaderText = "Bardana"; this.Column22.Name = "Column22"; this.Column22.Width = 80; // // Column23 // dataGridViewCellStyle31.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.Column23.DefaultCellStyle = dataGridViewCellStyle31; this.Column23.HeaderText = "Sotari"; this.Column23.Name = "Column23"; this.Column23.Width = 80; // // Column25 // dataGridViewCellStyle32.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.Column25.DefaultCellStyle = dataGridViewCellStyle32; this.Column25.HeaderText = "Sub Total Amount"; this.Column25.Name = "Column25"; this.Column25.Width = 140; // // Column26 // this.Column26.HeaderText = "sort"; this.Column26.Name = "Column26"; this.Column26.Visible = false; // // Column28 // this.Column28.HeaderText = "Delete"; this.Column28.Name = "Column28"; this.Column28.Width = 60; // // txtComments // this.txtComments.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtComments.Location = new System.Drawing.Point(284, 303); this.txtComments.Multiline = true; this.txtComments.Name = "txtComments"; this.txtComments.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.txtComments.Size = new System.Drawing.Size(270, 51); this.txtComments.TabIndex = 156; this.txtComments.TabStop = false; this.txtComments.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // label15 // this.label15.AutoSize = true; this.label15.BackColor = System.Drawing.Color.Transparent; this.label15.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label15.ForeColor = System.Drawing.Color.Black; this.label15.Location = new System.Drawing.Point(281, 283); this.label15.Name = "label15"; this.label15.Size = new System.Drawing.Size(70, 17); this.label15.TabIndex = 155; this.label15.Text = "Comments"; // // btnInvoiceUpdate // this.btnInvoiceUpdate.BackColor = System.Drawing.Color.LightSkyBlue; this.btnInvoiceUpdate.FlatAppearance.BorderSize = 0; this.btnInvoiceUpdate.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Silver; this.btnInvoiceUpdate.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnInvoiceUpdate.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnInvoiceUpdate.ForeColor = System.Drawing.Color.Black; this.btnInvoiceUpdate.Image = global::OMMS.Properties.Resources.Edit_26; this.btnInvoiceUpdate.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnInvoiceUpdate.Location = new System.Drawing.Point(674, 371); this.btnInvoiceUpdate.Name = "btnInvoiceUpdate"; this.btnInvoiceUpdate.Size = new System.Drawing.Size(189, 43); this.btnInvoiceUpdate.TabIndex = 154; this.btnInvoiceUpdate.TabStop = false; this.btnInvoiceUpdate.Text = "Update"; this.btnInvoiceUpdate.UseVisualStyleBackColor = false; this.btnInvoiceUpdate.Click += new System.EventHandler(this.btnInvoiceUpdate_Click); // // btnInvoice // this.btnInvoice.BackColor = System.Drawing.Color.LightSkyBlue; this.btnInvoice.FlatAppearance.BorderSize = 0; this.btnInvoice.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Silver; this.btnInvoice.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnInvoice.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnInvoice.ForeColor = System.Drawing.Color.Black; this.btnInvoice.Location = new System.Drawing.Point(874, 369); this.btnInvoice.Name = "btnInvoice"; this.btnInvoice.Size = new System.Drawing.Size(189, 43); this.btnInvoice.TabIndex = 143; this.btnInvoice.Text = "Print Invoice"; this.btnInvoice.UseVisualStyleBackColor = false; this.btnInvoice.Click += new System.EventHandler(this.btnInvoice_Click); // // label26 // this.label26.AutoSize = true; this.label26.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label26.ForeColor = System.Drawing.Color.Black; this.label26.Location = new System.Drawing.Point(606, 283); this.label26.Name = "label26"; this.label26.Size = new System.Drawing.Size(72, 17); this.label26.TabIndex = 150; this.label26.Text = "Cash Paid :"; // // label35 // this.label35.AutoSize = true; this.label35.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label35.ForeColor = System.Drawing.Color.Black; this.label35.Location = new System.Drawing.Point(862, 283); this.label35.Name = "label35"; this.label35.Size = new System.Drawing.Size(70, 17); this.label35.TabIndex = 151; this.label35.Text = "Cash Due :"; // // txtPayment // this.txtPayment.BackColor = System.Drawing.SystemColors.ActiveCaptionText; this.txtPayment.Font = new System.Drawing.Font("Segoe UI Semibold", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtPayment.ForeColor = System.Drawing.Color.White; this.txtPayment.Location = new System.Drawing.Point(603, 303); this.txtPayment.Multiline = true; this.txtPayment.Name = "txtPayment"; this.txtPayment.Size = new System.Drawing.Size(220, 51); this.txtPayment.TabIndex = 142; this.txtPayment.Text = "0"; this.txtPayment.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.txtPayment.TextChanged += new System.EventHandler(this.txtPayment_TextChanged); this.txtPayment.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtPayment_KeyDown); this.txtPayment.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtPayment_KeyPress_1); // // btnNewRecord // this.btnNewRecord.BackColor = System.Drawing.Color.LightSkyBlue; this.btnNewRecord.FlatAppearance.BorderSize = 0; this.btnNewRecord.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Silver; this.btnNewRecord.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnNewRecord.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnNewRecord.ForeColor = System.Drawing.Color.Black; this.btnNewRecord.Image = global::OMMS.Properties.Resources.Plus_26; this.btnNewRecord.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnNewRecord.Location = new System.Drawing.Point(284, 371); this.btnNewRecord.Name = "btnNewRecord"; this.btnNewRecord.Size = new System.Drawing.Size(189, 43); this.btnNewRecord.TabIndex = 144; this.btnNewRecord.TabStop = false; this.btnNewRecord.Text = "New"; this.btnNewRecord.UseVisualStyleBackColor = false; this.btnNewRecord.Click += new System.EventHandler(this.btnNewRecord_Click); // // txtDuePayment // this.txtDuePayment.BackColor = System.Drawing.SystemColors.ActiveCaptionText; this.txtDuePayment.Font = new System.Drawing.Font("Segoe UI Semibold", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtDuePayment.ForeColor = System.Drawing.Color.White; this.txtDuePayment.Location = new System.Drawing.Point(865, 303); this.txtDuePayment.Multiline = true; this.txtDuePayment.Name = "txtDuePayment"; this.txtDuePayment.ReadOnly = true; this.txtDuePayment.Size = new System.Drawing.Size(212, 51); this.txtDuePayment.TabIndex = 146; this.txtDuePayment.TabStop = false; this.txtDuePayment.Text = "0"; this.txtDuePayment.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // panel1 // this.panel1.BackColor = System.Drawing.Color.LightSkyBlue; this.panel1.Controls.Add(this.chkWeight); this.panel1.Controls.Add(this.chKDecimal); this.panel1.Controls.Add(this.pnlLaborPay); this.panel1.Controls.Add(this.txtTotalWeight); this.panel1.Controls.Add(this.txtAmount); this.panel1.Controls.Add(this.comboProduct); this.panel1.Controls.Add(this.txtWeight); this.panel1.Controls.Add(this.txtRate); this.panel1.Controls.Add(this.btnAdd); this.panel1.Controls.Add(this.label12); this.panel1.Controls.Add(this.label7); this.panel1.Controls.Add(this.lbTotalWeight); this.panel1.Controls.Add(this.txtQty); this.panel1.Controls.Add(this.lbQty); this.panel1.Controls.Add(this.label4); this.panel1.Controls.Add(this.label3); this.panel1.Location = new System.Drawing.Point(0, 62); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(1089, 111); this.panel1.TabIndex = 132; // // chkWeight // this.chkWeight.AutoSize = true; this.chkWeight.ForeColor = System.Drawing.Color.Black; this.chkWeight.Location = new System.Drawing.Point(385, 65); this.chkWeight.Name = "chkWeight"; this.chkWeight.Size = new System.Drawing.Size(121, 21); this.chkWeight.TabIndex = 161; this.chkWeight.Text = "Total Weight Kg"; this.chkWeight.UseVisualStyleBackColor = true; this.chkWeight.CheckedChanged += new System.EventHandler(this.chkWeight_CheckedChanged); // // chKDecimal // this.chKDecimal.AutoSize = true; this.chKDecimal.ForeColor = System.Drawing.Color.Black; this.chKDecimal.Location = new System.Drawing.Point(390, 7); this.chKDecimal.Name = "chKDecimal"; this.chKDecimal.Size = new System.Drawing.Size(106, 21); this.chKDecimal.TabIndex = 161; this.chKDecimal.Text = "Decimal Point"; this.chKDecimal.UseVisualStyleBackColor = true; // // pnlLaborPay // this.pnlLaborPay.Controls.Add(this.label60); this.pnlLaborPay.Controls.Add(this.txtBardana); this.pnlLaborPay.Controls.Add(this.txtSotari); this.pnlLaborPay.Controls.Add(this.txtLaborAmount); this.pnlLaborPay.Controls.Add(this.label11); this.pnlLaborPay.Controls.Add(this.label8); this.pnlLaborPay.Controls.Add(this.txtLaborPay); this.pnlLaborPay.Controls.Add(this.label13); this.pnlLaborPay.Controls.Add(this.txtBardana2); this.pnlLaborPay.Controls.Add(this.label9); this.pnlLaborPay.Controls.Add(this.label10); this.pnlLaborPay.Controls.Add(this.txtTotalAmount); this.pnlLaborPay.Location = new System.Drawing.Point(509, 7); this.pnlLaborPay.Name = "pnlLaborPay"; this.pnlLaborPay.Size = new System.Drawing.Size(392, 119); this.pnlLaborPay.TabIndex = 158; // // label60 // this.label60.AutoSize = true; this.label60.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label60.ForeColor = System.Drawing.Color.Black; this.label60.Location = new System.Drawing.Point(106, 57); this.label60.Name = "label60"; this.label60.Size = new System.Drawing.Size(112, 17); this.label60.TabIndex = 148; this.label60.Text = "Bardana Amount :"; // // txtBardana // this.txtBardana.BackColor = System.Drawing.Color.WhiteSmoke; this.txtBardana.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtBardana.Location = new System.Drawing.Point(105, 77); this.txtBardana.Name = "txtBardana"; this.txtBardana.Size = new System.Drawing.Size(103, 25); this.txtBardana.TabIndex = 147; this.txtBardana.Text = "0"; this.txtBardana.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // txtSotari // this.txtSotari.BackColor = System.Drawing.Color.White; this.txtSotari.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtSotari.Location = new System.Drawing.Point(199, 23); this.txtSotari.Name = "txtSotari"; this.txtSotari.Size = new System.Drawing.Size(180, 25); this.txtSotari.TabIndex = 6; this.txtSotari.Text = "0"; this.txtSotari.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.txtSotari.TextChanged += new System.EventHandler(this.txtSotari_TextChanged_1); this.txtSotari.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtSotari_KeyDown); this.txtSotari.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtSotari_KeyPress_1); // // txtLaborAmount // this.txtLaborAmount.BackColor = System.Drawing.Color.WhiteSmoke; this.txtLaborAmount.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtLaborAmount.Location = new System.Drawing.Point(3, 77); this.txtLaborAmount.Name = "txtLaborAmount"; this.txtLaborAmount.Size = new System.Drawing.Size(105, 25); this.txtLaborAmount.TabIndex = 146; this.txtLaborAmount.TabStop = false; this.txtLaborAmount.Text = "0"; this.txtLaborAmount.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // label11 // this.label11.AutoSize = true; this.label11.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label11.ForeColor = System.Drawing.Color.Black; this.label11.Location = new System.Drawing.Point(197, 2); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(49, 17); this.label11.TabIndex = 145; this.label11.Text = "Sotari :"; // // label8 // this.label8.AutoSize = true; this.label8.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label8.ForeColor = System.Drawing.Color.Black; this.label8.Location = new System.Drawing.Point(105, 1); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(63, 17); this.label8.TabIndex = 144; this.label8.Text = "Bardana :"; // // txtLaborPay // this.txtLaborPay.BackColor = System.Drawing.Color.White; this.txtLaborPay.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtLaborPay.Location = new System.Drawing.Point(8, 23); this.txtLaborPay.Name = "txtLaborPay"; this.txtLaborPay.Size = new System.Drawing.Size(100, 25); this.txtLaborPay.TabIndex = 4; this.txtLaborPay.Text = "0"; this.txtLaborPay.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.txtLaborPay.TextChanged += new System.EventHandler(this.txtLaborPay_TextChanged); this.txtLaborPay.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtLaborPay_KeyDown); this.txtLaborPay.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtLaborPay_KeyPress_1); // // label13 // this.label13.AutoSize = true; this.label13.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label13.ForeColor = System.Drawing.Color.Black; this.label13.Location = new System.Drawing.Point(1, 57); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(98, 17); this.label13.TabIndex = 142; this.label13.Text = "Labor Amount :"; // // txtBardana2 // this.txtBardana2.BackColor = System.Drawing.Color.White; this.txtBardana2.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtBardana2.Location = new System.Drawing.Point(106, 23); this.txtBardana2.Name = "txtBardana2"; this.txtBardana2.Size = new System.Drawing.Size(102, 25); this.txtBardana2.TabIndex = 5; this.txtBardana2.Text = "0"; this.txtBardana2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.txtBardana2.TextChanged += new System.EventHandler(this.txtBardana_TextChanged_1); this.txtBardana2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtBardana2_KeyDown); this.txtBardana2.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtBardana_KeyPress); // // label9 // this.label9.AutoSize = true; this.label9.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label9.ForeColor = System.Drawing.Color.Black; this.label9.Location = new System.Drawing.Point(5, 2); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(73, 17); this.label9.TabIndex = 143; this.label9.Text = "Labor Pay :"; // // label10 // this.label10.AutoSize = true; this.label10.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label10.ForeColor = System.Drawing.Color.Black; this.label10.Location = new System.Drawing.Point(224, 57); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(119, 17); this.label10.TabIndex = 20; this.label10.Text = "Sub Total Amount :"; // // txtTotalAmount // this.txtTotalAmount.BackColor = System.Drawing.Color.WhiteSmoke; this.txtTotalAmount.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtTotalAmount.Location = new System.Drawing.Point(205, 77); this.txtTotalAmount.Name = "txtTotalAmount"; this.txtTotalAmount.Size = new System.Drawing.Size(178, 25); this.txtTotalAmount.TabIndex = 100; this.txtTotalAmount.TabStop = false; this.txtTotalAmount.Text = "0"; this.txtTotalAmount.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // txtTotalWeight // this.txtTotalWeight.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtTotalWeight.Location = new System.Drawing.Point(303, 86); this.txtTotalWeight.Name = "txtTotalWeight"; this.txtTotalWeight.ReadOnly = true; this.txtTotalWeight.Size = new System.Drawing.Size(170, 25); this.txtTotalWeight.TabIndex = 153; this.txtTotalWeight.TabStop = false; this.txtTotalWeight.Text = "0"; this.txtTotalWeight.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.txtTotalWeight.TextChanged += new System.EventHandler(this.txtTotalWeight_TextChanged); // // txtAmount // this.txtAmount.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtAmount.Location = new System.Drawing.Point(146, 86); this.txtAmount.Name = "txtAmount"; this.txtAmount.ReadOnly = true; this.txtAmount.Size = new System.Drawing.Size(161, 25); this.txtAmount.TabIndex = 154; this.txtAmount.TabStop = false; this.txtAmount.Text = "0"; this.txtAmount.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // comboProduct // this.comboProduct.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest; this.comboProduct.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; this.comboProduct.BackColor = System.Drawing.Color.White; this.comboProduct.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.comboProduct.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.comboProduct.FormattingEnabled = true; this.comboProduct.Items.AddRange(new object[] { "Cotton Cake", "Cotton Oil", "Cotton Dirty"}); this.comboProduct.Location = new System.Drawing.Point(4, 29); this.comboProduct.Name = "comboProduct"; this.comboProduct.Size = new System.Drawing.Size(186, 29); this.comboProduct.TabIndex = 1; this.comboProduct.SelectedIndexChanged += new System.EventHandler(this.comboProduct_SelectedIndexChanged_1); // // txtWeight // this.txtWeight.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtWeight.Location = new System.Drawing.Point(331, 31); this.txtWeight.Name = "txtWeight"; this.txtWeight.Size = new System.Drawing.Size(172, 25); this.txtWeight.TabIndex = 3; this.txtWeight.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.txtWeight.TextChanged += new System.EventHandler(this.txtWeight_TextChanged); this.txtWeight.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtWeight_KeyDown); this.txtWeight.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtWeight_KeyPress_1); // // txtRate // this.txtRate.BackColor = System.Drawing.Color.WhiteSmoke; this.txtRate.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtRate.Location = new System.Drawing.Point(4, 86); this.txtRate.Name = "txtRate"; this.txtRate.Size = new System.Drawing.Size(150, 25); this.txtRate.TabIndex = 144; this.txtRate.TabStop = false; this.txtRate.Text = "1200"; this.txtRate.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtRate_KeyDown); // // btnAdd // this.btnAdd.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(34)))), ((int)(((byte)(34)))), ((int)(((byte)(34))))); this.btnAdd.FlatAppearance.BorderSize = 0; this.btnAdd.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Silver; this.btnAdd.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnAdd.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnAdd.ForeColor = System.Drawing.Color.White; this.btnAdd.Image = global::OMMS.Properties.Resources.Plus_26; this.btnAdd.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnAdd.Location = new System.Drawing.Point(907, 49); this.btnAdd.Name = "btnAdd"; this.btnAdd.Size = new System.Drawing.Size(109, 32); this.btnAdd.TabIndex = 7; this.btnAdd.TabStop = false; this.btnAdd.Text = "Add"; this.btnAdd.UseVisualStyleBackColor = false; this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click_1); // // label12 // this.label12.AutoSize = true; this.label12.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label12.ForeColor = System.Drawing.Color.Black; this.label12.Location = new System.Drawing.Point(2, 9); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(99, 17); this.label12.TabIndex = 152; this.label12.Text = "Product Name :"; // // label7 // this.label7.AutoSize = true; this.label7.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label7.ForeColor = System.Drawing.Color.Black; this.label7.Location = new System.Drawing.Point(160, 67); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(60, 17); this.label7.TabIndex = 151; this.label7.Text = "Amount :"; // // lbTotalWeight // this.lbTotalWeight.AutoSize = true; this.lbTotalWeight.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lbTotalWeight.ForeColor = System.Drawing.Color.Black; this.lbTotalWeight.Location = new System.Drawing.Point(300, 66); this.lbTotalWeight.Name = "lbTotalWeight"; this.lbTotalWeight.Size = new System.Drawing.Size(89, 17); this.lbTotalWeight.TabIndex = 150; this.lbTotalWeight.Text = "Total Weight :"; // // txtQty // this.txtQty.BackColor = System.Drawing.Color.White; this.txtQty.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtQty.Location = new System.Drawing.Point(196, 31); this.txtQty.Name = "txtQty"; this.txtQty.Size = new System.Drawing.Size(145, 25); this.txtQty.TabIndex = 2; this.txtQty.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.txtQty.TextChanged += new System.EventHandler(this.txtQty_TextChanged); this.txtQty.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtQty_KeyDown); this.txtQty.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtQty_KeyPress_1); // // lbQty // this.lbQty.AutoSize = true; this.lbQty.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lbQty.ForeColor = System.Drawing.Color.Black; this.lbQty.Location = new System.Drawing.Point(209, 11); this.lbQty.Name = "lbQty"; this.lbQty.Size = new System.Drawing.Size(63, 17); this.lbQty.TabIndex = 148; this.lbQty.Text = "Quantity :"; // // label4 // this.label4.AutoSize = true; this.label4.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label4.ForeColor = System.Drawing.Color.Black; this.label4.Location = new System.Drawing.Point(328, 11); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(56, 17); this.label4.TabIndex = 147; this.label4.Text = "Weight :"; // // label3 // this.label3.AutoSize = true; this.label3.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label3.ForeColor = System.Drawing.Color.Black; this.label3.Location = new System.Drawing.Point(6, 64); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(41, 17); this.label3.TabIndex = 145; this.label3.Text = "Rate :"; // // panel3 // this.panel3.BackColor = System.Drawing.Color.Transparent; this.panel3.Controls.Add(this.txtName); this.panel3.Controls.Add(this.label14); this.panel3.Controls.Add(this.label16); this.panel3.Controls.Add(this.dpInvoice); this.panel3.Controls.Add(this.txtCusID); this.panel3.Controls.Add(this.chKNotDliver); this.panel3.Controls.Add(this.button2); this.panel3.Controls.Add(this.label17); this.panel3.Controls.Add(this.txtInvoiceId); this.panel3.Controls.Add(this.comboCusName); this.panel3.Controls.Add(this.label5); this.panel3.Controls.Add(this.label2); this.panel3.Location = new System.Drawing.Point(2, 0); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(1087, 59); this.panel3.TabIndex = 167; // // txtName // this.txtName.Location = new System.Drawing.Point(543, 29); this.txtName.Name = "txtName"; this.txtName.Size = new System.Drawing.Size(164, 25); this.txtName.TabIndex = 173; // // label14 // this.label14.AutoSize = true; this.label14.BackColor = System.Drawing.Color.White; this.label14.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label14.ForeColor = System.Drawing.Color.Black; this.label14.Location = new System.Drawing.Point(715, 2); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(62, 17); this.label14.TabIndex = 164; this.label14.Text = "Bill Date :"; // // label16 // this.label16.AutoSize = true; this.label16.BackColor = System.Drawing.Color.White; this.label16.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label16.ForeColor = System.Drawing.Color.Black; this.label16.Location = new System.Drawing.Point(73, 10); this.label16.Name = "label16"; this.label16.Size = new System.Drawing.Size(80, 17); this.label16.TabIndex = 168; this.label16.Text = "Customer ID"; // // dpInvoice // this.dpInvoice.CalendarFont = new System.Drawing.Font("Segoe UI Semibold", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dpInvoice.CustomFormat = "dd/MM/yyyy"; this.dpInvoice.Font = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dpInvoice.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.dpInvoice.Location = new System.Drawing.Point(718, 27); this.dpInvoice.Name = "dpInvoice"; this.dpInvoice.Size = new System.Drawing.Size(117, 25); this.dpInvoice.TabIndex = 163; this.dpInvoice.TabStop = false; // // txtCusID // this.txtCusID.AccessibleRole = System.Windows.Forms.AccessibleRole.MenuBar; this.txtCusID.BackColor = System.Drawing.Color.WhiteSmoke; this.txtCusID.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtCusID.ForeColor = System.Drawing.Color.Black; this.txtCusID.Location = new System.Drawing.Point(72, 30); this.txtCusID.Name = "txtCusID"; this.txtCusID.ReadOnly = true; this.txtCusID.Size = new System.Drawing.Size(77, 25); this.txtCusID.TabIndex = 160; this.txtCusID.TabStop = false; this.txtCusID.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // chKNotDliver // this.chKNotDliver.AutoSize = true; this.chKNotDliver.Location = new System.Drawing.Point(847, 31); this.chKNotDliver.Name = "chKNotDliver"; this.chKNotDliver.Size = new System.Drawing.Size(108, 21); this.chKNotDliver.TabIndex = 172; this.chKNotDliver.Text = "Due Delivery "; this.chKNotDliver.UseVisualStyleBackColor = true; // // button2 // this.button2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(34)))), ((int)(((byte)(34)))), ((int)(((byte)(34))))); this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button2.Image = global::OMMS.Properties.Resources.Plus_26; this.button2.Location = new System.Drawing.Point(502, 26); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(35, 29); this.button2.TabIndex = 101; this.button2.UseVisualStyleBackColor = false; this.button2.Click += new System.EventHandler(this.button2_Click); // // label17 // this.label17.AutoSize = true; this.label17.BackColor = System.Drawing.Color.White; this.label17.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label17.Location = new System.Drawing.Point(3, 10); this.label17.Name = "label17"; this.label17.Size = new System.Drawing.Size(76, 17); this.label17.TabIndex = 166; this.label17.Text = "Bill Number"; // // txtInvoiceId // this.txtInvoiceId.BackColor = System.Drawing.Color.WhiteSmoke; this.txtInvoiceId.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtInvoiceId.Location = new System.Drawing.Point(3, 30); this.txtInvoiceId.Name = "txtInvoiceId"; this.txtInvoiceId.Size = new System.Drawing.Size(77, 25); this.txtInvoiceId.TabIndex = 165; this.txtInvoiceId.TabStop = false; this.txtInvoiceId.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // comboCusName // this.comboCusName.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; this.comboCusName.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; this.comboCusName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(255))))); this.comboCusName.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.comboCusName.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.comboCusName.FormattingEnabled = true; this.comboCusName.Location = new System.Drawing.Point(155, 27); this.comboCusName.Name = "comboCusName"; this.comboCusName.Size = new System.Drawing.Size(342, 29); this.comboCusName.TabIndex = 0; this.comboCusName.SelectedIndexChanged += new System.EventHandler(this.comboCusName_SelectedIndexChanged_1); // // label5 // this.label5.AutoSize = true; this.label5.BackColor = System.Drawing.Color.White; this.label5.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label5.Location = new System.Drawing.Point(153, 9); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(117, 17); this.label5.TabIndex = 162; this.label5.Text = "Customer Account:"; // // label2 // this.label2.AutoSize = true; this.label2.BackColor = System.Drawing.Color.White; this.label2.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.Location = new System.Drawing.Point(540, 9); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(114, 17); this.label2.TabIndex = 162; this.label2.Text = "Customer Name :"; // // tabPage2 // this.tabPage2.BackColor = System.Drawing.Color.White; this.tabPage2.Controls.Add(this.txtCusTotalLaborPay); this.tabPage2.Controls.Add(this.label18); this.tabPage2.Controls.Add(this.txtCusAvgRate); this.tabPage2.Controls.Add(this.label21); this.tabPage2.Controls.Add(this.txtCusTotalAmount); this.tabPage2.Controls.Add(this.label20); this.tabPage2.Controls.Add(this.txtCusTotalWeight); this.tabPage2.Controls.Add(this.label22); this.tabPage2.Controls.Add(this.txtTotalQty); this.tabPage2.Controls.Add(this.label23); this.tabPage2.Controls.Add(this.txtInvoiceNo); this.tabPage2.Controls.Add(this.btnSearch); this.tabPage2.Controls.Add(this.label33); this.tabPage2.Controls.Add(this.label30); this.tabPage2.Controls.Add(this.label24); this.tabPage2.Controls.Add(this.label6); this.tabPage2.Controls.Add(this.dtEndDate); this.tabPage2.Controls.Add(this.dtStartDate); this.tabPage2.Controls.Add(this.ddCustomer); this.tabPage2.Controls.Add(this.CusRecorddataGridView); this.tabPage2.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.tabPage2.Location = new System.Drawing.Point(4, 34); this.tabPage2.Name = "tabPage2"; this.tabPage2.Size = new System.Drawing.Size(1156, 607); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "View Sales"; // // txtCusTotalLaborPay // this.txtCusTotalLaborPay.BackColor = System.Drawing.Color.WhiteSmoke; this.txtCusTotalLaborPay.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtCusTotalLaborPay.Location = new System.Drawing.Point(850, 48); this.txtCusTotalLaborPay.Name = "txtCusTotalLaborPay"; this.txtCusTotalLaborPay.Size = new System.Drawing.Size(91, 22); this.txtCusTotalLaborPay.TabIndex = 178; this.txtCusTotalLaborPay.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // label18 // this.label18.AutoSize = true; this.label18.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label18.ForeColor = System.Drawing.Color.Black; this.label18.Location = new System.Drawing.Point(847, 22); this.label18.Name = "label18"; this.label18.Size = new System.Drawing.Size(95, 17); this.label18.TabIndex = 177; this.label18.Text = "Labor Amount"; // // txtCusAvgRate // this.txtCusAvgRate.BackColor = System.Drawing.Color.WhiteSmoke; this.txtCusAvgRate.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtCusAvgRate.Location = new System.Drawing.Point(1055, 47); this.txtCusAvgRate.Name = "txtCusAvgRate"; this.txtCusAvgRate.Size = new System.Drawing.Size(94, 22); this.txtCusAvgRate.TabIndex = 175; this.txtCusAvgRate.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // label21 // this.label21.AutoSize = true; this.label21.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label21.ForeColor = System.Drawing.Color.Black; this.label21.Location = new System.Drawing.Point(1052, 22); this.label21.Name = "label21"; this.label21.Size = new System.Drawing.Size(93, 17); this.label21.TabIndex = 173; this.label21.Text = "txtAvrage Rate"; // // txtCusTotalAmount // this.txtCusTotalAmount.BackColor = System.Drawing.Color.WhiteSmoke; this.txtCusTotalAmount.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtCusTotalAmount.Location = new System.Drawing.Point(947, 48); this.txtCusTotalAmount.Name = "txtCusTotalAmount"; this.txtCusTotalAmount.Size = new System.Drawing.Size(102, 22); this.txtCusTotalAmount.TabIndex = 176; this.txtCusTotalAmount.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // label20 // this.label20.AutoSize = true; this.label20.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label20.ForeColor = System.Drawing.Color.Black; this.label20.Location = new System.Drawing.Point(944, 22); this.label20.Name = "label20"; this.label20.Size = new System.Drawing.Size(86, 17); this.label20.TabIndex = 174; this.label20.Text = "Total Amount"; // // txtCusTotalWeight // this.txtCusTotalWeight.BackColor = System.Drawing.Color.WhiteSmoke; this.txtCusTotalWeight.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtCusTotalWeight.Location = new System.Drawing.Point(751, 48); this.txtCusTotalWeight.Name = "txtCusTotalWeight"; this.txtCusTotalWeight.Size = new System.Drawing.Size(93, 22); this.txtCusTotalWeight.TabIndex = 172; this.txtCusTotalWeight.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // label22 // this.label22.AutoSize = true; this.label22.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label22.ForeColor = System.Drawing.Color.Black; this.label22.Location = new System.Drawing.Point(748, 22); this.label22.Name = "label22"; this.label22.Size = new System.Drawing.Size(82, 17); this.label22.TabIndex = 171; this.label22.Text = "Total Weight"; // // txtTotalQty // this.txtTotalQty.BackColor = System.Drawing.Color.WhiteSmoke; this.txtTotalQty.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtTotalQty.Location = new System.Drawing.Point(656, 48); this.txtTotalQty.Name = "txtTotalQty"; this.txtTotalQty.Size = new System.Drawing.Size(89, 22); this.txtTotalQty.TabIndex = 170; this.txtTotalQty.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // label23 // this.label23.AutoSize = true; this.label23.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label23.ForeColor = System.Drawing.Color.Black; this.label23.Location = new System.Drawing.Point(653, 22); this.label23.Name = "label23"; this.label23.Size = new System.Drawing.Size(89, 17); this.label23.TabIndex = 169; this.label23.Text = "Total Quantity"; // // txtInvoiceNo // this.txtInvoiceNo.BackColor = System.Drawing.Color.White; this.txtInvoiceNo.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtInvoiceNo.Location = new System.Drawing.Point(464, 38); this.txtInvoiceNo.Name = "txtInvoiceNo"; this.txtInvoiceNo.Size = new System.Drawing.Size(91, 29); this.txtInvoiceNo.TabIndex = 168; this.txtInvoiceNo.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.txtInvoiceNo.TextChanged += new System.EventHandler(this.txtInvoiceNo_TextChanged); // // btnSearch // this.btnSearch.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(188)))), ((int)(((byte)(155))))); this.btnSearch.FlatAppearance.BorderColor = System.Drawing.Color.DarkGray; this.btnSearch.FlatAppearance.MouseOverBackColor = System.Drawing.Color.SeaGreen; this.btnSearch.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnSearch.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnSearch.ForeColor = System.Drawing.Color.White; this.btnSearch.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnSearch.Location = new System.Drawing.Point(559, 37); this.btnSearch.Name = "btnSearch"; this.btnSearch.Size = new System.Drawing.Size(70, 29); this.btnSearch.TabIndex = 167; this.btnSearch.Text = "Search"; this.btnSearch.UseVisualStyleBackColor = false; this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); // // label33 // this.label33.AutoSize = true; this.label33.BackColor = System.Drawing.Color.White; this.label33.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label33.Location = new System.Drawing.Point(465, 18); this.label33.Name = "label33"; this.label33.Size = new System.Drawing.Size(80, 17); this.label33.TabIndex = 165; this.label33.Text = "Enter Bill No"; // // label30 // this.label30.AutoSize = true; this.label30.BackColor = System.Drawing.Color.White; this.label30.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label30.Location = new System.Drawing.Point(259, 18); this.label30.Name = "label30"; this.label30.Size = new System.Drawing.Size(102, 17); this.label30.TabIndex = 165; this.label30.Text = "Select Customer"; // // label24 // this.label24.AutoSize = true; this.label24.BackColor = System.Drawing.Color.White; this.label24.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label24.Location = new System.Drawing.Point(136, 18); this.label24.Name = "label24"; this.label24.Size = new System.Drawing.Size(61, 17); this.label24.TabIndex = 165; this.label24.Text = "End Date"; // // label6 // this.label6.AutoSize = true; this.label6.BackColor = System.Drawing.Color.White; this.label6.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label6.Location = new System.Drawing.Point(16, 18); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(66, 17); this.label6.TabIndex = 165; this.label6.Text = "Start Date"; // // dtEndDate // this.dtEndDate.CalendarFont = new System.Drawing.Font("Segoe UI Semibold", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dtEndDate.CustomFormat = "dd/MM/yyyy"; this.dtEndDate.Font = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dtEndDate.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.dtEndDate.Location = new System.Drawing.Point(139, 38); this.dtEndDate.Name = "dtEndDate"; this.dtEndDate.Size = new System.Drawing.Size(117, 25); this.dtEndDate.TabIndex = 164; this.dtEndDate.TabStop = false; // // dtStartDate // this.dtStartDate.CalendarFont = new System.Drawing.Font("Segoe UI Semibold", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dtStartDate.CustomFormat = "dd/MM/yyyy"; this.dtStartDate.Font = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dtStartDate.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.dtStartDate.Location = new System.Drawing.Point(16, 38); this.dtStartDate.Name = "dtStartDate"; this.dtStartDate.Size = new System.Drawing.Size(117, 25); this.dtStartDate.TabIndex = 164; this.dtStartDate.TabStop = false; // // ddCustomer // this.ddCustomer.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest; this.ddCustomer.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; this.ddCustomer.BackColor = System.Drawing.Color.WhiteSmoke; this.ddCustomer.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.ddCustomer.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ddCustomer.FormattingEnabled = true; this.ddCustomer.Location = new System.Drawing.Point(262, 38); this.ddCustomer.Name = "ddCustomer"; this.ddCustomer.Size = new System.Drawing.Size(201, 29); this.ddCustomer.TabIndex = 141; // // CusRecorddataGridView // this.CusRecorddataGridView.AllowUserToAddRows = false; this.CusRecorddataGridView.AllowUserToDeleteRows = false; this.CusRecorddataGridView.BackgroundColor = System.Drawing.Color.White; dataGridViewCellStyle33.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle33.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle33.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle33.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle33.SelectionBackColor = System.Drawing.Color.OrangeRed; dataGridViewCellStyle33.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle33.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.CusRecorddataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle33; this.CusRecorddataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.CusRecorddataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.Column1, this.Column2, this.Column3, this.Column4, this.Column5, this.Column12, this.Column6, this.Email, this.Column7, this.Column8, this.Column9, this.Column10, this.Column11, this.Column13, this.Column14}); this.CusRecorddataGridView.Location = new System.Drawing.Point(3, 73); this.CusRecorddataGridView.Name = "CusRecorddataGridView"; this.CusRecorddataGridView.Size = new System.Drawing.Size(1149, 466); this.CusRecorddataGridView.TabIndex = 138; this.CusRecorddataGridView.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.CusRecorddataGridView_CellContentClick); this.CusRecorddataGridView.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.CusRecorddataGridView_RowPostPaint); this.CusRecorddataGridView.Paint += new System.Windows.Forms.PaintEventHandler(this.CusRecorddataGridView_Paint); // // Column1 // this.Column1.HeaderText = "Invoice ID"; this.Column1.Name = "Column1"; this.Column1.Width = 50; // // Column2 // this.Column2.HeaderText = "Date"; this.Column2.Name = "Column2"; this.Column2.Width = 90; // // Column3 // this.Column3.HeaderText = "Customer Name"; this.Column3.Name = "Column3"; this.Column3.Width = 180; // // Column4 // dataGridViewCellStyle34.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; this.Column4.DefaultCellStyle = dataGridViewCellStyle34; this.Column4.HeaderText = "Product Name"; this.Column4.Name = "Column4"; this.Column4.Visible = false; // // Column5 // dataGridViewCellStyle35.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.Column5.DefaultCellStyle = dataGridViewCellStyle35; this.Column5.HeaderText = "Quantity"; this.Column5.Name = "Column5"; this.Column5.Width = 75; // // Column12 // this.Column12.HeaderText = "Rate"; this.Column12.Name = "Column12"; this.Column12.Width = 70; // // Column6 // dataGridViewCellStyle36.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.Column6.DefaultCellStyle = dataGridViewCellStyle36; this.Column6.HeaderText = "Weight"; this.Column6.Name = "Column6"; this.Column6.Width = 70; // // Email // dataGridViewCellStyle37.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.Email.DefaultCellStyle = dataGridViewCellStyle37; this.Email.HeaderText = "Sub Total Weight"; this.Email.Name = "Email"; this.Email.Width = 110; // // Column7 // dataGridViewCellStyle38.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.Column7.DefaultCellStyle = dataGridViewCellStyle38; this.Column7.HeaderText = "Labor Pay"; this.Column7.Name = "Column7"; this.Column7.Visible = false; this.Column7.Width = 70; // // Column8 // dataGridViewCellStyle39.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.Column8.DefaultCellStyle = dataGridViewCellStyle39; this.Column8.HeaderText = "Labor Pay Amount"; this.Column8.Name = "Column8"; this.Column8.Width = 80; // // Column9 // dataGridViewCellStyle40.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.Column9.DefaultCellStyle = dataGridViewCellStyle40; this.Column9.HeaderText = "Bardana"; this.Column9.Name = "Column9"; this.Column9.Width = 70; // // Column10 // dataGridViewCellStyle41.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.Column10.DefaultCellStyle = dataGridViewCellStyle41; this.Column10.HeaderText = "Sotari"; this.Column10.Name = "Column10"; this.Column10.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.Column10.Width = 70; // // Column11 // dataGridViewCellStyle42.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle42.ForeColor = System.Drawing.Color.Black; this.Column11.DefaultCellStyle = dataGridViewCellStyle42; this.Column11.HeaderText = "SubTotal Amount"; this.Column11.Name = "Column11"; this.Column11.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.Column11.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.Column11.Width = 120; // // Column13 // this.Column13.HeaderText = "Edit"; this.Column13.Name = "Column13"; this.Column13.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.Column13.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; this.Column13.Width = 60; // // Column14 // this.Column14.HeaderText = "Delete"; this.Column14.Name = "Column14"; this.Column14.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.Column14.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; this.Column14.Width = 60; // // tabPage6 // this.tabPage6.Controls.Add(this.btnOilSearch); this.tabPage6.Controls.Add(this.label48); this.tabPage6.Controls.Add(this.comboOilProduct); this.tabPage6.Controls.Add(this.txtOilAvgRate); this.tabPage6.Controls.Add(this.label31); this.tabPage6.Controls.Add(this.txtOilToAmount); this.tabPage6.Controls.Add(this.label32); this.tabPage6.Controls.Add(this.txtOilTotalWt); this.tabPage6.Controls.Add(this.label41); this.tabPage6.Controls.Add(this.dataGridView1); this.tabPage6.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.tabPage6.Location = new System.Drawing.Point(4, 34); this.tabPage6.Name = "tabPage6"; this.tabPage6.Size = new System.Drawing.Size(1156, 607); this.tabPage6.TabIndex = 5; this.tabPage6.Text = "View Cotton Oil"; this.tabPage6.UseVisualStyleBackColor = true; // // btnOilSearch // this.btnOilSearch.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(188)))), ((int)(((byte)(155))))); this.btnOilSearch.FlatAppearance.BorderColor = System.Drawing.Color.DarkGray; this.btnOilSearch.FlatAppearance.MouseOverBackColor = System.Drawing.Color.SeaGreen; this.btnOilSearch.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnOilSearch.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnOilSearch.ForeColor = System.Drawing.Color.White; this.btnOilSearch.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnOilSearch.Location = new System.Drawing.Point(265, 28); this.btnOilSearch.Name = "btnOilSearch"; this.btnOilSearch.Size = new System.Drawing.Size(70, 29); this.btnOilSearch.TabIndex = 168; this.btnOilSearch.Text = "Search"; this.btnOilSearch.UseVisualStyleBackColor = false; this.btnOilSearch.Click += new System.EventHandler(this.btnOilSearch_Click); // // label48 // this.label48.AutoSize = true; this.label48.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label48.ForeColor = System.Drawing.Color.Black; this.label48.Location = new System.Drawing.Point(13, 5); this.label48.Name = "label48"; this.label48.Size = new System.Drawing.Size(91, 17); this.label48.TabIndex = 150; this.label48.Text = "Select Product"; // // comboOilProduct // this.comboOilProduct.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest; this.comboOilProduct.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; this.comboOilProduct.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(255))))); this.comboOilProduct.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.comboOilProduct.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.comboOilProduct.FormattingEnabled = true; this.comboOilProduct.Items.AddRange(new object[] { "Cotton Oil", "Cotton Dirty"}); this.comboOilProduct.Location = new System.Drawing.Point(16, 28); this.comboOilProduct.Name = "comboOilProduct"; this.comboOilProduct.Size = new System.Drawing.Size(230, 29); this.comboOilProduct.TabIndex = 149; this.comboOilProduct.SelectedIndexChanged += new System.EventHandler(this.comboOilProduct_SelectedIndexChanged_1); // // txtOilAvgRate // this.txtOilAvgRate.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(255))))); this.txtOilAvgRate.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtOilAvgRate.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtOilAvgRate.Location = new System.Drawing.Point(1024, 28); this.txtOilAvgRate.Name = "txtOilAvgRate"; this.txtOilAvgRate.Size = new System.Drawing.Size(122, 22); this.txtOilAvgRate.TabIndex = 147; this.txtOilAvgRate.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // label31 // this.label31.AutoSize = true; this.label31.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label31.ForeColor = System.Drawing.Color.Black; this.label31.Location = new System.Drawing.Point(1021, 7); this.label31.Name = "label31"; this.label31.Size = new System.Drawing.Size(68, 13); this.label31.TabIndex = 145; this.label31.Text = "Avrage Rate"; // // txtOilToAmount // this.txtOilToAmount.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(255))))); this.txtOilToAmount.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtOilToAmount.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtOilToAmount.Location = new System.Drawing.Point(840, 28); this.txtOilToAmount.Name = "txtOilToAmount"; this.txtOilToAmount.Size = new System.Drawing.Size(154, 22); this.txtOilToAmount.TabIndex = 148; this.txtOilToAmount.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // label32 // this.label32.AutoSize = true; this.label32.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label32.ForeColor = System.Drawing.Color.Black; this.label32.Location = new System.Drawing.Point(837, 5); this.label32.Name = "label32"; this.label32.Size = new System.Drawing.Size(76, 13); this.label32.TabIndex = 146; this.label32.Text = "Total Amount"; // // txtOilTotalWt // this.txtOilTotalWt.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(255))))); this.txtOilTotalWt.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtOilTotalWt.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtOilTotalWt.Location = new System.Drawing.Point(685, 28); this.txtOilTotalWt.Name = "txtOilTotalWt"; this.txtOilTotalWt.Size = new System.Drawing.Size(138, 22); this.txtOilTotalWt.TabIndex = 144; this.txtOilTotalWt.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // label41 // this.label41.AutoSize = true; this.label41.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label41.ForeColor = System.Drawing.Color.Black; this.label41.Location = new System.Drawing.Point(682, 9); this.label41.Name = "label41"; this.label41.Size = new System.Drawing.Size(73, 13); this.label41.TabIndex = 143; this.label41.Text = "Total Weight"; // // dataGridView1 // this.dataGridView1.AllowUserToAddRows = false; this.dataGridView1.AllowUserToDeleteRows = false; this.dataGridView1.BackgroundColor = System.Drawing.Color.White; dataGridViewCellStyle43.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle43.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle43.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle43.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle43.SelectionBackColor = System.Drawing.Color.OrangeRed; dataGridViewCellStyle43.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle43.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle43; this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dataGridViewTextBoxColumn8, this.dataGridViewTextBoxColumn21, this.dataGridViewTextBoxColumn34, this.dataGridViewTextBoxColumn40, this.dataGridViewTextBoxColumn42, this.dataGridViewTextBoxColumn44, this.Column29, this.dataGridViewTextBoxColumn49, this.Column30, this.Column31, this.Column24, this.Column27}); this.dataGridView1.Location = new System.Drawing.Point(16, 63); this.dataGridView1.Name = "dataGridView1"; this.dataGridView1.Size = new System.Drawing.Size(1130, 541); this.dataGridView1.TabIndex = 141; this.dataGridView1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentClick); // // lbCusId // this.lbCusId.AutoSize = true; this.lbCusId.BackColor = System.Drawing.Color.Transparent; this.lbCusId.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lbCusId.ForeColor = System.Drawing.Color.Transparent; this.lbCusId.Location = new System.Drawing.Point(7, 751); this.lbCusId.Name = "lbCusId"; this.lbCusId.Size = new System.Drawing.Size(44, 15); this.lbCusId.TabIndex = 132; this.lbCusId.Text = "label15"; // // InvPrintDialog // this.InvPrintDialog.UseEXDialog = true; // // InvPrintPreviewDialog // this.InvPrintPreviewDialog.AutoScrollMargin = new System.Drawing.Size(0, 0); this.InvPrintPreviewDialog.AutoScrollMinSize = new System.Drawing.Size(0, 0); this.InvPrintPreviewDialog.ClientSize = new System.Drawing.Size(400, 300); this.InvPrintPreviewDialog.Enabled = true; this.InvPrintPreviewDialog.Icon = ((System.Drawing.Icon)(resources.GetObject("InvPrintPreviewDialog.Icon"))); this.InvPrintPreviewDialog.Name = "InvPrintPreviewDialog"; this.InvPrintPreviewDialog.Visible = false; // // panel4 // this.panel4.BackColor = System.Drawing.Color.LightSkyBlue; this.panel4.Controls.Add(this.btnClose); this.panel4.Controls.Add(this.Label1); this.panel4.Location = new System.Drawing.Point(8, 12); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(1166, 41); this.panel4.TabIndex = 133; this.panel4.MouseDown += new System.Windows.Forms.MouseEventHandler(this.tabControl1_MouseDown); // // btnClose // this.btnClose.BackColor = System.Drawing.Color.Transparent; this.btnClose.BackgroundImage = global::OMMS.Properties.Resources.close_2; this.btnClose.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; this.btnClose.FlatAppearance.BorderSize = 0; this.btnClose.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Red; this.btnClose.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnClose.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnClose.ForeColor = System.Drawing.Color.Black; this.btnClose.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; this.btnClose.Location = new System.Drawing.Point(1119, 0); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(39, 41); this.btnClose.TabIndex = 174; this.btnClose.UseVisualStyleBackColor = false; this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // // Label1 // this.Label1.Font = new System.Drawing.Font("Segoe UI", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label1.ForeColor = System.Drawing.Color.White; this.Label1.Location = new System.Drawing.Point(371, 0); this.Label1.Name = "Label1"; this.Label1.Size = new System.Drawing.Size(310, 39); this.Label1.TabIndex = 3; this.Label1.Text = "Sale Form"; this.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // panel6 // this.panel6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel6.Dock = System.Windows.Forms.DockStyle.Fill; this.panel6.Location = new System.Drawing.Point(0, 0); this.panel6.Name = "panel6"; this.panel6.Size = new System.Drawing.Size(1182, 714); this.panel6.TabIndex = 168; // // dataGridViewTextBoxColumn8 // this.dataGridViewTextBoxColumn8.HeaderText = "Invoice ID"; this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8"; this.dataGridViewTextBoxColumn8.Width = 60; // // dataGridViewTextBoxColumn21 // this.dataGridViewTextBoxColumn21.HeaderText = "Date"; this.dataGridViewTextBoxColumn21.Name = "dataGridViewTextBoxColumn21"; this.dataGridViewTextBoxColumn21.Width = 90; // // dataGridViewTextBoxColumn34 // this.dataGridViewTextBoxColumn34.HeaderText = "Customer Name"; this.dataGridViewTextBoxColumn34.Name = "dataGridViewTextBoxColumn34"; this.dataGridViewTextBoxColumn34.Width = 150; // // dataGridViewTextBoxColumn40 // dataGridViewCellStyle44.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; this.dataGridViewTextBoxColumn40.DefaultCellStyle = dataGridViewCellStyle44; this.dataGridViewTextBoxColumn40.HeaderText = "Product Name"; this.dataGridViewTextBoxColumn40.Name = "dataGridViewTextBoxColumn40"; this.dataGridViewTextBoxColumn40.Width = 130; // // dataGridViewTextBoxColumn42 // this.dataGridViewTextBoxColumn42.HeaderText = "Rate"; this.dataGridViewTextBoxColumn42.Name = "dataGridViewTextBoxColumn42"; this.dataGridViewTextBoxColumn42.Width = 60; // // dataGridViewTextBoxColumn44 // dataGridViewCellStyle45.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn44.DefaultCellStyle = dataGridViewCellStyle45; this.dataGridViewTextBoxColumn44.HeaderText = "Total Weight"; this.dataGridViewTextBoxColumn44.Name = "dataGridViewTextBoxColumn44"; // // Column29 // this.Column29.HeaderText = "Comission"; this.Column29.Name = "Column29"; this.Column29.Width = 70; // // dataGridViewTextBoxColumn49 // dataGridViewCellStyle46.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle46.ForeColor = System.Drawing.Color.Black; this.dataGridViewTextBoxColumn49.DefaultCellStyle = dataGridViewCellStyle46; this.dataGridViewTextBoxColumn49.HeaderText = "Total Amount"; this.dataGridViewTextBoxColumn49.Name = "dataGridViewTextBoxColumn49"; this.dataGridViewTextBoxColumn49.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.dataGridViewTextBoxColumn49.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.dataGridViewTextBoxColumn49.Width = 120; // // Column30 // this.Column30.HeaderText = "Payment"; this.Column30.Name = "Column30"; // // Column31 // this.Column31.HeaderText = "DuePayment"; this.Column31.Name = "Column31"; // // Column24 // this.Column24.HeaderText = "Edit"; this.Column24.Name = "Column24"; this.Column24.Width = 50; // // Column27 // this.Column27.HeaderText = "Delete"; this.Column27.Name = "Column27"; this.Column27.Width = 60; // // frmSales // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.White; this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.ClientSize = new System.Drawing.Size(1182, 714); this.Controls.Add(this.panel4); this.Controls.Add(this.lbCusId); this.Controls.Add(this.tabControl1); this.Controls.Add(this.panel6); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Name = "frmSales"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "frmCottonCake"; this.Load += new System.EventHandler(this.frmCottonCake_Load); this.tabControl1.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); this.panel5.ResumeLayout(false); this.panel5.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridViewShopingCart)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.pnlLaborPay.ResumeLayout(false); this.pnlLaborPay.PerformLayout(); this.panel3.ResumeLayout(false); this.panel3.PerformLayout(); this.tabPage2.ResumeLayout(false); this.tabPage2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.CusRecorddataGridView)).EndInit(); this.tabPage6.ResumeLayout(false); this.tabPage6.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); this.panel4.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }