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

            FormMedicen formMed = new FormMedicen();

            SetStyleElemens.CreateForm(formMed, pnlFormLoader, lblTitle, "Medicina");
        }
Beispiel #2
0
        private void btnDocuments_Click(object sender, EventArgs e)
        {
            SetStyleElemens.viewClickButton(sender, pnlNav);

            FormDocuments fornDoc = new FormDocuments();

            SetStyleElemens.CreateForm(fornDoc, pnlFormLoader, lblTitle, "Documents");
        }
Beispiel #3
0
 private void btnHome_Click(object sender, EventArgs e)
 {
     SetStyleElemens.viewClickButton(sender, pnlNav);
     lblTitle.Text = "Home";
     this.pnlFormLoader.Controls.Clear();
     //Form1 formHome = new Form1(); //{ Dock = DockStyle.Fill, TopLevel = false, TopMost = true };
     //formHome.FormBorderStyle = FormBorderStyle.None;
     //this.pnlFormLoader.Controls.Add(formHome);
     //formHome.Show();
 }
Beispiel #4
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();
        }
Beispiel #5
0
        private void btnDocuments_Click(object sender, EventArgs e)
        {
            SetStyleElemens.viewClickButton(sender, pnlNav);

            lblTitle.Text = "Documents";
            this.pnlFormLoader.Controls.Clear();
            FormDocuments formDoc = new FormDocuments()
            {
                Dock = DockStyle.Fill, TopLevel = false, TopMost = true
            };

            formDoc.FormBorderStyle = FormBorderStyle.None;
            this.pnlFormLoader.Controls.Add(formDoc);
            formDoc.Show();
        }
Beispiel #6
0
 private void btnAll_Leave(object sender, EventArgs e)//курсор покинул пределы любой кнопки
 {
     SetStyleElemens.viewBackColorButton(sender);
 }
Beispiel #7
0
 private void btnSettings_Click(object sender, EventArgs e)
 {
     SetStyleElemens.viewClickButton(sender, pnlNav);
 }