| | |
| | | |
| | | BindList(); |
| | | } |
| | | protected void btn_Search_Click0(object sender, EventArgs e) |
| | | { |
| | | |
| | | this.txtDeliveryTime.Value = this.Button0.Text; |
| | | |
| | | BindList(); |
| | | } |
| | | protected void btn_Search_Click2(object sender, EventArgs e) |
| | | { |
| | | |
| | |
| | | this.selBusinessManager.DataValueField = "Keyid"; |
| | | this.selBusinessManager.DataBind(); |
| | | this.selBusinessManager.Items.Insert(0, new ListItem("全部", "")); |
| | | |
| | | this.Button0.Text = "预期"; |
| | | this.Button1.Text = "明天"; |
| | | this.Button2.Text = "后天"; |
| | | this.Button3.Text = "3天"; |
| | |
| | | |
| | | if (this.txtDeliveryTime.Value == this.Button1.Text) |
| | | { |
| | | |
| | | this.Button1.BorderColor = Color.Black; |
| | | this.Button2.BorderColor = Color.LightBlue; |
| | | this.Button3.BorderColor = Color.LightBlue; |
| | |
| | | this.Button6.BorderColor = Color.LightBlue; |
| | | this.Button7.BorderColor = Color.LightBlue; |
| | | this.Button8.BorderColor = Color.LightBlue; |
| | | this.Button0.BorderColor = Color.LightBlue; |
| | | } |
| | | else if (this.txtDeliveryTime.Value == this.Button2.Text) |
| | | { |
| | |
| | | this.Button6.BorderColor = Color.LightBlue; |
| | | this.Button7.BorderColor = Color.LightBlue; |
| | | this.Button8.BorderColor = Color.LightBlue; |
| | | this.Button0.BorderColor = Color.LightBlue; |
| | | } |
| | | else if (this.txtDeliveryTime.Value == this.Button3.Text) |
| | | { |
| | |
| | | this.Button6.BorderColor = Color.LightBlue; |
| | | this.Button7.BorderColor = Color.LightBlue; |
| | | this.Button8.BorderColor = Color.LightBlue; |
| | | this.Button0.BorderColor = Color.LightBlue; |
| | | } |
| | | else if (this.txtDeliveryTime.Value == this.Button4.Text) |
| | | { |
| | |
| | | this.Button6.BorderColor = Color.LightBlue; |
| | | this.Button7.BorderColor = Color.LightBlue; |
| | | this.Button8.BorderColor = Color.LightBlue; |
| | | this.Button0.BorderColor = Color.LightBlue; |
| | | } |
| | | else if (this.txtDeliveryTime.Value == this.Button5.Text) |
| | | { |
| | |
| | | this.Button6.BorderColor = Color.LightBlue; |
| | | this.Button7.BorderColor = Color.LightBlue; |
| | | this.Button8.BorderColor = Color.LightBlue; |
| | | this.Button0.BorderColor = Color.LightBlue; |
| | | } |
| | | else if (this.txtDeliveryTime.Value == this.Button6.Text) |
| | | { |
| | |
| | | this.Button1.BorderColor = Color.LightBlue; |
| | | this.Button7.BorderColor = Color.LightBlue; |
| | | this.Button8.BorderColor = Color.LightBlue; |
| | | this.Button0.BorderColor = Color.LightBlue; |
| | | } |
| | | else if (this.txtDeliveryTime.Value == this.Button7.Text) |
| | | { |
| | |
| | | this.Button6.BorderColor = Color.LightBlue; |
| | | this.Button1.BorderColor = Color.LightBlue; |
| | | this.Button8.BorderColor = Color.LightBlue; |
| | | this.Button0.BorderColor = Color.LightBlue; |
| | | } |
| | | else if (this.txtDeliveryTime.Value == this.Button8.Text) |
| | | { |
| | |
| | | this.Button6.BorderColor = Color.LightBlue; |
| | | this.Button1.BorderColor = Color.LightBlue; |
| | | this.Button7.BorderColor = Color.LightBlue; |
| | | this.Button0.BorderColor = Color.LightBlue; |
| | | } |
| | | else if (this.txtDeliveryTime.Value == this.Button0.Text) |
| | | { |
| | | this.Button0.BorderColor = Color.Black; |
| | | this.Button2.BorderColor = Color.LightBlue; |
| | | this.Button3.BorderColor = Color.LightBlue; |
| | | this.Button4.BorderColor = Color.LightBlue; |
| | | this.Button5.BorderColor = Color.LightBlue; |
| | | this.Button6.BorderColor = Color.LightBlue; |
| | | this.Button1.BorderColor = Color.LightBlue; |
| | | this.Button7.BorderColor = Color.LightBlue; |
| | | this.Button8.BorderColor = Color.LightBlue; |
| | | } |
| | | |
| | | |