Exemplo n.º 1
0
 public void ShowDxt(string lineCode) {
     dockPanel1.Text = "配电线路单线图";
     UCSharpeDxt dxt = new UCSharpeDxt(lineCode);
     dxt.Dock = DockStyle.Fill;
     dockPanel1_Container.Controls.Remove(ucMapLayer1);
     dockPanel1_Container.Controls.Add(dxt);
     ucLayer = dxt;
     this.Show();
 }
Exemplo n.º 2
0
 public frmMapNetwork showDxt(){
     dockPanel1.Text = "配电线路单线图";
     UCSharpeDxt dxt = new UCSharpeDxt();
     dxt.Dock = DockStyle.Fill;
     dockPanel1_Container.Controls.Remove(ucMapLayer1);
     dockPanel1_Container.Controls.Add(dxt);
     ucLayer = dxt;
     this.Show();
     return this;
 }