public flipper() { InitializeComponent(); GenerateMap(); this.Config = new ConfigMenu(this); this.Config.Location = new Point(this.Location.X + this.Width, this.Location.Y); this.Config = null; MovesTextBox.Text = "" + Moves; }
private void NewMapOptions(object sender, EventArgs e) //otwiera Config Menu { if (Config == null) { this.Config = new ConfigMenu(this, true); this.Config.Location = new Point(this.Location.X + this.Width, this.Location.Y); } else { this.Config.Activate(); } }