public DataGridViewComboBoxColumnOutpost(OutpostDataTableHandler dataTableHandler) : base()
 {
     this.Name             = MyHelper.strOutpostId;
     this.HeaderText       = "Форпост";
     this.DisplayMember    = MyHelper.strOutpostName;
     this.ValueMember      = MyHelper.strOutpostId;
     this.DataPropertyName = MyHelper.strOutpostId;
     this.FlatStyle        = FlatStyle.Flat;
     this.DataSource       = dataTableHandler.DtOutposts;
     dataTableHandler.OutpostDataTableChanged += OnDataSourceChanged;
 }
Beispiel #2
0
 public DGVOutpostHandle(DataGridView dgv,
                         ref OutpostDataTableHandler outpostDataTableHandler) : base(dgv)
 {
     this._outpostDataTableHandler = outpostDataTableHandler;
 }