예제 #1
0
 public FrmCommonSide(CommonSideRectangleModel commonSideRectangleModel) : this()
 {
     this.Model = CopyUtil.DeepCopy(commonSideRectangleModel);
     if (!this.mvvmContext1.IsDesignMode)
     {
         if (this.Model == null)
         {
             this.Model = new CommonSideRectangleModel();
         }
         this.mvvmContext1.SetViewModel(typeof(CommonSideRectangleModel), this.Model);
         this.InitializeBindings();
     }
 }
예제 #2
0
 public void OnCommonSide(CommonSideRectangleModel commonSideRectangleModel)
 {
     this.drawingComponent1.DoCommonSide(commonSideRectangleModel);
 }