Exemple #1
0
        private void btnMed_Click(object sender, EventArgs e)
        {
            SetStyleElemens.viewClickButton(sender, pnlNav);

            FormMedicen formMed = new FormMedicen();

            SetStyleElemens.CreateForm(formMed, pnlFormLoader, lblTitle, "Medicina");
        }
Exemple #2
0
        private void btnMed_Click(object sender, EventArgs e)
        {
            SetStyleElemens.viewClickButton(sender, pnlNav);
            FormMedicen formMed = SetStyleElemens.createForm(sender, pnlFormLoader, lblTitle, "Medicina") as FormMedicen;

            //lblTitle.Text = "Medicina";
            //this.pnlFormLoader.Controls.Clear();
            //FormMedicen formMed = new FormMedicen() { Dock = DockStyle.Fill, TopLevel = false, TopMost = true };
            //formMed.FormBorderStyle = FormBorderStyle.None;
            //this.pnlFormLoader.Controls.Add(formMed);
            //formMed.Show();
        }