C# Class OSAE.UI.Controls.ctrlSelectImage

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

Public Methods

Method Description
ctrlSelectImage ( ) : System

Protected Methods

Method Description
OnImagePicked ( int imgID ) : void

Private Methods

Method 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 method

protected OnImagePicked ( int imgID ) : void
imgID int
return void

ctrlSelectImage() public method

public ctrlSelectImage ( ) : System
return System