C# 클래스 OSAE.UI.Controls.AddControlScreen

Interaction logic for CreateScreen.xaml
상속: System.Windows.Controls.UserControl
파일 보기 프로젝트 열기: opensourceautomation/Open-Source-Automation 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
currentScreen string

공개 메소드들

메소드 설명
AddControlScreen ( string screen, string user ) : System

보호된 메소드들

메소드 설명
si_ImagePicked ( object sender, EventArgs e ) : void

비공개 메소드들

메소드 설명
Enable_Buttons ( ) : void
LoadCurrentScreenObject ( string screenName ) : void
LoadImage ( byte imageData ) : BitmapImage
NotifyParentFinished ( ) : void

Let the hosting contol know that we are done

At present it tells the parent to close, this could later be altered to have a event that fires to the parent allowing them to decide what to do when the control is finished. If the control is being hosted in an element host this will have no affect as the parent is the element host and not the form.

btnAdd_Click ( object sender, RoutedEventArgs e ) : void
btnCancel_Click ( object sender, RoutedEventArgs e ) : void
btnDelete_Click ( object sender, RoutedEventArgs e ) : void
btnOpen_Click ( object sender, RoutedEventArgs e ) : void
btnUpdate_Click ( object sender, RoutedEventArgs e ) : void
txtScreenName_TextChanged ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void
validateForm ( string mthd ) : bool

메소드 상세

AddControlScreen() 공개 메소드

public AddControlScreen ( string screen, string user ) : System
screen string
user string
리턴 System

si_ImagePicked() 보호된 메소드

protected si_ImagePicked ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

프로퍼티 상세

currentScreen 공개적으로 프로퍼티

public string currentScreen
리턴 string