Inheritance: System.Windows.Forms.Form, IInputSink
Exemple #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;
        }
        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;
        }