Inheritance: System.Windows.Forms.DataGridViewRow
 private void UpdateStatus(OrderViewItem item)
 {
     try
     {
         Order order = item.Order;
         switch (order.Status)
         {
             case OrderStatus.Rejected:
                 this.workingOrders.Remove((object)order);
                 this.rejectedOrders.Add((object)order, (object)item);
                 break;
             case OrderStatus.Filled:
                 this.workingOrders.Remove((object)order);
                 this.filledOrders.Add((object)order, (object)item);
                 break;
             case OrderStatus.Cancelled:
                 this.workingOrders.Remove((object)order);
                 this.cancelledOrders.Add((object)order, (object)item);
                 break;
             default:
                 this.workingOrders.Add((object)order, (object)item);
                 break;
         }
     }
     catch
     {
     }
 }
 private void AddOrder(Order order)
 {
     OrderViewItem orderViewItem = new OrderViewItem(order);
     this.allOrders.Add((object)order, (object)orderViewItem);
 }