Example #1
0
        void OnCusipSelected(object sender, CusipSelectEventArgs e)
        {
            IncomingDeliveryOrderParam p = new IncomingDeliveryOrderParam();

            p.DateAndTimeStamp_Date.AddParamValue(DateTime.Today);
            p.Cusip.AddParamValue(e.Cusip);

            df.Load(Orders, p);

            //Remove records that are receives but 5239 is not the receiver, same for deliver
            Orders.RemoveAll(delegate(IncomingDeliveryOrderObject d)
                             { return((d.Receiver != Settings.Account.Padded() && d.DelivererReceiverIndicator == "R") || (d.Deliverer != Settings.Account.Padded() && d.DelivererReceiverIndicator == "D")); });

            Display.Load(Orders);

            Display.Sort("DateAndTimeStamp");

            ColorRows();

            this.Text = "DTC Activity " + e.Cusip;

            //ALANDIAS
            cbPendingFilter_CheckedChanged(null, null);
            //--------
        }
 protected virtual void OnCusipSelected(CusipSelectEventArgs e)
 {
     if (handleCusipSelected != null)
     {
         handleCusipSelected(this, e);
     }
 }
        void OnCusipSelected(object sender, CusipSelectEventArgs e)
        {
            helper.SetAllColumns();

            RecalledLotViewParam rlp = new RecalledLotViewParam();
            RecallViewParam      rp  = new RecallViewParam();

            rlp.Cusip.AddParamValue(e.Cusip);
            rp.Cusip.AddParamValue(e.Cusip);

            rf.Load(Recalls, rp);
            rl.Load(RecalledLots, rlp);

            this.Text = "Recalls " + e.Cusip;
        }
        void OnCusipSelected(object sender, CusipSelectEventArgs e)
        {
            helper.SetAllColumns();

            ReturnViewParam     rlp = new ReturnViewParam();
            AllocationViewParam rp  = new AllocationViewParam();

            rlp.Cusip.AddParamValue(e.Cusip);
            rp.Cusip.AddParamValue(e.Cusip);

            rf.Load(Returns, rlp);
            af.Load(Allocations, rp);

            this.Text = "Returns " + e.Cusip;
        }
Example #5
0
        void OnCusipSelected(object sender, CusipSelectEventArgs e)
        {
            G1PositionParam pb = new G1PositionParam();
            G1PositionParam pl = new G1PositionParam();

            pb.Cusip.AddParamValue(e.Cusip);
            pb.ClearingNo.AddParamValue(Settings.Account);
            pb.BorrowLoan.AddParamValue("B");

            pl.Cusip.AddParamValue(e.Cusip);
            pl.ClearingNo.AddParamValue(Settings.Account);
            pl.BorrowLoan.AddParamValue("L");

            af.Load(Borrows, pb);
            af.Load(Loans, pl);

            this.Text = "G1 Positions " + e.Cusip;
        }
 void Instance_handleCusipSelected(object sender, CusipSelectEventArgs e)
 {
 }
Example #7
0
 void OnCusipSelected(object sender, CusipSelectEventArgs e)
 {
 }