public static FAddToTable getAddForm(string tableName) { if (addForm == null || TableName != tableName) { addForm = new FAddToTable(tableName); } return(addForm); }
private void заполнитьТаблицуToolStripMenuItem_Click(object sender, EventArgs e) { FAddToTable.getAddForm(SQlToHumanTranslater.TranslateToSQL(cbTablesList.Text)).ShowDialog(); }