Esempio n. 1
0
        //
        //*******************************************************************************************************//
        // FUNÇÃO DOUBLE CLICK DO GRID VIEW
        //*******************************************************************************************************//
        /// <summary>
        /// Função abrir fatura ao clicar 2 vzs no item
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void gridTrabalhos_DoubleClick(object sender, EventArgs e)
        {
            int      idT   = Convert.ToInt32(lblIdTrabalho.Text);
            frmTimer Timer = new frmTimer(idT);

            Timer.Owner = this;
            Timer.Show();
        }
Esempio n. 2
0
        //
        //*******************************************************************************************************//
        // FUNÇÃO DOUBLE CLICK DO GRID VIEW
        //*******************************************************************************************************//
        private void gridTrabalhos_DoubleClick(object sender, EventArgs e)
        {
            int idT = Convert.ToInt32(lblIdTrabalho.Text);
            //int pID = Convert.ToInt32(lblIDProjeto.Text);
            //int tID = Convert.ToInt32(lblTarefa.Text);
            //var nt = lblNota.Text;
            //var dt = lblData.Text;
            //var ini = lblInicio.Text;
            //var fin = lblFinal.Text;
            frmTimer Timer = new frmTimer(idT);

            Timer.Owner = this;
            Timer.Show();
        }