private void uiButton2_Click(object sender, EventArgs e) { Hide(); NewUpdate newUpdate = new NewUpdate(); delPassData delPass = newUpdate.to_pass; delPass(this); newUpdate.Show(); }
public void to_pass(NewUpdate newUpdate) { _newUpdate = newUpdate; }