Inheritance: System.Windows.Forms.Form
Beispiel #1
0
		public override bool Setup()
		{
			using (SetupForm setupForm = new SetupForm(_data.Width, _data.Height, Owner.Count())) {
				if (setupForm.ShowDialog() == DialogResult.OK) {
					_data.Width = setupForm.SelectedWidth;
					_data.Height = setupForm.SelectedHeight;
					return true;
				}
				return false;
			}
		}