예제 #1
0
        public AlphaForm()
        {
            if (!this.DesignMode)
            {
                m_layeredWnd = new LayeredWindow();
            }

            m_sizeMode = SizeModes.None;
            m_background = null;
            m_backgroundEx = null;
            m_backgroundFull = null;
            m_renderCtrlBG = false;
            m_enhanced = false;
            m_isDown.Left = false;
            m_isDown.Right = false;
            m_isDown.Middle = false;
            m_isDown.XBtn = false;
            m_moving = false;
            m_hiddenControls = new List<Control>();
            m_controlDict = new Dictionary<Control, bool>();
            m_initialised = false;

            //Set drawing styles
            this.SetStyle(ControlStyles.DoubleBuffer, true);
        }
예제 #2
0
        public AlphaForm()
        {
            if (!this.DesignMode)
            {
                m_layeredWnd = new LayeredWindow();
            }

            m_sizeMode       = SizeModes.None;
            m_background     = null;
            m_backgroundEx   = null;
            m_backgroundFull = null;
            m_renderCtrlBG   = false;
            m_enhanced       = false;
            m_isDown.Left    = false;
            m_isDown.Right   = false;
            m_isDown.Middle  = false;
            m_isDown.XBtn    = false;
            m_moving         = false;
            m_hiddenControls = new List <Control>();
            m_controlDict    = new Dictionary <Control, bool>();
            m_initialised    = false;

            //Set drawing styles
            this.SetStyle(ControlStyles.DoubleBuffer, true);
        }