/// <summary> /// the constructor for PathwayView. /// set the handler of event and user control. /// </summary> public PathwayControl(PathwayWindow window) { this.m_window = window; // Create Internal object. m_canvas = null; m_csManager = new ComponentManager(); SetNodeIcons(); // Create menus m_menu = new MenuControl(this); // Set AnimationControl m_animCon = new AnimationControl(this); // Preparing Interfaces m_pathwayView = new PathwayView(this); m_layerView = new LayerView(this); m_toolBox = new Stencils(this); m_layout = new LayoutPane(m_window.Environment); m_layout.ApplyButton.Click += new EventHandler(ApplyButton_Click); m_window.PluginManager.Refresh += new EventHandler(PluginManager_Refresh); }
/// <summary> /// Constructor /// </summary> /// <param name="csManager"></param> public ComponentDialog(ComponentManager csManager) : this() { m_csManager = csManager; }
public void TearDown() { _unitUnderTest = null; }
public void TestConstructorComponentManager() { ComponentManager testComponentManager = new ComponentManager(); Assert.IsNotNull(testComponentManager, "Constructor of type, ComponentManager failed to create instance."); Assert.Fail("Create or modify test(s)."); }
public void SetUp() { _unitUnderTest = new ComponentManager(); }