示例#1
0
 private void Solicitacao_btn_Click(object sender, EventArgs e)
 {
     if (Home_btn.Active)
     {
         Home.Close();
     }
     if (!Solicitacao_btn.Active)
     {
         Solicitacao            = new Tela_Solicitacao();
         Solicitacao.TopLevel   = false;
         Solicitacao.AutoScroll = true;
         this.Panel_Menus.Controls.Add(Solicitacao);
         Solicitacao.Show();
     }
 }
 public void BotaoDoSac()
 {
     if (Home_btn.Active)
     {
         Home_btn.selected = false;
         Home.Close();
     }
     if (Solicitacao_btn.Active)
     {
         Solicitacao.Close();
     }
     if (!Atendimento_btn.Active)
     {
         Atendimento_btn.Active = true;
         Chat            = new Tela_Chat();
         Chat.TopLevel   = false;
         Chat.AutoScroll = true;
         this.Panel_Menus.Controls.Add(Chat);
         Chat.Show();
     }
     if (Cadastro_btn.Active)
     {
         Cadastro.Close();
     }
     if (Relatorios_btn.Active)
     {
         //Relatorios.Close();
     }
     if (Abastecimento_Btn.Active)
     {
         //Abastecimento.Close();
     }
     if (SAC_btn.Active)
     {
         Sac.Close();
     }
 }