private void frmLogs_Load(object sender, EventArgs e)
        {
            pnlLogs.Controls.Clear();

            frmLogsAgendamento frm = new frmLogsAgendamento();

            frm.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            frm.TopLevel = false;
            frm.AutoScroll = true;

            pnlLogs.Controls.Add(frm);

            frm.Show();
        }
        private void btnAgendamentos_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            pnlLogs.Controls.Clear();

            frmLogsAgendamento frm = new frmLogsAgendamento();

            frm.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            frm.TopLevel = false;
            frm.AutoScroll = true;

            pnlLogs.Controls.Add(frm);

            frm.Show();
        }