If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

I have received a bunch of PMs this past week about Supporting Memberships. Due to that I wanted to put a notice for all to see should they be interested.
You can learn more about Supporting Memberships by Clicking Here

Re: Vixen 2.x SetupDialog help needed

Since you are doing an either or situation what I would do is in your setup dialog also have a bool member such as bool m_serialSelected. In each of your buttons you would set that accordingly. The you would also set up a property:
public CheckIfSerialPort
{
get {return m_serialSelected}
}

Then in your main program you would have a global bool _serialSelected. In the Setup() routine you can set this member using your property(_serialSelected = CheckIfSerialPort)

You could then set up an if_then_else statement using that to return the desired HardwareMap.