C# Class EditCustomerBrett.EditCustomer

ファイルを表示 Open project: larryslack/OrderingProject

Protected Properties

Property Type Description
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

Protected Methods

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

Private Methods

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

Method Details

Page_Load() protected method

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

btnAdd_Click() protected method

protected btnAdd_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

btnCancel_Click() protected method

protected btnCancel_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

btnConfirm_Click() protected method

protected btnConfirm_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

Property Details

btnAdd protected_oe property

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
return global::System.Web.UI.WebControls.Button

btnCancel protected_oe property

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
return global::System.Web.UI.WebControls.Button

btnConfirm protected_oe property

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
return global::System.Web.UI.WebControls.Button

customerFields protected_oe property

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
return global::System.Web.UI.HtmlControls.HtmlGenericControl

form1 protected_oe property

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
return global::System.Web.UI.HtmlControls.HtmlForm

gridCustomers protected_oe property

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
return global::System.Web.UI.WebControls.GridView

lblAddress protected_oe property

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
return global::System.Web.UI.WebControls.Label

lblCity protected_oe property

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
return global::System.Web.UI.WebControls.Label

lblContactName protected_oe property

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
return global::System.Web.UI.WebControls.Label

lblContactTitle protected_oe property

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
return global::System.Web.UI.WebControls.Label

lblCountry protected_oe property

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
return global::System.Web.UI.WebControls.Label

lblCustomer protected_oe property

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
return global::System.Web.UI.HtmlControls.HtmlGenericControl

lblCustomerID protected_oe property

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
return global::System.Web.UI.WebControls.Label

lblFax protected_oe property

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
return global::System.Web.UI.WebControls.Label

lblName protected_oe property

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
return global::System.Web.UI.WebControls.Label

lblPhone protected_oe property

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
return global::System.Web.UI.WebControls.Label

lblPostalCode protected_oe property

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
return global::System.Web.UI.WebControls.Label

lblRegion protected_oe property

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
return global::System.Web.UI.WebControls.Label

secTable protected_oe property

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
return global::System.Web.UI.HtmlControls.HtmlGenericControl

txtAddress protected_oe property

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
return global::System.Web.UI.WebControls.TextBox

txtCity protected_oe property

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
return global::System.Web.UI.WebControls.TextBox

txtCompanyName protected_oe property

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
return global::System.Web.UI.WebControls.TextBox

txtContactName protected_oe property

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
return global::System.Web.UI.WebControls.TextBox

txtContactTitle protected_oe property

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
return global::System.Web.UI.WebControls.TextBox

txtCountry protected_oe property

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
return global::System.Web.UI.WebControls.TextBox

txtCustomerID protected_oe property

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
return global::System.Web.UI.WebControls.TextBox

txtFax protected_oe property

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
return global::System.Web.UI.WebControls.TextBox

txtPhone protected_oe property

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
return global::System.Web.UI.WebControls.TextBox

txtPostalCode protected_oe property

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
return global::System.Web.UI.WebControls.TextBox

txtRegion protected_oe property

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
return global::System.Web.UI.WebControls.TextBox