public RelocationForm(List <RelocateList> relocateList) { InitializeComponent(); TreeviewUtil.LoadPersonalFolder(tvFolder, GlobalService.User); _relocateList = relocateList; }
public CopyForm(List <CopyFileList> list) { InitializeComponent(); TreeviewUtil.LoadPersonalFolder(tvFolder, GlobalService.User); this.AddData(list); }
public DocumentForm(List <UploadFileList> uploadList, string defaultPath) { InitializeComponent(); TreeviewUtil.LoadPersonalFolder(tvFolder, GlobalService.User); string division = GlobalService.Division; /*if (defaultPath.StartsWith(@"\Documents\" + division) || defaultPath.StartsWith(@"\Documents\Common") || defaultPath.StartsWith(@"\Documents\23600")) * _defaultPath = defaultPath.Substring(10); * else*/ _defaultPath = defaultPath; this.AddData(uploadList, _defaultPath); //Debug.WriteLine(_defaultPath); cbAutoDelete.SelectedIndex = 0; dgvDocSetup.AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.AllCells; dgvDocSetup.DefaultCellStyle.WrapMode = DataGridViewTriState.True; }