public void ChangeSize() { FormColorAreaSize formSize = new FormColorAreaSize(_lenghtSpot, _heightSpot, PatternChess); if (Application.ShowModalDialog(formSize) == System.Windows.Forms.DialogResult.OK) { _lenghtSpot = formSize.LenghtSpot; _heightSpot = formSize.HeightSpot; PatternChess = formSize.ChessPattern; calcSizes(); saveSize(); } }
public void ChangeSize() { FormColorAreaSize formSize = new FormColorAreaSize(_lenghtSpot, _heightSpot, PatternChess); if (Application.ShowModalDialog(formSize) == System.Windows.Forms.DialogResult.OK) { _lenghtSpot = formSize.LenghtSpot; _heightSpot = formSize.HeightSpot; PatternChess = formSize.ChessPattern; calcSizes(); saveSize(); } }