Пример #1
0
 private void FrmLoad(object sender, EventArgs e)
 {
     try
     {
         textEdit1.Text = DefaultCallNum;
         BindData();
         gridControl1.Focus();
         rg = new RefreshGrid(BindData);
         rl = new RefreshLabel(RefreshLabelText);
         th = new Thread(new ThreadStart(CallVoice));
         th.IsBackground = true;
         th.Start();
     }
     catch (Exception ex)
     {
         MsgBox.Err(ex.Message);
     }
 }
 protected void RefreshGridViewButton_Click(object sender, EventArgs e)
 {
     RefreshGrid.Invoke(this, GetColumnsIds());
 }