コード例 #1
0
        private void btn_rel_contas_pagar_Click(object sender, EventArgs e)
        {
            Frm_Rel_Contas_Pagar form = new Frm_Rel_Contas_Pagar();

            form.Show();

            Fechar_Form();
        }
コード例 #2
0
 private void Frm_Impressao_FormClosing(object sender, FormClosingEventArgs e)
 {
     foreach (Form form_aberto in Application.OpenForms)
     {
         if (form_aberto.Text.Contains("Relatório do Contas a Pagar"))
         {
             Frm_Rel_Contas_Pagar form = (Frm_Rel_Contas_Pagar)form_aberto;
         }
     }
 }
コード例 #3
0
        private void btn_rel_contas_pagar_Click(object sender, EventArgs e)
        {
            Frm_Rel_Contas_Pagar form = new Frm_Rel_Contas_Pagar();

            form.Show();

            if (this.Text.Contains("Inicio"))
            {
                this.Hide();
            }
            else
            {
                this.Hide();
                this.Close();
            }
        }