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); }
private void uiButton1_Click(object sender, EventArgs e) { UtilChangePanel.MudarConteudo(uiPnlConteudo, new uctChangeKey()); }
private void uiBtnAcessibilidade_Click(object sender, EventArgs e) { UtilChangePanel.MudarConteudo(uiPnlConteudo, new uctAcessibilidade()); }
private void btnBackup_Click(object sender, EventArgs e) { UtilChangePanel.MudarConteudo(pnlConteudo, new uctBackup()); }
private void btnExecutive_Click(object sender, EventArgs e) { UtilChangePanel.MudarConteudo(pnlConteudo, new uctExecutive()); }
private void btnConfig_Click(object sender, EventArgs e) { UtilChangePanel.MudarConteudo(pnlConteudo, new uctSettings()); }
private void picProfilePhoto_Click(object sender, EventArgs e) { UtilChangePanel.MudarConteudo(pnlConteudo, new uctBase()); }
private void btnClientes_Click(object sender, EventArgs e) { UtilChangePanel.MudarConteudo(pnlConteudo, new uctClientes()); }
private void uiBtnCriptomoeda_Click(object sender, EventArgs e) { UtilChangePanel.MudarConteudo(uiPanelConteudo, new uctCriptomoeda()); }
private void uiBtnFuncionario_Click(object sender, EventArgs e) { UtilChangePanel.MudarConteudo(uiPanelConteudo, new uctFuncionario()); }