Fix a traversal class not serializable error.
This commit is contained in:
parent
6d73465385
commit
383fdb9553
@ -2206,6 +2206,7 @@ namespace EduNetworkBuilder
|
|||||||
|
|
||||||
private void optionsToolStripMenuItem_Click(object sender, EventArgs e)
|
private void optionsToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
ProcessChange(); //make sure we make an undo-point in case a change is made.
|
||||||
OptionsWindow tWindow = new OptionsWindow(myNetwork);
|
OptionsWindow tWindow = new OptionsWindow(myNetwork);
|
||||||
tWindow.ShowDialog();
|
tWindow.ShowDialog();
|
||||||
myNetwork.UpdateDeviceSizes();
|
myNetwork.UpdateDeviceSizes();
|
||||||
|
@ -9,6 +9,7 @@ namespace EduNetworkBuilder
|
|||||||
[Serializable]
|
[Serializable]
|
||||||
public class TraversalClass
|
public class TraversalClass
|
||||||
{
|
{
|
||||||
|
[Serializable]
|
||||||
protected struct TraversalRecord
|
protected struct TraversalRecord
|
||||||
{
|
{
|
||||||
public string host;
|
public string host;
|
||||||
|
Loading…
Reference in New Issue
Block a user