private static void setOpacity(frmSplash form, float opacity) { if (!form.IsDisposed) { if (form.InvokeRequired) { form.Invoke(new setOpacityDlg(setOpacity), new object[] { form, opacity }); } else { form.Opacity = opacity; } } }
private static void setOpacity(frmSplash form, float opacity) { if (!form.IsDisposed) { if (form.InvokeRequired) { form.Invoke(new setOpacityDlg(setOpacity), new object[] { form, opacity }); } else { form.Opacity = opacity; } } }
private static void closeSplash(frmSplash form) { if (!form.IsDisposed) { if (form.InvokeRequired) { form.Invoke(new closeSplashDlg(closeSplash), new object[] { form }); } else { form.Close(); } } }
private static void closeSplash(frmSplash form) { if (!form.IsDisposed) { if (form.InvokeRequired) { form.Invoke(new closeSplashDlg(closeSplash), new object[] { form }); } else { form.Close(); } } }