C# Class StateButton.CustomUserControl

Interaction logic for CustomUserControl.xaml
Inheritance: System.Windows.Controls.UserControl
Mostrar archivo 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_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

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

State1Name public_oe property

public string State1Name
return string

_controlname public_oe property

public string _controlname
return string

objName public_oe property

public string objName
return string