-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathServing_Zone.cs
53 lines (49 loc) · 1.49 KB
/
Serving_Zone.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace CellInfo
{
public partial class Serving_Zone : Form
{
public Serving_Zone()
{
InitializeComponent();
}
/// <summary>
/// 当前小区信息显示
/// </summary>
/// <param name="result"></param>
public void Serving_Assignment(string[] result)
{
this.textBox1.Text = result[26];
this.textBox2.Text = result[27];
this.textBox3.Text = result[28];
this.textBox4.Text = result[29];
this.textBox5.Text = result[30];
this.textBox6.Text = result[31];
this.textBox7.Text = result[32];
this.textBox8.Text = result[33];
this.textBox9.Text = result[34];
this.textBox10.Text = result[35];
this.textBox11.Text = result[36];
this.textBox12.Text = result[37];
if (int.Parse(textBox3.Text) < -90)
{
textBox2.BackColor = Color.Red;
}
}
/*
private void textBox2_TextChanged(object sender, EventArgs e)
{
if (int.Parse(this.textBox3.Text) < -90)
{
textBox2.BackColor =Color.Red;
}
}
*/
}
}