コード例 #1
0
        /*!
         * Ensures that view in the Panel is redraw whenever it is resized
         *
         * \param sender A reference to an object  which is the root of the type hierarchy
         * \param e Provides data for the event
         */
        private void PanelResize(object sender, EventArgs e)
        {
            if (!this.Disposing && (m_pHView != null))
            {
                HCS.Control_Update_By_Key(m_pHView.GetViewKey(), "redraw everything");

                m_pHView.AdjustAxisWindow();
                m_pHView.Update();
            }
        }
コード例 #2
0
        /*!
         * Ensures that view in the Panel is redraw whenever it is resized
         *
         * \param sender A reference to an object  which is the root of the type hierarchy
         * \param e Provides data for the event
         */
        protected override void OnResize(EventArgs eventargs)
        {
            base.OnResize(eventargs);

            if (!this.Disposing && (m_pHView != null))
            {
                HCS.Control_Update_By_Key(m_pHView.GetViewKey(), "redraw everything");

                m_pHView.AdjustAxisWindow();
                m_pHView.Update();
            }
        }