private void TileSendPres_Click(object sender, EventArgs e) { this.Visible = false; FormSndPres fsp = new FormSndPres(this.GetId); fsp.Visible = true; }
private void BtnSndPres_Click(object sender, EventArgs e) { if (!string.IsNullOrWhiteSpace(this.txtPatId.Text)) { this.Visible = false; this.PatId = this.txtPatId.Text; FormSndPres fsp = new FormSndPres(this.GetId, this.PatId); fsp.Visible = true; } else { MessageBox.Show("Pleaes select Patient first from the list!"); } }