示例#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);
        }
示例#2
0
 private void uiButton1_Click(object sender, EventArgs e)
 {
     UtilChangePanel.MudarConteudo(uiPnlConteudo, new uctChangeKey());
 }
示例#3
0
 private void uiBtnAcessibilidade_Click(object sender, EventArgs e)
 {
     UtilChangePanel.MudarConteudo(uiPnlConteudo, new uctAcessibilidade());
 }
示例#4
0
 private void btnBackup_Click(object sender, EventArgs e)
 {
     UtilChangePanel.MudarConteudo(pnlConteudo, new uctBackup());
 }
示例#5
0
 private void btnExecutive_Click(object sender, EventArgs e)
 {
     UtilChangePanel.MudarConteudo(pnlConteudo, new uctExecutive());
 }
示例#6
0
 private void btnConfig_Click(object sender, EventArgs e)
 {
     UtilChangePanel.MudarConteudo(pnlConteudo, new uctSettings());
 }
示例#7
0
 private void picProfilePhoto_Click(object sender, EventArgs e)
 {
     UtilChangePanel.MudarConteudo(pnlConteudo, new uctBase());
 }
示例#8
0
 private void btnClientes_Click(object sender, EventArgs e)
 {
     UtilChangePanel.MudarConteudo(pnlConteudo, new uctClientes());
 }
示例#9
0
 private void uiBtnCriptomoeda_Click(object sender, EventArgs e)
 {
     UtilChangePanel.MudarConteudo(uiPanelConteudo, new uctCriptomoeda());
 }
示例#10
0
 private void uiBtnFuncionario_Click(object sender, EventArgs e)
 {
     UtilChangePanel.MudarConteudo(uiPanelConteudo, new uctFuncionario());
 }