C# Class Project_Marmelade.ProductDevelopment

Inheritance: System.Windows.Controls.UserControl
Exibir arquivo Open project: DMOe15a/ProjectMarmelade

Public Properties

Property Type Description
conn System.Data.SqlClient.SqlConnection

Public Methods

Method Description
Fill_primCombo ( ) : void
Fill_quality ( ) : void
Fill_secCombo ( ) : void
ProductDevelopment ( ) : System
tabMaster_SelectionChanged ( object sender, EventArgs args ) : void

Handles events triggered by changing tab.

Private Methods

Method Description
Button_Click ( object sender, RoutedEventArgs e ) : void
EmployeeID_LostFocus ( object sender, EventArgs e ) : void

Makes the EmployeeID textbox return to it's default state when empty and out of focus.

GetTestResult ( ) : void
HiddenSecret ( object sender, EventArgs args ) : void
UpdateTable ( ) : void
btnBack_Click ( object sender, RoutedEventArgs e ) : void
btnDone_Click ( object sender, RoutedEventArgs e ) : void
btnNew_Click ( object sender, RoutedEventArgs e ) : void

Demo code, intended to load from database to the 'data' object.

btnSelect_Click ( object sender, EventArgs args ) : void

Goes to the hidden tab.

button_edit_Click ( object sender, EventArgs args ) : void
comboBoxRecipes_SelectionChanged ( object sender, EventArgs args ) : void
create_btn_Click ( object sender, RoutedEventArgs e ) : void
txtSearch_GotFocus ( object sender, EventArgs e ) : void

Colors and empties the sender when it's empty and in focus.

txtSearch_LostFocus ( object sender, EventArgs e ) : void

Makes the searchbox return to it's default state when empty and out of focus.

Method Details

Fill_primCombo() public method

public Fill_primCombo ( ) : void
return void

Fill_quality() public method

public Fill_quality ( ) : void
return void

Fill_secCombo() public method

public Fill_secCombo ( ) : void
return void

ProductDevelopment() public method

public ProductDevelopment ( ) : System
return System

tabMaster_SelectionChanged() public method

Handles events triggered by changing tab.
public tabMaster_SelectionChanged ( object sender, EventArgs args ) : void
sender object
args System.EventArgs
return void

Property Details

conn public_oe property

public SqlConnection,System.Data.SqlClient conn
return System.Data.SqlClient.SqlConnection