private void ShowAddEdit(Diler diller) { Dictionary_AddEdit view = new Dictionary_AddEdit("Карточка \"Дилера\""); DictionaryPresenter presenter = new DictionaryPresenter(view, diller); if (view.ShowDialog() == System.Windows.Forms.DialogResult.OK) loadData(); }
private void ShowAddEdit(MailText mailText) { Dictionary_AddEdit view = new Dictionary_AddEdit("Текст уведомления"); DictionaryPresenter presenter = new DictionaryPresenter(view, mailText); if (view.ShowDialog() == System.Windows.Forms.DialogResult.OK) loadData(); }
private void ShowAddEdit(Diler diller) { Dictionary_AddEdit view = new Dictionary_AddEdit("Карточка \"Дилера\""); DictionaryPresenter presenter = new DictionaryPresenter(view, diller); if (view.ShowDialog() == System.Windows.Forms.DialogResult.OK) { loadData(); } }
private void ShowAddEdit(MailText mailText) { Dictionary_AddEdit view = new Dictionary_AddEdit("Текст уведомления"); DictionaryPresenter presenter = new DictionaryPresenter(view, mailText); if (view.ShowDialog() == System.Windows.Forms.DialogResult.OK) { loadData(); } }