public RepoCommitDialog(SvnClient c, FileEntityModel files) { InitializeComponent(); this.client = c; this.last_count = 0; this.cancel_operation = false; this.commit_progress_bar.Value = 0; this.commit_progress_bar.Minimum = 0; this.commit_progress_bar.Maximum = 100; var model = files; this._treeList.Model = model; }