Exemple #1
0
 private void partGraphTimer_Tick(object sender, EventArgs e)
 {
     if ((VesselsList.SelectedItem as GuiVesselsNode) == PartGraphNode)
     {
         return;
     }
     PartGraphNode = (VesselsList.SelectedItem as GuiVesselsNode);
     PartGraph.DrawPartStructure(PartGraphNode);
 }
Exemple #2
0
 private void vesselsDetails_SizeChanged(object sender, SizeChangedEventArgs e)
 {
     PartGraph.DrawPartStructure(VesselsList.SelectedItem as GuiVesselsNode);
 }