示例#1
0
 public UploadFileControl(MessageUploadFileModel model)
 {
     InitializeComponent();
     Model = model;
     Load();
     UploadFileAsync();
 }
 public void Load(MessageUploadFileModel model)
 {
     if (model != null)
     {
         Model = model.ConvertToMessageFileModel();
         Load();
     }
 }
示例#3
0
 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);
 }
示例#5
0
 public Upload_file_usercontrol(MessageUploadFileModel model)
 {
     InitializeComponent();
     Model = model;
     UploadFileAsync();
 }