Example #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();
 }
Example #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();
 }
Example #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();
 }
Example #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();
 }
Example #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();
 }
Example #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();
 }
Example #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();
 }