Наследование: 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;
        }