C# Class OSAE.UI.Controls.ctrlSelectImage

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

Méthodes publiques

Méthode Description
ctrlSelectImage ( ) : System

Méthodes protégées

Méthode Description
OnImagePicked ( int imgID ) : void

Private Methods

Méthode Description
BindImages ( ) : void

Bind Image in List Box Control

Image_MouseLeftButtonUp_1 ( object sender, System e ) : 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

Method Details

OnImagePicked() protected méthode

protected OnImagePicked ( int imgID ) : void
imgID int
Résultat void

ctrlSelectImage() public méthode

public ctrlSelectImage ( ) : System
Résultat System