~palango/sterling/main

« back to all changes in this revision

Viewing changes to Sterling/gtk-gui/Sterling.AccountManagerDialog.cs

  • Committer: Paul Lange
  • Date: 2008-08-13 13:23:51 UTC
  • mfrom: (11.1.1 accountmanager)
  • Revision ID: palango@gmx.de-20080813132351-uzd63hyga74xlnnf
merged accountmanager branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// ------------------------------------------------------------------------------
 
2
//  <autogenerated>
 
3
//      This code was generated by a tool.
 
4
//      Mono Runtime Version: 2.0.50727.42
 
5
// 
 
6
//      Changes to this file may cause incorrect behavior and will be lost if 
 
7
//      the code is regenerated.
 
8
//  </autogenerated>
 
9
// ------------------------------------------------------------------------------
 
10
 
 
11
namespace Sterling {
 
12
    
 
13
    
 
14
    public partial class AccountManagerDialog {
 
15
        
 
16
        private Gtk.Table table1;
 
17
        
 
18
        private Gtk.SpinButton balanceEntry;
 
19
        
 
20
        private Gtk.Label label1;
 
21
        
 
22
        private Gtk.Label label2;
 
23
        
 
24
        private Gtk.Entry nameEntry;
 
25
        
 
26
        private Gtk.Button buttonCancel;
 
27
        
 
28
        private Gtk.Button buttonOk;
 
29
        
 
30
        protected virtual void Build() {
 
31
            Stetic.Gui.Initialize(this);
 
32
            // Widget Sterling.AccountManagerDialog
 
33
            this.Name = "Sterling.AccountManagerDialog";
 
34
            this.Title = Mono.Unix.Catalog.GetString("Manage Account");
 
35
            this.Icon = Stetic.IconLoader.LoadIcon(this, "gtk-properties", Gtk.IconSize.Menu, 16);
 
36
            this.WindowPosition = ((Gtk.WindowPosition)(4));
 
37
            this.HasSeparator = false;
 
38
            // Internal child Sterling.AccountManagerDialog.VBox
 
39
            Gtk.VBox w1 = this.VBox;
 
40
            w1.Name = "dialog1_VBox";
 
41
            w1.BorderWidth = ((uint)(2));
 
42
            // Container child dialog1_VBox.Gtk.Box+BoxChild
 
43
            this.table1 = new Gtk.Table(((uint)(2)), ((uint)(2)), false);
 
44
            this.table1.Name = "table1";
 
45
            this.table1.RowSpacing = ((uint)(6));
 
46
            this.table1.ColumnSpacing = ((uint)(6));
 
47
            // Container child table1.Gtk.Table+TableChild
 
48
            this.balanceEntry = new Gtk.SpinButton(-1000000000, 1000000000, 1);
 
49
            this.balanceEntry.CanFocus = true;
 
50
            this.balanceEntry.Name = "balanceEntry";
 
51
            this.balanceEntry.Adjustment.PageIncrement = 10;
 
52
            this.balanceEntry.ClimbRate = 1;
 
53
            this.balanceEntry.Digits = ((uint)(2));
 
54
            this.balanceEntry.Numeric = true;
 
55
            this.balanceEntry.SnapToTicks = true;
 
56
            this.balanceEntry.Value = 10;
 
57
            this.table1.Add(this.balanceEntry);
 
58
            Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.balanceEntry]));
 
59
            w2.TopAttach = ((uint)(1));
 
60
            w2.BottomAttach = ((uint)(2));
 
61
            w2.LeftAttach = ((uint)(1));
 
62
            w2.RightAttach = ((uint)(2));
 
63
            w2.XOptions = ((Gtk.AttachOptions)(4));
 
64
            w2.YOptions = ((Gtk.AttachOptions)(4));
 
65
            // Container child table1.Gtk.Table+TableChild
 
66
            this.label1 = new Gtk.Label();
 
67
            this.label1.Name = "label1";
 
68
            this.label1.LabelProp = Mono.Unix.Catalog.GetString("Name");
 
69
            this.table1.Add(this.label1);
 
70
            Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.label1]));
 
71
            w3.XOptions = ((Gtk.AttachOptions)(4));
 
72
            w3.YOptions = ((Gtk.AttachOptions)(4));
 
73
            // Container child table1.Gtk.Table+TableChild
 
74
            this.label2 = new Gtk.Label();
 
75
            this.label2.Name = "label2";
 
76
            this.label2.LabelProp = Mono.Unix.Catalog.GetString("Startbalance");
 
77
            this.table1.Add(this.label2);
 
78
            Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.label2]));
 
79
            w4.TopAttach = ((uint)(1));
 
80
            w4.BottomAttach = ((uint)(2));
 
81
            w4.XOptions = ((Gtk.AttachOptions)(4));
 
82
            w4.YOptions = ((Gtk.AttachOptions)(4));
 
83
            // Container child table1.Gtk.Table+TableChild
 
84
            this.nameEntry = new Gtk.Entry();
 
85
            this.nameEntry.CanFocus = true;
 
86
            this.nameEntry.Name = "nameEntry";
 
87
            this.nameEntry.IsEditable = true;
 
88
            this.nameEntry.InvisibleChar = '●';
 
89
            this.table1.Add(this.nameEntry);
 
90
            Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.nameEntry]));
 
91
            w5.LeftAttach = ((uint)(1));
 
92
            w5.RightAttach = ((uint)(2));
 
93
            w5.XOptions = ((Gtk.AttachOptions)(4));
 
94
            w5.YOptions = ((Gtk.AttachOptions)(4));
 
95
            w1.Add(this.table1);
 
96
            Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(w1[this.table1]));
 
97
            w6.Position = 0;
 
98
            w6.Expand = false;
 
99
            w6.Fill = false;
 
100
            // Internal child Sterling.AccountManagerDialog.ActionArea
 
101
            Gtk.HButtonBox w7 = this.ActionArea;
 
102
            w7.Name = "dialog1_ActionArea";
 
103
            w7.Spacing = 6;
 
104
            w7.BorderWidth = ((uint)(5));
 
105
            w7.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
 
106
            // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
 
107
            this.buttonCancel = new Gtk.Button();
 
108
            this.buttonCancel.CanDefault = true;
 
109
            this.buttonCancel.CanFocus = true;
 
110
            this.buttonCancel.Name = "buttonCancel";
 
111
            this.buttonCancel.UseStock = true;
 
112
            this.buttonCancel.UseUnderline = true;
 
113
            this.buttonCancel.Label = "gtk-cancel";
 
114
            this.AddActionWidget(this.buttonCancel, -6);
 
115
            Gtk.ButtonBox.ButtonBoxChild w8 = ((Gtk.ButtonBox.ButtonBoxChild)(w7[this.buttonCancel]));
 
116
            w8.Expand = false;
 
117
            w8.Fill = false;
 
118
            // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
 
119
            this.buttonOk = new Gtk.Button();
 
120
            this.buttonOk.CanDefault = true;
 
121
            this.buttonOk.CanFocus = true;
 
122
            this.buttonOk.Name = "buttonOk";
 
123
            this.buttonOk.UseStock = true;
 
124
            this.buttonOk.UseUnderline = true;
 
125
            this.buttonOk.Label = "gtk-ok";
 
126
            this.AddActionWidget(this.buttonOk, -5);
 
127
            Gtk.ButtonBox.ButtonBoxChild w9 = ((Gtk.ButtonBox.ButtonBoxChild)(w7[this.buttonOk]));
 
128
            w9.Position = 1;
 
129
            w9.Expand = false;
 
130
            w9.Fill = false;
 
131
            if ((this.Child != null)) {
 
132
                this.Child.ShowAll();
 
133
            }
 
134
            this.DefaultWidth = 257;
 
135
            this.DefaultHeight = 132;
 
136
            this.Show();
 
137
        }
 
138
    }
 
139
}