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