예제 #1
0
        public PLProject()
        {
            Ressources = new ProjectRessources();
            Database = new GameDatabase();
            GameLink = new PixelLink();
            PixelMonkeyCore = String.Empty;

            Description = String.Empty;
        }
예제 #2
0
 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");
 }
예제 #3
0
        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;
        }