Ejemplo n.º 1
0
 private void ViewModel_OutputValuesRequested(object sender, OutputValuesRequestEventArgs e)
 {
     try
     {
         AtdlControl1.RefreshOutputValues();
     }
     catch (NullReferenceException ex)
     {
         MessageBox.Show(this, ex.Message);
     }
     catch (InternalErrorException ex)
     {
         MessageBox.Show(this, string.Format("An exception was thrown with the message {0}\n\n" +
                                             "Please ensure that you initialize the input FIX values (click the Initialize button)\nbefore requesting the output FIX message.", ex.Message));
     }
     catch (Atdl4netException ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
Ejemplo n.º 2
0
 private void ViewModel_UpdateFixValueRequested(object sender, UpdateFixValueRequestEventArgs e)
 {
     AtdlControl1.UpdateFixValue((FixField)e.FixTag, e.Value);
 }