private void addTableButton_Click(object sender, EventArgs e) { InputPopup popup = new InputPopup("Enter Table Name", (string input) => { List <List <string> > list = mySqlManager.SqlCommand(MySqlCommands.CreateNewTable(nodeSelected.Text, input)); if (list == null) { ShowMessage(mySqlManager.ResponseMessage); } UpdateListView(); }); popup.Show(); }
private void createDBButton_Click(object sender, EventArgs e) { InputPopup popup = new InputPopup("Enter Database Name", (string input) => { List <List <string> > list = mySqlManager.SqlCommand(MySqlCommands.CreateNewDatabase(input)); if (list == null) { ShowMessage(mySqlManager.ResponseMessage); } UpdateListView(); }); popup.Show(); }