示例#1
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;
            }
        }
示例#2
0
 private void DoView(ViewAntMode aViewAntMode) {
     ViewAntProjectStructure(aViewAntMode, null);
 }