private void B_EditPatternFlag_Click(object sender, EventArgs e) { var patterns = new[] { SAV.Main.FlagMyDesign }; using var editor = new PatternEditor(patterns); if (editor.ShowDialog() == DialogResult.OK) { SAV.Main.FlagMyDesign = patterns[0]; } }
private void B_EditPatterns_Click(object sender, EventArgs e) { var patterns = SAV.Main.GetDesigns(); using var editor = new PatternEditor(patterns); if (editor.ShowDialog() == DialogResult.OK) { SAV.Main.SetDesigns(patterns); } }