C# Class OSAE.UI.Controls.AddControlBrowser

Interaction logic for AddControlBrowser.xaml
Inheritance: System.Windows.Controls.UserControl
显示文件 Open project: opensourceautomation/Open-Source-Automation Class Usage Examples

Public Methods

Method Description
AddControlBrowser ( string screen, string user, string controlName = "" ) : System

Private Methods

Method Description
Enable_Buttons ( ) : void
LoadCurrentScreenObject ( string controlName ) : void
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
btnUpdate_Click ( object sender, RoutedEventArgs e ) : void
txtURI_TextChanged ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void
validateForm ( string mthd ) : bool

Method Details

AddControlBrowser() public method

public AddControlBrowser ( string screen, string user, string controlName = "" ) : System
screen string
user string
controlName string
return System