Welcome to mirror list, hosted at ThFree Co, Russian Federation.

MonoDevelop.Database.Designer.CheckConstraintEditorWidget.cs « gtk-gui « MonoDevelop.Database.Designer « MonoDevelop.Database « extras - github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c1edd35673616f1a88cb0493de137f839b01e4d0 (plain)
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
// ------------------------------------------------------------------------------
//  <autogenerated>
//      This code was generated by a tool.
//      Mono Runtime Version: 2.0.50727.42
// 
//      Changes to this file may cause incorrect behavior and will be lost if 
//      the code is regenerated.
//  </autogenerated>
// ------------------------------------------------------------------------------

namespace MonoDevelop.Database.Designer {
    
    
    public partial class CheckConstraintEditorWidget {
        
        private Gtk.VPaned vpaned;
        
        private Gtk.HBox hbox;
        
        private Gtk.ScrolledWindow windowCheck;
        
        private Gtk.TreeView listCheck;
        
        private Gtk.VButtonBox vbuttonbox;
        
        private Gtk.Button buttonAdd;
        
        private Gtk.Button buttonRemove;
        
        private Gtk.Frame frame;
        
        private Gtk.Alignment alignment;
        
        private MonoDevelop.Database.Components.SqlEditorWidget sqlEditor;
        
        private Gtk.Label GtkLabel2;
        
        protected virtual void Build() {
            Stetic.Gui.Initialize(this);
            // Widget MonoDevelop.Database.Designer.CheckConstraintEditorWidget
            Stetic.BinContainer.Attach(this);
            this.Name = "MonoDevelop.Database.Designer.CheckConstraintEditorWidget";
            // Container child MonoDevelop.Database.Designer.CheckConstraintEditorWidget.Gtk.Container+ContainerChild
            this.vpaned = new Gtk.VPaned();
            this.vpaned.CanFocus = true;
            this.vpaned.Name = "vpaned";
            this.vpaned.Position = 189;
            // Container child vpaned.Gtk.Paned+PanedChild
            this.hbox = new Gtk.HBox();
            this.hbox.Name = "hbox";
            this.hbox.Spacing = 6;
            // Container child hbox.Gtk.Box+BoxChild
            this.windowCheck = new Gtk.ScrolledWindow();
            this.windowCheck.CanFocus = true;
            this.windowCheck.Name = "windowCheck";
            this.windowCheck.VscrollbarPolicy = ((Gtk.PolicyType)(1));
            this.windowCheck.HscrollbarPolicy = ((Gtk.PolicyType)(1));
            this.windowCheck.ShadowType = ((Gtk.ShadowType)(1));
            // Container child windowCheck.Gtk.Container+ContainerChild
            this.listCheck = new Gtk.TreeView();
            this.listCheck.CanFocus = true;
            this.listCheck.Name = "listCheck";
            this.listCheck.HeadersClickable = true;
            this.windowCheck.Add(this.listCheck);
            this.hbox.Add(this.windowCheck);
            Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox[this.windowCheck]));
            w2.Position = 0;
            // Container child hbox.Gtk.Box+BoxChild
            this.vbuttonbox = new Gtk.VButtonBox();
            this.vbuttonbox.Name = "vbuttonbox";
            this.vbuttonbox.Spacing = 6;
            this.vbuttonbox.LayoutStyle = ((Gtk.ButtonBoxStyle)(3));
            // Container child vbuttonbox.Gtk.ButtonBox+ButtonBoxChild
            this.buttonAdd = new Gtk.Button();
            this.buttonAdd.CanFocus = true;
            this.buttonAdd.Name = "buttonAdd";
            this.buttonAdd.UseStock = true;
            this.buttonAdd.UseUnderline = true;
            this.buttonAdd.Label = "gtk-add";
            this.vbuttonbox.Add(this.buttonAdd);
            Gtk.ButtonBox.ButtonBoxChild w3 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox[this.buttonAdd]));
            w3.Expand = false;
            w3.Fill = false;
            // Container child vbuttonbox.Gtk.ButtonBox+ButtonBoxChild
            this.buttonRemove = new Gtk.Button();
            this.buttonRemove.Sensitive = false;
            this.buttonRemove.CanFocus = true;
            this.buttonRemove.Name = "buttonRemove";
            this.buttonRemove.UseStock = true;
            this.buttonRemove.UseUnderline = true;
            this.buttonRemove.Label = "gtk-remove";
            this.vbuttonbox.Add(this.buttonRemove);
            Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox[this.buttonRemove]));
            w4.Position = 1;
            w4.Expand = false;
            w4.Fill = false;
            this.hbox.Add(this.vbuttonbox);
            Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox[this.vbuttonbox]));
            w5.Position = 1;
            w5.Expand = false;
            w5.Fill = false;
            this.vpaned.Add(this.hbox);
            Gtk.Paned.PanedChild w6 = ((Gtk.Paned.PanedChild)(this.vpaned[this.hbox]));
            w6.Resize = false;
            // Container child vpaned.Gtk.Paned+PanedChild
            this.frame = new Gtk.Frame();
            this.frame.Name = "frame";
            this.frame.ShadowType = ((Gtk.ShadowType)(0));
            this.frame.LabelXalign = 0F;
            // Container child frame.Gtk.Container+ContainerChild
            this.alignment = new Gtk.Alignment(0F, 0F, 1F, 1F);
            this.alignment.Name = "alignment";
            this.alignment.LeftPadding = ((uint)(12));
            // Container child alignment.Gtk.Container+ContainerChild
            this.sqlEditor = new MonoDevelop.Database.Components.SqlEditorWidget();
            this.sqlEditor.Events = ((Gdk.EventMask)(256));
            this.sqlEditor.Name = "sqlEditor";
            this.sqlEditor.Editable = false;
            this.alignment.Add(this.sqlEditor);
            this.frame.Add(this.alignment);
            this.GtkLabel2 = new Gtk.Label();
            this.GtkLabel2.Name = "GtkLabel2";
            this.GtkLabel2.LabelProp = AddinCatalog.GetString("Check Condition");
            this.GtkLabel2.UseMarkup = true;
            this.frame.LabelWidget = this.GtkLabel2;
            this.vpaned.Add(this.frame);
            this.Add(this.vpaned);
            if ((this.Child != null)) {
                this.Child.ShowAll();
            }
            this.Show();
            this.buttonAdd.Clicked += new System.EventHandler(this.AddClicked);
            this.buttonRemove.Clicked += new System.EventHandler(this.RemoveClicked);
        }
    }
}