示例#1
0
        void Refresh(bool fCreateNewData)
        {
            if (fCreateNewData)
            {
                int n = (int)nudCount.Value;

                if (rbGeometry2.IsChecked)
                {
                    GenerateAustPlusRandomEllipses(n);
                }
                else
                {
                    GenerateRandomPolygon(n);
                }
            }

            m_DrawingPanel.Refresh();
        }
示例#2
0
 void RotateAndOpacity_Slider_ValueChanged(Base control)
 {
     m_PreviewPanel.Refresh();
 }
示例#3
0
 void Slider_ValueChanged(Base control)
 {
     m_DrawingPanel.Refresh();
 }
示例#4
0
 void ShowSightCheckBox_CheckChanged(Base control)
 {
     m_DrawingPanel.Refresh();
 }