private void btnPostRecordCommand_Click(object sender, EventArgs e) { if (formPatternsVisible) { return; } formPatterns = new FormPatterns(PatternSymbolsCommand.Symbols); formPatterns.FormClosed += formPatterns_FormClosed; formPatternsVisible = true; formPatterns.Show(this); }
private void btnMacroReference_Click(object sender, EventArgs e) { if (formPatternsVisible) { return; } formPatterns = new FormPatterns(PatternSymbolsFile.Symbols); formPatterns.FormClosed += formPatterns_FormClosed; formPatternsVisible = true; formPatterns.Show(this); }