[Wixedit-commits] wixedit/src DesignerForm.cs,1.6,1.7 DialogGenerator.cs,1.25,1.26
Project moved to Github: https://github.com/WixEdit/WixEdit
Brought to you by:
jaykee
From: Jasper K. <ja...@us...> - 2006-05-30 09:39:36
|
Update of /cvsroot/wixedit/wixedit/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv13112/src Modified Files: DesignerForm.cs DialogGenerator.cs Log Message: Improved undo to edit in dialog editor and slightly optimized rendering of dialog editor. Index: DesignerForm.cs =================================================================== RCS file: /cvsroot/wixedit/wixedit/src/DesignerForm.cs,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** DesignerForm.cs 1 May 2006 10:05:39 -0000 1.6 --- DesignerForm.cs 30 May 2006 09:39:27 -0000 1.7 *************** *** 40,43 **** --- 40,44 ---- public class DesignerForm : Form { Hashtable controlMap; + WixFiles wixFiles; string selectedNodeId; *************** *** 45,50 **** public event DesignerFormItemHandler SelectionChanged; ! public DesignerForm() { controlMap = new Hashtable(); } --- 46,52 ---- public event DesignerFormItemHandler SelectionChanged; ! public DesignerForm(WixFiles wixFiles) { controlMap = new Hashtable(); + this.wixFiles = wixFiles; } *************** *** 84,88 **** public void AddControl(XmlNode controlDefinition, Control control) { ! SelectionOverlay overlay = new SelectionOverlay(control, controlDefinition); Controls.Add(overlay); --- 86,90 ---- public void AddControl(XmlNode controlDefinition, Control control) { ! SelectionOverlay overlay = new SelectionOverlay(control, controlDefinition, wixFiles); Controls.Add(overlay); Index: DialogGenerator.cs =================================================================== RCS file: /cvsroot/wixedit/wixedit/src/DialogGenerator.cs,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** DialogGenerator.cs 28 Mar 2006 18:05:37 -0000 1.25 --- DialogGenerator.cs 30 May 2006 09:39:27 -0000 1.26 *************** *** 97,101 **** int parentHwnd; public DesignerForm GenerateDialog(XmlNode dialog, Control parent) { ! DesignerForm newDialog = new DesignerForm(); parentHwnd = (int)parent.Handle; --- 97,101 ---- int parentHwnd; public DesignerForm GenerateDialog(XmlNode dialog, Control parent) { ! DesignerForm newDialog = new DesignerForm(wixFiles); parentHwnd = (int)parent.Handle; |