private void Add() { var openDialog = new OpenFileDialog { Multiselect = false, Filter = "Все файлы|*.*" }; if (openDialog.ShowDialog() == DialogResult.OK) { _requestService.AddAttachmentToRequest(_requestId, openDialog.FileName); Refresh(); } }
private void Add() { var openDialog = new OpenFileDialog { Multiselect = false, Filter = "Все файлы|*.*" }; if (openDialog.ShowDialog() == DialogResult.OK) { _requestService.AddAttachmentToRequest(_requestId, openDialog.FileName); Refresh(); } }