private void AdicionaProgramas()
        {
            string nome     = this.detalhe.TxtDetNome.Text;
            string potencia = this.detalhe.TxtDetPot.Text;
            string instr    = this.detalhe.RchDetInst.Text;
            string tempo    = this.detalhe.TxtDetTempo.Text;
            string caract   = this.detalhe.TxtDetCarac.Text;

            short pot = 0;

            short.TryParse(potencia, out pot);

            IPrograma programaCustom = new ProgramaCustom
            {
                CaracterAquecedor = caract,
                Configuracao      = new VisorConfiguracaoDTO {
                    Potencia = pot, Tempo = Convert.ToDateTime($"00:{tempo}")
                },
                InstrucoesDeUso = instr,
                Nome            = nome
            };

            if (this.Programas.Where(x => x.Nome == nome).Count() > 0)
            {
                MessageBox.Show("Já existe programa com esse nome");
            }

            else
            {
                this.Programas.Add(programaCustom);
                this.CarregaProgramas();

                this.detalhe.GrpDetalhe.Enabled = false;
            }
        }
        private void BtnIniciar_Click(object sender, EventArgs e)
        {
            IPrograma programaExecutado = null;

            if (!this.PrincipalView.BtnProgramacao.Text.StartsWith("Prog"))
            {
                programaExecutado = this.ComportamentoDetalhe.PegaProgramaSelecionadoNaCombo();
            }

            else
            {
                programaExecutado = new ProgramaCustom
                {
                    CaracterAquecedor = ".",
                    Configuracao      = this.ComportamentoMenu.PegarValorInformados(),
                    InstrucoesDeUso   = "Apenas Aquece",
                    Nome = "Botão"
                }
            };


            this.TentaLigarMicroOndas(programaExecutado);
        }