Inheritance: System.Windows.Forms.Form, IInputSink
コード例 #1
0
        public ViewportControl(NomadForm mainForm, Game game)
        {
            MainForm = mainForm;
            Game     = game;
            this.InitializeComponent();
            this.BackColor   = SystemColors.AppWorkspace;
            base.MouseWheel += new MouseEventHandler(this.ViewportControl_MouseWheel);

            //TODO: Fix Invisible Cursor
            //this.m_invisibleCursor = new Cursor(new MemoryStream(FC3.Properties.Resources.invisible_cursor));
            this.m_invisibleCursor = Cursors.Hand;
        }
コード例 #2
0
        public ViewportControl(NomadForm mainForm, Game game)
        {
            MainForm = mainForm;
            Game = game;
            this.InitializeComponent();
            this.BackColor = SystemColors.AppWorkspace;
            base.MouseWheel += new MouseEventHandler(this.ViewportControl_MouseWheel);

            //TODO: Fix Invisible Cursor
            //this.m_invisibleCursor = new Cursor(new MemoryStream(FC3.Properties.Resources.invisible_cursor));
            this.m_invisibleCursor = Cursors.Hand;
        }