SpringCard LibCs.Windows for .NET  18.10.10
A set of utilities for the Windows platform
SpringCard.LibCs.Windows.WinUtils Class Reference

Public Types

enum  ScreenRatio { Unknown, r16x9, r4x3 }
 

Public Member Functions

ScreenRatio GetScreenRatio ()
 

Static Public Member Functions

static void FatalError (string message, string title="Internal error")
 
static void ShowMessage (string message)
 
static bool IsSingleInstance (string UniqueName=null)
 
static void DeclareInstance (string UniqueName=null)
 
static void ReleaseInstance ()
 
static bool RestorePreviousInstance ()
 
static void GetOptimalFormSize (int minWidth, int maxWidth, int minHeight, int maxHeight, out int width, out int height, out bool maximized)
 
static void GetOptimalFormSize (Form f, int maxWidth=-1, int maxHeight=-1)
 

The documentation for this class was generated from the following file: