Example #1
0
        public frmBase()
        {
            InitializeComponent();
            this.FormBorderStyle = FormBorderStyle.None;

            RoundedForm roundedForm = new RoundedForm(this, pnlBackground);

            //Region = System.Drawing.Region.FromHrgn(CreateRoundRectRgn(0, 0, Width - 3, Height - 3, 20, 20));
            //pnlBackground.Region = System.Drawing.Region.FromHrgn(CreateRoundRectRgn(0, 0, pnlBackground.Width, pnlBackground.Height, 20, 20));

            UtilChangePanel.MudarConteudo(pnlConteudo, new uctBase());

            lblNome.Text          = AppDesktop.ActualEmployee.FirstName + " " + AppDesktop.ActualEmployee.LastName;
            picProfilePhoto.Image = UtilImage.ByteToImage(AppDesktop.ActualArchive.Blob);
        }
Example #2
0
 private void uiButton1_Click(object sender, EventArgs e)
 {
     UtilChangePanel.MudarConteudo(uiPnlConteudo, new uctChangeKey());
 }
Example #3
0
 private void uiBtnAcessibilidade_Click(object sender, EventArgs e)
 {
     UtilChangePanel.MudarConteudo(uiPnlConteudo, new uctAcessibilidade());
 }
Example #4
0
 private void btnBackup_Click(object sender, EventArgs e)
 {
     UtilChangePanel.MudarConteudo(pnlConteudo, new uctBackup());
 }
Example #5
0
 private void btnExecutive_Click(object sender, EventArgs e)
 {
     UtilChangePanel.MudarConteudo(pnlConteudo, new uctExecutive());
 }
Example #6
0
 private void btnConfig_Click(object sender, EventArgs e)
 {
     UtilChangePanel.MudarConteudo(pnlConteudo, new uctSettings());
 }
Example #7
0
 private void picProfilePhoto_Click(object sender, EventArgs e)
 {
     UtilChangePanel.MudarConteudo(pnlConteudo, new uctBase());
 }
Example #8
0
 private void btnClientes_Click(object sender, EventArgs e)
 {
     UtilChangePanel.MudarConteudo(pnlConteudo, new uctClientes());
 }
Example #9
0
 private void uiBtnCriptomoeda_Click(object sender, EventArgs e)
 {
     UtilChangePanel.MudarConteudo(uiPanelConteudo, new uctCriptomoeda());
 }
Example #10
0
 private void uiBtnFuncionario_Click(object sender, EventArgs e)
 {
     UtilChangePanel.MudarConteudo(uiPanelConteudo, new uctFuncionario());
 }