Ejemplo n.º 1
0
        /// <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);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="csManager"></param>
 public ComponentDialog(ComponentManager csManager)
     : this()
 {
     m_csManager = csManager;
 }
Ejemplo n.º 3
0
 public void TearDown()
 {
     _unitUnderTest = null;
 }
Ejemplo n.º 4
0
 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).");
 }
Ejemplo n.º 5
0
 public void SetUp()
 {
     _unitUnderTest = new ComponentManager();
 }