コード例 #1
0
        static void Main(string[] args)
        {
            Console.WriteLine("Welcome to Kyu by Vrien Studios...");
            Console.WriteLine("Loading Art Resources");
            Resx.Classes.Resources.GetAllDirs(Directory.GetCurrentDirectory() + "\\resx", new string[] { });

            screenClass screenDim = new screenClass();

            foreach (string str in Resx.Classes.Resources.dirs)
            {
                Console.WriteLine(str);
            }

            Resx.Classes.Resources.LoadImages();
            handle = new KyuWIN.WinComponents.FHandle(800, 800, new Point(0, 0), "VTest", false);
            Bitmap   bg = new Bitmap(handle.xOffset, handle.yOffset);
            Graphics b  = Graphics.FromImage(bg);

            b.Clear(Color.Black);
            FObject fobj = new FObject(0, 0, bg);

            fobj.onMouseHover += Fobj_onMouseHover;
            handle.AddFObject(fobj);
            fobj.DrawStringCenter("Thank you for playing!\nClick to Continue");
            fobj.DrawString(0, 0, "Beta");

            fobj.onClick += Fobj_onClick;
        }