//private Zeus.UserInterface.GuiController ui; //private MyMeta.dbRoot MyMeta; //private Dnp.Utils.Utils DnpUtils; private void button1_Click(object sender, EventArgs e) { context.Objects["ui"] = new Zeus.UserInterface.GuiController(this.context); context.Objects["MyMeta"] = new MyMeta.dbRoot(); context.Objects["DnpUtils"] = new MyMeta.dbRoot(); var gui = new GeneratedGui(context); gui.Setup(); //GeneratedTemplate template = new GeneratedTemplate(context); //template.Render(); //this.textBox1.Text = template.Buffer; }