public PLProject() { Ressources = new ProjectRessources(); Database = new GameDatabase(); GameLink = new PixelLink(); PixelMonkeyCore = String.Empty; Description = String.Empty; }
public PLProject(SerializationInfo info, StreamingContext context) { Name = info.GetString("Name"); DateCreated = (DateTime)info.GetValue("DateCreated", typeof(DateTime)); Ressources = (ProjectRessources)info.GetValue("Ressources", typeof(ProjectRessources)); Database = (GameDatabase)info.GetValue("Database", typeof(GameDatabase)); GameLink = (PixelLink)info.GetValue("GameLink", typeof(PixelLink)); PixelMonkeyCore = info.GetString("PixelMonkeyCore"); Description = info.GetString("Description"); }
public PixelLinkingForm(PixelLink Link) { InitializeComponent(); DialogResult = System.Windows.Forms.DialogResult.None; this.link = Link ?? new PixelLink(); TB_Name.Text = link.Title; TB_Path.Text = link.Path; CB_CreateFolders.Checked = link.CreateFolders; CB_IncludeMaps.Checked = link.IncludeMapsInProject; CB_SingleFile.Checked = link.ProjectFileOnly; }