private DevExpress.XtraCharts.Palette BuildPallete(int max_idx) { DevExpress.XtraCharts.Palette pallete = new DevExpress.XtraCharts.Palette("NhanSu"); pallete.Add(System.Drawing.Color.FromArgb(255, 128, 128)); pallete.Add(System.Drawing.Color.Yellow); pallete.Add(System.Drawing.Color.Lime); pallete.Add(System.Drawing.Color.FromArgb(0, 128, 64)); pallete.Add(System.Drawing.Color.Navy); pallete.Add(System.Drawing.Color.FromArgb(255, 128, 255)); pallete.Add(System.Drawing.Color.FromArgb(128, 128, 192)); pallete.Add(System.Drawing.Color.Blue); pallete.Add(System.Drawing.Color.FromArgb(128, 255, 128)); pallete.Add(System.Drawing.Color.FromArgb(0, 255, 64)); pallete.Add(System.Drawing.Color.Aqua); pallete.Add(System.Drawing.Color.FromArgb(0, 128, 255)); pallete.Add(System.Drawing.Color.FromArgb(64, 0, 0)); pallete.Add(System.Drawing.Color.FromArgb(128, 64, 0)); pallete.Add(System.Drawing.Color.FromArgb(128, 255, 128)); pallete.Add(System.Drawing.Color.FromArgb(255, 255, 128)); pallete.Add(System.Drawing.Color.FromArgb(128, 255, 0)); pallete.Add(System.Drawing.Color.FromArgb(64, 0, 64)); pallete.Add(System.Drawing.Color.FromArgb(255, 0, 128)); pallete[max_idx].Color = System.Drawing.Color.FromArgb(0, 102, 179); pallete[max_idx].Color2 = System.Drawing.Color.FromArgb(0, 102, 179); return(pallete); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.XtraCharts.SimpleDiagram3D simpleDiagram3D1 = new DevExpress.XtraCharts.SimpleDiagram3D(); DevExpress.XtraCharts.PaletteEntry paletteEntry1 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(5)))), ((int)(((byte)(169)))), ((int)(((byte)(10))))), System.Drawing.Color.FromArgb(((int)(((byte)(5)))), ((int)(((byte)(169)))), ((int)(((byte)(10)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry2 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(33)))), ((int)(((byte)(15))))), System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(33)))), ((int)(((byte)(15)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry3 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(186)))), ((int)(((byte)(217))))), System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(186)))), ((int)(((byte)(217)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry4 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(94))))), System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(94)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry5 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(119)))), ((int)(((byte)(199)))), ((int)(((byte)(70))))), System.Drawing.Color.FromArgb(((int)(((byte)(144)))), ((int)(((byte)(238)))), ((int)(((byte)(82)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry6 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(152)))), ((int)(((byte)(58)))), ((int)(((byte)(23))))), System.Drawing.Color.FromArgb(((int)(((byte)(187)))), ((int)(((byte)(86)))), ((int)(((byte)(49)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry7 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(136)))), ((int)(((byte)(0))))), System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(171)))), ((int)(((byte)(27)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry8 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(161)))), ((int)(((byte)(0))))), System.Drawing.Color.FromArgb(((int)(((byte)(196)))), ((int)(((byte)(194)))), ((int)(((byte)(0)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry9 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(159)))), ((int)(((byte)(113))))), System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(194)))), ((int)(((byte)(141)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry10 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(172)))), ((int)(((byte)(104))))), System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(202)))), ((int)(((byte)(134)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry11 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))), System.Drawing.Color.FromArgb(((int)(((byte)(132)))), ((int)(((byte)(227)))), ((int)(((byte)(181)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry12 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(147)))), ((int)(((byte)(115))))), System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(175)))), ((int)(((byte)(149)))))); DevExpress.XtraCharts.Palette palette1 = new DevExpress.XtraCharts.Palette("Palette 1", DevExpress.XtraCharts.PaletteScaleMode.Repeat, new DevExpress.XtraCharts.PaletteEntry[] { paletteEntry1, paletteEntry2, paletteEntry3, paletteEntry4, paletteEntry5, paletteEntry6, paletteEntry7, paletteEntry8, paletteEntry9, paletteEntry10, paletteEntry11, paletteEntry12 }); DevExpress.XtraCharts.PaletteEntry paletteEntry13 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(168)))), ((int)(((byte)(9))))), System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(201)))), ((int)(((byte)(67)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry14 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(76)))), ((int)(((byte)(27))))), System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(118)))), ((int)(((byte)(72)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry15 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(111)))), ((int)(((byte)(203)))), ((int)(((byte)(219))))), System.Drawing.Color.FromArgb(((int)(((byte)(111)))), ((int)(((byte)(203)))), ((int)(((byte)(219)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry16 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(94))))), System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(94)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry17 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(129))))), System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(129)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry18 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))), System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry19 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(161)))), ((int)(((byte)(0))))), System.Drawing.Color.FromArgb(((int)(((byte)(196)))), ((int)(((byte)(194)))), ((int)(((byte)(0)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry20 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(159)))), ((int)(((byte)(113))))), System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(194)))), ((int)(((byte)(141)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry21 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(172)))), ((int)(((byte)(104))))), System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(202)))), ((int)(((byte)(134)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry22 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))), System.Drawing.Color.FromArgb(((int)(((byte)(132)))), ((int)(((byte)(227)))), ((int)(((byte)(181)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry23 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(147)))), ((int)(((byte)(115))))), System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(175)))), ((int)(((byte)(149)))))); DevExpress.XtraCharts.Palette palette2 = new DevExpress.XtraCharts.Palette("Palette 2", DevExpress.XtraCharts.PaletteScaleMode.Repeat, new DevExpress.XtraCharts.PaletteEntry[] { paletteEntry13, paletteEntry14, paletteEntry15, paletteEntry16, paletteEntry17, paletteEntry18, paletteEntry19, paletteEntry20, paletteEntry21, paletteEntry22, paletteEntry23 }); DevExpress.XtraCharts.Series series1 = new DevExpress.XtraCharts.Series(); DevExpress.XtraCharts.Pie3DSeriesLabel pie3DSeriesLabel1 = new DevExpress.XtraCharts.Pie3DSeriesLabel(); DevExpress.XtraCharts.PiePointOptions piePointOptions1 = new DevExpress.XtraCharts.PiePointOptions(); DevExpress.XtraCharts.Pie3DSeriesView pie3DSeriesView1 = new DevExpress.XtraCharts.Pie3DSeriesView(); DevExpress.XtraCharts.Pie3DSeriesView pie3DSeriesView2 = new DevExpress.XtraCharts.Pie3DSeriesView(); this.linkLabel1 = new System.Windows.Forms.LinkLabel(); this.linkLabel2 = new System.Windows.Forms.LinkLabel(); this.linkLabel3 = new System.Windows.Forms.LinkLabel(); this.linkLabel4 = new System.Windows.Forms.LinkLabel(); this.linkLabel5 = new System.Windows.Forms.LinkLabel(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.listView1 = new System.Windows.Forms.ListView(); this.columnHeader5 = new System.Windows.Forms.ColumnHeader(); this.columnHeader6 = new System.Windows.Forms.ColumnHeader(); this.columnHeader7 = new System.Windows.Forms.ColumnHeader(); this.columnHeader8 = new System.Windows.Forms.ColumnHeader(); 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.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.linkLabel11 = new System.Windows.Forms.LinkLabel(); this.linkLabel12 = new System.Windows.Forms.LinkLabel(); this.linkLabel13 = new System.Windows.Forms.LinkLabel(); this.linkLabel14 = new System.Windows.Forms.LinkLabel(); this.linkLabel15 = new System.Windows.Forms.LinkLabel(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.listView2 = new System.Windows.Forms.ListView(); this.columnHeader17 = new System.Windows.Forms.ColumnHeader(); this.columnHeader18 = new System.Windows.Forms.ColumnHeader(); this.columnHeader19 = new System.Windows.Forms.ColumnHeader(); this.columnHeader20 = new System.Windows.Forms.ColumnHeader(); this.label44 = new System.Windows.Forms.Label(); this.label45 = new System.Windows.Forms.Label(); this.label46 = new System.Windows.Forms.Label(); this.label47 = new System.Windows.Forms.Label(); this.label48 = new System.Windows.Forms.Label(); this.label49 = new System.Windows.Forms.Label(); this.label50 = new System.Windows.Forms.Label(); this.label51 = new System.Windows.Forms.Label(); this.chartPie = new DevExpress.XtraCharts.ChartControl(); this.cboStores = new System.Windows.Forms.ComboBox(); this.dtDate = new CalendarLib.DateTimePickerEx(); this.lblHeader = new System.Windows.Forms.Label(); this.cboYear = new System.Windows.Forms.ComboBox(); this.printDoc = new System.Drawing.Printing.PrintDocument(); this.printDialog1 = new System.Windows.Forms.PrintDialog(); this.progressBar1 = new System.Windows.Forms.ProgressBar(); this.ckExclude = new System.Windows.Forms.CheckBox(); this.btnPrint = new System.Windows.Forms.Button(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.chartPie)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(simpleDiagram3D1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(series1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(pie3DSeriesLabel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(pie3DSeriesView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(pie3DSeriesView2)).BeginInit(); this.SuspendLayout(); // // linkLabel1 // this.linkLabel1.AutoSize = true; this.linkLabel1.Location = new System.Drawing.Point(305, 182); this.linkLabel1.Name = "linkLabel1"; this.linkLabel1.Size = new System.Drawing.Size(19, 13); this.linkLabel1.TabIndex = 2; this.linkLabel1.TabStop = true; this.linkLabel1.Text = "list"; // // linkLabel2 // this.linkLabel2.AutoSize = true; this.linkLabel2.Location = new System.Drawing.Point(305, 155); this.linkLabel2.Name = "linkLabel2"; this.linkLabel2.Size = new System.Drawing.Size(19, 13); this.linkLabel2.TabIndex = 2; this.linkLabel2.TabStop = true; this.linkLabel2.Text = "list"; // // linkLabel3 // this.linkLabel3.AutoSize = true; this.linkLabel3.Location = new System.Drawing.Point(305, 128); this.linkLabel3.Name = "linkLabel3"; this.linkLabel3.Size = new System.Drawing.Size(19, 13); this.linkLabel3.TabIndex = 2; this.linkLabel3.TabStop = true; this.linkLabel3.Text = "list"; // // linkLabel4 // this.linkLabel4.AutoSize = true; this.linkLabel4.Location = new System.Drawing.Point(305, 101); this.linkLabel4.Name = "linkLabel4"; this.linkLabel4.Size = new System.Drawing.Size(19, 13); this.linkLabel4.TabIndex = 2; this.linkLabel4.TabStop = true; this.linkLabel4.Text = "list"; // // linkLabel5 // this.linkLabel5.AutoSize = true; this.linkLabel5.Location = new System.Drawing.Point(305, 74); this.linkLabel5.Name = "linkLabel5"; this.linkLabel5.Size = new System.Drawing.Size(19, 13); this.linkLabel5.TabIndex = 2; this.linkLabel5.TabStop = true; this.linkLabel5.Text = "list"; // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.listView1); this.groupBox1.Location = new System.Drawing.Point(457, 3); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(682, 463); this.groupBox1.TabIndex = 1; this.groupBox1.TabStop = false; // // listView1 // this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader5, this.columnHeader6, this.columnHeader7, this.columnHeader8 }); this.listView1.Dock = System.Windows.Forms.DockStyle.Fill; this.listView1.FullRowSelect = true; this.listView1.GridLines = true; this.listView1.Location = new System.Drawing.Point(3, 16); this.listView1.Name = "listView1"; this.listView1.ShowItemToolTips = true; this.listView1.Size = new System.Drawing.Size(676, 444); this.listView1.TabIndex = 0; this.listView1.UseCompatibleStateImageBehavior = false; this.listView1.View = System.Windows.Forms.View.Details; // // columnHeader5 // this.columnHeader5.Text = "No."; this.columnHeader5.Width = 34; // // columnHeader6 // this.columnHeader6.Text = "Stock Code"; this.columnHeader6.Width = 98; // // columnHeader7 // this.columnHeader7.Text = "Item Name"; this.columnHeader7.Width = 393; // // columnHeader8 // this.columnHeader8.Text = "Unit"; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(39, 182); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(85, 13); this.label6.TabIndex = 0; this.label6.Text = "Pediatric Items : "; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(39, 155); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(74, 13); this.label7.TabIndex = 0; this.label7.Text = "Refrigerated : "; // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(39, 128); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(65, 13); this.label8.TabIndex = 0; this.label8.Text = "Free Items : "; // // label9 // this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point(39, 101); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(93, 13); this.label9.TabIndex = 0; this.label9.Text = "Items Not in EDL :"; // // label10 // this.label10.AutoSize = true; this.label10.Location = new System.Drawing.Point(167, 155); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(0, 13); this.label10.TabIndex = 0; // // label11 // this.label11.AutoSize = true; this.label11.Location = new System.Drawing.Point(167, 182); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(0, 13); this.label11.TabIndex = 0; // // label12 // this.label12.AutoSize = true; this.label12.Location = new System.Drawing.Point(167, 128); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(0, 13); this.label12.TabIndex = 0; // // label13 // this.label13.AutoSize = true; this.label13.Location = new System.Drawing.Point(167, 101); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(0, 13); this.label13.TabIndex = 0; // // label14 // this.label14.AutoSize = true; this.label14.Location = new System.Drawing.Point(167, 74); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(0, 13); this.label14.TabIndex = 0; // // label15 // this.label15.AutoSize = true; this.label15.Location = new System.Drawing.Point(39, 74); this.label15.Name = "label15"; this.label15.Size = new System.Drawing.Size(52, 13); this.label15.TabIndex = 0; this.label15.Text = "All Items :"; // // linkLabel11 // this.linkLabel11.AutoSize = true; this.linkLabel11.Location = new System.Drawing.Point(98, 169); this.linkLabel11.Name = "linkLabel11"; this.linkLabel11.Size = new System.Drawing.Size(150, 13); this.linkLabel11.TabIndex = 20; this.linkLabel11.TabStop = true; this.linkLabel11.Text = "Top 10 Least Received Items "; // // linkLabel12 // this.linkLabel12.AutoSize = true; this.linkLabel12.Location = new System.Drawing.Point(98, 140); this.linkLabel12.Name = "linkLabel12"; this.linkLabel12.Size = new System.Drawing.Size(147, 13); this.linkLabel12.TabIndex = 20; this.linkLabel12.TabStop = true; this.linkLabel12.Text = "Top 10 Most Received Items "; // // linkLabel13 // this.linkLabel13.AutoSize = true; this.linkLabel13.Location = new System.Drawing.Point(259, 99); this.linkLabel13.Name = "linkLabel13"; this.linkLabel13.Size = new System.Drawing.Size(19, 13); this.linkLabel13.TabIndex = 20; this.linkLabel13.TabStop = true; this.linkLabel13.Text = "list"; // // linkLabel14 // this.linkLabel14.AutoSize = true; this.linkLabel14.Location = new System.Drawing.Point(259, 72); this.linkLabel14.Name = "linkLabel14"; this.linkLabel14.Size = new System.Drawing.Size(19, 13); this.linkLabel14.TabIndex = 20; this.linkLabel14.TabStop = true; this.linkLabel14.Text = "list"; // // linkLabel15 // this.linkLabel15.AutoSize = true; this.linkLabel15.Location = new System.Drawing.Point(259, 48); this.linkLabel15.Name = "linkLabel15"; this.linkLabel15.Size = new System.Drawing.Size(19, 13); this.linkLabel15.TabIndex = 20; this.linkLabel15.TabStop = true; this.linkLabel15.Text = "list"; // // groupBox2 // this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox2.Controls.Add(this.listView2); this.groupBox2.Location = new System.Drawing.Point(462, 3); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(682, 463); this.groupBox2.TabIndex = 19; this.groupBox2.TabStop = false; // // listView2 // this.listView2.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader17, this.columnHeader18, this.columnHeader19, this.columnHeader20 }); this.listView2.Dock = System.Windows.Forms.DockStyle.Fill; this.listView2.FullRowSelect = true; this.listView2.GridLines = true; this.listView2.Location = new System.Drawing.Point(3, 16); this.listView2.Name = "listView2"; this.listView2.ShowItemToolTips = true; this.listView2.Size = new System.Drawing.Size(676, 444); this.listView2.TabIndex = 0; this.listView2.UseCompatibleStateImageBehavior = false; this.listView2.View = System.Windows.Forms.View.Details; // // columnHeader17 // this.columnHeader17.Text = "No."; this.columnHeader17.Width = 34; // // columnHeader18 // this.columnHeader18.Text = "Stock Code"; this.columnHeader18.Width = 98; // // columnHeader19 // this.columnHeader19.Text = "Item Name"; this.columnHeader19.Width = 393; // // columnHeader20 // this.columnHeader20.Text = "Unit"; // // label44 // this.label44.AutoSize = true; this.label44.Location = new System.Drawing.Point(309, 48); this.label44.Name = "label44"; this.label44.Size = new System.Drawing.Size(0, 13); this.label44.TabIndex = 9; // // label45 // this.label45.AutoSize = true; this.label45.Location = new System.Drawing.Point(203, 48); this.label45.Name = "label45"; this.label45.Size = new System.Drawing.Size(0, 13); this.label45.TabIndex = 10; // // label46 // this.label46.AutoSize = true; this.label46.Location = new System.Drawing.Point(238, 72); this.label46.Name = "label46"; this.label46.Size = new System.Drawing.Size(13, 13); this.label46.TabIndex = 7; this.label46.Text = "0"; // // label47 // this.label47.AutoSize = true; this.label47.Location = new System.Drawing.Point(238, 99); this.label47.Name = "label47"; this.label47.Size = new System.Drawing.Size(13, 13); this.label47.TabIndex = 7; this.label47.Text = "0"; // // label48 // this.label48.AutoSize = true; this.label48.Location = new System.Drawing.Point(238, 48); this.label48.Name = "label48"; this.label48.Size = new System.Drawing.Size(13, 13); this.label48.TabIndex = 7; this.label48.Text = "0"; // // label49 // this.label49.AutoSize = true; this.label49.Location = new System.Drawing.Point(98, 99); this.label49.Name = "label49"; this.label49.Size = new System.Drawing.Size(119, 13); this.label49.TabIndex = 8; this.label49.Text = "Never Received Items :"; // // label50 // this.label50.AutoSize = true; this.label50.Location = new System.Drawing.Point(98, 72); this.label50.Name = "label50"; this.label50.Size = new System.Drawing.Size(94, 13); this.label50.TabIndex = 8; this.label50.Text = "No of Days since :"; // // label51 // this.label51.AutoSize = true; this.label51.Location = new System.Drawing.Point(98, 48); this.label51.Name = "label51"; this.label51.Size = new System.Drawing.Size(102, 13); this.label51.TabIndex = 8; this.label51.Text = "Last Receive Date :"; // // chartPie // this.chartPie.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.chartPie.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253))))); this.chartPie.BorderOptions.Visible = false; simpleDiagram3D1.RotationMatrixSerializable = "1;0;0;0;0;0.5;-0.866025403784439;0;0;0.866025403784439;0.5;0;0;0;0;1"; this.chartPie.Diagram = simpleDiagram3D1; this.chartPie.Location = new System.Drawing.Point(26, 48); this.chartPie.Name = "chartPie"; this.chartPie.PaletteName = "Palette 2"; this.chartPie.PaletteRepository.Add("Palette 1", palette1); this.chartPie.PaletteRepository.Add("Palette 2", palette2); // pie3DSeriesLabel1.ValueType = DevExpress.XtraCharts.SeriesLabelValueType.SeriesName; series1.Label = pie3DSeriesLabel1; piePointOptions1.ValueNumericOptions.Format = DevExpress.XtraCharts.NumericFormat.Percent; series1.PointOptions = piePointOptions1; series1.Name = "Series 1"; series1.View = pie3DSeriesView1; this.chartPie.SeriesSerializable = new DevExpress.XtraCharts.Series[] { series1 }; //this.chartPie.SeriesTemplate.PointOptionsTypeName = "PiePointOptions"; this.chartPie.SeriesTemplate.View = pie3DSeriesView2; this.chartPie.Size = new System.Drawing.Size(1104, 444); this.chartPie.TabIndex = 20; // // cboStores // this.cboStores.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.cboStores.DisplayMember = "StoreName"; this.cboStores.FormattingEnabled = true; this.cboStores.Location = new System.Drawing.Point(904, 24); this.cboStores.Name = "cboStores"; this.cboStores.Size = new System.Drawing.Size(121, 21); this.cboStores.TabIndex = 21; this.cboStores.ValueMember = "ID"; this.cboStores.SelectedValueChanged += new System.EventHandler(this.cboStores_SelectedValueChanged_1); // // dtDate // this.dtDate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.dtDate.CalendarFont = new System.Drawing.Font("Nyala", 10.75F); this.dtDate.CustomFormat = "MM/dd/ yy"; this.dtDate.DayOfWeekCharacters = 2; this.dtDate.Location = new System.Drawing.Point(656, 25); this.dtDate.Name = "dtDate"; this.dtDate.PopUpFontSize = 9.75F; this.dtDate.Size = new System.Drawing.Size(114, 20); this.dtDate.TabIndex = 22; this.dtDate.Value = new System.DateTime(2009, 1, 20, 0, 0, 0, 0); this.dtDate.Visible = false; // // lblHeader // this.lblHeader.AutoSize = true; this.lblHeader.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblHeader.Location = new System.Drawing.Point(35, 22); this.lblHeader.Name = "lblHeader"; this.lblHeader.Size = new System.Drawing.Size(299, 23); this.lblHeader.TabIndex = 23; this.lblHeader.Text = "Stock Status summary of year"; // // cboYear // this.cboYear.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.cboYear.FormattingEnabled = true; this.cboYear.Location = new System.Drawing.Point(776, 25); this.cboYear.Name = "cboYear"; this.cboYear.Size = new System.Drawing.Size(121, 21); this.cboYear.TabIndex = 21; this.cboYear.SelectedValueChanged += new System.EventHandler(this.cboYear_SelectedValueChanged); // // printDoc // this.printDoc.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage); // // printDialog1 // this.printDialog1.UseEXDialog = true; // // progressBar1 // this.progressBar1.Location = new System.Drawing.Point(427, 245); this.progressBar1.Minimum = 1; this.progressBar1.Name = "progressBar1"; this.progressBar1.Size = new System.Drawing.Size(300, 23); this.progressBar1.Style = System.Windows.Forms.ProgressBarStyle.Continuous; this.progressBar1.TabIndex = 25; this.progressBar1.UseWaitCursor = true; this.progressBar1.Value = 1; this.progressBar1.Visible = false; // // ckExclude // this.ckExclude.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.ckExclude.AutoSize = true; this.ckExclude.Checked = true; this.ckExclude.CheckState = System.Windows.Forms.CheckState.Checked; this.ckExclude.Location = new System.Drawing.Point(824, 5); this.ckExclude.Name = "ckExclude"; this.ckExclude.Size = new System.Drawing.Size(201, 17); this.ckExclude.TabIndex = 26; this.ckExclude.Text = "Exclude Never Received Items"; this.ckExclude.UseVisualStyleBackColor = true; this.ckExclude.CheckedChanged += new System.EventHandler(this.ckExclude_CheckedChanged); // // btnPrint // this.btnPrint.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnPrint.Image = global::HCMIS.Desktop.Properties.Resources.printer; this.btnPrint.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnPrint.Location = new System.Drawing.Point(1065, 18); this.btnPrint.Name = "btnPrint"; this.btnPrint.Size = new System.Drawing.Size(65, 22); this.btnPrint.TabIndex = 24; this.btnPrint.Text = "Print"; this.btnPrint.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.btnPrint.UseVisualStyleBackColor = true; this.btnPrint.Click += new System.EventHandler(this.button1_Click); // // GeneralChart // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253))))); this.ClientSize = new System.Drawing.Size(1155, 513); this.Controls.Add(this.ckExclude); this.Controls.Add(this.progressBar1); this.Controls.Add(this.btnPrint); this.Controls.Add(this.lblHeader); this.Controls.Add(this.dtDate); this.Controls.Add(this.cboYear); this.Controls.Add(this.cboStores); this.Controls.Add(this.chartPie); this.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Name = "GeneralChart"; this.Text = "GeneralReport"; this.Load += new System.EventHandler(this.GeneralReport_Load); this.groupBox1.ResumeLayout(false); this.groupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(simpleDiagram3D1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(pie3DSeriesLabel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(pie3DSeriesView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(series1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(pie3DSeriesView2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chartPie)).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() { DevExpress.XtraCharts.SimpleDiagram3D simpleDiagram3D1 = new DevExpress.XtraCharts.SimpleDiagram3D(); DevExpress.XtraCharts.PaletteEntry paletteEntry1 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(5)))), ((int)(((byte)(169)))), ((int)(((byte)(10))))), System.Drawing.Color.FromArgb(((int)(((byte)(5)))), ((int)(((byte)(169)))), ((int)(((byte)(10)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry2 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(33)))), ((int)(((byte)(15))))), System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(33)))), ((int)(((byte)(15)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry3 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(186)))), ((int)(((byte)(217))))), System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(186)))), ((int)(((byte)(217)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry4 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(94))))), System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(94)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry5 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(119)))), ((int)(((byte)(199)))), ((int)(((byte)(70))))), System.Drawing.Color.FromArgb(((int)(((byte)(144)))), ((int)(((byte)(238)))), ((int)(((byte)(82)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry6 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(152)))), ((int)(((byte)(58)))), ((int)(((byte)(23))))), System.Drawing.Color.FromArgb(((int)(((byte)(187)))), ((int)(((byte)(86)))), ((int)(((byte)(49)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry7 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(136)))), ((int)(((byte)(0))))), System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(171)))), ((int)(((byte)(27)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry8 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(161)))), ((int)(((byte)(0))))), System.Drawing.Color.FromArgb(((int)(((byte)(196)))), ((int)(((byte)(194)))), ((int)(((byte)(0)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry9 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(159)))), ((int)(((byte)(113))))), System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(194)))), ((int)(((byte)(141)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry10 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(172)))), ((int)(((byte)(104))))), System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(202)))), ((int)(((byte)(134)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry11 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))), System.Drawing.Color.FromArgb(((int)(((byte)(132)))), ((int)(((byte)(227)))), ((int)(((byte)(181)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry12 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(147)))), ((int)(((byte)(115))))), System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(175)))), ((int)(((byte)(149)))))); DevExpress.XtraCharts.Palette palette1 = new DevExpress.XtraCharts.Palette("Palette 1", DevExpress.XtraCharts.PaletteScaleMode.Repeat, new DevExpress.XtraCharts.PaletteEntry[] { paletteEntry1, paletteEntry2, paletteEntry3, paletteEntry4, paletteEntry5, paletteEntry6, paletteEntry7, paletteEntry8, paletteEntry9, paletteEntry10, paletteEntry11, paletteEntry12}); DevExpress.XtraCharts.PaletteEntry paletteEntry13 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(168)))), ((int)(((byte)(9))))), System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(201)))), ((int)(((byte)(67)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry14 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(76)))), ((int)(((byte)(27))))), System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(118)))), ((int)(((byte)(72)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry15 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(111)))), ((int)(((byte)(203)))), ((int)(((byte)(219))))), System.Drawing.Color.FromArgb(((int)(((byte)(111)))), ((int)(((byte)(203)))), ((int)(((byte)(219)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry16 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(94))))), System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(94)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry17 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(129))))), System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(129)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry18 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))), System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry19 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(161)))), ((int)(((byte)(0))))), System.Drawing.Color.FromArgb(((int)(((byte)(196)))), ((int)(((byte)(194)))), ((int)(((byte)(0)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry20 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(159)))), ((int)(((byte)(113))))), System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(194)))), ((int)(((byte)(141)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry21 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(172)))), ((int)(((byte)(104))))), System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(202)))), ((int)(((byte)(134)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry22 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))), System.Drawing.Color.FromArgb(((int)(((byte)(132)))), ((int)(((byte)(227)))), ((int)(((byte)(181)))))); DevExpress.XtraCharts.PaletteEntry paletteEntry23 = new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(147)))), ((int)(((byte)(115))))), System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(175)))), ((int)(((byte)(149)))))); DevExpress.XtraCharts.Palette palette2 = new DevExpress.XtraCharts.Palette("Palette 2", DevExpress.XtraCharts.PaletteScaleMode.Repeat, new DevExpress.XtraCharts.PaletteEntry[] { paletteEntry13, paletteEntry14, paletteEntry15, paletteEntry16, paletteEntry17, paletteEntry18, paletteEntry19, paletteEntry20, paletteEntry21, paletteEntry22, paletteEntry23}); DevExpress.XtraCharts.Series series1 = new DevExpress.XtraCharts.Series(); DevExpress.XtraCharts.Pie3DSeriesLabel pie3DSeriesLabel1 = new DevExpress.XtraCharts.Pie3DSeriesLabel(); DevExpress.XtraCharts.PiePointOptions piePointOptions1 = new DevExpress.XtraCharts.PiePointOptions(); DevExpress.XtraCharts.Pie3DSeriesView pie3DSeriesView1 = new DevExpress.XtraCharts.Pie3DSeriesView(); DevExpress.XtraCharts.Pie3DSeriesView pie3DSeriesView2 = new DevExpress.XtraCharts.Pie3DSeriesView(); this.linkLabel1 = new System.Windows.Forms.LinkLabel(); this.linkLabel2 = new System.Windows.Forms.LinkLabel(); this.linkLabel3 = new System.Windows.Forms.LinkLabel(); this.linkLabel4 = new System.Windows.Forms.LinkLabel(); this.linkLabel5 = new System.Windows.Forms.LinkLabel(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.listView1 = new System.Windows.Forms.ListView(); this.columnHeader5 = new System.Windows.Forms.ColumnHeader(); this.columnHeader6 = new System.Windows.Forms.ColumnHeader(); this.columnHeader7 = new System.Windows.Forms.ColumnHeader(); this.columnHeader8 = new System.Windows.Forms.ColumnHeader(); 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.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.linkLabel11 = new System.Windows.Forms.LinkLabel(); this.linkLabel12 = new System.Windows.Forms.LinkLabel(); this.linkLabel13 = new System.Windows.Forms.LinkLabel(); this.linkLabel14 = new System.Windows.Forms.LinkLabel(); this.linkLabel15 = new System.Windows.Forms.LinkLabel(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.listView2 = new System.Windows.Forms.ListView(); this.columnHeader17 = new System.Windows.Forms.ColumnHeader(); this.columnHeader18 = new System.Windows.Forms.ColumnHeader(); this.columnHeader19 = new System.Windows.Forms.ColumnHeader(); this.columnHeader20 = new System.Windows.Forms.ColumnHeader(); this.label44 = new System.Windows.Forms.Label(); this.label45 = new System.Windows.Forms.Label(); this.label46 = new System.Windows.Forms.Label(); this.label47 = new System.Windows.Forms.Label(); this.label48 = new System.Windows.Forms.Label(); this.label49 = new System.Windows.Forms.Label(); this.label50 = new System.Windows.Forms.Label(); this.label51 = new System.Windows.Forms.Label(); this.chartPie = new DevExpress.XtraCharts.ChartControl(); this.cboStores = new System.Windows.Forms.ComboBox(); this.dtDate = new CalendarLib.DateTimePickerEx(); this.lblHeader = new System.Windows.Forms.Label(); this.cboYear = new System.Windows.Forms.ComboBox(); this.printDoc = new System.Drawing.Printing.PrintDocument(); this.printDialog1 = new System.Windows.Forms.PrintDialog(); this.progressBar1 = new System.Windows.Forms.ProgressBar(); this.ckExclude = new System.Windows.Forms.CheckBox(); this.btnPrint = new System.Windows.Forms.Button(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.chartPie)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(simpleDiagram3D1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(series1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(pie3DSeriesLabel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(pie3DSeriesView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(pie3DSeriesView2)).BeginInit(); this.SuspendLayout(); // // linkLabel1 // this.linkLabel1.AutoSize = true; this.linkLabel1.Location = new System.Drawing.Point(305, 182); this.linkLabel1.Name = "linkLabel1"; this.linkLabel1.Size = new System.Drawing.Size(19, 13); this.linkLabel1.TabIndex = 2; this.linkLabel1.TabStop = true; this.linkLabel1.Text = "list"; // // linkLabel2 // this.linkLabel2.AutoSize = true; this.linkLabel2.Location = new System.Drawing.Point(305, 155); this.linkLabel2.Name = "linkLabel2"; this.linkLabel2.Size = new System.Drawing.Size(19, 13); this.linkLabel2.TabIndex = 2; this.linkLabel2.TabStop = true; this.linkLabel2.Text = "list"; // // linkLabel3 // this.linkLabel3.AutoSize = true; this.linkLabel3.Location = new System.Drawing.Point(305, 128); this.linkLabel3.Name = "linkLabel3"; this.linkLabel3.Size = new System.Drawing.Size(19, 13); this.linkLabel3.TabIndex = 2; this.linkLabel3.TabStop = true; this.linkLabel3.Text = "list"; // // linkLabel4 // this.linkLabel4.AutoSize = true; this.linkLabel4.Location = new System.Drawing.Point(305, 101); this.linkLabel4.Name = "linkLabel4"; this.linkLabel4.Size = new System.Drawing.Size(19, 13); this.linkLabel4.TabIndex = 2; this.linkLabel4.TabStop = true; this.linkLabel4.Text = "list"; // // linkLabel5 // this.linkLabel5.AutoSize = true; this.linkLabel5.Location = new System.Drawing.Point(305, 74); this.linkLabel5.Name = "linkLabel5"; this.linkLabel5.Size = new System.Drawing.Size(19, 13); this.linkLabel5.TabIndex = 2; this.linkLabel5.TabStop = true; this.linkLabel5.Text = "list"; // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.listView1); this.groupBox1.Location = new System.Drawing.Point(457, 3); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(682, 463); this.groupBox1.TabIndex = 1; this.groupBox1.TabStop = false; // // listView1 // this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader5, this.columnHeader6, this.columnHeader7, this.columnHeader8}); this.listView1.Dock = System.Windows.Forms.DockStyle.Fill; this.listView1.FullRowSelect = true; this.listView1.GridLines = true; this.listView1.Location = new System.Drawing.Point(3, 16); this.listView1.Name = "listView1"; this.listView1.ShowItemToolTips = true; this.listView1.Size = new System.Drawing.Size(676, 444); this.listView1.TabIndex = 0; this.listView1.UseCompatibleStateImageBehavior = false; this.listView1.View = System.Windows.Forms.View.Details; // // columnHeader5 // this.columnHeader5.Text = "No."; this.columnHeader5.Width = 34; // // columnHeader6 // this.columnHeader6.Text = "Stock Code"; this.columnHeader6.Width = 98; // // columnHeader7 // this.columnHeader7.Text = "Item Name"; this.columnHeader7.Width = 393; // // columnHeader8 // this.columnHeader8.Text = "Unit"; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(39, 182); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(85, 13); this.label6.TabIndex = 0; this.label6.Text = "Pediatric Items : "; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(39, 155); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(74, 13); this.label7.TabIndex = 0; this.label7.Text = "Refrigerated : "; // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(39, 128); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(65, 13); this.label8.TabIndex = 0; this.label8.Text = "Free Items : "; // // label9 // this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point(39, 101); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(93, 13); this.label9.TabIndex = 0; this.label9.Text = "Items Not in EDL :"; // // label10 // this.label10.AutoSize = true; this.label10.Location = new System.Drawing.Point(167, 155); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(0, 13); this.label10.TabIndex = 0; // // label11 // this.label11.AutoSize = true; this.label11.Location = new System.Drawing.Point(167, 182); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(0, 13); this.label11.TabIndex = 0; // // label12 // this.label12.AutoSize = true; this.label12.Location = new System.Drawing.Point(167, 128); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(0, 13); this.label12.TabIndex = 0; // // label13 // this.label13.AutoSize = true; this.label13.Location = new System.Drawing.Point(167, 101); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(0, 13); this.label13.TabIndex = 0; // // label14 // this.label14.AutoSize = true; this.label14.Location = new System.Drawing.Point(167, 74); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(0, 13); this.label14.TabIndex = 0; // // label15 // this.label15.AutoSize = true; this.label15.Location = new System.Drawing.Point(39, 74); this.label15.Name = "label15"; this.label15.Size = new System.Drawing.Size(52, 13); this.label15.TabIndex = 0; this.label15.Text = "All Items :"; // // linkLabel11 // this.linkLabel11.AutoSize = true; this.linkLabel11.Location = new System.Drawing.Point(98, 169); this.linkLabel11.Name = "linkLabel11"; this.linkLabel11.Size = new System.Drawing.Size(150, 13); this.linkLabel11.TabIndex = 20; this.linkLabel11.TabStop = true; this.linkLabel11.Text = "Top 10 Least Received Items "; // // linkLabel12 // this.linkLabel12.AutoSize = true; this.linkLabel12.Location = new System.Drawing.Point(98, 140); this.linkLabel12.Name = "linkLabel12"; this.linkLabel12.Size = new System.Drawing.Size(147, 13); this.linkLabel12.TabIndex = 20; this.linkLabel12.TabStop = true; this.linkLabel12.Text = "Top 10 Most Received Items "; // // linkLabel13 // this.linkLabel13.AutoSize = true; this.linkLabel13.Location = new System.Drawing.Point(259, 99); this.linkLabel13.Name = "linkLabel13"; this.linkLabel13.Size = new System.Drawing.Size(19, 13); this.linkLabel13.TabIndex = 20; this.linkLabel13.TabStop = true; this.linkLabel13.Text = "list"; // // linkLabel14 // this.linkLabel14.AutoSize = true; this.linkLabel14.Location = new System.Drawing.Point(259, 72); this.linkLabel14.Name = "linkLabel14"; this.linkLabel14.Size = new System.Drawing.Size(19, 13); this.linkLabel14.TabIndex = 20; this.linkLabel14.TabStop = true; this.linkLabel14.Text = "list"; // // linkLabel15 // this.linkLabel15.AutoSize = true; this.linkLabel15.Location = new System.Drawing.Point(259, 48); this.linkLabel15.Name = "linkLabel15"; this.linkLabel15.Size = new System.Drawing.Size(19, 13); this.linkLabel15.TabIndex = 20; this.linkLabel15.TabStop = true; this.linkLabel15.Text = "list"; // // groupBox2 // this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox2.Controls.Add(this.listView2); this.groupBox2.Location = new System.Drawing.Point(462, 3); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(682, 463); this.groupBox2.TabIndex = 19; this.groupBox2.TabStop = false; // // listView2 // this.listView2.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader17, this.columnHeader18, this.columnHeader19, this.columnHeader20}); this.listView2.Dock = System.Windows.Forms.DockStyle.Fill; this.listView2.FullRowSelect = true; this.listView2.GridLines = true; this.listView2.Location = new System.Drawing.Point(3, 16); this.listView2.Name = "listView2"; this.listView2.ShowItemToolTips = true; this.listView2.Size = new System.Drawing.Size(676, 444); this.listView2.TabIndex = 0; this.listView2.UseCompatibleStateImageBehavior = false; this.listView2.View = System.Windows.Forms.View.Details; // // columnHeader17 // this.columnHeader17.Text = "No."; this.columnHeader17.Width = 34; // // columnHeader18 // this.columnHeader18.Text = "Stock Code"; this.columnHeader18.Width = 98; // // columnHeader19 // this.columnHeader19.Text = "Item Name"; this.columnHeader19.Width = 393; // // columnHeader20 // this.columnHeader20.Text = "Unit"; // // label44 // this.label44.AutoSize = true; this.label44.Location = new System.Drawing.Point(309, 48); this.label44.Name = "label44"; this.label44.Size = new System.Drawing.Size(0, 13); this.label44.TabIndex = 9; // // label45 // this.label45.AutoSize = true; this.label45.Location = new System.Drawing.Point(203, 48); this.label45.Name = "label45"; this.label45.Size = new System.Drawing.Size(0, 13); this.label45.TabIndex = 10; // // label46 // this.label46.AutoSize = true; this.label46.Location = new System.Drawing.Point(238, 72); this.label46.Name = "label46"; this.label46.Size = new System.Drawing.Size(13, 13); this.label46.TabIndex = 7; this.label46.Text = "0"; // // label47 // this.label47.AutoSize = true; this.label47.Location = new System.Drawing.Point(238, 99); this.label47.Name = "label47"; this.label47.Size = new System.Drawing.Size(13, 13); this.label47.TabIndex = 7; this.label47.Text = "0"; // // label48 // this.label48.AutoSize = true; this.label48.Location = new System.Drawing.Point(238, 48); this.label48.Name = "label48"; this.label48.Size = new System.Drawing.Size(13, 13); this.label48.TabIndex = 7; this.label48.Text = "0"; // // label49 // this.label49.AutoSize = true; this.label49.Location = new System.Drawing.Point(98, 99); this.label49.Name = "label49"; this.label49.Size = new System.Drawing.Size(119, 13); this.label49.TabIndex = 8; this.label49.Text = "Never Received Items :"; // // label50 // this.label50.AutoSize = true; this.label50.Location = new System.Drawing.Point(98, 72); this.label50.Name = "label50"; this.label50.Size = new System.Drawing.Size(94, 13); this.label50.TabIndex = 8; this.label50.Text = "No of Days since :"; // // label51 // this.label51.AutoSize = true; this.label51.Location = new System.Drawing.Point(98, 48); this.label51.Name = "label51"; this.label51.Size = new System.Drawing.Size(102, 13); this.label51.TabIndex = 8; this.label51.Text = "Last Receive Date :"; // // chartPie // this.chartPie.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.chartPie.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253))))); this.chartPie.BorderOptions.Visible = false; simpleDiagram3D1.RotationMatrixSerializable = "1;0;0;0;0;0.5;-0.866025403784439;0;0;0.866025403784439;0.5;0;0;0;0;1"; this.chartPie.Diagram = simpleDiagram3D1; this.chartPie.Location = new System.Drawing.Point(26, 48); this.chartPie.Name = "chartPie"; this.chartPie.PaletteName = "Palette 2"; this.chartPie.PaletteRepository.Add("Palette 1", palette1); this.chartPie.PaletteRepository.Add("Palette 2", palette2); // pie3DSeriesLabel1.ValueType = DevExpress.XtraCharts.SeriesLabelValueType.SeriesName; series1.Label = pie3DSeriesLabel1; piePointOptions1.ValueNumericOptions.Format = DevExpress.XtraCharts.NumericFormat.Percent; series1.PointOptions = piePointOptions1; series1.Name = "Series 1"; series1.View = pie3DSeriesView1; this.chartPie.SeriesSerializable = new DevExpress.XtraCharts.Series[] { series1}; //this.chartPie.SeriesTemplate.PointOptionsTypeName = "PiePointOptions"; this.chartPie.SeriesTemplate.View = pie3DSeriesView2; this.chartPie.Size = new System.Drawing.Size(1104, 444); this.chartPie.TabIndex = 20; // // cboStores // this.cboStores.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.cboStores.DisplayMember = "StoreName"; this.cboStores.FormattingEnabled = true; this.cboStores.Location = new System.Drawing.Point(904, 24); this.cboStores.Name = "cboStores"; this.cboStores.Size = new System.Drawing.Size(121, 21); this.cboStores.TabIndex = 21; this.cboStores.ValueMember = "ID"; this.cboStores.SelectedValueChanged += new System.EventHandler(this.cboStores_SelectedValueChanged_1); // // dtDate // this.dtDate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.dtDate.CalendarFont = new System.Drawing.Font("Nyala", 10.75F); this.dtDate.CustomFormat = "MM/dd/ yy"; this.dtDate.DayOfWeekCharacters = 2; this.dtDate.Location = new System.Drawing.Point(656, 25); this.dtDate.Name = "dtDate"; this.dtDate.PopUpFontSize = 9.75F; this.dtDate.Size = new System.Drawing.Size(114, 20); this.dtDate.TabIndex = 22; this.dtDate.Value = new System.DateTime(2009, 1, 20, 0, 0, 0, 0); this.dtDate.Visible = false; // // lblHeader // this.lblHeader.AutoSize = true; this.lblHeader.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblHeader.Location = new System.Drawing.Point(35, 22); this.lblHeader.Name = "lblHeader"; this.lblHeader.Size = new System.Drawing.Size(299, 23); this.lblHeader.TabIndex = 23; this.lblHeader.Text = "Stock Status summary of year"; // // cboYear // this.cboYear.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.cboYear.FormattingEnabled = true; this.cboYear.Location = new System.Drawing.Point(776, 25); this.cboYear.Name = "cboYear"; this.cboYear.Size = new System.Drawing.Size(121, 21); this.cboYear.TabIndex = 21; this.cboYear.SelectedValueChanged += new System.EventHandler(this.cboYear_SelectedValueChanged); // // printDoc // this.printDoc.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage); // // printDialog1 // this.printDialog1.UseEXDialog = true; // // progressBar1 // this.progressBar1.Location = new System.Drawing.Point(427, 245); this.progressBar1.Minimum = 1; this.progressBar1.Name = "progressBar1"; this.progressBar1.Size = new System.Drawing.Size(300, 23); this.progressBar1.Style = System.Windows.Forms.ProgressBarStyle.Continuous; this.progressBar1.TabIndex = 25; this.progressBar1.UseWaitCursor = true; this.progressBar1.Value = 1; this.progressBar1.Visible = false; // // ckExclude // this.ckExclude.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.ckExclude.AutoSize = true; this.ckExclude.Checked = true; this.ckExclude.CheckState = System.Windows.Forms.CheckState.Checked; this.ckExclude.Location = new System.Drawing.Point(824, 5); this.ckExclude.Name = "ckExclude"; this.ckExclude.Size = new System.Drawing.Size(201, 17); this.ckExclude.TabIndex = 26; this.ckExclude.Text = "Exclude Never Received Items"; this.ckExclude.UseVisualStyleBackColor = true; this.ckExclude.CheckedChanged += new System.EventHandler(this.ckExclude_CheckedChanged); // // btnPrint // this.btnPrint.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnPrint.Image = global::HCMIS.Desktop.Properties.Resources.printer; this.btnPrint.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnPrint.Location = new System.Drawing.Point(1065, 18); this.btnPrint.Name = "btnPrint"; this.btnPrint.Size = new System.Drawing.Size(65, 22); this.btnPrint.TabIndex = 24; this.btnPrint.Text = "Print"; this.btnPrint.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.btnPrint.UseVisualStyleBackColor = true; this.btnPrint.Click += new System.EventHandler(this.button1_Click); // // GeneralChart // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253))))); this.ClientSize = new System.Drawing.Size(1155, 513); this.Controls.Add(this.ckExclude); this.Controls.Add(this.progressBar1); this.Controls.Add(this.btnPrint); this.Controls.Add(this.lblHeader); this.Controls.Add(this.dtDate); this.Controls.Add(this.cboYear); this.Controls.Add(this.cboStores); this.Controls.Add(this.chartPie); this.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Name = "GeneralChart"; this.Text = "GeneralReport"; this.Load += new System.EventHandler(this.GeneralReport_Load); this.groupBox1.ResumeLayout(false); this.groupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(simpleDiagram3D1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(pie3DSeriesLabel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(pie3DSeriesView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(series1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(pie3DSeriesView2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chartPie)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }