예제 #1
0
        public Form1()
        {
            InitializeComponent();

            regionGen           = RegionGen.Create(0, 0, displayPanel.Width + 1, displayPanel.Height + 1, (int)radiusArcAngle.Value);
            displayPanel.Region = regionGen.CreateRgn();
        }
예제 #2
0
 private void radiusArcAngle_ValueChanged(object sender, EventArgs e)
 {
     regionGen           = RegionGen.Create(0, 0, displayPanel.Width + 1, displayPanel.Height + 1, (int)radiusArcAngle.Value);
     displayPanel.Region = regionGen.CreateRgn();
 }