private void Form1_Load(object sender, EventArgs e) { this.Region = new Region( CustomFormClass.RoundedRect( new Rectangle(0, 0, this.Width, this.Height) , 10 ) ); }
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; }