Mercurial > repos > IBBoard.WarFoundry.GUI.GTK
comparison gtk-gui/IBBoard.WarFoundry.GTK.FrmMainWindow.cs @ 7:58961ff391d4
Closes #30 - Convert to .csproj
* Convert GTK# GUI to .csproj and remove .mdp
Also:
* Remove rogue Dialog class
* Commit a number of generated GUI changes that MonoDevelop made and won't un-make
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 17 Feb 2009 16:41:55 +0000 |
parents | cfc7683e73f9 |
children | c687bbe901f8 |
comparison
equal
deleted
inserted
replaced
6:cfc7683e73f9 | 7:58961ff391d4 |
---|---|
1 // ------------------------------------------------------------------------------ | 1 // ------------------------------------------------------------------------------ |
2 // <autogenerated> | 2 // <autogenerated> |
3 // This code was generated by a tool. | 3 // This code was generated by a tool. |
4 // Mono Runtime Version: 2.0.50727.1433 | 4 // |
5 // | 5 // |
6 // Changes to this file may cause incorrect behavior and will be lost if | 6 // Changes to this file may cause incorrect behavior and will be lost if |
7 // the code is regenerated. | 7 // the code is regenerated. |
8 // </autogenerated> | 8 // </autogenerated> |
9 // ------------------------------------------------------------------------------ | 9 // ------------------------------------------------------------------------------ |
76 protected virtual void Build() { | 76 protected virtual void Build() { |
77 Stetic.Gui.Initialize(this); | 77 Stetic.Gui.Initialize(this); |
78 // Widget IBBoard.WarFoundry.GTK.FrmMainWindow | 78 // Widget IBBoard.WarFoundry.GTK.FrmMainWindow |
79 this.UIManager = new Gtk.UIManager(); | 79 this.UIManager = new Gtk.UIManager(); |
80 Gtk.ActionGroup w1 = new Gtk.ActionGroup("Default"); | 80 Gtk.ActionGroup w1 = new Gtk.ActionGroup("Default"); |
81 this.menuFile = new Gtk.Action("menuFile", "File", null, null); | 81 this.menuFile = new Gtk.Action("menuFile", Mono.Unix.Catalog.GetString("File"), null, null); |
82 this.menuFile.ShortLabel = "File"; | 82 this.menuFile.ShortLabel = Mono.Unix.Catalog.GetString("File"); |
83 w1.Add(this.menuFile, null); | 83 w1.Add(this.menuFile, null); |
84 this.miCreateArmy = new Gtk.Action("miCreateArmy", "Create army", null, null); | 84 this.miCreateArmy = new Gtk.Action("miCreateArmy", Mono.Unix.Catalog.GetString("Create army"), null, null); |
85 this.miCreateArmy.Sensitive = false; | 85 this.miCreateArmy.Sensitive = false; |
86 this.miCreateArmy.ShortLabel = "Create army"; | 86 this.miCreateArmy.ShortLabel = Mono.Unix.Catalog.GetString("Create army"); |
87 w1.Add(this.miCreateArmy, null); | 87 w1.Add(this.miCreateArmy, null); |
88 this.miOpenArmy = new Gtk.Action("miOpenArmy", "Open army", null, null); | 88 this.miOpenArmy = new Gtk.Action("miOpenArmy", Mono.Unix.Catalog.GetString("Open army"), null, null); |
89 this.miOpenArmy.Sensitive = false; | 89 this.miOpenArmy.Sensitive = false; |
90 this.miOpenArmy.ShortLabel = "Open army"; | 90 this.miOpenArmy.ShortLabel = Mono.Unix.Catalog.GetString("Open army"); |
91 w1.Add(this.miOpenArmy, null); | 91 w1.Add(this.miOpenArmy, null); |
92 this.miSaveArmy = new Gtk.Action("miSaveArmy", "Save army", null, null); | 92 this.miSaveArmy = new Gtk.Action("miSaveArmy", Mono.Unix.Catalog.GetString("Save army"), null, null); |
93 this.miSaveArmy.Sensitive = false; | 93 this.miSaveArmy.Sensitive = false; |
94 this.miSaveArmy.ShortLabel = "Save army"; | 94 this.miSaveArmy.ShortLabel = Mono.Unix.Catalog.GetString("Save army"); |
95 w1.Add(this.miSaveArmy, null); | 95 w1.Add(this.miSaveArmy, null); |
96 this.miSaveArmyAs = new Gtk.Action("miSaveArmyAs", "Save army as", null, null); | 96 this.miSaveArmyAs = new Gtk.Action("miSaveArmyAs", Mono.Unix.Catalog.GetString("Save army as"), null, null); |
97 this.miSaveArmyAs.Sensitive = false; | 97 this.miSaveArmyAs.Sensitive = false; |
98 this.miSaveArmyAs.ShortLabel = "Save army as"; | 98 this.miSaveArmyAs.ShortLabel = Mono.Unix.Catalog.GetString("Save army as"); |
99 w1.Add(this.miSaveArmyAs, null); | 99 w1.Add(this.miSaveArmyAs, null); |
100 this.miCloseArmy = new Gtk.Action("miCloseArmy", "Close army", null, null); | 100 this.miCloseArmy = new Gtk.Action("miCloseArmy", Mono.Unix.Catalog.GetString("Close army"), null, null); |
101 this.miCloseArmy.Sensitive = false; | 101 this.miCloseArmy.Sensitive = false; |
102 this.miCloseArmy.ShortLabel = "Close army"; | 102 this.miCloseArmy.ShortLabel = Mono.Unix.Catalog.GetString("Close army"); |
103 w1.Add(this.miCloseArmy, null); | 103 w1.Add(this.miCloseArmy, null); |
104 this.miChangeGameSystem = new Gtk.Action("miChangeGameSystem", "Change game system", null, null); | 104 this.miChangeGameSystem = new Gtk.Action("miChangeGameSystem", Mono.Unix.Catalog.GetString("Change game system"), null, null); |
105 this.miChangeGameSystem.ShortLabel = "Change game system"; | 105 this.miChangeGameSystem.ShortLabel = Mono.Unix.Catalog.GetString("Change game system"); |
106 w1.Add(this.miChangeGameSystem, null); | 106 w1.Add(this.miChangeGameSystem, null); |
107 this.miReloadFiles = new Gtk.Action("miReloadFiles", "Reload files", null, null); | 107 this.miReloadFiles = new Gtk.Action("miReloadFiles", Mono.Unix.Catalog.GetString("Reload files"), null, null); |
108 this.miReloadFiles.Sensitive = false; | 108 this.miReloadFiles.Sensitive = false; |
109 this.miReloadFiles.ShortLabel = "Reload files"; | 109 this.miReloadFiles.ShortLabel = Mono.Unix.Catalog.GetString("Reload files"); |
110 w1.Add(this.miReloadFiles, null); | 110 w1.Add(this.miReloadFiles, null); |
111 this.miExit = new Gtk.Action("miExit", "Exit", null, null); | 111 this.miExit = new Gtk.Action("miExit", Mono.Unix.Catalog.GetString("Exit"), null, null); |
112 this.miExit.ShortLabel = "Exit"; | 112 this.miExit.ShortLabel = Mono.Unix.Catalog.GetString("Exit"); |
113 w1.Add(this.miExit, null); | 113 w1.Add(this.miExit, null); |
114 this.menuEdit = new Gtk.Action("menuEdit", "Edit", null, null); | 114 this.menuEdit = new Gtk.Action("menuEdit", Mono.Unix.Catalog.GetString("Edit"), null, null); |
115 this.menuEdit.ShortLabel = "Edit"; | 115 this.menuEdit.ShortLabel = Mono.Unix.Catalog.GetString("Edit"); |
116 w1.Add(this.menuEdit, null); | 116 w1.Add(this.menuEdit, null); |
117 this.miUndo = new Gtk.Action("miUndo", "Undo", null, null); | 117 this.miUndo = new Gtk.Action("miUndo", Mono.Unix.Catalog.GetString("Undo"), null, null); |
118 this.miUndo.Sensitive = false; | 118 this.miUndo.Sensitive = false; |
119 this.miUndo.ShortLabel = "Undo"; | 119 this.miUndo.ShortLabel = Mono.Unix.Catalog.GetString("Undo"); |
120 w1.Add(this.miUndo, null); | 120 w1.Add(this.miUndo, null); |
121 this.miRedo = new Gtk.Action("miRedo", "Redo", null, null); | 121 this.miRedo = new Gtk.Action("miRedo", Mono.Unix.Catalog.GetString("Redo"), null, null); |
122 this.miRedo.Sensitive = false; | 122 this.miRedo.Sensitive = false; |
123 this.miRedo.ShortLabel = "Redo"; | 123 this.miRedo.ShortLabel = Mono.Unix.Catalog.GetString("Redo"); |
124 w1.Add(this.miRedo, null); | 124 w1.Add(this.miRedo, null); |
125 this.menuHelp = new Gtk.Action("menuHelp", "Help", null, null); | 125 this.menuHelp = new Gtk.Action("menuHelp", Mono.Unix.Catalog.GetString("Help"), null, null); |
126 this.menuHelp.ShortLabel = "Help"; | 126 this.menuHelp.ShortLabel = Mono.Unix.Catalog.GetString("Help"); |
127 w1.Add(this.menuHelp, null); | 127 w1.Add(this.menuHelp, null); |
128 this.miAbout = new Gtk.Action("miAbout", "About", null, null); | 128 this.miAbout = new Gtk.Action("miAbout", Mono.Unix.Catalog.GetString("About"), null, null); |
129 this.miAbout.ShortLabel = "About"; | 129 this.miAbout.ShortLabel = Mono.Unix.Catalog.GetString("About"); |
130 w1.Add(this.miAbout, null); | 130 w1.Add(this.miAbout, null); |
131 this.miDebugInformation = new Gtk.Action("miDebugInformation", "Debug Information", null, null); | 131 this.miDebugInformation = new Gtk.Action("miDebugInformation", Mono.Unix.Catalog.GetString("Debug Information"), null, null); |
132 this.miDebugInformation.ShortLabel = "Debug Information"; | 132 this.miDebugInformation.ShortLabel = Mono.Unix.Catalog.GetString("Debug Information"); |
133 w1.Add(this.miDebugInformation, null); | 133 w1.Add(this.miDebugInformation, null); |
134 this.newArmyButton = new Gtk.Action("newArmyButton", null, null, "gtk-new"); | 134 this.newArmyButton = new Gtk.Action("newArmyButton", null, null, "gtk-new"); |
135 this.newArmyButton.Sensitive = false; | 135 this.newArmyButton.Sensitive = false; |
136 w1.Add(this.newArmyButton, null); | 136 w1.Add(this.newArmyButton, null); |
137 this.openArmyButton = new Gtk.Action("openArmyButton", null, null, "gtk-open"); | 137 this.openArmyButton = new Gtk.Action("openArmyButton", null, null, "gtk-open"); |
151 this.add = new Gtk.Action("add", null, null, "gtk-add"); | 151 this.add = new Gtk.Action("add", null, null, "gtk-add"); |
152 w1.Add(this.add, null); | 152 w1.Add(this.add, null); |
153 this.UIManager.InsertActionGroup(w1, 0); | 153 this.UIManager.InsertActionGroup(w1, 0); |
154 this.AddAccelGroup(this.UIManager.AccelGroup); | 154 this.AddAccelGroup(this.UIManager.AccelGroup); |
155 this.Name = "IBBoard.WarFoundry.GTK.FrmMainWindow"; | 155 this.Name = "IBBoard.WarFoundry.GTK.FrmMainWindow"; |
156 this.Title = "MainWindow"; | 156 this.Title = Mono.Unix.Catalog.GetString("MainWindow"); |
157 this.Icon = Gdk.Pixbuf.LoadFromResource("App.ico"); | 157 this.Icon = Gdk.Pixbuf.LoadFromResource("App.ico"); |
158 // Container child IBBoard.WarFoundry.GTK.FrmMainWindow.Gtk.Container+ContainerChild | 158 // Container child IBBoard.WarFoundry.GTK.FrmMainWindow.Gtk.Container+ContainerChild |
159 this.vbox1 = new Gtk.VBox(); | 159 this.vbox1 = new Gtk.VBox(); |
160 this.vbox1.Name = "vbox1"; | 160 this.vbox1.Name = "vbox1"; |
161 // Container child vbox1.Gtk.Box+BoxChild | 161 // Container child vbox1.Gtk.Box+BoxChild |