private void SaveBtn_Click(object sender, EventArgs e)
        {
            try
            {
                #region "  CheckFillTextBox "
                if (DonorsColumnComboBox.Text == "")
                {
                    DonorsColumnComboBox.MultiColumnComboBoxElement.BackColor = Color.OrangeRed;
                    errorProvider1.SetError(this.DonorsColumnComboBox, "من فضلك ادخل اسم الممول");

                    DonorsColumnComboBox.Focus();

                    return;
                }
                else
                {
                    DonorsColumnComboBox.MultiColumnComboBoxElement.BackColor = Color.White;
                }

                if (DonorsColumnComboBox.SelectedValue == null)
                {
                    DonorsColumnComboBox.MultiColumnComboBoxElement.BackColor = Color.OrangeRed;
                    errorProvider1.SetError(this.DonorsColumnComboBox, "من فضلك ادخل اسم الممول");

                    DonorsColumnComboBox.Focus();

                    return;
                }
                else
                {
                    DonorsColumnComboBox.MultiColumnComboBoxElement.BackColor = Color.White;
                }

                if (CostTextBox.Text == "")
                {

                    CostTextBox.TextBoxElement.Fill.BackColor = Color.OrangeRed;
                    errorProvider1.SetError(this.CostTextBox, "من فضلك ادخل  الميزانية");

                    CostTextBox.Focus();

                    return;
                }
                else
                {

                    CostTextBox.TextBoxElement.Fill.BackColor = Color.White;
                    errorProvider1.Clear();
                }


                #endregion
                if (RadMessageBox.Show(this, OperationX.SaveMessage, "", MessageBoxButtons.YesNo, RadMessageIcon.Question) == DialogResult.Yes)
                {
                    Operation.BeginOperation(this);


                    TheDonorsProject tb = new TheDonorsProject()
                    {
                        ID = XDonrPro,
                        ProjectID = InformationsClass.ProjID,
                        DonorsID = int.Parse(DonorsColumnComboBox.SelectedValue.ToString()),
                        TotalCost = Convert.ToDouble(CostTextBox.Text)

                    };

                    TheDonorsProjectCmd.EditTheDonorsProject(tb);
                    Operation.EndOperation(this);
                    RadMessageBox.Show(OperationX.SaveMessagedone, "نجاح العملية", MessageBoxButtons.OK, RadMessageIcon.Info);
                    GC.SuppressFinalize(th);
                    GC.SuppressFinalize(tb);
                    GC.Collect();
                    GC.WaitForFullGCComplete();
                    GC.WaitForPendingFinalizers();
                    this.Dispose();
                }
            }
            catch (Xprema.XpremaException ex)
            {
                Operation.EndOperation(this);
                RadMessageBox.Show(ex.UserDescriptionArabic, "خطأ", MessageBoxButtons.OK, RadMessageIcon.Error);

            }
        }
        private void AddBtn_Click(object sender, EventArgs e)
        {
            #region "  CheckFillTextBox "

            if (DonorsColumnComboBox.Text == "")
            {
                DonorsColumnComboBox.MultiColumnComboBoxElement.BackColor = Color.OrangeRed;
                errorProvider1.SetError(this.DonorsColumnComboBox, "من فضلك ادخل اسم الممول");

                DonorsColumnComboBox.Focus();

                return;
            }
            else
            {
                DonorsColumnComboBox.MultiColumnComboBoxElement.BackColor = Color.White;
            }
            if (DonorsColumnComboBox.SelectedValue == null)
            {
                DonorsColumnComboBox.MultiColumnComboBoxElement.BackColor = Color.OrangeRed;
                errorProvider1.SetError(this.DonorsColumnComboBox, "من فضلك ادخل اسم الممول");

                DonorsColumnComboBox.Focus();

                return;
            }
            else
            {
                DonorsColumnComboBox.MultiColumnComboBoxElement.BackColor = Color.White;
            }

            if (CostTextBox.Text == "")
            {

                CostTextBox.TextBoxElement.Fill.BackColor = Color.OrangeRed;
                errorProvider1.SetError(this.CostTextBox, "من فضلك ادخل  الميزانية");

                CostTextBox.Focus();

                return;
            }
            else
            {

                CostTextBox.TextBoxElement.Fill.BackColor = Color.White;
                errorProvider1.Clear();
            }


            #endregion
            try
            {


                Operation.BeginOperation(this);



                TheDonorsProject tb = new TheDonorsProject()
                {

                    ProjectID = InformationsClass.ProjID,
                    DonorsID = int.Parse(DonorsColumnComboBox.SelectedValue.ToString()),
                    TotalCost = Convert.ToDouble(CostTextBox.Text)

                };

                TheDonorsProjectCmd.AddTheTheDonorsProject(tb);
                Operation.EndOperation(this);
                Operation.ShowToustOk(OperationX.AddMessageDone, this);
                DonorsColumnComboBox.ResetText();
                GC.SuppressFinalize(tb);
                GC.Collect();
                GC.WaitForFullGCComplete();
                GC.WaitForPendingFinalizers();
                CostTextBox.Clear();
                DonorsColumnComboBox.Focus();
            }
            catch (Xprema.XpremaException ex)
            {
                Operation.EndOperation(this);
                RadMessageBox.Show(ex.UserDescriptionArabic, "خطأ", MessageBoxButtons.OK, RadMessageIcon.Error);

            }
           
        }