2
// <copyright see="prj:///doc/copyright.txt"/>
3
// <license see="prj:///doc/license.txt"/>
4
// <owner name="Oakland Software Incorporated" email="general@oaklandsoftware.com"/>
5
// <version>$Revision$</version>
9
using System.Windows.Forms;
10
using ICSharpCode.Core;
13
namespace NoGoop.ObjBrowser.Dialogs
15
internal class WaitingForAppDialog : Dialog
17
protected RichTextBox _textBox;
19
internal WaitingForAppDialog() : base(!INCLUDE_BUTTONS)
21
Text = StringParser.Parse("${res:ComponentInspector.WaitingForAppDialog.Title}");
24
String descText = StringParser.Parse("${res:ComponentInspector.WaitingForAppDialog.Information}");
26
_textBox = Utils.MakeDescText(descText, this);
27
_textBox.Dock = DockStyle.Fill;
28
Controls.Add(_textBox);
30
Label l = new Label();
31
l.Dock = DockStyle.Fill;
34
Panel bottomPanel = new Panel();
35
bottomPanel.Dock = DockStyle.Bottom;
38
l.Dock = DockStyle.Fill;
39
bottomPanel.Controls.Add(l);
41
Button cancel = Utils.MakeButton(StringParser.Parse("${res:Global.CancelButtonText}"));
42
cancel.Dock = DockStyle.Right;
43
cancel.DialogResult = DialogResult.Cancel;
44
bottomPanel.Controls.Add(cancel);
46
bottomPanel.Height = Utils.BUTTON_HEIGHT;
47
Controls.Add(bottomPanel);