C# Класс OSAE.UI.Controls.AddControlStateImage

Interaction logic for AddControlStateImage.xaml
Наследование: System.Windows.Controls.UserControl
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddControlStateImage ( string screen, string user, string controlName = "" ) : System

Защищенные методы

Метод Описание
si_S1I1ImagePicked ( object sender, EventArgs e ) : void
si_S1I2ImagePicked ( object sender, EventArgs e ) : void
si_S1I3ImagePicked ( object sender, EventArgs e ) : void
si_S1I4ImagePicked ( object sender, EventArgs e ) : void
si_S2I1ImagePicked ( object sender, EventArgs e ) : void
si_S2I2ImagePicked ( object sender, EventArgs e ) : void
si_S2I3ImagePicked ( object sender, EventArgs e ) : void
si_S2I4ImagePicked ( object sender, EventArgs e ) : void

Приватные методы

Метод Описание
Enable_Buttons ( ) : void
LoadCurrentScreenObject ( string controlName ) : void

Load the objects from the DB into the combo box

LoadImage ( byte imageData ) : BitmapImage
LoadObjects ( ) : void

Load the objects 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
btnLoadS1I1_Click ( object sender, RoutedEventArgs e ) : void
btnLoadS1I2_Click ( object sender, RoutedEventArgs e ) : void
btnLoadS1I3_Click ( object sender, RoutedEventArgs e ) : void
btnLoadS1I4_Click ( object sender, RoutedEventArgs e ) : void
btnLoadS1I4_RightClick ( object sender, RoutedEventArgs e ) : void
btnLoadS2I1_Click ( object sender, RoutedEventArgs e ) : void
btnLoadS2I2_Click ( object sender, RoutedEventArgs e ) : void
btnLoadS2I3_Click ( object sender, RoutedEventArgs e ) : void
btnLoadS2I4_Click ( object sender, RoutedEventArgs e ) : void
btnUpdate_Click ( object sender, RoutedEventArgs e ) : void
cboObject_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
cboState1_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
cboState2_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
chkSlider_Checked ( object sender, RoutedEventArgs e ) : void
chkSlider_Unchecked ( object sender, RoutedEventArgs e ) : void
txtControlName_TextChanged ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void
validateForm ( string mthd ) : bool

Описание методов

AddControlStateImage() публичный Метод

public AddControlStateImage ( string screen, string user, string controlName = "" ) : System
screen string
user string
controlName string
Результат System

si_S1I1ImagePicked() защищенный Метод

protected si_S1I1ImagePicked ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

si_S1I2ImagePicked() защищенный Метод

protected si_S1I2ImagePicked ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

si_S1I3ImagePicked() защищенный Метод

protected si_S1I3ImagePicked ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

si_S1I4ImagePicked() защищенный Метод

protected si_S1I4ImagePicked ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

si_S2I1ImagePicked() защищенный Метод

protected si_S2I1ImagePicked ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

si_S2I2ImagePicked() защищенный Метод

protected si_S2I2ImagePicked ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

si_S2I3ImagePicked() защищенный Метод

protected si_S2I3ImagePicked ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

si_S2I4ImagePicked() защищенный Метод

protected si_S2I4ImagePicked ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void