Inheritance: IFileSavePickerActivatedEventArgs, IActivatedEventArgs
示例#1
0
 internal void Activate(FileSavePickerActivatedEventArgs args)
 {
     fileSavePickerUI = args.FileSavePickerUI;
     Window.Current.Content = this;
     this.OnNavigatedTo(null);
     Window.Current.Activate();
 }
示例#2
0
        protected void OnFilePickerActivated(FileSavePickerActivatedEventArgs args)
        {
            App.FilePickerArgs = args;

            var page = new MainPage();

            Window.Current.Content = page;
            Window.Current.Activate();

            page.SetView(ViewType.FilePicker);
        }
示例#3
0
 protected override async void OnFileSavePickerActivated(FileSavePickerActivatedEventArgs args) { await InternalActivatedAsync(args); }
示例#4
0
文件: App.xaml.cs 项目: mbin/Win81App
 protected override void OnFileSavePickerActivated(FileSavePickerActivatedEventArgs args)
 {
     var FileSavePickerPage = new SDKTemplate.FileSavePickerPage();
     FileSavePickerPage.Activate(args);
 }
 protected override void OnFileSavePickerActivated(FileSavePickerActivatedEventArgs args)
 {
     base.OnFileSavePickerActivated(args);
     Activate(args);
 }
 protected virtual Task OnFileSavePickerStartAsync(FileSavePickerActivatedEventArgs args, AppStartInfo info)
 {
     return Task.FromResult<object>(null);
 }
 protected override sealed async void OnFileSavePickerActivated(FileSavePickerActivatedEventArgs args)
 {
     AppStartInfo info = AppStartInfo.Default;
     await this.OnPreStartAsync(args, info);
     await this.OnFileSavePickerStartAsync(args, info);
     this.InternalStartAsync(args, info);
 }
 protected sealed override async void OnFileSavePickerActivated(FileSavePickerActivatedEventArgs args) { await Activated(args); } 
示例#9
0
        protected override void OnFileSavePickerActivated(Windows.ApplicationModel.Activation.FileSavePickerActivatedEventArgs args)
        {
            var fileSavePickerPage = new FileSavePickerPage();

            fileSavePickerPage.Activate(args);
        }