private void btnVehicle_Click(object sender, EventArgs e)
        {
            frmCompanyVehcile frm = new frmCompanyVehcile();

            frm.ShowDialog();
            frm.Dispose();
        }
        private void ShowCompanyVehicleForm(int id)
        {
            frmCompanyVehcile frm = new frmCompanyVehcile();

            frm.OnDisplayRecord(id);

            frm.ControlBox      = true;
            frm.FormBorderStyle = FormBorderStyle.Fixed3D;
            frm.MaximizeBox     = false;
            frm.ShowDialog();
        }
        void ShowForm(long id)
        {
            frmCompanyVehcile frm = new frmCompanyVehcile();

            frm.OnDisplayRecord(id);


            DockWindow doc = UI.MainMenuForm.MainMenuFrm.GetDockByName("frmCompanyVehcile1");

            if (doc != null)
            {
                doc.Close();
            }

            frm.ShowDialog();
            frm.Dispose();
        }