public UpdateWindow( string gameTitle, string optionalGameVersion, string optionalUpdateURL ) : base(WindowType.Toplevel) { m_updater = new GameUpdater( gameTitle, optionalGameVersion, optionalUpdateURL ); m_updater.StageChanged += OnStageChanged; m_updater.ProgressChanged += OnProgressChanged; m_updater.PromptChanged += OnPromptChanged; Build(); }
public UpdateForm( string gameTitle, string optionalGameVersion, string optionalUpdateURL ) { m_updater = new GameUpdater( gameTitle, optionalGameVersion, optionalUpdateURL ); m_updater.StageChanged += OnStageChanged; m_updater.StageChanged += OnProgressChanged; m_updater.ProgressChanged += OnProgressChanged; m_updater.PromptChanged += OnPromptChanged; Build(); }