private void bt_frmProp_Click(object sender, EventArgs e) { FormProp frm_Prop = new FormProp(); this.Dispose(); frm_Prop.ShowDialog(); }
private void bt_sair_Click(object sender, EventArgs e) { //Application.Exit(); FormProp frm_Prop = new FormProp(); this.Dispose(); frm_Prop.ShowDialog(); }
private void Tm_temp_Tick(object sender, EventArgs e) { pb_Car.Value += 1; if (pb_Car.Value == pb_Car.Maximum) { FormProp frm_Prop = new FormProp(); this.Hide(); tm_temp.Stop(); frm_Prop.ShowDialog(); } }
private void lbl_voltar_Click(object sender, EventArgs e) { if (pessoa.id_aluno > 0 && pessoa.id_turma > 0) { Menu frm_Menu = new Menu(pessoa); this.Dispose(); frm_Menu.ShowDialog(); } else { FormProp frm_Prop = new FormProp(); this.Dispose(); frm_Prop.ShowDialog(); } }