Print Page | Close Window

Why static?

Printed From: Way2call Communications
Category: Hi-Phone Software Development Kit (SDK)
Forum Name: Hi-Phone and .NET
Forum Description: Discussion on the Hi-Phone product family, its .NET interface, samples and development tools
URL: http://www.way2call.com/forum/forum_posts.asp?TID=110
Printed Date: Apr 24 2024 at 12:55pm


Topic: Why static?
Posted By: samuele
Subject: Why static?
Date Posted: Mar 23 2011 at 5:32am
I was wondering why the driver object has to be static (or Shared in VB.NET). Is there any particular reason? I suppose that's the way it is to avoid having more than 1 instance at the same time, but how do I interact with form elements (buttons, labels...) then? Static events won't let me modify local vars.

Samuele



Print Page | Close Window