private void btnMed_Click(object sender, EventArgs e) { SetStyleElemens.viewClickButton(sender, pnlNav); FormMedicen formMed = new FormMedicen(); SetStyleElemens.CreateForm(formMed, pnlFormLoader, lblTitle, "Medicina"); }
private void btnDocuments_Click(object sender, EventArgs e) { SetStyleElemens.viewClickButton(sender, pnlNav); FormDocuments fornDoc = new FormDocuments(); SetStyleElemens.CreateForm(fornDoc, pnlFormLoader, lblTitle, "Documents"); }
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(); }
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(); }
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(); }
private void btnAll_Leave(object sender, EventArgs e)//курсор покинул пределы любой кнопки { SetStyleElemens.viewBackColorButton(sender); }
private void btnSettings_Click(object sender, EventArgs e) { SetStyleElemens.viewClickButton(sender, pnlNav); }