Ejemplo n.º 1
0
 private ProjectConfigDialog(Project Project)
 {
     InitializeComponent();
     this.CurrentProject = Project;
     //this.ProjectAssemblies = Project.Refferences;
     InitializeToCurrentproject();
 }
Ejemplo n.º 2
0
 public static void Show(Project currentproject)
 {
     if (Instance == null)
     {
         Instance = new ProjectConfigDialog(currentproject);
     }
     Instance.ShowDialog();
 }
Ejemplo n.º 3
0
 public static Project Open(string Profile)
 {
     Project PObject = new Project();
     try
     {
         using (FileStream fs = new FileStream(Profile, FileMode.Open, FileAccess.Read))
         {
             BinaryFormatter bf = new BinaryFormatter();
             PObject = (Project)bf.Deserialize(fs);
         }
     }
     catch (Exception e)
     {
         Exceptioner.Log(e);
     }
     return PObject;
 }
Ejemplo n.º 4
0
        public NewDialog(Project currentProject)
        {
            InitializeComponent();

            this.currentfolder=Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) + @"\Moo Workspace";
            if (currentProject != null)
            {
                this.currentfolder = currentProject.Folder;
            }

            //initialise
            this.newoption = "PROJECT";
            this.projecttype = PType.Csharp;
            this.TypeCbx.Items.AddRange(new string[] { "C SHARP", "ILASM", "HYDRO", "V BASIC" });
            this.NameTbx.Text="";
            this.FolderTbx.Text = this.currentfolder;
            this.TypeCbx.SelectedIndex = 0;
        }
Ejemplo n.º 5
0
 public Builder(Project project, BuildOutput console)
 {
     this.project = project;
     this.console = console;
 }