private void lblRenameTable_Click(object sender, EventArgs e) { LoadProjects loadProjects = new LoadProjects(); string tableName = treeProject.SelectedNode.Text; string projectName = treeProject.SelectedNode.Parent.Text; frmNewTableName newTableName = new frmNewTableName(tableName, true, projectName); newTableName.Show(); panelTableOptions.Height = 0; isTableMenuOpen = false; }
private void lblNewTable_Click(object sender, EventArgs e) { string selectedNode = treeProject.SelectedNode.Text; frmNewTableName newTabelName = new frmNewTableName(selectedNode); newTabelName.Show(); projectOptionsPanel.Height = 0; isProjectMenuOpen = false; panelTableOptions.Height = 0; isTableMenuOpen = false; }