Class WindowsFormsApplicationBase
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- microsoft.visualbasic.applicationservices.ApplicationBase
-
- microsoft.visualbasic.applicationservices.ConsoleApplicationBase
-
- microsoft.visualbasic.applicationservices.WindowsFormsApplicationBase
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class WindowsFormsApplicationBase extends ConsoleApplicationBase
The base .NET class managing Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase, Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: Microsoft.VisualBasicstatic java.lang.String
className
Qualified class name: Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBasestatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description WindowsFormsApplicationBase()
WindowsFormsApplicationBase(java.lang.Object instance)
Internal constructor.WindowsFormsApplicationBase(AuthenticationMode authenticationMode)
-
Method Summary
-
Methods inherited from class microsoft.visualbasic.applicationservices.ConsoleApplicationBase
getDeployment, getIsNetworkDeployed
-
Methods inherited from class microsoft.visualbasic.applicationservices.ApplicationBase
ChangeCulture, ChangeUICulture, getCulture, GetEnvironmentVariable, getInfo, getLog, getUICulture
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: Microsoft.VisualBasic- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WindowsFormsApplicationBase
public WindowsFormsApplicationBase(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
WindowsFormsApplicationBase
public WindowsFormsApplicationBase() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, SecurityException, NullReferenceException, MulticastNotSupportedException, NotSupportedException, ConfigurationErrorsException, Win32Exception
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
ArgumentOutOfRangeException
FormatException
InvalidEnumArgumentException
SecurityException
NullReferenceException
MulticastNotSupportedException
NotSupportedException
ConfigurationErrorsException
Win32Exception
-
WindowsFormsApplicationBase
public WindowsFormsApplicationBase(AuthenticationMode authenticationMode) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, SecurityException, NullReferenceException, MulticastNotSupportedException, NotSupportedException, ConfigurationErrorsException, Win32Exception, OutOfMemoryException, ExternalException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
FormatException
InvalidEnumArgumentException
SecurityException
NullReferenceException
MulticastNotSupportedException
NotSupportedException
ConfigurationErrorsException
Win32Exception
OutOfMemoryException
ExternalException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classConsoleApplicationBase
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classConsoleApplicationBase
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classConsoleApplicationBase
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classConsoleApplicationBase
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classConsoleApplicationBase
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classConsoleApplicationBase
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static WindowsFormsApplicationBase cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoWindowsFormsApplicationBase
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
WindowsFormsApplicationBase
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
DoEvents
public void DoEvents() throws java.lang.Throwable, ArgumentException, ObjectDisposedException, AbandonedMutexException, ArgumentNullException, FormatException, InvalidOperationException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, MulticastNotSupportedException, ConfigurationErrorsException, NotSupportedException, NullReferenceException, InvalidAsynchronousStateException, SecurityException, FileNotFoundException, InvalidEnumArgumentException, Win32Exception
- Throws:
java.lang.Throwable
ArgumentException
ObjectDisposedException
AbandonedMutexException
ArgumentNullException
FormatException
InvalidOperationException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
MulticastNotSupportedException
ConfigurationErrorsException
NotSupportedException
NullReferenceException
InvalidAsynchronousStateException
SecurityException
FileNotFoundException
InvalidEnumArgumentException
Win32Exception
-
Run
public void Run(java.lang.String[] commandLine) throws java.lang.Throwable, ArgumentNullException, ArgumentException, SecurityException, NotImplementedException, InvalidOperationException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, MulticastNotSupportedException, NotSupportedException, OutOfMemoryException, NetworkInformationException, CultureNotFoundException, SocketException, NoStartupFormException, InvalidAsynchronousStateException, InvalidEnumArgumentException, AccessViolationException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, FormatException, InvalidCastException, TypeLoadException, RemotingException, Win32Exception, CantStartSingleInstanceException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
SecurityException
NotImplementedException
InvalidOperationException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
MulticastNotSupportedException
NotSupportedException
OutOfMemoryException
NetworkInformationException
CultureNotFoundException
SocketException
NoStartupFormException
InvalidAsynchronousStateException
InvalidEnumArgumentException
AccessViolationException
WaitHandleCannotBeOpenedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
FormatException
InvalidCastException
TypeLoadException
RemotingException
Win32Exception
CantStartSingleInstanceException
-
Run
public void Run(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, ArgumentException, SecurityException, NotImplementedException, InvalidOperationException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, MulticastNotSupportedException, NotSupportedException, OutOfMemoryException, NetworkInformationException, CultureNotFoundException, SocketException, NoStartupFormException, InvalidAsynchronousStateException, InvalidEnumArgumentException, AccessViolationException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, FormatException, InvalidCastException, TypeLoadException, RemotingException, Win32Exception, CantStartSingleInstanceException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
SecurityException
NotImplementedException
InvalidOperationException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
MulticastNotSupportedException
NotSupportedException
OutOfMemoryException
NetworkInformationException
CultureNotFoundException
SocketException
NoStartupFormException
InvalidAsynchronousStateException
InvalidEnumArgumentException
AccessViolationException
WaitHandleCannotBeOpenedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
FormatException
InvalidCastException
TypeLoadException
RemotingException
Win32Exception
CantStartSingleInstanceException
-
getSaveMySettingsOnExit
public boolean getSaveMySettingsOnExit() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSaveMySettingsOnExit
public void setSaveMySettingsOnExit(boolean SaveMySettingsOnExit) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getMinimumSplashScreenDisplayTime
public int getMinimumSplashScreenDisplayTime() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setMinimumSplashScreenDisplayTime
public void setMinimumSplashScreenDisplayTime(int MinimumSplashScreenDisplayTime) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getApplicationContext
public ApplicationContext getApplicationContext() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSplashScreen
public Form getSplashScreen() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSplashScreen
public void setSplashScreen(Form SplashScreen) throws java.lang.Throwable, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, AbandonedMutexException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
NotSupportedException
IndexOutOfRangeException
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
FormatException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
AbandonedMutexException
-
getOpenForms
public FormCollection getOpenForms() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addShutdown
public void addShutdown(ShutdownEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeShutdown
public void removeShutdown(ShutdownEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addStartup
public void addStartup(StartupEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeStartup
public void removeStartup(StartupEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addStartupNextInstance
public void addStartupNextInstance(StartupNextInstanceEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeStartupNextInstance
public void removeStartupNextInstance(StartupNextInstanceEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addUnhandledException
public void addUnhandledException(UnhandledExceptionEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeUnhandledException
public void removeUnhandledException(UnhandledExceptionEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addNetworkAvailabilityChanged
public void addNetworkAvailabilityChanged(NetworkAvailableEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeNetworkAvailabilityChanged
public void removeNetworkAvailabilityChanged(NetworkAvailableEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-