コード例 #1
0
 private void rbtnBind_Click(object sender, EventArgs e)
 {
     if (this.radGridView1.DataSource == null)
     {
         WaitingForm.ShowForm();
         this.radGridView1.DataSource = dt;
     }
 }
コード例 #2
0
ファイル: WaitingForm.cs プロジェクト: telerik/winforms-sdk
        private static void ThreadTask(object owner)
        {
            waitingForm = new WaitingForm();
            waitingForm.ShowInTaskbar   = false;
            waitingForm.Owner           = (Form)owner;
            waitingForm.FormBorderStyle = FormBorderStyle.None;
            waitingForm.ControlBox      = false;
            waitingForm.TopMost         = true;
            waitingForm.StartPosition   = FormStartPosition.Manual;

            Application.Run(waitingForm);
        }
コード例 #3
0
 void radGridView1_DataBindingComplete(object sender, Telerik.WinControls.UI.GridViewBindingCompleteEventArgs e)
 {
     WaitingForm.CloseForm();
 }