예제 #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);
 }