public static void Initialize(string windowType) { Testbed.Initialize(); if (windowType == "?" || windowType == "h" || windowType == "help") { MessageBox.Show( "editor - run as physical editor\n" + "coe - run as conservation of energy demo\n" + "testbed - run as physical testbed\n" + "help - show this text", "LSM Prototype commands" ); } else if (windowType == "editor") { editorWindow = new EditorWindow(); window = editorWindow; } else if (windowType == "coe") { coeWindow = new CoeWindow(); window = coeWindow; } else if (windowType == "main") { window = new MainWindow(); } else { testbedWindow = new TestbedWindow(); window = testbedWindow; } }