예제 #1
0
 void FrmCadProgramasLoad(object sender, EventArgs e)
 {
     programas   = new cProgramas();
     this.Cursor = Cursors.WaitCursor;
     programas.Carrega(dgvCadastro, sistema);
     this.Cursor = Cursors.Default;
     DesabilitaEdicao();
     lblSistema.Text = "Sistema: " + sistema + " - " + des_sistema;
 }
예제 #2
0
        void CarregaProgramas()
        {
            int sistema = Globais.StrToInt(dbgSistemas.Rows[iSistema].Cells[0].Value.ToString());

            programas   = new cProgramas();
            this.Cursor = Cursors.WaitCursor;
            programas.Carrega(dbgProgramas, sistema);
            this.Cursor = Cursors.Default;
        }