private void storten_Click_1(object sender, EventArgs e) { var stortenForm = new storten(); stortenForm.Show(); this.Hide(); }
private void submit_Click(object sender, EventArgs e) { int value = Convert.ToInt32(txtInvoer.Text); var storten = new storten(); storten.Show(); this.Hide(); if (mainUser.addBalance(value) == true) { if (mainUser.blockedCard() == false) { mainUser.transferLogs(value); } else { // dont die } //epic } else { //not epic } }