コード例 #1
0
 private void SotrudnikiDictClick(object sender, EventArgs e)
 {
     SotrudnikiItemListPresenter presneter = new SotrudnikiItemListPresenter();
     presneter.SetDBManager(sqlmgr);
     DictionaryForm dform = new DictionaryForm(presneter);
     dform.SetCaption("Справочник Сотрудников");
     dform.SetCaption2("Список сотрудников");
     dform.ShowDialog();
     DrawTable();
 }
コード例 #2
0
 private void TransportDictClick(object sender, EventArgs e)
 {
     TransportItemListPresenter presneter = new TransportItemListPresenter();
     presneter.SetDBManager(sqlmgr);
     DictionaryForm dform = new DictionaryForm(presneter);
     dform.SetCaption("Справочник перевозок");
     dform.SetCaption2("Список перевозок");
     dform.ShowDialog();
     DrawTable();
 }
コード例 #3
0
 private void OfficesDictClick(object sender, EventArgs e)
 {
     OfficesItemListPresenter presneter = new OfficesItemListPresenter();
     presneter.SetDBManager(sqlmgr);
     DictionaryForm dform = new DictionaryForm(presneter);
     dform.SetCaption("Справочник офисов");
     dform.SetCaption2("Список офисов оформления");
     dform.ShowDialog();
     DrawTable();
 }
コード例 #4
0
 private void MicrioraionsDictClick(object sender, EventArgs e)
 {
     MicroraionsItemListPresenter presneter = new MicroraionsItemListPresenter();
     presneter.SetDBManager(sqlmgr);
     DictionaryForm dform = new DictionaryForm(presneter);
     dform.SetCaption("Справочник микрорайонов");
     dform.SetCaption2("Список микрорайонов");
     dform.ShowDialog();
     DrawTable();
 }
コード例 #5
0
 private void LinkCompanyDictClick(object sender, EventArgs e)
 {
     LinkCompanyItemListPresenter presneter = new LinkCompanyItemListPresenter();
     presneter.SetDBManager(sqlmgr);
     DictionaryForm dform = new DictionaryForm(presneter);
     dform.SetCaption("Справочник Фирм оформления");
     dform.SetCaption2("Список Фирм оформления");
     dform.ShowDialog();
     DrawTable();
 }
コード例 #6
0
 private void InformatorsDictClick(object sender, EventArgs e)
 {
     InformatorsItemListPresenter presneter = new InformatorsItemListPresenter();
     presneter.SetDBManager(sqlmgr);
     DictionaryForm dform = new DictionaryForm(presneter);
     dform.SetCaption("Справочник Информаторов");
     dform.SetCaption2("Список информаторов");
     dform.ShowDialog();
     DrawTable();
 }
コード例 #7
0
 private void AgentsDictClick(object sender, EventArgs e)
 {
     AgentsItemListPresenter presneter = new AgentsItemListPresenter();
     presneter.SetDBManager(sqlmgr);
     DictionaryForm dform = new DictionaryForm(presneter);
     dform.SetCaption("Справочник Агентов");
     dform.SetCaption2("Список агентов");
     dform.ShowDialog();
     DrawTable();
 }