public class WindowsFormsApplicationBase extends ConsoleApplicationBase
.NET documentation at https://learn.microsoft.com/dotnet/api/Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: Microsoft.VisualBasic.Forms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: Microsoft.VisualBasic.Forms
|
static java.lang.String |
className
Qualified class name: Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
WindowsFormsApplicationBase()
Initializes a new instance by invoking the .NET constructor.
|
WindowsFormsApplicationBase(AuthenticationMode authenticationMode)
Initializes a new instance by invoking the .NET constructor.
|
WindowsFormsApplicationBase(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addApplyApplicationDefaults(ApplyApplicationDefaultsEventHandler handler)
Invokes the .NET member addApplyApplicationDefaults.
|
void |
addNetworkAvailabilityChanged(NetworkAvailableEventHandler handler)
Invokes the .NET member addNetworkAvailabilityChanged.
|
void |
addShutdown(ShutdownEventHandler handler)
Invokes the .NET member addShutdown.
|
void |
addStartup(StartupEventHandler handler)
Invokes the .NET member addStartup.
|
void |
addStartupNextInstance(StartupNextInstanceEventHandler handler)
Invokes the .NET member addStartupNextInstance.
|
void |
addUnhandledException(UnhandledExceptionEventHandler handler)
Invokes the .NET member addUnhandledException.
|
static WindowsFormsApplicationBase |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into WindowsFormsApplicationBase, a cast assert is made to check if types are compatible. |
void |
DoEvents()
Invokes the .NET member DoEvents.
|
ApplicationContext |
getApplicationContext()
Gets the value of the .NET property ApplicationContext.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
int |
getMinimumSplashScreenDisplayTime()
Gets the value of the .NET property MinimumSplashScreenDisplayTime.
|
FormCollection |
getOpenForms()
Gets the value of the .NET property OpenForms.
|
boolean |
getSaveMySettingsOnExit()
Gets the value of the .NET property SaveMySettingsOnExit.
|
Form |
getSplashScreen()
Gets the value of the .NET property SplashScreen.
|
void |
removeApplyApplicationDefaults(ApplyApplicationDefaultsEventHandler handler)
Invokes the .NET member removeApplyApplicationDefaults.
|
void |
removeNetworkAvailabilityChanged(NetworkAvailableEventHandler handler)
Invokes the .NET member removeNetworkAvailabilityChanged.
|
void |
removeShutdown(ShutdownEventHandler handler)
Invokes the .NET member removeShutdown.
|
void |
removeStartup(StartupEventHandler handler)
Invokes the .NET member removeStartup.
|
void |
removeStartupNextInstance(StartupNextInstanceEventHandler handler)
Invokes the .NET member removeStartupNextInstance.
|
void |
removeUnhandledException(UnhandledExceptionEventHandler handler)
Invokes the .NET member removeUnhandledException.
|
void |
Run(JCORefOut dupParam0)
Invokes the .NET member Run.
|
void |
Run(java.lang.String[] commandLine)
Invokes the .NET member Run.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setMinimumSplashScreenDisplayTime(int MinimumSplashScreenDisplayTime)
Sets the value of the .NET property MinimumSplashScreenDisplayTime.
|
void |
setSaveMySettingsOnExit(boolean SaveMySettingsOnExit)
Sets the value of the .NET property SaveMySettingsOnExit.
|
void |
setSplashScreen(Form SplashScreen)
Sets the value of the .NET property SplashScreen.
|
getCommandLineArgsChangeCulture, ChangeUICulture, getCulture, GetEnvironmentVariable, getInfo, getLog, getUICulturepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public WindowsFormsApplicationBase()
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
InvalidOperationException,
FormatException,
InvalidEnumArgumentException,
MissingMethodException,
TargetInvocationException,
SecurityException,
RankException,
ArrayTypeMismatchException,
NullReferenceException,
NotSupportedException,
MulticastNotSupportedException
java.lang.Throwable - if the .NET constructor failsPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itSecurityException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itpublic WindowsFormsApplicationBase(AuthenticationMode authenticationMode) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, InvalidEnumArgumentException, MissingMethodException, TargetInvocationException, InvalidOperationException, FormatException, SecurityException, NullReferenceException, MulticastNotSupportedException
authenticationMode - the argument of type AuthenticationModejava.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itSecurityException - if the .NET member raises itNullReferenceException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itpublic WindowsFormsApplicationBase(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic void addApplyApplicationDefaults(ApplyApplicationDefaultsEventHandler handler) throws java.lang.Throwable
handler - the argument of type ApplyApplicationDefaultsEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addNetworkAvailabilityChanged(NetworkAvailableEventHandler handler) throws java.lang.Throwable
handler - the argument of type NetworkAvailableEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addShutdown(ShutdownEventHandler handler) throws java.lang.Throwable
handler - the argument of type ShutdownEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addStartup(StartupEventHandler handler) throws java.lang.Throwable
handler - the argument of type StartupEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addStartupNextInstance(StartupNextInstanceEventHandler handler) throws java.lang.Throwable
handler - the argument of type StartupNextInstanceEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addUnhandledException(UnhandledExceptionEventHandler handler) throws java.lang.Throwable
handler - the argument of type UnhandledExceptionEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static WindowsFormsApplicationBase cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into WindowsFormsApplicationBase, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedWindowsFormsApplicationBase instancejava.lang.Throwable - in case of error during cast operationpublic void DoEvents()
throws java.lang.Throwable,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
MulticastNotSupportedException,
NullReferenceException,
NotSupportedException,
Win32Exception,
InvalidAsynchronousStateException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itWin32Exception - if the .NET member raises itInvalidAsynchronousStateException - if the .NET member raises itpublic ApplicationContext getApplicationContext() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ConsoleApplicationBasepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ConsoleApplicationBasepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ConsoleApplicationBasenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ConsoleApplicationBasepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class ConsoleApplicationBasepublic int getMinimumSplashScreenDisplayTime()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic FormCollection getOpenForms() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getSaveMySettingsOnExit()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Form getSplashScreen() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeApplyApplicationDefaults(ApplyApplicationDefaultsEventHandler handler) throws java.lang.Throwable
handler - the argument of type ApplyApplicationDefaultsEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeNetworkAvailabilityChanged(NetworkAvailableEventHandler handler) throws java.lang.Throwable
handler - the argument of type NetworkAvailableEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeShutdown(ShutdownEventHandler handler) throws java.lang.Throwable
handler - the argument of type ShutdownEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeStartup(StartupEventHandler handler) throws java.lang.Throwable
handler - the argument of type StartupEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeStartupNextInstance(StartupNextInstanceEventHandler handler) throws java.lang.Throwable
handler - the argument of type StartupNextInstanceEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeUnhandledException(UnhandledExceptionEventHandler handler) throws java.lang.Throwable
handler - the argument of type UnhandledExceptionEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Run(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, SecurityException, IOException, UnauthorizedAccessException, Win32Exception, InvalidEnumArgumentException, OutOfMemoryException, NullReferenceException, FormatException, TaskSchedulerException, NetworkInformationException, SocketException, NoStartupFormException, AbandonedMutexException, InvalidAsynchronousStateException, AmbiguousMatchException, AccessViolationException, SynchronizationLockException, MissingMethodException, TargetInvocationException, AggregateException, TaskCanceledException, CantStartSingleInstanceException
dupParam0 - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itWin32Exception - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNullReferenceException - if the .NET member raises itFormatException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itNetworkInformationException - if the .NET member raises itSocketException - if the .NET member raises itNoStartupFormException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itInvalidAsynchronousStateException - if the .NET member raises itAmbiguousMatchException - if the .NET member raises itAccessViolationException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itAggregateException - if the .NET member raises itTaskCanceledException - if the .NET member raises itCantStartSingleInstanceException - if the .NET member raises itpublic void Run(java.lang.String[] commandLine)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
SecurityException,
IOException,
UnauthorizedAccessException,
Win32Exception,
InvalidEnumArgumentException,
OutOfMemoryException,
NullReferenceException,
FormatException,
TaskSchedulerException,
NetworkInformationException,
SocketException,
NoStartupFormException,
AbandonedMutexException,
InvalidAsynchronousStateException,
AmbiguousMatchException,
AccessViolationException,
SynchronizationLockException,
MissingMethodException,
TargetInvocationException,
AggregateException,
TaskCanceledException,
CantStartSingleInstanceException
commandLine - the argument of type java.lang.String[]java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itWin32Exception - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNullReferenceException - if the .NET member raises itFormatException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itNetworkInformationException - if the .NET member raises itSocketException - if the .NET member raises itNoStartupFormException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itInvalidAsynchronousStateException - if the .NET member raises itAmbiguousMatchException - if the .NET member raises itAccessViolationException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itAggregateException - if the .NET member raises itTaskCanceledException - if the .NET member raises itCantStartSingleInstanceException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class ConsoleApplicationBaseinstance - the new underlying objectpublic void setMinimumSplashScreenDisplayTime(int MinimumSplashScreenDisplayTime)
throws java.lang.Throwable
MinimumSplashScreenDisplayTime - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setSaveMySettingsOnExit(boolean SaveMySettingsOnExit)
throws java.lang.Throwable
SaveMySettingsOnExit - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setSplashScreen(Form SplashScreen) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
SplashScreen - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises it