コード例 #1
0
    public static void Main()
    {
        ClassIO c = new ClassIO();

        c.DataReceived();

        Console.ReadLine();
    }
コード例 #2
0
        private void EditCine_Load(object sender, EventArgs e)
        {
            int sms = Environment.TickCount;

            UpdateTick.Enabled = false;
            Visual.MakeCurrent();
            Visual.InitGL();
            NewScene();
            SyncUI();
            ResizeUI();
            Console.WriteLine("Reflecting class.");
            Console.WriteLine(EditGraph == null ? "null" : "fine");
            //  Visual.ContextMenuStrip = EditMenu;

            var ci = new ClassIO(EditGraph);

            ci.Copy();
            Console.WriteLine("Done.");
            LoadPlugins();
            InitPlugins();
            var iconfs = new VirtualFileSystem();

            iconfs.ReadToc("Data/Icons/icons");

            MoveIcon   = iconfs.GetTex("MoveIcon");
            RotateIcon = iconfs.GetTex("RotateIcon");
            ScaleIcon  = iconfs.GetTex("ScaleIcon");
            LightIcon  = iconfs.GetTex("LightIcon");
            //MoveIcon = new Tex2D("Data/Icons/MoveIcon.png",true);

            //            MoveIcon = new Tex2D("Data/Icons/MoveIcon.png", true);
            // RotateIcon = new Tex2D("Data/Icons/RotateIcon.png",true);
            //ScaleIcon = new Tex2D("Data/Icons/ScaleIcon.png",true);
            //LightIcon = new Tex2D("Data/Icons/LightIcon.png", true);
            UpdateTick.Enabled = true;
            int ems = Environment.TickCount;

            Console.WriteLine("StartUp Time:" + (float)(ems - sms) / 1000.0f);

            Setup3D();
        }
コード例 #3
0
ファイル: GraphNode.cs プロジェクト: Hengle/Fusion3D
 public void CopyProps( )
 {
     ClassCopy = new ClassIO(this);
     ClassCopy.Copy( );
 }
コード例 #4
0
 public void Copy( )
 {
     ClassCopy = new Reflect.ClassIO(this);
     ClassCopy.Copy( );
     CopyNode(Root);
 }