public DialogForm(CompraBonoFarmacia sender, String Title, string Message) { InitializeComponent(); this.Text = Title; this.label1.Text = "Numeros de Bono"; this.textBox1.Visible = false; this.richTextBox1.Visible = true; this.richTextBox1.Text = Message; this.button1.Visible = false; this.ClientSize = new System.Drawing.Size(284, 120); MenuCompraBonoFarmacia = sender; sender.Visible = false; this.Visible = true; this.ControlBox = true; MenuCompraBonoFarm = true; }
private void comprarBonoFarmaciaAfiliadoToolStripMenuItem_Click(object sender, EventArgs e) { // ID Funcionalidad 17 CompraBonoFarmacia ComprarBonoFarmacia = new CompraBonoFarmacia(this, Cod_Afiliado, Cod_Plan_Medico); }