private void ButtonAdd_Click(object sender, EventArgs e)
        {
            FormAddArticle form = new FormAddArticle(new ArticleViewModel()
            {
                WarehouseDocumentId = _wareHouseDocument.Id
            }, _articlesService);

            form.VMChanged += ReloadDataSource;
            form.Show();
        }
        private async void ButtonUpdate_Click(object sender, EventArgs e)
        {
            await(this).WrapException(async() =>
            {
                DataGridViewRow row = FindSelectedRow();

                if (row != null)
                {
                    var id = (int)row.Cells["Id"].Value;
                    var vm = await _articlesService.GetArticleById(id);
                    FormAddArticle form = new FormAddArticle(vm, _articlesService);
                    form.VMChanged     += ReloadDataSource;
                    form.Show();
                }
            });
        }