equal
deleted
inserted
replaced
51 this.InitializeComponent(); |
51 this.InitializeComponent(); |
52 |
52 |
53 // Insert code required on object creation below this point. |
53 // Insert code required on object creation below this point. |
54 } |
54 } |
55 |
55 |
56 public UserControlUserPanel(int idPar, Color col, Cutting cut, string path) |
56 public UserControlUserPanel(int idPar, Color col, CuttingViewModel cutVMPar, string path) |
57 { |
57 { |
58 this.InitializeComponent(); |
58 this.InitializeComponent(); |
59 id = idPar; |
59 id = idPar; |
60 //_Project = p; |
60 //_Project = p; |
61 this.UserControlSyncSource.Load(path, col, cut); |
61 cutVM = cutVMPar; |
|
62 this.UserControlSyncSource.Load(path, col, cutVM); |
62 UserControlSyncSource.OnSuccessAnnotation+=new EventHandler(UserControlSyncSource_OnSuccessAnnotation); |
63 UserControlSyncSource.OnSuccessAnnotation+=new EventHandler(UserControlSyncSource_OnSuccessAnnotation); |
63 //SAR -Contact Down event for TAG Control |
64 //SAR -Contact Down event for TAG Control |
64 InitializeDefinitions(); |
65 InitializeDefinitions(); |
65 } |
66 } |
66 |
67 |