private void btnAddRecord_Click(object sender, EventArgs e)
        {
            using (var page = new AddReceivingDocumentPage())
            {
                page.ShowDialog();
            }

            ReceivingDocumentsPage_Load(null, null);
        }
        private void EditRecord()
        {
            using (var page = new AddReceivingDocumentPage())
            {
                if (dgv.CurrentRow != null)
                {
                    page.DocId = (int)dgv.CurrentRow.Cells["clnId"].Value;
                    page.ShowDialog();
                }
            }

            ReceivingDocumentsPage_Load(null, null);
        }