private void LoadingProcessEx(object parent) { Form parentForm = parent as Form; loadingDialog = new WaitDailog(parentForm); loadingDialog.ShowDialog(); }
public void Close() { if (loadingDialog != null) { loadingDialog.BeginInvoke(new System.Threading.ThreadStart(loadingDialog.CloseLoadingForm)); loadingDialog = null; loadThread = null; } }
private void LoadingProcessEx() { loadingDialog = new WaitDailog(); loadingDialog.ShowDialog(); }