C# Class OSAE.Weather_Control.CustomUserControl

Interaction logic for WeatherControl.xaml
Inheritance: System.Windows.Controls.UserControl
Show file 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 property

public int ControlHeight
return int

ControlWidth public property

public int ControlWidth
return int

CurState public property

public string CurState
return string

CurStateLabel public property

public string CurStateLabel
return string

LastStateChange public property

public DateTime,System LastStateChange
return System.DateTime

LastUpdated public property

public DateTime,System LastUpdated
return System.DateTime

Location public property

public Point Location
return Point

_controlname public property

public string _controlname
return string

objName public property

public string objName
return string

screenObject public property

public OSAEObject,OSAE screenObject
return OSAE.OSAEObject