C# Class Screens.MainWindow

Interaction logic for MainWindow.xaml
Inheritance: System.Windows.Window
Exibir arquivo Open project: opensourceautomation/Open-Source-Automation Class Usage Examples

Public Properties

Property Type Description
gAppLocation string
gAppMinTrust int
gAppName string
gCurrentScreen string
gCurrentScreenHeight double
gCurrentScreenWidth double
gCurrentUser string
gCurrentUserTrust int
gDebug bool
gHeightRatio double
gWidthRatio double

Public Methods

Method Description
DragScope_DragLeave ( object sender, System.Windows.DragEventArgs e ) : void
DragScope_QueryContinueDrag ( object sender, System.Windows.QueryContinueDragEventArgs e ) : void
DragSource_Drop ( dynamic sender, System.Windows.DragEventArgs e ) : void
DragSource_PreviewMouseLeftButtonDown ( dynamic sender, System.Windows.Input.MouseButtonEventArgs e ) : void
DragSource_PreviewMouseMove ( dynamic sender, System.Windows.Input.MouseEventArgs e ) : void
Load_Screen ( string sScreen ) : void
MainWindow ( ) : System
Window1_DragOver ( object sender, System.Windows.DragEventArgs args ) : void
_timer_Elapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void

Private Methods

Method Description
Broswer_Control_MouseRightButtonDown ( object sender, System.Windows.Input.MouseEventArgs e ) : void
Click_Image_MouseRightButtonDown ( object sender, System.Windows.Input.MouseEventArgs e ) : void
LoadControl ( OSAE obj ) : void
Load_App_Name ( ) : void
Load_Objects ( String sScreen ) : void
Navigaton_Image_MouseLeftButtonUp ( object sender, System.Windows.Input.MouseEventArgs e ) : void
Navigaton_Image_MouseRightButtonDown ( object sender, System.Windows.Input.MouseEventArgs e ) : void
Property_Label_MouseRightButtonDown ( object sender, System.Windows.Input.MouseEventArgs e ) : void
Resize_Objects ( ) : void
Set_Default_Screen ( ) : void
StartDragInProcAdorner ( System.Windows.Input.MouseEventArgs e, dynamic sender ) : void
State_Image_MouseRightButtonDown ( object sender, System.Windows.Input.MouseEventArgs e ) : void
Timer_Label_MouseRightButtonDown ( object sender, System.Windows.Input.MouseEventArgs e ) : void
Update_Objects ( ) : void
UserControl_MouseRightButtonDown ( object sender, System.Windows.Input.MouseEventArgs e ) : void
VideoStreamViewer_MouseRightButtonDown ( object sender, System.Windows.Input.MouseEventArgs e ) : void
Window_Closing ( object sender, System e ) : void
Window_Loaded ( object sender, RoutedEventArgs e ) : void
menuAddCameraViewer_Click ( object sender, RoutedEventArgs e ) : void
menuAddClickImage_Click ( object sender, RoutedEventArgs e ) : void
menuAddNavImage_Click ( object sender, RoutedEventArgs e ) : void
menuAddPropertyLabel_Click ( object sender, RoutedEventArgs e ) : void
menuAddStateImage_Click ( object sender, RoutedEventArgs e ) : void
menuAddTimerLabel_Click ( object sender, RoutedEventArgs e ) : void
menuAddUserControl_Click ( object sender, RoutedEventArgs e ) : void
menuAddWebBrowser_Click ( object sender, RoutedEventArgs e ) : void
menuChangeScreen_Click ( object sender, RoutedEventArgs e ) : void
menuCreateScreen_Click ( object sender, RoutedEventArgs e ) : void
menuEditMode_Checked ( object sender, RoutedEventArgs e ) : void
menuEditMode_Unchecked ( object sender, RoutedEventArgs e ) : void
menuFrameBottomRight_Click ( object sender, RoutedEventArgs e ) : void
menuFrameCentre_Click ( object sender, RoutedEventArgs e ) : void
menuFrameHide_Click ( object sender, RoutedEventArgs e ) : void
menuFrameShow_Click ( object sender, RoutedEventArgs e ) : void
menuFrameTopLeft_Click ( object sender, RoutedEventArgs e ) : void
menuInstallUserControl_Click ( object sender, RoutedEventArgs e ) : void
menuShowControlList_Checked ( object sender, RoutedEventArgs e ) : void
menuShowControlList_Unchecked ( object sender, RoutedEventArgs e ) : void
updateObjectCoords ( OSAE obj, string X, string Y ) : void
updateObjectCoordsStateImg ( OSAE obj, string state, string X, string Y ) : void
update_size ( object sender, EventArgs e ) : void

Method Details

DragScope_DragLeave() public method

public DragScope_DragLeave ( object sender, System.Windows.DragEventArgs e ) : void
sender object
e System.Windows.DragEventArgs
return void

DragScope_QueryContinueDrag() public method

public DragScope_QueryContinueDrag ( object sender, System.Windows.QueryContinueDragEventArgs e ) : void
sender object
e System.Windows.QueryContinueDragEventArgs
return void

DragSource_Drop() public method

public DragSource_Drop ( dynamic sender, System.Windows.DragEventArgs e ) : void
sender dynamic
e System.Windows.DragEventArgs
return void

DragSource_PreviewMouseLeftButtonDown() public method

public DragSource_PreviewMouseLeftButtonDown ( dynamic sender, System.Windows.Input.MouseButtonEventArgs e ) : void
sender dynamic
e System.Windows.Input.MouseButtonEventArgs
return void

DragSource_PreviewMouseMove() public method

public DragSource_PreviewMouseMove ( dynamic sender, System.Windows.Input.MouseEventArgs e ) : void
sender dynamic
e System.Windows.Input.MouseEventArgs
return void

Load_Screen() public method

public Load_Screen ( string sScreen ) : void
sScreen string
return void

MainWindow() public method

public MainWindow ( ) : System
return System

Window1_DragOver() public method

public Window1_DragOver ( object sender, System.Windows.DragEventArgs args ) : void
sender object
args System.Windows.DragEventArgs
return void

_timer_Elapsed() public method

public _timer_Elapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void
sender object
e System.Timers.ElapsedEventArgs
return void

Property Details

gAppLocation public_oe property

public string gAppLocation
return string

gAppMinTrust public_oe property

public int gAppMinTrust
return int

gAppName public_oe property

public string gAppName
return string

gCurrentScreen public_oe property

public string gCurrentScreen
return string

gCurrentScreenHeight public_oe property

public double gCurrentScreenHeight
return double

gCurrentScreenWidth public_oe property

public double gCurrentScreenWidth
return double

gCurrentUser public_oe property

public string gCurrentUser
return string

gCurrentUserTrust public_oe property

public int gCurrentUserTrust
return int

gDebug public_oe property

public bool gDebug
return bool

gHeightRatio public_oe property

public double gHeightRatio
return double

gWidthRatio public_oe property

public double gWidthRatio
return double