예제 #1
0
 private void rbtnBind_Click(object sender, EventArgs e)
 {
     if (this.radGridView1.DataSource == null)
     {
         WaitingForm.ShowForm();
         this.radGridView1.DataSource = dt;
     }
 }
예제 #2
0
        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();
 }