コード例 #1
0
 public void Commit()
 {
     if (this.annotationsOptionsModel == null)
     {
         return;
     }
     this.configurationObject.Clear();
     this.annotationsOptionsModel.Save(this.configurationObject);
     this.annotationsOptionsModel   = (AnnotationsOptionsModel)null;
     this.annotationsOptionsControl = (AnnotationsOptionsControl)null;
     this.Apply();
 }
コード例 #2
0
 public void Cancel()
 {
     this.annotationsOptionsModel   = (AnnotationsOptionsModel)null;
     this.annotationsOptionsControl = (AnnotationsOptionsControl)null;
 }
コード例 #3
0
 public AnnotationsOptionsControl(AnnotationsOptionsModel options)
 {
     this.DataContext = (object)options;
     this.InitializeComponent();
 }