protected virtual void StyleCode(string fileName) { if (File.Exists("AStyle.exe")) { Job job = new Job(); job.Command = "AStyle.exe"; job.Argument = "--style=gnu --indent-classes --mode=c " + fileName; ExternalProcessHandler process = new ExternalProcessHandler(job); process.RunExternalProcess(job); } }
public void Show(WeifenLuo.WinFormsUI.Docking.DockPanel dock, WeifenLuo.WinFormsUI.Docking.DockState state) { buildJobHandler = new GUnitFramework.Implementation.ExternalProcessHandler(); m_ui = new ProjectbuilderUi(this); m_ui.Show(dock, WeifenLuo.WinFormsUI.Docking.DockState.DockBottomAutoHide); }