private void btnAdd_Click(object sender, EventArgs e)
        {
            AddOrUpdateOfferingDialog dialog = new AddOrUpdateOfferingDialog();

            if (dialog.ShowDialog() == DialogResult.OK)
            {
                this.viewOfferingTableAdapter.ClearBeforeFill = true;
                this.viewOfferingTableAdapter.Fill(this.hateksPurchasingDataSet.ViewOffering);
            }
        }
        private void btnEdit_Click(object sender, EventArgs e)
        {
            if (id > 0)
            {
                AddOrUpdateOfferingDialog dialog = new AddOrUpdateOfferingDialog(id);

                if (dialog.ShowDialog() == DialogResult.OK)
                {
                    this.viewOfferingTableAdapter.ClearBeforeFill = true;
                    this.viewOfferingTableAdapter.Fill(this.hateksPurchasingDataSet.ViewOffering);
                }
            }
            else
            {
                DevExpress.XtraEditors.XtraMessageBox.Show("Lütfen Seçim Yapınız", "Uyarı", MessageBoxButtons.OK);
            }
        }