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.
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic String
assemblyShortName
Assembly name: Microsoft.VisualBasicstatic String
className
Qualified class name: Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBasestatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description WindowsFormsApplicationBase()
WindowsFormsApplicationBase(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
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final 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 String assemblyShortName
Assembly name: Microsoft.VisualBasic- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WindowsFormsApplicationBase
public WindowsFormsApplicationBase(Object instance) throws Throwable
Internal constructor. Use with caution- Throws:
Throwable
-
WindowsFormsApplicationBase
public WindowsFormsApplicationBase() throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, SecurityException, NullReferenceException, MulticastNotSupportedException, NotSupportedException, ConfigurationErrorsException, Win32Exception
- Throws:
Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
ArgumentOutOfRangeException
FormatException
InvalidEnumArgumentException
SecurityException
NullReferenceException
MulticastNotSupportedException
NotSupportedException
ConfigurationErrorsException
Win32Exception
-
WindowsFormsApplicationBase
public WindowsFormsApplicationBase(AuthenticationMode authenticationMode) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, SecurityException, NullReferenceException, MulticastNotSupportedException, NotSupportedException, ConfigurationErrorsException, Win32Exception, OutOfMemoryException, ExternalException
- Throws:
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 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 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 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 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 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:
Throwable
- in case of error during cast operation
-
DoEvents
public void DoEvents() throws Throwable, ArgumentException, ObjectDisposedException, AbandonedMutexException, ArgumentNullException, FormatException, InvalidOperationException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, MulticastNotSupportedException, ConfigurationErrorsException, NotSupportedException, NullReferenceException, InvalidAsynchronousStateException, SecurityException, FileNotFoundException, InvalidEnumArgumentException, Win32Exception
- Throws:
Throwable
ArgumentException
ObjectDisposedException
AbandonedMutexException
ArgumentNullException
FormatException
InvalidOperationException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
MulticastNotSupportedException
ConfigurationErrorsException
NotSupportedException
NullReferenceException
InvalidAsynchronousStateException
SecurityException
FileNotFoundException
InvalidEnumArgumentException
Win32Exception
-
Run
public void Run(String[] commandLine) throws 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:
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 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:
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
-
setSaveMySettingsOnExit
public void setSaveMySettingsOnExit(boolean SaveMySettingsOnExit) throws Throwable
- Throws:
Throwable
-
getMinimumSplashScreenDisplayTime
public int getMinimumSplashScreenDisplayTime() throws Throwable
- Throws:
Throwable
-
setMinimumSplashScreenDisplayTime
public void setMinimumSplashScreenDisplayTime(int MinimumSplashScreenDisplayTime) throws Throwable
- Throws:
Throwable
-
getApplicationContext
public ApplicationContext getApplicationContext() throws Throwable
- Throws:
Throwable
-
setSplashScreen
public void setSplashScreen(Form SplashScreen) throws Throwable, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, AbandonedMutexException
- Throws:
Throwable
ArgumentOutOfRangeException
NotSupportedException
IndexOutOfRangeException
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
FormatException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
AbandonedMutexException
-
getOpenForms
public FormCollection getOpenForms() throws Throwable
- Throws:
Throwable
-
addShutdown
public void addShutdown(ShutdownEventHandler handler) throws Throwable
- Throws:
Throwable
-
removeShutdown
public void removeShutdown(ShutdownEventHandler handler) throws Throwable
- Throws:
Throwable
-
addStartup
public void addStartup(StartupEventHandler handler) throws Throwable
- Throws:
Throwable
-
removeStartup
public void removeStartup(StartupEventHandler handler) throws Throwable
- Throws:
Throwable
-
addStartupNextInstance
public void addStartupNextInstance(StartupNextInstanceEventHandler handler) throws Throwable
- Throws:
Throwable
-
removeStartupNextInstance
public void removeStartupNextInstance(StartupNextInstanceEventHandler handler) throws Throwable
- Throws:
Throwable
-
addUnhandledException
public void addUnhandledException(UnhandledExceptionEventHandler handler) throws Throwable
- Throws:
Throwable
-
removeUnhandledException
public void removeUnhandledException(UnhandledExceptionEventHandler handler) throws Throwable
- Throws:
Throwable
-
addNetworkAvailabilityChanged
public void addNetworkAvailabilityChanged(NetworkAvailableEventHandler handler) throws Throwable
- Throws:
Throwable
-
removeNetworkAvailabilityChanged
public void removeNetworkAvailabilityChanged(NetworkAvailableEventHandler handler) throws Throwable
- Throws:
Throwable
-
-