示例#1
0
        protected void OnFinished(FinishedWizardEventArgs <T> e)
        {
            EventHandler <FinishedWizardEventArgs <T> > handler = Finished;

            if (handler != null)
            {
                handler(this, e);
            }
        }
 private void buildIndexWizardViewModel_Finished(object sender, FinishedWizardEventArgs <BuildIndexViewModel> e)
 {
     if (!buildIndexWizardViewModel.IsBatchTask)
     {
         buildIndexWizardViewModel.Execute();
     }
     else
     {
         Close();
     }
 }
 private void geocoderWizardViewModel_Finished(object sender, FinishedWizardEventArgs <GeocoderWizardSharedObject> e)
 {
     if (!String.IsNullOrEmpty(geocoderWizardViewModel.TargetObject.OutputFilePath))
     {
         geocoderWizardViewModel.Execute();
         DialogResult = true;
     }
     else
     {
         System.Windows.Forms.MessageBox.Show(GisEditor.LanguageManager.GetStringResource("GeocoderWizardWindowCannotNullMessage"), "Warning");
     }
 }
示例#4
0
 private void viewModel_Finished(object sender, FinishedWizardEventArgs <ExplodeWizardShareObject> e)
 {
     DialogResult = true;
 }
示例#5
0
 private void ViewModel_Finished(object sender, FinishedWizardEventArgs <BufferWizardShareObject> e)
 {
     DialogResult = true;
 }
示例#6
0
 private void clipWizardViewModel_Finished(object sender, FinishedWizardEventArgs <ClippingWizardSharedObject> e)
 {
     DialogResult = true;
 }
示例#7
0
 private void BindingSource_Finished(object sender, FinishedWizardEventArgs <DissolveWizardShareObject> e)
 {
     DialogResult = true;
 }
 private void Finished(object sender, FinishedWizardEventArgs <StyleWizardSharedObject> e)
 {
     this.StyleWizardResult.StylePlugin = viewModel.TargetObject.ResultStylePlugin;
     DialogResult = true;
     Close();
 }
示例#9
0
 private void ViewModel_Finished(object sender, FinishedWizardEventArgs <ExportWizardShareObject> e)
 {
     ViewModel.Execute();
     DialogResult = true;
 }
示例#10
0
 private void ReprojectionWizardViewModel_Finished(object sender, FinishedWizardEventArgs <ReprojectionShareObject> e)
 {
     DialogResult = true;
 }