Exemplo n.º 1
0
        public static void Main(string[] args)
        {
            Console.WriteLine ("Hello World!");
            DyConsole DConsole = new DyConsole ();

            int X = 36;
            DConsole.AddVariable(new Variable("X",X));
            int Y = 7;
            DConsole.AddVariable (new Variable ("Y", Y));
            DConsole.AddCommand(new Command("Foo",new DyConsole.CommandDelegate(Foo)));

            DConsole.Open ();
        }
Exemplo n.º 2
0
 public ConsoleWindow(DyConsole owner)
     : base(Gtk.WindowType.Toplevel)
 {
     Owner = owner;
     this.Build ();
 }