C#
winform

Winform の control で、Property データを動的に読み込む

More than 1 year has passed since last update.

image.png

headerLabel.DataBindings.Add(
 new System.Windows.Forms.Binding(
  propertyName: "Text", 
  dataSource:Properties.Settings.Default, 
  dataMember: "Wis_Project_title", 
  formattingEnabled: true, 
  dataSourceUpdateMode: System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged
 )
);

image.png