You can cancel attaching of C1ApplicationZoom by using C1ApplicationZoom.Attaching event. Following code excludes Form2 when the project has Form1 and Form2, and Form1 has C1ApplicationZoom.
[C#]
private void c1Application_Attaching(object sender, C1ZoomAttachedEventArgs e) { if(e.Form is Form2) { e.Cancel = true; // Form2 is excluded } } |
[Visual Basic]
Imports C1.Win.TouchToolKit
Private Sub C1ApplicationZoom1_C1ZoomAttaching(sender As System.Object, e As C1ZoomAttachingEventArgs) Handles C1ApplicationZoom1.C1ZoomAttaching If TypeOf e.Form Is Form2 Then e.Cancel = True End If End Sub |