示例#1
0
 public Menu()
 {
     store = new Contora();
     InitializeComponent();
     flatBindingSource.DataSource = store.Flats;
     store.Load();
     flatBindingSource.ResetBindings(false);
 }
示例#2
0
 public ShowCustomers()
 {
     store = new Contora();
     InitializeComponent();
     store.Load();
     buyerBindingSource.DataSource = store.Buyers;
     buyerBindingSource.ResetBindings(false);
 }
示例#3
0
 // Кнопка Load
 private void loadToolStripMenuItem_Click(object sender, EventArgs e)
 {
     store.Load();
     flatBindingSource.ResetBindings(false);
 }