private void Main_Load(object sender, EventArgs e) { var propertyList = _propertyService.GetAll(); PropertyGridView.DataSource = propertyList; PropertyGridView.ClearSelection(); PropertyGridView.SelectionChanged += PropertyGridView_SelectionChanged; LoadingGDFilesPictureBox.Visible = false; UploadDocumentLoadingPictureBox.Visible = false; }