C# Class OSAE.Weather_Control.CustomUserControl

Interaction logic for WeatherControl.xaml
Inheritance: System.Windows.Controls.UserControl
Datei anzeigen Open project: opensourceautomation/Open-Source-Automation

Public Properties

Property Type Description
ControlHeight int
ControlWidth int
CurState string
CurStateLabel string
LastStateChange System.DateTime
LastUpdated System.DateTime
Location Point
_controlname string
objName string
screenObject OSAE.OSAEObject

Public Methods

Method Description
CustomUserControl ( OSAEObject sObj, string ControlName, string appName, string user ) : System
Update ( ) : void
setLocation ( double X, double Y ) : void

Private Methods

Method Description
Grid_MouseUp_1 ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
LoadDates ( ) : void
LoadDayLabels ( ) : void
LoadDaySummaryLabels ( ) : void
LoadHighs ( ) : void
LoadImageControls ( ) : void
LoadImages ( string key, System imageBox ) : void
LoadLows ( ) : void
LoadNightSummaryLabels ( ) : void
Load_All_Weather ( ) : void
imageHover ( object sender, EventArgs e ) : void
imageLeave ( object sender, EventArgs e ) : void
imgTodayDay_MouseUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
timMain_Tick ( object sender, EventArgs e ) : void

Method Details

CustomUserControl() public method

public CustomUserControl ( OSAEObject sObj, string ControlName, string appName, string user ) : System
sObj OSAE.OSAEObject
ControlName string
appName string
user string
return System

Update() public method

public Update ( ) : void
return void

setLocation() public method

public setLocation ( double X, double Y ) : void
X double
Y double
return void

Property Details

ControlHeight public_oe property

public int ControlHeight
return int

ControlWidth public_oe property

public int ControlWidth
return int

CurState public_oe property

public string CurState
return string

CurStateLabel public_oe property

public string CurStateLabel
return string

LastStateChange public_oe property

public DateTime,System LastStateChange
return System.DateTime

LastUpdated public_oe property

public DateTime,System LastUpdated
return System.DateTime

Location public_oe property

public Point Location
return Point

_controlname public_oe property

public string _controlname
return string

objName public_oe property

public string objName
return string

screenObject public_oe property

public OSAEObject,OSAE screenObject
return OSAE.OSAEObject