private void button1_Click(object sender, EventArgs e) { Telefonia tel2 = Telefonia.RecuperarTelefonia; var form = new Form2(); form.Show(); }
private void Form1_Load(object sender, EventArgs e) { panel1.Controls.Add(new ucDetalhePaciente()); Telefonia tel3 = Telefonia.RecuperarTelefonia; }
public Form1() { InitializeComponent(); tel = Telefonia.RecuperarTelefonia; tel.Valor = 10; }