public SettingConfigForm() { // prevent user from changing form size this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.MaximizeBox = false; xmlClient = Program.globalCom.xmlClient; //Initializes a new instance of AgileSoftware.Developer.ASXMLClient class. xmlStation = Program.globalCom.xmlStation; //Initializes a new instance of AgileSoftware.Developer.ASXMLStation class. InitializeComponent(); buildEventHandlers(); //Configures Log File XmlConfigurator.Configure(); xmlClient.LogTraceToFile = true; xmlClient.TraceFilePathName = "XmlLogEntries.log"; log.Info("Initialized Voice Handling Application"); //Sets default values to ComboBox cmbType //cmbType.Items.Add("Blind"); //cmbType.Items.Add("Consult"); //cmbType.Text = cmbType.Items[0].ToString(); }
public VoiceCallForm() { // prevent user from changing form size this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.MaximizeBox = false; xmlClient = new ASXMLClient(); //Initializes a new instance of AgileSoftware.Developer.ASXMLClient class. xmlStation = new ASXMLStation(); //Initializes a new instance of AgileSoftware.Developer.ASXMLStation class. InitializeComponent(); if (Program.globalCom.Connected) { btnLogout.Enabled = true; //Configures Log File XmlConfigurator.Configure(); xmlClient.LogTraceToFile = true; xmlClient.TraceFilePathName = "XmlLogEntries.log"; log.Info("Initialized Voice Handling Application"); } buildEventHandlers(); }