public StockLayOut(ObligInfo _oblig) { InitializeComponent(); oblig = _oblig; it = InstrumentType.Bond; }
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); }
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); }
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; }