示例#1
0
 private void documentsSettingToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         CloseAllAciveForms();
         frmDocuments objfrmDocuments = new frmDocuments();
         objfrmDocuments.TopLevel = false;
         plSettingsMenu.Controls.Add(objfrmDocuments);
         objfrmDocuments.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
         objfrmDocuments.Dock            = DockStyle.Fill;
         objfrmDocuments.Show();
     }
     catch { }
 }
示例#2
0
        private void button15_Click(object sender, EventArgs e)
        {
            frmDocuments objfrmDocuments = new frmDocuments();

            objfrmDocuments.Show();
        }