CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: how to create an event for enum type value changed?

Threaded View

  1. #1
    Join Date
    Jun 2009
    Posts
    16

    Question [resolved]how to create an event for enum type value changed?

    i creating an user control library , vs 2008, .net framework3.5,

    how can i add a event trigger for an enum type?

    Code:
            public enum period_type { Text, TrackBar };
    
            private period_type period_type_selected;
    
            public period_type Period_Type_Select { get { return period_type_selected; } set { period_type_selected = value; } }
    how can i set the event when period_type_selected has changed? is it possible?

    thx
    chan
    Last edited by Chan1314; September 27th, 2009 at 10:25 PM. Reason: resolved

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)