public UploadFileControl(MessageUploadFileModel model) { InitializeComponent(); Model = model; Load(); UploadFileAsync(); }
public void Load(MessageUploadFileModel model) { if (model != null) { Model = model.ConvertToMessageFileModel(); Load(); } }
public void Load(MessageUploadFileModel model) { if (model != null) { PictureImage.Source = new BitmapImage(new Uri(model.FilePath)); Loading.Visibility = Visibility.Hidden; } }
public MessageFileControl(MessageUploadFileModel model) { InitializeComponent(); Load(model); }
public Upload_file_usercontrol(MessageUploadFileModel model) { InitializeComponent(); Model = model; UploadFileAsync(); }