private void MenTechnicalDocuments_Click(object sender, EventArgs e)
        {
            if (!TechnicalDocuments.bolIsRunning)
            {
                ToolStripMenuItem menTechnicalDocuments = new ToolStripMenuItem();
                menTechnicalDocuments.Name   = "menTechnicalDocuments";
                menTechnicalDocuments.Text   = "مستندات";
                menTechnicalDocuments.Click += new System.EventHandler(this.MenTechnicalDocuments_Click);
                this.menWindows.DropDownItems.Add(menTechnicalDocuments);

                TechnicalDocuments frmTechnicalDocuments = new TechnicalDocuments();
                frmTechnicalDocuments.MdiParent    = this;
                frmTechnicalDocuments.setSettings  = this.setSettings;
                frmTechnicalDocuments.cnConnection = this.cnConnection;
                frmTechnicalDocuments.usUser       = this.usLogined;
                frmTechnicalDocuments.Show();
                frmTechnicalDocuments.WindowState = FormWindowState.Maximized;
            }
        }
        private void menTechnicalDocuments_Click(object sender, EventArgs e)
        {
            if (!TechnicalDocuments.bolIsRunning)
            {
                ToolStripMenuItem menWindowsTechnicalDocuments = new ToolStripMenuItem();
                menWindowsTechnicalDocuments.Name     = "menWindowsTechnicalDocuments";
                menWindowsTechnicalDocuments.Text     = "مستندات";
                menWindowsTechnicalDocuments.AutoSize = false;
                menWindowsTechnicalDocuments.Height   = 45;
                menWindowsTechnicalDocuments.Width    = 400;
                menWindowsTechnicalDocuments.Click   += new System.EventHandler(this.menWindowsTechnicalDocuments_Click);
                this.menWindows.DropDownItems.Add(menWindowsTechnicalDocuments);

                TechnicalDocuments frmTechnicalDocuments = new TechnicalDocuments();
                frmTechnicalDocuments.MdiParent       = this;
                frmTechnicalDocuments.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
                frmTechnicalDocuments.Dock            = DockStyle.Fill;
                frmTechnicalDocuments.cnConnection    = this.cnConnection;
                frmTechnicalDocuments.usUser          = this.usLogined;
                frmTechnicalDocuments.Show();
            }
        }