private void OpenGame() { FormGame nc = new FormGame((int)cbxOne.SelectedItem, (int)cbxTwo.SelectedItem, selectedSignsIndexes, this.UserId); nc.Parent = this; this.Hide(); nc.ShowDialog(); }