コード例 #1
0
 private void button3_Click(object sender, EventArgs e)
 {
     if (treeView1.SelectedNode == null)
     {
         MessageBox.Show("请选择车辆");
         return;
     }
     else
     {
         labelInfo.Text      = "正在获取" + (treeView1.SelectedNode.Tag as Car).CarNO + "的终端设置...";
         pictureBox1.Visible = true;
         FormMain.C_Set_GetSet(treeView1.SelectedNode.Tag as Car);
     }
 }
コード例 #2
0
ファイル: FormPtXunLuoShu.cs プロジェクト: yfyf510/GPS
 private void button3_Click(object sender, EventArgs e)
 {
     if (treeView1.SelectedNode == null)
     {
         MessageBox.Show("请选择车辆");
         return;
     }
     else
     {
         labelInfo.Text      = "获取终端设置成功";
         pictureBox1.Visible = false;
         treeView1_AfterSelect(treeView1, new TreeViewEventArgs(treeView1.SelectedNode));
         FormMain.C_Set_GetSet(treeView1.SelectedNode.Tag as Car);
     }
 }