You can add a PIM action to a control to integrate the control with a Windows Mobile PIM application.
To add a PIM attribute to a control:
[Sybase.UnwiredPlatform.Windows.Forms.CustomAttributes.PIMLogicalTypeAttribute ("Contact","FirstName")] private Sybase.UnwiredPlatform.Windows.Forms.TextBox editbox4; [Sybase.UnwiredPlatform.Windows.Forms.CustomAttributes.PIMLogicalTypeAttribute ("Contact","LastName")] private Sybase.UnwiredPlatform.Windows.Forms.TextBox editbox6;
To add a PIM action in the control event handler:
Sybase.UnwiredPlatform.Windows.Action.Action action0 = new Sybase.UnwiredPlatform.Windows.Action.PimAction ((this.Form as FormBase),"Contact",true,"Display"); action0.Execute();