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

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

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

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

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

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

Load the objects from the DB into the combo box

LoadObjects ( ) : 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.

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
cboObject_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
cboProperty_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
txtFont_MouseLeftButtonUp ( object sender, System e ) : void
validateForm ( string mthd ) : bool

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

AddControlPropertyLabel() публичный метод

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