public override CommandNode Clone() { PortStatusCommand cmd = new PortStatusCommand { Ip_Address = this.Ip_Address, Is_Port_Opened = this.Is_Port_Opened }; base.CopyChildren(cmd); return cmd; }
private void bWaitStart_Click(object sender, EventArgs e) { PortStatusCommand cmd = new PortStatusCommand(); AddCommandTreeviewNode(cmd); }