C# Class OSAE.UI.Controls.AddControlNavigationImage

Interaction logic for AddControlNavigationImage.xaml
Inheritance: System.Windows.Controls.UserControl
Afficher le fichier Open project: opensourceautomation/Open-Source-Automation Class Usage Examples

Méthodes publiques

Méthode Description
AddControlNavigationImage ( string screen, string user, string controlName = "" ) : System

Méthodes protégées

Méthode Description
si_ImagePicked ( object sender, EventArgs e ) : void

Private Methods

Méthode Description
Enable_Buttons ( ) : void
LoadCurrentScreenObject ( string controlName ) : void
LoadImage ( byte imageData ) : BitmapImage
LoadScreens ( ) : void

Load the screens 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.

Validate_Initial_Coordinates ( ) : void
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
cboScreens_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
txtName_TextChanged ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void
validateForm ( string mthd ) : bool

Method Details

AddControlNavigationImage() public méthode

public AddControlNavigationImage ( string screen, string user, string controlName = "" ) : System
screen string
user string
controlName string
Résultat System

si_ImagePicked() protected méthode

protected si_ImagePicked ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void