Пример #1
0
 private void buttonAddFeeling_Click(object sender, EventArgs e)
 {
     if (CurrentClient != null)
     {
         FormNewFeeling form = new FormNewFeeling();
         form.CurrentClient = CurrentClient;
         DialogResult result = form.ShowDialog();
         if (result == DialogResult.OK)
         {
             PopulateFeelings();
         }
     }
 }
Пример #2
0
 private void buttonAddFeeling_Click(object sender, EventArgs e) {
   if(CurrentClient != null) {
     FormNewFeeling form = new FormNewFeeling();
     form.CurrentClient = CurrentClient;
     DialogResult result = form.ShowDialog();
     if(result == DialogResult.OK) {
       PopulateFeelings();
     }
   }
 }