示例#1
0
 private void Form1_Load(object sender, EventArgs e)
 {
     this.Region = new Region(
         CustomFormClass.RoundedRect(
             new Rectangle(0, 0, this.Width, this.Height)
             , 10
             )
         );
 }
示例#2
0
        private void FormAddPoint_Load(object sender, EventArgs e)
        {
            this.Region = new Region(
                CustomFormClass.RoundedRect(
                    new Rectangle(0, 0, this.Width, this.Height)
                    , 10
                    )
                );

            DataAccess.GetPointsFromHumanTable(pointModels, _humanModelId);
            SetPointData(x, y, _humanSide);
            cbPointLink.SelectedIndex = 0;
        }