/// <summary> /// Called when [converting to XML]. /// </summary> /// <param name="sender">The sender.</param> /// <param name="e">The <see cref="MLifterSettingsManager.LoadingEventArgs"/> instance containing the event data.</param> /// <remarks>Documented by Dev08, 2009-07-18</remarks> private void OnConvertingToXml(object sender, LoadingEventArgs e) { LoadingEventHandler handler = LoadingIPhone; if (handler != null) { handler(sender, e); } }
/// <summary> /// Handles the LoadingIPhone event of the SettingsManagerLogic control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="MLifterSettingsManager.LoadingEventArgs"/> instance containing the event data.</param> /// <remarks>Documented by Dev08, 2009-07-18</remarks> private void SettingsManagerLogic_LoadingIPhone(object sender, LoadingEventArgs e) { //Here I can't use the SyncronizedContext, because I have to use the CopyProgress from MLifter.DAL this.Dispatcher.Invoke(new System.Windows.Forms.MethodInvoker(delegate() { progressBarLoad.Maximum = e.Maximum; progressBarLoad.Value = e.Value; textBlockProgressBar.Text = e.StatusMessage; })); }
/// <summary> /// Called when [converting to XML]. /// </summary> /// <param name="sender">The sender.</param> /// <param name="e">The <see cref="MLifterSettingsManager.LoadingEventArgs"/> instance containing the event data.</param> /// <remarks>Documented by Dev08, 2009-07-18</remarks> private void OnConvertingToXml(object sender, LoadingEventArgs e) { LoadingEventHandler handler = LoadingIPhone; if (handler != null) handler(sender, e); }