/// <summary>
    /// Select the Ok command.
    /// </summary>
    private void SelectComplete(ICloseable window)
    {
      this.Result = MessageBoxResult.OK;

      this.reader.SaveFile(this.groupsCollection);

      window?.CloseObject();
    }
        /// <summary>
        /// Select the Ok command.
        /// </summary>
        private void SelectComplete(ICloseable window)
        {
            this.Result = MessageBoxResult.OK;

            PopularStnIOController locationController = PopularStnIOController.GetInstance();

            locationController.SaveFile(this.PopularStnCollection.ToList());

            window?.CloseObject();
        }
Exemple #3
0
 /// <summary>
 /// Select the Ok command.
 /// </summary>
 private void SelectOk(ICloseable window)
 {
     this.Result = MessageBoxResult.OK;
     window?.CloseObject();
 }
 public void SetCancel(ICloseable window)
 {
     this.Result = MessageBoxResult.Cancel;
     window.CloseObject();
 }
 public void SetNo(ICloseable window)
 {
     this.Result = MessageBoxResult.No;
     window.CloseObject();
 }
 public void SetYes(ICloseable window)
 {
     this.Result = MessageBoxResult.Yes;
     window.CloseObject();
 }