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