예제 #1
0
 internal DrawStepListItemEventArgs(Graphics graphics, Font font, Rectangle itemRect, WizardPage page, bool isSelected, bool isCompleted)
 {
     Graphics  = graphics;
     Font      = font;
     Bounds    = itemRect;
     Item      = page;
     Selected  = isSelected;
     Completed = isCompleted;
 }
예제 #2
0
 public string GetStepText(WizardPage page) => list.GetStepText(page);
예제 #3
0
 private bool ShouldSerializeStepText(WizardPage page) => (GetStepText(page) != page.Text);
예제 #4
0
 private void ResetStepText(WizardPage page)
 {
     SetStepText(page, null);
 }
예제 #5
0
 /// <summary>
 /// Sets the step text indent level.
 /// </summary>
 /// <param name="page">The page.</param>
 /// <param name="value">The indent level.</param>
 public void SetStepTextIndentLevel(WizardPage page, int value)
 {
     list.SetStepTextIndentLevel(page, value);
 }
예제 #6
0
 /// <summary>
 /// Sets the step text.
 /// </summary>
 /// <param name="page">The page.</param>
 /// <param name="value">The value.</param>
 public void SetStepText(WizardPage page, string value)
 {
     list.SetStepText(page, value);
 }
예제 #7
0
 public int GetStepTextIndentLevel(WizardPage page) => list.GetStepTextIndentLevel(page);