public static void SetDecisionTree(UvsChess.DecisionTree dt) { lock (_updateGuiDataLockObject) { _lastDecisionTree = dt; } }
public GuiDecisionTree(DecisionTree dt) { InitializeComponent(); _dt = dt; ListBox rootNodeListBox = null; rootNodeListBox = NewDecisionListBox(new List<DecisionTree>() { _dt }); //rootNodeListBox.Location = new Point(-5, 0); decisionListBoxes.Add(rootNodeListBox); guiChessBoard1.IsLocked = true; this.splitContainer1.Panel2.Controls.Add(rootNodeListBox); rootNodeListBox.SelectedIndex = 0; this.hScrollBar1.LargeChange = rootNodeListBox.Width; }
public GuiDecisionTree(DecisionTree dt) { InitializeComponent(); _dt = dt; ListBox rootNodeListBox = null; rootNodeListBox = NewDecisionListBox(new List <DecisionTree>() { _dt }); //rootNodeListBox.Location = new Point(-5, 0); decisionListBoxes.Add(rootNodeListBox); guiChessBoard1.IsLocked = true; this.splitContainer1.Panel2.Controls.Add(rootNodeListBox); rootNodeListBox.SelectedIndex = 0; this.hScrollBar1.LargeChange = rootNodeListBox.Width; }