// Iniciar Produção
        protected void BtnIniciarProducao_Click(object sender, EventArgs e)
        {
            MySqlConnection connop = new MySqlConnection(MyConString);

            connop.Open();
            MySqlCommand    cmdop = new MySqlCommand(" select descricao from producaooperacao ", connop);
            MySqlDataReader drop  = cmdop.ExecuteReader();
            DataTable       dtop  = new DataTable();

            dtop.Load(drop);
            TxtOperacao.DataSource     = dtop;
            TxtOperacao.DataTextField  = "descricao";
            TxtOperacao.DataValueField = "descricao";
            TxtOperacao.DataBind();
            connop.Close();

            DisplayModalIniciarProducao(this);
        }
        protected void GDVTempoPadrao_RowCommand(object sender, GridViewCommandEventArgs e)
        {
            if (e.CommandName == "A")
            {
                int    line          = int.Parse(e.CommandArgument.ToString());
                int    id_variacao   = int.Parse(GDVProduto.Rows[line].Cells[1].Text);
                string desc_operacao = string.Format(GDVProduto.Rows[line].Cells[5].Text);
                string tempo_p       = (string.Format(GDVProduto.Rows[line].Cells[6].Text)).Replace(",", ".");
                int    id_tempo      = int.Parse((string.Format(GDVProduto.Rows[line].Cells[4].Text)).Replace(" ", "0"));

                lblIDVariacao.Text = id_variacao.ToString();
                lblIDVariacaoAlterarDeletar.Text = id_variacao.ToString();
                lblOperacaoAlterarDeletar.Text   = desc_operacao;
                lblIDTempo.Text             = id_tempo.ToString();
                TxtTempoAlterarDeletar.Text = tempo_p;
                TxtTempo.Text = "0.0";

                MySqlConnection connop = new MySqlConnection(MyConString);
                connop.Open();
                MySqlCommand    cmdop = new MySqlCommand(" select descricao from producaooperacao ", connop);
                MySqlDataReader drop  = cmdop.ExecuteReader();
                DataTable       dtop  = new DataTable();
                dtop.Load(drop);
                TxtOperacao.DataSource     = dtop;
                TxtOperacao.DataTextField  = "descricao";
                TxtOperacao.DataValueField = "descricao";
                TxtOperacao.DataBind();
                connop.Close();

                if (desc_operacao == " ")
                {
                    DisplayModalCadastrar(this);
                }
                else
                {
                    DisplayModalAcao(this);
                }
            }
        }