public PnlApplicationUploadOptions(CustomApplication app) { this.InitializeComponent(); this.mApp = app; this.tbVersionFile.TextChanged += new EventHandler(this.tbVersionFile_TextChanged); this.tbVersionFile.Text = this.mApp.LocalFilePath; this.tbExeName.Text = this.mApp.LocalFilePath; this.tbDirectory.Text = new FileInfo(this.mApp.LocalFilePath).DirectoryName; this.ddGame.Items.Clear(); this.ddGame.Items.AddRange(GameInformation.Games.ToArray()); this.mApp.GameInfo = this.ddGame.SelectedValue as GameInformation; this.LoadFTPInfo(); }
public IAdditionalContent CreateEmptyInstance() { CustomApplication application = new CustomApplication(); application.ContentType = base.ContentType; return application; }