1
// ------------------------------------------------------------------------------
3
// This code was generated by a tool.
6
// Changes to this file may cause incorrect behavior and will be lost if
7
// the code is regenerated.
9
// ------------------------------------------------------------------------------
11
namespace MonoDevelop.Ide.Gui.Dialogs {
13
public partial class ConfirmProjectDeleteDialog {
15
private Gtk.VBox vbox2;
17
private Gtk.Label label1;
19
private Gtk.RadioButton radioDeleteAll;
21
private Gtk.Alignment alignment1;
23
private Gtk.Label labelProjectDir;
25
private Gtk.RadioButton radioDeleteSel;
27
private Gtk.Alignment alignment2;
29
private Gtk.ScrolledWindow GtkScrolledWindow;
31
private Gtk.TreeView fileList;
33
private Gtk.Button buttonCancel;
35
private Gtk.Button buttonOk;
37
protected virtual void Build() {
38
Stetic.Gui.Initialize(this);
39
// Widget MonoDevelop.Ide.Gui.Dialogs.ConfirmProjectDeleteDialog
40
this.Name = "MonoDevelop.Ide.Gui.Dialogs.ConfirmProjectDeleteDialog";
41
this.Title = Mono.Unix.Catalog.GetString("Delete Project");
42
this.WindowPosition = ((Gtk.WindowPosition)(4));
44
// Internal child MonoDevelop.Ide.Gui.Dialogs.ConfirmProjectDeleteDialog.VBox
45
Gtk.VBox w1 = this.VBox;
46
w1.Name = "dialog1_VBox";
47
w1.BorderWidth = ((uint)(2));
48
// Container child dialog1_VBox.Gtk.Box+BoxChild
49
this.vbox2 = new Gtk.VBox();
50
this.vbox2.Name = "vbox2";
51
this.vbox2.Spacing = 6;
52
this.vbox2.BorderWidth = ((uint)(6));
53
// Container child vbox2.Gtk.Box+BoxChild
54
this.label1 = new Gtk.Label();
55
this.label1.Name = "label1";
56
this.label1.Xalign = 0F;
57
this.label1.LabelProp = Mono.Unix.Catalog.GetString("Please select which files and folders you want to delete:");
58
this.vbox2.Add(this.label1);
59
Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox2[this.label1]));
63
// Container child vbox2.Gtk.Box+BoxChild
64
this.radioDeleteAll = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Delete the project file and the whole project directory:"));
65
this.radioDeleteAll.CanFocus = true;
66
this.radioDeleteAll.Name = "radioDeleteAll";
67
this.radioDeleteAll.DrawIndicator = true;
68
this.radioDeleteAll.UseUnderline = true;
69
this.radioDeleteAll.Group = new GLib.SList(System.IntPtr.Zero);
70
this.vbox2.Add(this.radioDeleteAll);
71
Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox2[this.radioDeleteAll]));
75
// Container child vbox2.Gtk.Box+BoxChild
76
this.alignment1 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
77
this.alignment1.Name = "alignment1";
78
this.alignment1.LeftPadding = ((uint)(30));
79
// Container child alignment1.Gtk.Container+ContainerChild
80
this.labelProjectDir = new Gtk.Label();
81
this.labelProjectDir.Name = "labelProjectDir";
82
this.labelProjectDir.Xalign = 0F;
83
this.labelProjectDir.LabelProp = "label2";
84
this.alignment1.Add(this.labelProjectDir);
85
this.vbox2.Add(this.alignment1);
86
Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox2[this.alignment1]));
90
// Container child vbox2.Gtk.Box+BoxChild
91
this.radioDeleteSel = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Delete the following files and folders:"));
92
this.radioDeleteSel.CanFocus = true;
93
this.radioDeleteSel.Name = "radioDeleteSel";
94
this.radioDeleteSel.DrawIndicator = true;
95
this.radioDeleteSel.UseUnderline = true;
96
this.radioDeleteSel.Group = this.radioDeleteAll.Group;
97
this.vbox2.Add(this.radioDeleteSel);
98
Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox2[this.radioDeleteSel]));
102
// Container child vbox2.Gtk.Box+BoxChild
103
this.alignment2 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
104
this.alignment2.Name = "alignment2";
105
this.alignment2.LeftPadding = ((uint)(30));
106
// Container child alignment2.Gtk.Container+ContainerChild
107
this.GtkScrolledWindow = new Gtk.ScrolledWindow();
108
this.GtkScrolledWindow.Name = "GtkScrolledWindow";
109
this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1));
110
// Container child GtkScrolledWindow.Gtk.Container+ContainerChild
111
this.fileList = new Gtk.TreeView();
112
this.fileList.CanFocus = true;
113
this.fileList.Name = "fileList";
114
this.fileList.HeadersVisible = false;
115
this.GtkScrolledWindow.Add(this.fileList);
116
this.alignment2.Add(this.GtkScrolledWindow);
117
this.vbox2.Add(this.alignment2);
118
Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox2[this.alignment2]));
121
Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(w1[this.vbox2]));
123
// Internal child MonoDevelop.Ide.Gui.Dialogs.ConfirmProjectDeleteDialog.ActionArea
124
Gtk.HButtonBox w11 = this.ActionArea;
125
w11.Name = "dialog1_ActionArea";
127
w11.BorderWidth = ((uint)(5));
128
w11.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
129
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
130
this.buttonCancel = new Gtk.Button();
131
this.buttonCancel.CanDefault = true;
132
this.buttonCancel.CanFocus = true;
133
this.buttonCancel.Name = "buttonCancel";
134
this.buttonCancel.UseStock = true;
135
this.buttonCancel.UseUnderline = true;
136
this.buttonCancel.Label = "gtk-cancel";
137
this.AddActionWidget(this.buttonCancel, -6);
138
Gtk.ButtonBox.ButtonBoxChild w12 = ((Gtk.ButtonBox.ButtonBoxChild)(w11[this.buttonCancel]));
141
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
142
this.buttonOk = new Gtk.Button();
143
this.buttonOk.CanDefault = true;
144
this.buttonOk.CanFocus = true;
145
this.buttonOk.Name = "buttonOk";
146
this.buttonOk.UseStock = true;
147
this.buttonOk.UseUnderline = true;
148
this.buttonOk.Label = "gtk-delete";
149
this.AddActionWidget(this.buttonOk, -5);
150
Gtk.ButtonBox.ButtonBoxChild w13 = ((Gtk.ButtonBox.ButtonBoxChild)(w11[this.buttonOk]));
154
if ((this.Child != null)) {
155
this.Child.ShowAll();
157
this.DefaultWidth = 512;
158
this.DefaultHeight = 387;
160
this.radioDeleteAll.Toggled += new System.EventHandler(this.OnRadioDeleteAllToggled);