示例#1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            IP          = textBox1.Text;
            pictureForm = new PictureForm();
            pictureForm.Show();

            ReloadData();
        }
示例#2
0
        //private void button1_Click(object sender, EventArgs e)
        //{
        //    FunClass.PostWaveData(IP + UrlOfWaveDataInput, NowStation,NowMission);
        //}

        private void Form1_Load(object sender, EventArgs e)
        {
            //读取产品模型
            StreamReader sr = new StreamReader("ServerIP.txt");

            //StringBuilder sb = new StringBuilder();
            //while (sr.EndOfStream == false)
            //{
            //    sb.AppendLine(sr.ReadLine());
            //}
            IP = sr.ReadLine();
            sr.Close();
            textBox1.Text = IP;
            pictureForm.Show();

            ReloadData();
        }