Exemple #1
0
        public static DrawingTest Create(int width, int height, string ownerClass)
        {
            DrawingTest test;

            test = new NetDrawingTest();
            test.Init(width, height);
            test.OwnerClass = ownerClass;
            return(test);
        }
Exemple #2
0
		public static DrawingTest Create (int width, int height, string ownerClass) {
			DrawingTest test;
#if TARGET_JVM
			test = new JavaDrawingTest ();
#else
			test = new NetDrawingTest ();
#endif
			test.Init (width, height);
			test.OwnerClass = ownerClass;
			return test;
		}
Exemple #3
0
		public static DrawingTest Create (int width, int height, string ownerClass) {
			DrawingTest test;
#if TARGET_JVM
			test = new JavaDrawingTest ();
#else
			test = new NetDrawingTest ();
#endif
			test.Init (width, height);
			test.OwnerClass = ownerClass;
			return test;
		}
Exemple #4
0
		public static DrawingTest Create (int width, int height, string ownerClass) {
			DrawingTest test;
			test = new NetDrawingTest ();
			test.Init (width, height);
			test.OwnerClass = ownerClass;
			return test;
		}