示例#1
0
 /// <summary>
 /// Medias the content loading.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="e">The <see cref="MLifterSettingsManager.ContentLoadingEventArgs"/> instance containing the event data.</param>
 /// <remarks>Documented by Dev08, 2009-07-18</remarks>
 private void MediaContentLoading(object sender, ContentLoadingEventArgs e)
 {
     MainWindowEnabled  = false;
     ProgressBarText    = e.ContentType == ContentType.Card ? "Loading Card Media Info..." : string.Empty;
     ProgressBarMaximum = e.Maximum;
     ProgressBarValue   = e.Value;
 }
示例#2
0
        /// <summary>
        /// Called when [example content loading].
        /// </summary>
        /// <param name="sender">The sender.</param>
        /// <param name="e">The <see cref="MLifterSettingsManager.ContentLoadingEventArgs"/> instance containing the event data.</param>
        /// <remarks>Documented by Dev08, 2009-07-18</remarks>
        private void OnExampleContentLoading(object sender, ContentLoadingEventArgs e)
        {
            ExampleContentLoadingEventHandler handler = ExampleContentLoading;

            if (handler != null)
            {
                handler(sender, e);
            }
        }
示例#3
0
        /// <summary>
        /// Called when [media content loading].
        /// </summary>
        /// <param name="sender">The sender.</param>
        /// <param name="e">The <see cref="MLifterSettingsManager.ContentLoadingEventArgs"/> instance containing the event data.</param>
        /// <remarks>Documented by Dev08, 2009-07-18</remarks>
        private void OnMediaContentLoading(object sender, ContentLoadingEventArgs e)
        {
            MediaContentLoadingEventHandler handler = MediaContentLoading;

            if (handler != null)
            {
                handler(sender, e);
            }
        }
示例#4
0
 /// <summary>
 /// Called when [media content loading].
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="e">The <see cref="MLifterSettingsManager.ContentLoadingEventArgs"/> instance containing the event data.</param>
 /// <remarks>Documented by Dev08, 2009-07-18</remarks>
 private void OnMediaContentLoading(object sender, ContentLoadingEventArgs e)
 {
     MediaContentLoadingEventHandler handler = MediaContentLoading;
     if (handler != null)
         handler(sender, e);
 }
示例#5
0
 /// <summary>
 /// Called when [example content loading].
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="e">The <see cref="MLifterSettingsManager.ContentLoadingEventArgs"/> instance containing the event data.</param>
 /// <remarks>Documented by Dev08, 2009-07-18</remarks>
 private void OnExampleContentLoading(object sender, ContentLoadingEventArgs e)
 {
     ExampleContentLoadingEventHandler handler = ExampleContentLoading;
     if (handler != null)
         handler(sender, e);
 }
 /// <summary>
 /// Contents the loading.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="e">The <see cref="MLifterSettingsManager.ContentLoadingEventArgs"/> instance containing the event data.</param>
 /// <remarks>Documented by Dev08, 2009-07-18</remarks>
 private void ContentLoading(object sender, ContentLoadingEventArgs e)
 {
     textBlockProgressBar.Text = e.ContentType == ContentType.Card ? "Loading Cards..." : "Loading Chapters";
     progressBarLoad.Maximum   = e.Maximum;
     progressBarLoad.Value     = e.Value;
 }
 /// <summary>
 /// Medias the content loading.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="e">The <see cref="MLifterSettingsManager.ContentLoadingEventArgs"/> instance containing the event data.</param>
 /// <remarks>Documented by Dev08, 2009-07-18</remarks>
 private void MediaContentLoading(object sender, ContentLoadingEventArgs e)
 {
     MainWindowEnabled = false;
     ProgressBarText = e.ContentType == ContentType.Card ? "Loading Card Media Info..." : string.Empty;
     ProgressBarMaximum = e.Maximum;
     ProgressBarValue = e.Value;
 }
示例#8
0
 /// <summary>
 /// Contents the loading.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="e">The <see cref="MLifterSettingsManager.ContentLoadingEventArgs"/> instance containing the event data.</param>
 /// <remarks>Documented by Dev08, 2009-07-18</remarks>
 private void ContentLoading(object sender, ContentLoadingEventArgs e)
 {
     textBlockProgressBar.Text = e.ContentType == ContentType.Card ? "Loading Cards..." : "Loading Chapters";
     progressBarLoad.Maximum = e.Maximum;
     progressBarLoad.Value = e.Value;
 }