private void uiButton1_Click(object sender, EventArgs e) { Hide(); ExistingUpdate existingUpdate = new ExistingUpdate(); delPassData delPass = existingUpdate.to_pass; delPass(this); existingUpdate.Show(); }
public void to_pass(ExistingUpdate ex, long updateId) { _existingUpdate = ex; _updateId = updateId; }