private void submitOnClick(object sender, EventArgs args) { EditText name = FindViewById <EditText>(Resource.Id.editName); EditText appearence = FindViewById <EditText>(Resource.Id.editAppearence); EditText quote = FindViewById <EditText>(Resource.Id.editQuote); EditText roleplaying = FindViewById <EditText>(Resource.Id.editRoleplay); EditText background = FindViewById <EditText>(Resource.Id.editBackground); EditText keyInfo = FindViewById <EditText>(Resource.Id.editInfo); EditText stats = FindViewById <EditText>(Resource.Id.editStats); string nameText = name.Text; string appearenceText = appearence.Text; string quoteText = quote.Text; string roleText = roleplaying.Text; string backText = background.Text; string infoText = keyInfo.Text; string statsText = stats.Text; NPCController nc = new NPCController(); nc.AddNPC(nameText, campaignText, appearenceText, quoteText, roleText, backText, infoText, statsText); Finish(); }