Example #1
0
 void daInfoSave_SaveEnCompleted(object sender, FF.SaveEnCompletedEventArgs e)
 {
     if (e.Result.Contains("Err"))
     {
         MessageBox.Show(e.Result, "保存错误", MessageBoxButton.OK);
         return;
     }
     MessageBox.Show("单条记录保存成功", "保存提示", MessageBoxButton.OK);
 }
        void daSaveFile_SaveEnCompleted(object sender, FF.SaveEnCompletedEventArgs e)
        {
            if (e.Result.Contains("Err"))
            {
                MessageBox.Show(e.Result, "Error", MessageBoxButton.OK);
                return;
            }

            if (this.HisBPAttachment == null)
            {
                this.HisBPAttachment = new BPAttachment();
            }

            this.HisBPAttachment.Label      = this.TB_Name.Text;
            this.HisBPAttachment.Exts       = this.TB_Exts.Text;
            this.HisBPAttachment.IsDelete   = (bool)this.CB_IsDelete.IsChecked;
            this.HisBPAttachment.IsDownload = (bool)this.CB_IsDownload.IsChecked;
            this.HisBPAttachment.IsUpload   = (bool)this.CB_IsUpload.IsChecked;
            this.HisBPAttachment.SaveTo     = this.TB_SaveTo.Text;
            MessageBox.Show("保存成功.", "Save OK", MessageBoxButton.OK);
            this.DialogResult = true;
        }
Example #3
0
 void da_SaveEnCompleted(object sender, FF.SaveEnCompletedEventArgs e)
 {
     MessageBox.Show("保存成功.");
     this.DialogResult = true;
 }
Example #4
0
 void da_SaveEnCompleted(object sender, FF.SaveEnCompletedEventArgs e)
 {
     this.DialogResult = true;
 }