private void Insert_Click(object sender, EventArgs e)
 {
     try
     {
         this.Cursor = Cursors.WaitCursor;
         frmQuestionT2 frm = new frmQuestionT2(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 = ((vQuestionT2)(this.vQuestionT2BindingSource.Current)).QuestionT2_ID;
         frmQuestionT2 frm            = new frmQuestionT2(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);
     }
 }