Make(cnet) ver(4.04 build 185) Add(EntryPoint,2953706,49,98) { Width=399 Height=363 Platform=1 link(onError,14581217:doShow,[]) } Add(DataGridView,2098012,98,56) { Left=10 Top=40 Width=180 Height=170 Anchor=15 Name="dgv" Columns=[] DataSource=#33:using System.Collections.Generic;|27:using System.Windows.Forms;|0:|20:namespace InlineCode|1:{|16: class Datatable|2: {|29: private object _dataSource;|0:|20: public Datatable()|3: {|36: var source = new BindingSource();|46: List Countries = new List|4: {|15: new Country|5: {|22: Name = "Germany",|23: Capital = "Berlin"|6: },|15: new Country|5: {|21: Name = "France",|22: Capital = "Paris"|6: },|15: new Country|5: {|22: Name = "England",|23: Capital = "London"|5: }|5: };|33: source.DataSource = Countries;|24: _dataSource = source;|3: }|0:|26: public object DataSource|3: {|6: get|4: {|23: return _dataSource;|4: }|3: }|2: }|0:|21: public class Country|2: {|34: public string Name { get; set; }|37: public string Capital { get; set; }|2: }|1:}|0:|0:| Point(doConstructor) } Add(MessageBox,14581217,98,105) { } Add(ComboBox,8319141,147,56) { Left=10 Top=10 DataSource=#33:using System.Collections.Generic;|27:using System.Windows.Forms;|0:|20:namespace InlineCode|1:{|15: class Datalist|2: {|29: private object _dataSource;|0:|19: public Datalist()|3: {|36: var source = new BindingSource();|46: List Countries = new List|4: {|15: new Country|5: {|22: Name = "Germany",|23: Capital = "Berlin"|6: },|15: new Country|5: {|21: Name = "France",|22: Capital = "Paris"|6: },|15: new Country|5: {|22: Name = "England",|23: Capital = "London"|5: }|5: };|33: source.DataSource = Countries;|24: _dataSource = source;|3: }|0:|26: public object DataSource|3: {|6: get|4: {|23: return _dataSource;|4: }|3: }|2: }|0:|21: public class Country|2: {|34: public string Name { get; set; }|37: public string Capital { get; set; }|2: }|1:}|0:|0:| DisplayMember="Name" ValueMember="Capital" Point(onTextChanged) Point(SelectedIndex) Point(SelectedValue) Point(onSelectedIndexChanged) link(onSelectedIndexChanged,14197652:doText,[]) } Add(Label,14197652,203,63) { Left=150 Top=15 Width=155 Point(doText) Point(onClick) link(data,8319141:SelectedValue,[(209,51)(191,51)(191,100)(174,100)]) } Add(ListBox,12541877,147,105) { Left=210 Top=40 Width=170 Height=170 DataSource=#33:using System.Collections.Generic;|27:using System.Windows.Forms;|0:|20:namespace InlineCode|1:{|15: class Datalist|2: {|29: private object _dataSource;|0:|19: public Datalist()|3: {|36: var source = new BindingSource();|46: List Countries = new List|4: {|15: new Country|5: {|22: Name = "Germany",|23: Capital = "Berlin"|6: },|15: new Country|5: {|21: Name = "France",|22: Capital = "Paris"|6: },|15: new Country|5: {|22: Name = "England",|23: Capital = "London"|5: }|5: };|33: source.DataSource = Countries;|24: _dataSource = source;|3: }|0:|26: public object DataSource|3: {|6: get|4: {|23: return _dataSource;|4: }|3: }|2: }|0:|21: public class Country|2: {|34: public string Name { get; set; }|37: public string Capital { get; set; }|2: }|1:}|0:|0:| DisplayMember="Name" } Add(CheckedListBox,6337436,203,105) { Left=10 Top=220 Width=370 DataSource=#33:using System.Collections.Generic;|27:using System.Windows.Forms;|0:|20:namespace InlineCode|1:{|15: class Datalist|2: {|29: private object _dataSource;|0:|19: public Datalist()|3: {|36: var source = new BindingSource();|46: List Countries = new List|4: {|15: new Country|5: {|22: Name = "Germany",|23: Capital = "Berlin"|6: },|15: new Country|5: {|21: Name = "France",|22: Capital = "Paris"|6: },|15: new Country|5: {|22: Name = "England",|23: Capital = "London"|5: }|5: };|33: source.DataSource = Countries;|24: _dataSource = source;|3: }|0:|26: public object DataSource|3: {|6: get|4: {|23: return _dataSource;|4: }|3: }|2: }|0:|21: public class Country|2: {|34: public string Name { get; set; }|37: public string Capital { get; set; }|2: }|1:}|0:|0:| DisplayMember="Name" }