예제 #1
0
 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();
 }
예제 #2
0
 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();
 }
예제 #3
0
        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();
            }
        }
예제 #4
0
        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();
            }
        }