C# 클래스 StateButton.AddNewControl

Interaction logic for AddNewControl.xaml
상속: System.Windows.Controls.UserControl
파일 보기 프로젝트 열기: opensourceautomation/Open-Source-Automation

공개 프로퍼티들

프로퍼티 타입 설명
_controlName string
currentScreen string

공개 메소드들

메소드 설명
AddNewControl ( string screen, string pluginName, string user, string controlName = "" ) : System

비공개 메소드들

메소드 설명
Enable_Buttons ( ) : void
LoadCurrentScreenObject ( string controlName ) : void
LoadObjects ( ) : void

Load the object types from the DB into the combo box

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.

ValidateForm ( string mthd ) : bool
addButton_Click ( object sender, RoutedEventArgs e ) : void
btnCancel_Click ( object sender, RoutedEventArgs e ) : void
btnDelete_Click ( object sender, RoutedEventArgs e ) : void
btnUpdate_Click ( object sender, RoutedEventArgs e ) : void
cancelbutton_Click ( object sender, RoutedEventArgs e ) : void
getExtraParams ( string controlName ) : void

Loads extra Parmeters in to edit screen

objectsComboBox_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
paramList_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
saveParmValue_Click ( object sender, RoutedEventArgs e ) : void

메소드 상세

AddNewControl() 공개 메소드

public AddNewControl ( string screen, string pluginName, string user, string controlName = "" ) : System
screen string
pluginName string
user string
controlName string
리턴 System

프로퍼티 상세

_controlName 공개적으로 프로퍼티

public string _controlName
리턴 string

currentScreen 공개적으로 프로퍼티

public string currentScreen
리턴 string