Example #1
0
 public void TestFixtureSetUp()
 {
     _unitUnderTest = new PathwayWindow();
 }
Example #2
0
 public void TestFixtureTearDown()
 {
     _unitUnderTest = null;
 }
Example #3
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);
        }