private void metroButtonOrganizationAdd_Click(object sender, EventArgs e)
        {
            OrganizationEntityForm form = new OrganizationEntityForm();

            form.Text          = "Добавление организации";
            form.btnAddvisible = true;
            form.Show();
        }
 private void metroButtonOrganizationEdit_Click(object sender, EventArgs e)
 {
     try
     {
         int oid                     = Convert.ToInt32(dataGridViewOrganization.SelectedCells[0].Value.ToString());
         var organization            = db.Organizations.Find(oid);
         OrganizationEntityForm form = new OrganizationEntityForm();
         form.Text           = "Изменение организации";
         form.btnEditvisible = true;
         form.OrganizationId = organization.OrganizationId;
         form.oname          = organization.OrganizationName;
         form.oadre          = organization.OrganizationAdress;
         form.otel           = organization.OrganizationTelephone;
         form.osphere        = organization.OrganizationSphere;
         form.Show();
     }
     catch (Exception gg)
     {
         MessageBox.Show(gg.Message, "Ошибка");
     }
 }