C# Class StateButton.CustomUserControl

Interaction logic for CustomUserControl.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
LastStateChange System.DateTime
LastUpdated System.DateTime
Location Point
State1Name string
_controlname string
objName string

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
Update_Button ( ) : void
UserControl_Unloaded ( object sender, RoutedEventArgs e ) : void
btnState_Click ( object sender, RoutedEventArgs 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

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

State1Name public property

public string State1Name
return string

_controlname public property

public string _controlname
return string

objName public property

public string objName
return string