示例#1
0
        /**************************************************************/
        /*                    Constructor/ Destructor
        /**************************************************************/

		internal FrmViewAnt(BaseAntProject aAntProject, BaseAnt aCurrentAnt) {
            fAntProject = aAntProject;
            fCurrentAnt = aCurrentAnt;

            InitializeComponent();

            // Create the Sort Manager for lvAll
            new ListViewSortManager(lvAll,
                                    new Type[] {
                                        typeof(ListViewTextSort),
                                        typeof(ListViewTextSort),
                                        typeof(ListViewInt32Sort),
                                        typeof(ListViewInt32Sort)
                                    });

            // Create the Sort Manager for lvTargets
            new ListViewSortManager(lvTargets,
                                    new Type[] {
                                        typeof(ListViewTextSort),
                                        typeof(ListViewInt32Sort),
                                        typeof(ListViewInt32Sort)
                                    });

            // Create the Sort Manager for lvProperties
            new ListViewSortManager(lvProperties,
                                    new Type[] {
                                        typeof(ListViewTextSort),
                                        typeof(ListViewInt32Sort),
                                        typeof(ListViewInt32Sort)
                                    });
        }
示例#2
0
		/// <summary>
		/// View Ant project structure.
		/// </summary>
		/// <param name="viewAntMode">Mode</param>
		/// <param name="project">Project</param>
		private void ViewAntProjectStructure(ViewAntMode viewAntMode, BaseAntProject project) {
            if (project == null) {
                project = GetAntProject();
            }

            if (project != null) {
                FrmViewAnt _Frm = new FrmViewAnt(project, CurrentAnt);
                _Frm.ViewAntMode = viewAntMode;
                _Frm.ShowDialog();
                fLastViewAntMode = _Frm.ViewAntMode;
            }
        }
示例#3
0
        /**************************************************************/
        /*                      Constructor
        /**************************************************************/

        protected BaseViewAntHelper(BaseAntProject aAntProject, BaseTool aCurrentAnt) {
            fCurrentAnt = aCurrentAnt;
            fAntProject = aAntProject;
        }
示例#4
0
 /**************************************************************/
 /*                      Constructor
 /**************************************************************/
 public ViewAllAntHelper(BaseAntProject aAntProject, BaseTool aCurrentAnt) : base (aAntProject, aCurrentAnt) {
 }
示例#5
0
        /**************************************************************/
        /*                      Constructor
        /**************************************************************/

        public ViewAntTargetsHelper(BaseAntProject aAntProject, BaseTool aCurrentAnt) : base (aAntProject, aCurrentAnt) {
        }