Ejemplo n.º 1
0
 /// <summary>
 /// Raises the WizardFinished event
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 protected virtual void OnWizardFinished(object sender, WizardEventArgs e)
 {
     try
     {
         if (this.WizardFinished != null)
         {
             this.WizardFinished(sender, e);
         }
     }
     catch (Exception ex)
     {
         Trace.WriteLine(ex);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Raises the WizardNeedsHelp event
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 protected virtual void OnWizardStarting(object sender, WizardEventArgs e)
 {
     try
     {
         if (this.WizardStarting != null)
         {
             this.WizardStarting(sender, e);
         }
     }
     catch (Exception ex)
     {
         Trace.WriteLine(ex);
         throw new Exception(ex.Message, ex);
     }
 }
Ejemplo n.º 3
0
		/// <summary>
		/// Raises the WizardNeedsHelp event
		/// </summary>
		/// <param name="sender"></param>
		/// <param name="e"></param>
		protected virtual void OnWizardStarting(object sender, WizardEventArgs e)
		{
			try
			{
				if (this.WizardStarting != null)
					this.WizardStarting(sender, e);
			}
			catch(Exception ex)
			{
				Trace.WriteLine(ex);
				throw new Exception(ex.Message, ex);
			}
		}
Ejemplo n.º 4
0
		/// <summary>
		/// Raises the WizardFinished event
		/// </summary>
		/// <param name="sender"></param>
		/// <param name="e"></param>
		protected virtual void OnWizardFinished(object sender, WizardEventArgs e)
		{
			try
			{
				if (this.WizardFinished != null)
					this.WizardFinished(sender, e);
			}
			catch(Exception ex)
			{
				Trace.WriteLine(ex);
			}
		}
Ejemplo n.º 5
0
		/// <summary>
		/// Occurs when the Wizard is finished
		/// </summary>
		/// <param name="sender"></param>
		/// <param name="e"></param>
		private void OnWizardFinished(object sender, WizardEventArgs e)
		{
			this.DialogResult = DialogResult.OK;
			this.Close();
		}
Ejemplo n.º 6
0
//		private void OnWizardNeedsHelp(object sender, WizardEventArgs e)
//		{
//
//		}

//		private void OnWizardStarting(object sender, EventArgs e)
//		{
//
//		}

//		private void OnWizardNavigatedToPage(object sender, EventArgs e)
//		{
//
//		}

		/// <summary>
		/// Occurs when the Wizard is cancelled
		/// </summary>
		/// <param name="sender"></param>
		/// <param name="e"></param>
		private void OnWizardCancelled(object sender, WizardEventArgs e)
		{
			this.DialogResult = DialogResult.Cancel;
			this.Close();
		}
Ejemplo n.º 7
0
 /// <summary>
 /// Occurs when the Wizard is finished
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void OnWizardFinished(object sender, WizardEventArgs e)
 {
     this.DialogResult = DialogResult.OK;
     this.Close();
 }
Ejemplo n.º 8
0
//		private void OnWizardNeedsHelp(object sender, WizardEventArgs e)
//		{
//
//		}

//		private void OnWizardStarting(object sender, EventArgs e)
//		{
//
//		}

//		private void OnWizardNavigatedToPage(object sender, EventArgs e)
//		{
//
//		}

        /// <summary>
        /// Occurs when the Wizard is cancelled
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void OnWizardCancelled(object sender, WizardEventArgs e)
        {
            this.DialogResult = DialogResult.Cancel;
            this.Close();
        }