private void Insert_Click(object sender, EventArgs e)
 {
     try
     {
         this.Cursor = Cursors.WaitCursor;
         frmQuestionT1 frm = new frmQuestionT1(strLanguage, strConnectionString, 0);
         frm.ShowDialog();
         if (frm.isTableChanged)
         {
             this.Filter();
         }
         this.Cursor = Cursors.Default;
     }
     catch (Exception ex)
     {
         this.Cursor = Cursors.Default;
         MessageBox.Show(ex.Message, "Ուշադրություն", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
 private void Update_Click(object sender, EventArgs e)
 {
     try
     {
         this.Cursor = Cursors.WaitCursor;
         int           intQuestionTiD = ((vQuestionT1)(this.vQuestionT1BindingSource.Current)).QuestionT1_ID;
         frmQuestionT1 frm            = new frmQuestionT1(strLanguage, strConnectionString, intQuestionTiD);
         frm.ShowDialog();
         if (frm.isTableChanged)
         {
             radGridView1.BeginUpdate();
             this.Filter();
             this.radGridView1.EndUpdate();
         }
         this.Cursor = Cursors.Default;
     }
     catch (Exception ex)
     {
         this.Cursor = Cursors.Default;
         MessageBox.Show(ex.Message, "Ուշադրություն", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }