public LocalHostNode(ServersTree owner) { Owner = owner; Name = "localhost"; IsExpanded = true; Icon = "/Images/Localhost.png"; }
public ServerNode(ServersTree owner, ServerDescription description) { Owner = owner; Id = description.Id; Name = description.ProgramId; ServerName = description.Name; IsExpanded = true; Icon = "/Images/ServerOff.png"; }
public MainWindow() { InitializeComponent(); Log = new TraceSource("Main"); ServersTree = new ServersTree(this); DataContext = ServersTree; Loaded += OnLoaded; Closing += OnClosing; }