Hello,
I just created a docker in visual studio.
I have attached something with Page.Properties that displays in docker.
but how can i refresh docker when user change page in coreldraw.
I have find document.pagechange or pageactivate event but don't know how to use.
please guide me.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
public DockerUI(corel.Application app) { this.corelApp = app; InitializeComponent(); foreach (corel.Document doc in app.Documents) { RegistryPageEvent(doc); } app.DocumentOpen += (doc,name) => { RegistryPageEvent(doc); }; app.DocumentNew += (doc, t, T, G) => { RegistryPageEvent(doc); }; } void RegistryPageEvent(corel.Document doc) { doc.PageChange += (p) => { //Do somethings global::System.Windows.MessageBox.Show(p.Name); }; }
Please, how did you present your code in that nice appearance? I am new in that forum and I have just tried what I used in other forums...
Do you use 'rich formatting'?
Is there a possibility to preview your reply before posting it?
[code]
/test
[/code]
I just tried that and I do not know how it will show...