Exemplo n.º 1
0
		public static int Main13 (string[] args)
		{
			GLib.GType.Init ();
			TestObject obj = new TestObject ();
			obj.TestInt ();
			obj.TestUInt ();
			obj.TestLong ();
			obj.TestULong ();
			obj.TestByte ();
			obj.TestSByte ();
			obj.TestBool ();
			obj.TestFloat ();
			obj.TestDouble ();
			obj.TestString ();
			//obj.TestIntPtr ();
			//obj.TestBoxed ();
			obj.TestGObject ();
			Console.WriteLine ("All properties succeeded.");
			return 0;
		}
Exemplo n.º 2
0
        public static int Main(string[] args)
        {
            GLib.GType.Init();
            TestObject obj = new TestObject();

            obj.TestInt();
            obj.TestUInt();
            obj.TestLong();
            obj.TestULong();
            obj.TestByte();
            obj.TestSByte();
            obj.TestBool();
            obj.TestFloat();
            obj.TestDouble();
            obj.TestString();
            //obj.TestIntPtr ();
            //obj.TestBoxed ();
            obj.TestGObject();
            Console.WriteLine("All properties succeeded.");
            return(0);
        }