-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathICodeGenerator.cs
More file actions
70 lines (69 loc) · 3.89 KB
/
ICodeGenerator.cs
File metadata and controls
70 lines (69 loc) · 3.89 KB
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
59
60
61
62
63
64
65
66
67
68
69
70
using System.Windows.Forms;
namespace InfoBox.Designer.CodeGeneration
{
public interface ICodeGenerator
{
/// <summary>
/// Generates a single method call to display an InfoBox.
/// </summary>
/// <param name="behavior">The behavior.</param>
/// <param name="text">The text.</param>
/// <param name="title">The title.</param>
/// <param name="buttons">The buttons.</param>
/// <param name="button1Text">The button1 text.</param>
/// <param name="button2Text">The button2 text.</param>
/// <param name="button3Text">The button3 text.</param>
/// <param name="icon">The icon.</param>
/// <param name="iconFileName">Name of the icon file.</param>
/// <param name="defaultButton">The default button.</param>
/// <param name="buttonsLayout">The buttons layout.</param>
/// <param name="autoSize">The autosize parameters</param>
/// <param name="position">The position.</param>
/// <param name="showHelp">if set to <c>true</c> [show help].</param>
/// <param name="helpFile">The help file.</param>
/// <param name="helpTopic">The help topic.</param>
/// <param name="navigator">The navigator.</param>
/// <param name="checkState">The state of the checkbox.</param>
/// <param name="doNotShowAgainText">If not null, the value will replace the default text for the "Do not show again" checkbox.</param>
/// <param name="style">The style.</param>
/// <param name="useAutoClose">if set to <c>true</c> [use auto close].</param>
/// <param name="autoClose">The auto-close parameters.</param>
/// <param name="design">The design.</param>
/// <param name="fontParameters">The font parameters.</param>
/// <param name="titleStyle">The title style.</param>
/// <param name="titleIconFileName">Filename of the title icon .</param>
/// <param name="opacity">The opacity.</param>
/// <param name="order">The order.</param>
/// <param name="sound">The sound.</param>
/// <returns></returns>
string GenerateSingleCall(InformationBoxBehavior behavior,
string text,
string title,
InformationBoxButtons buttons,
string button1Text,
string button2Text,
string button3Text,
InformationBoxIcon icon,
string iconFileName,
InformationBoxDefaultButton defaultButton,
InformationBoxButtonsLayout buttonsLayout,
InformationBoxAutoSizeMode autoSize,
InformationBoxPosition position,
bool showHelp,
string helpFile,
string helpTopic,
HelpNavigator navigator,
InformationBoxCheckBox checkState,
string doNotShowAgainText,
InformationBoxStyle style,
bool useAutoClose,
AutoCloseParameters autoClose,
DesignParameters design,
FontParameters fontParameters,
InformationBoxTitleIconStyle titleStyle,
string titleIconFileName,
InformationBoxOpacity opacity,
InformationBoxOrder order,
InformationBoxSound sound);
}
}