コード例 #1
0
 public void RemoveOrderRecordRow(OrderQueueDS.OrderRecordRow row)
 {
     base.Rows.Remove(row);
 }
コード例 #2
0
 public void AddOrderRecordRow(OrderQueueDS.OrderRecordRow row)
 {
     base.Rows.Add(row);
 }
コード例 #3
0
 public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
 {
     XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
     XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
     OrderQueueDS orderQueueDS = new OrderQueueDS();
     XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
     xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
     xmlSchemaAny.MinOccurs = 0m;
     xmlSchemaAny.MaxOccurs = 79228162514264337593543950335m;
     xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
     xmlSchemaSequence.Items.Add(xmlSchemaAny);
     XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
     xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
     xmlSchemaAny2.MinOccurs = 1m;
     xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
     xmlSchemaSequence.Items.Add(xmlSchemaAny2);
     XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
     xmlSchemaAttribute.Name = "namespace";
     xmlSchemaAttribute.FixedValue = orderQueueDS.Namespace;
     xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
     XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
     xmlSchemaAttribute2.Name = "tableTypeName";
     xmlSchemaAttribute2.FixedValue = "OrderRecordDataTable";
     xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
     xmlSchemaComplexType.Particle = xmlSchemaSequence;
     XmlSchema schemaSerializable = orderQueueDS.GetSchemaSerializable();
     XmlSchemaComplexType result;
     if (xs.Contains(schemaSerializable.TargetNamespace))
     {
         MemoryStream memoryStream = new MemoryStream();
         MemoryStream memoryStream2 = new MemoryStream();
         try
         {
             schemaSerializable.Write(memoryStream);
             IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator();
             while (enumerator.MoveNext())
             {
                 XmlSchema xmlSchema = (XmlSchema)enumerator.Current;
                 memoryStream2.SetLength(0L);
                 xmlSchema.Write(memoryStream2);
                 if (memoryStream.Length == memoryStream2.Length)
                 {
                     memoryStream.Position = 0L;
                     memoryStream2.Position = 0L;
                     while (memoryStream.Position != memoryStream.Length && memoryStream.ReadByte() == memoryStream2.ReadByte())
                     {
                     }
                     if (memoryStream.Position == memoryStream.Length)
                     {
                         result = xmlSchemaComplexType;
                         return result;
                     }
                 }
             }
         }
         finally
         {
             if (memoryStream != null)
             {
                 memoryStream.Close();
             }
             if (memoryStream2 != null)
             {
                 memoryStream2.Close();
             }
         }
     }
     xs.Add(schemaSerializable);
     result = xmlSchemaComplexType;
     return result;
 }
コード例 #4
0
 public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs)
 {
     OrderQueueDS orderQueueDS = new OrderQueueDS();
     XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
     XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
     XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
     xmlSchemaAny.Namespace = orderQueueDS.Namespace;
     xmlSchemaSequence.Items.Add(xmlSchemaAny);
     xmlSchemaComplexType.Particle = xmlSchemaSequence;
     XmlSchema schemaSerializable = orderQueueDS.GetSchemaSerializable();
     XmlSchemaComplexType result;
     if (xs.Contains(schemaSerializable.TargetNamespace))
     {
         MemoryStream memoryStream = new MemoryStream();
         MemoryStream memoryStream2 = new MemoryStream();
         try
         {
             schemaSerializable.Write(memoryStream);
             IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator();
             while (enumerator.MoveNext())
             {
                 XmlSchema xmlSchema = (XmlSchema)enumerator.Current;
                 memoryStream2.SetLength(0L);
                 xmlSchema.Write(memoryStream2);
                 if (memoryStream.Length == memoryStream2.Length)
                 {
                     memoryStream.Position = 0L;
                     memoryStream2.Position = 0L;
                     while (memoryStream.Position != memoryStream.Length && memoryStream.ReadByte() == memoryStream2.ReadByte())
                     {
                     }
                     if (memoryStream.Position == memoryStream.Length)
                     {
                         result = xmlSchemaComplexType;
                         return result;
                     }
                 }
             }
         }
         finally
         {
             if (memoryStream != null)
             {
                 memoryStream.Close();
             }
             if (memoryStream2 != null)
             {
                 memoryStream2.Close();
             }
         }
     }
     xs.Add(schemaSerializable);
     result = xmlSchemaComplexType;
     return result;
 }
コード例 #5
0
 public OrderRecordRowChangeEvent(OrderQueueDS.OrderRecordRow row, DataRowAction action)
 {
     this.eventRow = row;
     this.eventAction = action;
 }
コード例 #6
0
 private void InitializeComponent()
 {
     ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmBatchOrder));
     ColumnItem columnItem = new ColumnItem();
     ColumnItem columnItem2 = new ColumnItem();
     ColumnItem columnItem3 = new ColumnItem();
     ColumnItem columnItem4 = new ColumnItem();
     ColumnItem columnItem5 = new ColumnItem();
     ColumnItem columnItem6 = new ColumnItem();
     ColumnItem columnItem7 = new ColumnItem();
     ColumnItem columnItem8 = new ColumnItem();
     ColumnItem columnItem9 = new ColumnItem();
     ColumnItem columnItem10 = new ColumnItem();
     ColumnItem columnItem11 = new ColumnItem();
     ColumnItem columnItem12 = new ColumnItem();
     this.toolStrip1 = new ToolStrip();
     this.tsbtnClearAll = new ToolStripButton();
     this.toolStripSeparator4 = new ToolStripSeparator();
     this.tsbtnClear = new ToolStripButton();
     this.tsImportCSV = new ToolStripButton();
     this.toolStripSeparator6 = new ToolStripSeparator();
     this.tsExportCSV = new ToolStripButton();
     this.toolStripSeparator1 = new ToolStripSeparator();
     this.tsSendSelected = new ToolStripButton();
     this.toolStripSeparator3 = new ToolStripSeparator();
     this.tsbtnSendAllOrder = new ToolStripButton();
     this.toolStripSeparator2 = new ToolStripSeparator();
     this.tsbtnValidateOrder = new ToolStripButton();
     this.toolStripSeparator5 = new ToolStripSeparator();
     this.tsbtnStopSending = new ToolStripButton();
     this.cbText = new ComboBox();
     this.orderQueueDS1 = new OrderQueueDS();
     this.statusStrip1 = new StatusStrip();
     this.toolStripStatusLabel2 = new ToolStripStatusLabel();
     this.toolStripStatusLabel1 = new ToolStripStatusLabel();
     this.toolStripStatusLabel4 = new ToolStripStatusLabel();
     this.toolStripStatusLabel3 = new ToolStripStatusLabel();
     this.tslbTotAmount = new ToolStripStatusLabel();
     this.sortGrid1 = new SortGrid();
     this.toolStrip1.SuspendLayout();
     ((ISupportInitialize)this.orderQueueDS1).BeginInit();
     this.statusStrip1.SuspendLayout();
     base.SuspendLayout();
     this.toolStrip1.BackColor = Color.FromArgb(30, 30, 30);
     this.toolStrip1.GripMargin = new Padding(0);
     this.toolStrip1.GripStyle = ToolStripGripStyle.Hidden;
     this.toolStrip1.Items.AddRange(new ToolStripItem[]
     {
         this.tsbtnClearAll,
         this.toolStripSeparator4,
         this.tsbtnClear,
         this.tsImportCSV,
         this.toolStripSeparator6,
         this.tsExportCSV,
         this.toolStripSeparator1,
         this.tsSendSelected,
         this.toolStripSeparator3,
         this.tsbtnSendAllOrder,
         this.toolStripSeparator2,
         this.tsbtnValidateOrder,
         this.toolStripSeparator5,
         this.tsbtnStopSending
     });
     this.toolStrip1.Location = new Point(0, 0);
     this.toolStrip1.Name = "toolStrip1";
     this.toolStrip1.Padding = new Padding(1, 1, 1, 2);
     this.toolStrip1.RenderMode = ToolStripRenderMode.Professional;
     this.toolStrip1.Size = new Size(685, 26);
     this.toolStrip1.TabIndex = 8;
     this.tsbtnClearAll.Alignment = ToolStripItemAlignment.Right;
     this.tsbtnClearAll.DisplayStyle = ToolStripItemDisplayStyle.Text;
     this.tsbtnClearAll.ForeColor = Color.WhiteSmoke;
     this.tsbtnClearAll.ImageTransparentColor = Color.Magenta;
     this.tsbtnClearAll.Name = "tsbtnClearAll";
     this.tsbtnClearAll.Size = new Size(55, 20);
     this.tsbtnClearAll.Text = "Clear All";
     this.tsbtnClearAll.Click += new EventHandler(this.tsbtnRemoveAll_Click);
     this.toolStripSeparator4.Alignment = ToolStripItemAlignment.Right;
     this.toolStripSeparator4.Name = "toolStripSeparator4";
     this.toolStripSeparator4.Size = new Size(6, 23);
     this.tsbtnClear.Alignment = ToolStripItemAlignment.Right;
     this.tsbtnClear.DisplayStyle = ToolStripItemDisplayStyle.Text;
     this.tsbtnClear.ForeColor = Color.WhiteSmoke;
     this.tsbtnClear.ImageTransparentColor = Color.Magenta;
     this.tsbtnClear.Name = "tsbtnClear";
     this.tsbtnClear.Size = new Size(38, 20);
     this.tsbtnClear.Text = "Clear";
     this.tsbtnClear.ToolTipText = "Clear [Ctrl+Insert]";
     this.tsbtnClear.Click += new EventHandler(this.tsbtnRemove_Click);
     this.tsImportCSV.ForeColor = Color.WhiteSmoke;
     this.tsImportCSV.Image = (Image)componentResourceManager.GetObject("tsImportCSV.Image");
     this.tsImportCSV.ImageTransparentColor = Color.Magenta;
     this.tsImportCSV.Margin = new Padding(5, 1, 0, 2);
     this.tsImportCSV.Name = "tsImportCSV";
     this.tsImportCSV.Size = new Size(96, 20);
     this.tsImportCSV.Text = "Import Order";
     this.tsImportCSV.Click += new EventHandler(this.tsImportCSV_Click);
     this.toolStripSeparator6.Name = "toolStripSeparator6";
     this.toolStripSeparator6.Size = new Size(6, 23);
     this.tsExportCSV.ForeColor = Color.WhiteSmoke;
     this.tsExportCSV.Image = (Image)componentResourceManager.GetObject("tsExportCSV.Image");
     this.tsExportCSV.ImageTransparentColor = Color.Magenta;
     this.tsExportCSV.Margin = new Padding(2, 1, 0, 2);
     this.tsExportCSV.Name = "tsExportCSV";
     this.tsExportCSV.Size = new Size(93, 20);
     this.tsExportCSV.Text = "Export Order";
     this.tsExportCSV.Click += new EventHandler(this.tsExportCSV_Click);
     this.toolStripSeparator1.Name = "toolStripSeparator1";
     this.toolStripSeparator1.Size = new Size(6, 23);
     this.tsSendSelected.ForeColor = Color.WhiteSmoke;
     this.tsSendSelected.ImageTransparentColor = Color.Magenta;
     this.tsSendSelected.Margin = new Padding(20, 1, 0, 2);
     this.tsSendSelected.Name = "tsSendSelected";
     this.tsSendSelected.Size = new Size(84, 20);
     this.tsSendSelected.Text = "Send Selected";
     this.tsSendSelected.Click += new EventHandler(this.tsSendSelected_Click);
     this.toolStripSeparator3.Name = "toolStripSeparator3";
     this.toolStripSeparator3.Size = new Size(6, 23);
     this.tsbtnSendAllOrder.DisplayStyle = ToolStripItemDisplayStyle.Text;
     this.tsbtnSendAllOrder.ForeColor = Color.WhiteSmoke;
     this.tsbtnSendAllOrder.ImageTransparentColor = Color.Magenta;
     this.tsbtnSendAllOrder.Margin = new Padding(2, 1, 0, 2);
     this.tsbtnSendAllOrder.Name = "tsbtnSendAllOrder";
     this.tsbtnSendAllOrder.Size = new Size(54, 20);
     this.tsbtnSendAllOrder.Text = "Send All";
     this.tsbtnSendAllOrder.Click += new EventHandler(this.tsbtnSendAllOrder_Click);
     this.toolStripSeparator2.Name = "toolStripSeparator2";
     this.toolStripSeparator2.Size = new Size(6, 23);
     this.tsbtnValidateOrder.DisplayStyle = ToolStripItemDisplayStyle.Text;
     this.tsbtnValidateOrder.ForeColor = Color.WhiteSmoke;
     this.tsbtnValidateOrder.Image = (Image)componentResourceManager.GetObject("tsbtnValidateOrder.Image");
     this.tsbtnValidateOrder.ImageTransparentColor = Color.Magenta;
     this.tsbtnValidateOrder.Margin = new Padding(2, 1, 0, 2);
     this.tsbtnValidateOrder.Name = "tsbtnValidateOrder";
     this.tsbtnValidateOrder.Size = new Size(86, 20);
     this.tsbtnValidateOrder.Text = "Validate Order";
     this.tsbtnValidateOrder.Click += new EventHandler(this.tsbtnValidateOrder_Click);
     this.toolStripSeparator5.Name = "toolStripSeparator5";
     this.toolStripSeparator5.Size = new Size(6, 23);
     this.tsbtnStopSending.DisplayStyle = ToolStripItemDisplayStyle.Text;
     this.tsbtnStopSending.ForeColor = Color.WhiteSmoke;
     this.tsbtnStopSending.Image = (Image)componentResourceManager.GetObject("tsbtnStopSending.Image");
     this.tsbtnStopSending.ImageTransparentColor = Color.Magenta;
     this.tsbtnStopSending.Name = "tsbtnStopSending";
     this.tsbtnStopSending.Size = new Size(35, 20);
     this.tsbtnStopSending.Text = "Stop";
     this.tsbtnStopSending.Click += new EventHandler(this.tsbtnStopSending_Click);
     this.cbText.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
     this.cbText.AutoCompleteSource = AutoCompleteSource.ListItems;
     this.cbText.FlatStyle = FlatStyle.Flat;
     this.cbText.FormattingEnabled = true;
     this.cbText.Location = new Point(581, 373);
     this.cbText.Margin = new Padding(0);
     this.cbText.MaxDropDownItems = 10;
     this.cbText.MaxLength = 20;
     this.cbText.Name = "cbText";
     this.cbText.Size = new Size(95, 21);
     this.cbText.TabIndex = 11;
     this.cbText.Visible = false;
     this.cbText.Leave += new EventHandler(this.cbText_Leave);
     this.cbText.KeyPress += new KeyPressEventHandler(this.cbText_KeyPress);
     this.cbText.KeyUp += new KeyEventHandler(this.cbText_KeyUp);
     this.cbText.KeyDown += new KeyEventHandler(this.cbStock_KeyDown);
     this.cbText.TextChanged += new EventHandler(this.cbText_TextChanged);
     this.orderQueueDS1.DataSetName = "OrderQueueDS";
     this.orderQueueDS1.SchemaSerializationMode = SchemaSerializationMode.IncludeSchema;
     this.statusStrip1.BackColor = Color.FromArgb(30, 30, 30);
     this.statusStrip1.Items.AddRange(new ToolStripItem[]
     {
         this.toolStripStatusLabel2,
         this.toolStripStatusLabel1,
         this.toolStripStatusLabel4,
         this.toolStripStatusLabel3,
         this.tslbTotAmount
     });
     this.statusStrip1.Location = new Point(0, 414);
     this.statusStrip1.Name = "statusStrip1";
     this.statusStrip1.Size = new Size(685, 22);
     this.statusStrip1.TabIndex = 12;
     this.statusStrip1.Text = "statusStrip1";
     this.toolStripStatusLabel2.BackColor = Color.Transparent;
     this.toolStripStatusLabel2.DisplayStyle = ToolStripItemDisplayStyle.Text;
     this.toolStripStatusLabel2.ForeColor = Color.Violet;
     this.toolStripStatusLabel2.LinkColor = Color.Blue;
     this.toolStripStatusLabel2.Margin = new Padding(5, 3, 0, 2);
     this.toolStripStatusLabel2.Name = "toolStripStatusLabel2";
     this.toolStripStatusLabel2.Size = new Size(115, 17);
     this.toolStripStatusLabel2.Text = "[ Home ] Select Item";
     this.toolStripStatusLabel2.Visible = false;
     this.toolStripStatusLabel1.BackColor = Color.Transparent;
     this.toolStripStatusLabel1.DisplayStyle = ToolStripItemDisplayStyle.Text;
     this.toolStripStatusLabel1.ForeColor = SystemColors.ActiveCaption;
     this.toolStripStatusLabel1.LinkColor = Color.Blue;
     this.toolStripStatusLabel1.Margin = new Padding(5, 3, 0, 2);
     this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
     this.toolStripStatusLabel1.Size = new Size(177, 17);
     this.toolStripStatusLabel1.Text = "[ Space/Double Click ]  Edit Item";
     this.toolStripStatusLabel4.BackColor = Color.Transparent;
     this.toolStripStatusLabel4.Name = "toolStripStatusLabel4";
     this.toolStripStatusLabel4.Size = new Size(237, 17);
     this.toolStripStatusLabel4.Spring = true;
     this.toolStripStatusLabel3.BackColor = Color.Transparent;
     this.toolStripStatusLabel3.ForeColor = Color.Gainsboro;
     this.toolStripStatusLabel3.Name = "toolStripStatusLabel3";
     this.toolStripStatusLabel3.Size = new Size(87, 17);
     this.toolStripStatusLabel3.Text = "Total Amount :";
     this.tslbTotAmount.ForeColor = Color.Yellow;
     this.tslbTotAmount.Name = "tslbTotAmount";
     this.tslbTotAmount.Size = new Size(13, 17);
     this.tslbTotAmount.Text = "0";
     this.sortGrid1.AllowDrop = true;
     this.sortGrid1.BackColor = Color.FromArgb(30, 30, 30);
     this.sortGrid1.CanBlink = false;
     this.sortGrid1.CanDrag = false;
     this.sortGrid1.CanGetMouseMove = false;
     columnItem.Alignment = StringAlignment.Center;
     columnItem.BackColor = Color.FromArgb(64, 64, 64);
     columnItem.ColumnAlignment = StringAlignment.Center;
     columnItem.FontColor = Color.LightGray;
     columnItem.MyStyle = FontStyle.Regular;
     columnItem.Name = "no";
     columnItem.Text = "#";
     columnItem.ValueFormat = FormatType.RecordNumber;
     columnItem.Visible = true;
     columnItem.Width = 3;
     columnItem2.Alignment = StringAlignment.Center;
     columnItem2.BackColor = Color.FromArgb(64, 64, 64);
     columnItem2.ColumnAlignment = StringAlignment.Center;
     columnItem2.FontColor = Color.LightGray;
     columnItem2.MyStyle = FontStyle.Regular;
     columnItem2.Name = "checkbox";
     columnItem2.Text = "";
     columnItem2.ValueFormat = FormatType.CheckBox;
     columnItem2.Visible = true;
     columnItem2.Width = 3;
     columnItem3.Alignment = StringAlignment.Center;
     columnItem3.BackColor = Color.FromArgb(64, 64, 64);
     columnItem3.ColumnAlignment = StringAlignment.Center;
     columnItem3.FontColor = Color.LightGray;
     columnItem3.MyStyle = FontStyle.Regular;
     columnItem3.Name = "side";
     columnItem3.Text = "B/S";
     columnItem3.ValueFormat = FormatType.Text;
     columnItem3.Visible = true;
     columnItem3.Width = 5;
     columnItem4.Alignment = StringAlignment.Near;
     columnItem4.BackColor = Color.FromArgb(64, 64, 64);
     columnItem4.ColumnAlignment = StringAlignment.Center;
     columnItem4.FontColor = Color.LightGray;
     columnItem4.MyStyle = FontStyle.Regular;
     columnItem4.Name = "stock";
     columnItem4.Text = "Stock";
     columnItem4.ValueFormat = FormatType.Text;
     columnItem4.Visible = true;
     columnItem4.Width = 13;
     columnItem5.Alignment = StringAlignment.Center;
     columnItem5.BackColor = Color.FromArgb(64, 64, 64);
     columnItem5.ColumnAlignment = StringAlignment.Center;
     columnItem5.FontColor = Color.LightGray;
     columnItem5.MyStyle = FontStyle.Regular;
     columnItem5.Name = "ttf";
     columnItem5.Text = "TTF";
     columnItem5.ValueFormat = FormatType.Text;
     columnItem5.Visible = true;
     columnItem5.Width = 5;
     columnItem6.Alignment = StringAlignment.Far;
     columnItem6.BackColor = Color.FromArgb(64, 64, 64);
     columnItem6.ColumnAlignment = StringAlignment.Center;
     columnItem6.FontColor = Color.LightGray;
     columnItem6.MyStyle = FontStyle.Regular;
     columnItem6.Name = "volume";
     columnItem6.Text = "Volume";
     columnItem6.ValueFormat = FormatType.Text;
     columnItem6.Visible = true;
     columnItem6.Width = 10;
     columnItem7.Alignment = StringAlignment.Far;
     columnItem7.BackColor = Color.FromArgb(64, 64, 64);
     columnItem7.ColumnAlignment = StringAlignment.Center;
     columnItem7.FontColor = Color.LightGray;
     columnItem7.MyStyle = FontStyle.Regular;
     columnItem7.Name = "price";
     columnItem7.Text = "Price";
     columnItem7.ValueFormat = FormatType.Text;
     columnItem7.Visible = true;
     columnItem7.Width = 9;
     columnItem8.Alignment = StringAlignment.Center;
     columnItem8.BackColor = Color.FromArgb(64, 64, 64);
     columnItem8.ColumnAlignment = StringAlignment.Center;
     columnItem8.FontColor = Color.LightGray;
     columnItem8.MyStyle = FontStyle.Regular;
     columnItem8.Name = "condition";
     columnItem8.Text = "Cond";
     columnItem8.ValueFormat = FormatType.Text;
     columnItem8.Visible = true;
     columnItem8.Width = 6;
     columnItem9.Alignment = StringAlignment.Far;
     columnItem9.BackColor = Color.FromArgb(64, 64, 64);
     columnItem9.ColumnAlignment = StringAlignment.Center;
     columnItem9.FontColor = Color.LightGray;
     columnItem9.MyStyle = FontStyle.Regular;
     columnItem9.Name = "pubvol";
     columnItem9.Text = "P/B Vol";
     columnItem9.ValueFormat = FormatType.Text;
     columnItem9.Visible = true;
     columnItem9.Width = 10;
     columnItem10.Alignment = StringAlignment.Center;
     columnItem10.BackColor = Color.FromArgb(64, 64, 64);
     columnItem10.ColumnAlignment = StringAlignment.Center;
     columnItem10.FontColor = Color.LightGray;
     columnItem10.MyStyle = FontStyle.Regular;
     columnItem10.Name = "deposit";
     columnItem10.Text = "Dep";
     columnItem10.ValueFormat = FormatType.Text;
     columnItem10.Visible = true;
     columnItem10.Width = 4;
     columnItem11.Alignment = StringAlignment.Far;
     columnItem11.BackColor = Color.FromArgb(64, 64, 64);
     columnItem11.ColumnAlignment = StringAlignment.Center;
     columnItem11.FontColor = Color.LightGray;
     columnItem11.MyStyle = FontStyle.Regular;
     columnItem11.Name = "amount";
     columnItem11.Text = "Amount";
     columnItem11.ValueFormat = FormatType.Price;
     columnItem11.Visible = true;
     columnItem11.Width = 12;
     columnItem12.Alignment = StringAlignment.Near;
     columnItem12.BackColor = Color.FromArgb(64, 64, 64);
     columnItem12.ColumnAlignment = StringAlignment.Center;
     columnItem12.FontColor = Color.LightGray;
     columnItem12.MyStyle = FontStyle.Regular;
     columnItem12.Name = "processstatus";
     columnItem12.Text = "Status";
     columnItem12.ValueFormat = FormatType.Text;
     columnItem12.Visible = true;
     columnItem12.Width = 20;
     this.sortGrid1.Columns.Add(columnItem);
     this.sortGrid1.Columns.Add(columnItem2);
     this.sortGrid1.Columns.Add(columnItem3);
     this.sortGrid1.Columns.Add(columnItem4);
     this.sortGrid1.Columns.Add(columnItem5);
     this.sortGrid1.Columns.Add(columnItem6);
     this.sortGrid1.Columns.Add(columnItem7);
     this.sortGrid1.Columns.Add(columnItem8);
     this.sortGrid1.Columns.Add(columnItem9);
     this.sortGrid1.Columns.Add(columnItem10);
     this.sortGrid1.Columns.Add(columnItem11);
     this.sortGrid1.Columns.Add(columnItem12);
     this.sortGrid1.CurrentScroll = 0;
     this.sortGrid1.Dock = DockStyle.Fill;
     this.sortGrid1.FocusItemIndex = -1;
     this.sortGrid1.ForeColor = Color.Black;
     this.sortGrid1.GridColor = Color.FromArgb(45, 45, 45);
     this.sortGrid1.HeaderPctHeight = 80f;
     this.sortGrid1.IsAutoRepaint = true;
     this.sortGrid1.IsDrawFullRow = false;
     this.sortGrid1.IsDrawGrid = true;
     this.sortGrid1.IsDrawHeader = true;
     this.sortGrid1.IsScrollable = true;
     this.sortGrid1.Location = new Point(0, 26);
     this.sortGrid1.MainColumn = "";
     this.sortGrid1.Name = "sortGrid1";
     this.sortGrid1.Rows = 50;
     this.sortGrid1.RowSelectColor = Color.Navy;
     this.sortGrid1.RowSelectType = 3;
     this.sortGrid1.RowsVisible = 50;
     this.sortGrid1.Size = new Size(685, 388);
     this.sortGrid1.SortColumnName = "";
     this.sortGrid1.SortType = SortType.Desc;
     this.sortGrid1.TabIndex = 17;
     this.sortGrid1.TableMouseClick += new SortGrid.TableMouseClickEventHandler(this.sortGrid1_TableMouseClick);
     this.sortGrid1.TableMouseDoubleClick += new SortGrid.TableMouseDoubleClickEventHandler(this.sortGrid1_TableMouseDoubleClick);
     base.AutoScaleDimensions = new SizeF(6f, 13f);
     base.AutoScaleMode = AutoScaleMode.Font;
     this.BackColor = Color.FromArgb(20, 20, 20);
     base.ClientSize = new Size(685, 436);
     base.Controls.Add(this.sortGrid1);
     base.Controls.Add(this.cbText);
     base.Controls.Add(this.statusStrip1);
     base.Controls.Add(this.toolStrip1);
     base.KeyPreview = true;
     base.Name = "frmBatchOrder";
     this.Text = "Smart Order Queue";
     base.IDoShownDelay += new ClientBaseForm.OnShownDelayEventHandler(this.frmSmartOrder_IDoShownDelay);
     base.IDoLoadData += new ClientBaseForm.OnIDoLoadDataEventHandler(this.frmSmartOrder_IDoLoadData);
     base.IDoFontChanged += new ClientBaseForm.OnFontChangedEventHandler(this.frmSmartOrder_IDoFontChanged);
     base.IDoCustomSizeChanged += new ClientBaseForm.CustomSizeChangedEventHandler(this.frmSmartOrder_IDoCustomSizeChanged);
     base.IDoMainFormKeyUp += new ClientBaseForm.OnFormKeyUpEventHandler(this.frmSmartOrder_IDoMainFormKeyUp);
     base.IDoReActivated += new ClientBaseForm.OnReActiveEventHandler(this.frmSmartOrder_IDoReActivated);
     base.Controls.SetChildIndex(this.toolStrip1, 0);
     base.Controls.SetChildIndex(this.statusStrip1, 0);
     base.Controls.SetChildIndex(this.cbText, 0);
     base.Controls.SetChildIndex(this.sortGrid1, 0);
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     ((ISupportInitialize)this.orderQueueDS1).EndInit();
     this.statusStrip1.ResumeLayout(false);
     this.statusStrip1.PerformLayout();
     base.ResumeLayout(false);
     base.PerformLayout();
 }