예제 #1
0
        public StockLayOut(ObligInfo _oblig)
        {
            InitializeComponent();

            oblig = _oblig;
            it    = InstrumentType.Bond;
        }
예제 #2
0
        private void AddDockedControl_stock(int row, ObligInfo stock)
        {
            StockLayOut newOne = new StockLayOut(stock);//("Test", "TST","lol", 10, 11, 12, 13, 1));

            newOne.BorderStyle = BorderStyle.FixedSingle;
            newOne.Dock        = DockStyle.Top;
            oblig_tbl_layout.Controls.Add(newOne, 0, row);
        }
예제 #3
0
 private void LoadOblig(ObligInfo stock)
 {
     oblig_tbl_layout.RowCount++;
     oblig_tbl_layout.RowStyles.Add(new RowStyle(SizeType.AutoSize));
     AddDockedControl_stock(oblig_tbl_layout.RowCount, stock);
 }
예제 #4
0
 public async void SearchHistoryOblig(ObligInfo obl, string accout_id = "")
 {
     var ls = (await Static_info.CurrentContext.OperationsAsync(new DateTime(2020, 1, 1), DateTime.Now, obl.Figi, accout_id));
     var b  = ls;
 }