/// <summary>
        /// Fires when a user has chosen the appliances to mobilise and their mobilisation methods
        /// and wishes to dispatch the appliances.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void Button_Click_Confirm(object sender, RoutedEventArgs e)
        {
            //read the details for each checked checkbox and mobilise the resource using the selected mobilising method
            foreach (ApplianceCheckBox cb in checkBoxes)
            {
                if (cb.IsChecked == true)
                {
                    incident.AssignResource(cb.ApplianceCallSign, Properties.Settings.Default.LoggedInUserId, cb.MobilisingMethod);
                }
            }

            //close the window
            this.Close();
        }