public ClientForm() { InitializeComponent(); DBHelper.ConnectionString = "Server=RD01;Database=LiveSupport;User ID=sa;Password=;Trusted_Connection=False"; RemotingConfiguration.Configure(AppDomain.CurrentDomain.SetupInformation.ConfigurationFile, false); obj2 = (IOperatorServer)Activator.GetObject(typeof(IOperatorServer), "http://localhost:3355/livechat/OperatorServer.rem"); timer.Tick += new EventHandler(timer_Tick); timer.Interval = 1000000; }
public ClientForm() { InitializeComponent(); DBHelper.ConnectionString = "Server=RD01;Database=LiveSupport;User ID=sa;Password=;Trusted_Connection=False"; RemotingConfiguration.Configure(AppDomain.CurrentDomain.SetupInformation.ConfigurationFile, false); obj2= (IOperatorServer)Activator.GetObject(typeof(IOperatorServer), "http://localhost:3355/livechat/OperatorServer.rem"); timer.Tick += new EventHandler(timer_Tick); timer.Interval = 1000000; }