-
Notifications
You must be signed in to change notification settings - Fork 0
/
WizardResultStep.cs
59 lines (52 loc) · 1.24 KB
/
WizardResultStep.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/*
© 2005, 2011 MAY-MART. All rights reserved.
The code is originally based on TSWizard library (http://www.codeproject.com/KB/dialog/tswizard.aspx).
*/
using System;
using MayMart.WinFormsWizard.Properties;
namespace MayMart.WinFormsWizard
{
public partial class WizardResultStep : WizardExteriorStep
{
private bool _success = true;
public bool Success
{
get
{
return _success;
}
set
{
pictureBoxSymbol.Image = value ? Resources.Complete : Resources.Warning;
_success = value;
}
}
public string MessageTitle
{
get
{
return labelMessageTitle.Text;
}
set
{
labelMessageTitle.Text = value;
}
}
public string MessageDescription
{
get
{
return labelMessageDescription.Text;
}
set
{
labelMessageDescription.Text = value;
}
}
public WizardResultStep()
{
InitializeComponent();
Success = true;
}
}
}