C# Класс EditCustomerBrett.EditCustomer

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
btnAdd global::System.Web.UI.WebControls.Button
btnCancel global::System.Web.UI.WebControls.Button
btnConfirm global::System.Web.UI.WebControls.Button
customerFields global::System.Web.UI.HtmlControls.HtmlGenericControl
form1 global::System.Web.UI.HtmlControls.HtmlForm
gridCustomers global::System.Web.UI.WebControls.GridView
lblAddress global::System.Web.UI.WebControls.Label
lblCity global::System.Web.UI.WebControls.Label
lblContactName global::System.Web.UI.WebControls.Label
lblContactTitle global::System.Web.UI.WebControls.Label
lblCountry global::System.Web.UI.WebControls.Label
lblCustomer global::System.Web.UI.HtmlControls.HtmlGenericControl
lblCustomerID global::System.Web.UI.WebControls.Label
lblFax global::System.Web.UI.WebControls.Label
lblName global::System.Web.UI.WebControls.Label
lblPhone global::System.Web.UI.WebControls.Label
lblPostalCode global::System.Web.UI.WebControls.Label
lblRegion global::System.Web.UI.WebControls.Label
secTable global::System.Web.UI.HtmlControls.HtmlGenericControl
txtAddress global::System.Web.UI.WebControls.TextBox
txtCity global::System.Web.UI.WebControls.TextBox
txtCompanyName global::System.Web.UI.WebControls.TextBox
txtContactName global::System.Web.UI.WebControls.TextBox
txtContactTitle global::System.Web.UI.WebControls.TextBox
txtCountry global::System.Web.UI.WebControls.TextBox
txtCustomerID global::System.Web.UI.WebControls.TextBox
txtFax global::System.Web.UI.WebControls.TextBox
txtPhone global::System.Web.UI.WebControls.TextBox
txtPostalCode global::System.Web.UI.WebControls.TextBox
txtRegion global::System.Web.UI.WebControls.TextBox

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

Метод Описание
Page_Load ( object sender, EventArgs e ) : void
btnAdd_Click ( object sender, EventArgs e ) : void
btnCancel_Click ( object sender, EventArgs e ) : void
btnConfirm_Click ( object sender, EventArgs e ) : void

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

Метод Описание
AddButtons ( List cusList ) : void
BindGrid ( ) : void
ClearTextBoxes ( ) : void
CreateGridRows ( ) : void
DynButtRemove_Click ( object sender, EventArgs e ) : void
HideTable ( ) : void
ResetForm ( ) : void
setupGrid ( List cusList ) : void

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

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

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

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

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

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

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

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

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

Описание свойств

btnAdd защищенное свойство

btnAdd control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button btnAdd
Результат global::System.Web.UI.WebControls.Button

btnCancel защищенное свойство

btnCancel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button btnCancel
Результат global::System.Web.UI.WebControls.Button

btnConfirm защищенное свойство

btnConfirm control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button btnConfirm
Результат global::System.Web.UI.WebControls.Button

customerFields защищенное свойство

customerFields control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl customerFields
Результат global::System.Web.UI.HtmlControls.HtmlGenericControl

form1 защищенное свойство

form1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlForm form1
Результат global::System.Web.UI.HtmlControls.HtmlForm

gridCustomers защищенное свойство

gridCustomers control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.GridView gridCustomers
Результат global::System.Web.UI.WebControls.GridView

lblAddress защищенное свойство

lblAddress control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label lblAddress
Результат global::System.Web.UI.WebControls.Label

lblCity защищенное свойство

lblCity control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label lblCity
Результат global::System.Web.UI.WebControls.Label

lblContactName защищенное свойство

lblContactName control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label lblContactName
Результат global::System.Web.UI.WebControls.Label

lblContactTitle защищенное свойство

lblContactTitle control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label lblContactTitle
Результат global::System.Web.UI.WebControls.Label

lblCountry защищенное свойство

lblCountry control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label lblCountry
Результат global::System.Web.UI.WebControls.Label

lblCustomer защищенное свойство

lblCustomer control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl lblCustomer
Результат global::System.Web.UI.HtmlControls.HtmlGenericControl

lblCustomerID защищенное свойство

lblCustomerID control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label lblCustomerID
Результат global::System.Web.UI.WebControls.Label

lblFax защищенное свойство

lblFax control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label lblFax
Результат global::System.Web.UI.WebControls.Label

lblName защищенное свойство

lblName control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label lblName
Результат global::System.Web.UI.WebControls.Label

lblPhone защищенное свойство

lblPhone control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label lblPhone
Результат global::System.Web.UI.WebControls.Label

lblPostalCode защищенное свойство

lblPostalCode control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label lblPostalCode
Результат global::System.Web.UI.WebControls.Label

lblRegion защищенное свойство

lblRegion control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label lblRegion
Результат global::System.Web.UI.WebControls.Label

secTable защищенное свойство

secTable control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl secTable
Результат global::System.Web.UI.HtmlControls.HtmlGenericControl

txtAddress защищенное свойство

txtAddress control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtAddress
Результат global::System.Web.UI.WebControls.TextBox

txtCity защищенное свойство

txtCity control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtCity
Результат global::System.Web.UI.WebControls.TextBox

txtCompanyName защищенное свойство

txtCompanyName control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtCompanyName
Результат global::System.Web.UI.WebControls.TextBox

txtContactName защищенное свойство

txtContactName control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtContactName
Результат global::System.Web.UI.WebControls.TextBox

txtContactTitle защищенное свойство

txtContactTitle control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtContactTitle
Результат global::System.Web.UI.WebControls.TextBox

txtCountry защищенное свойство

txtCountry control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtCountry
Результат global::System.Web.UI.WebControls.TextBox

txtCustomerID защищенное свойство

txtCustomerID control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtCustomerID
Результат global::System.Web.UI.WebControls.TextBox

txtFax защищенное свойство

txtFax control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtFax
Результат global::System.Web.UI.WebControls.TextBox

txtPhone защищенное свойство

txtPhone control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtPhone
Результат global::System.Web.UI.WebControls.TextBox

txtPostalCode защищенное свойство

txtPostalCode control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtPostalCode
Результат global::System.Web.UI.WebControls.TextBox

txtRegion защищенное свойство

txtRegion control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtRegion
Результат global::System.Web.UI.WebControls.TextBox