Changeset 1063
- Timestamp:
- Jan 9, 2011, 7:19:07 AM (14 years ago)
- Location:
- BMXNET_RPMS_dotNET_UTILITIES-BMX/trunk/cs/bmx_0200scr/BMX2/BMXNet
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
BMXNET_RPMS_dotNET_UTILITIES-BMX/trunk/cs/bmx_0200scr/BMX2/BMXNet/BMXNet.csproj
r1012 r1063 76 76 <ConfigurationOverrideFile> 77 77 </ConfigurationOverrideFile> 78 <DefineConstants> DEBUG;TRACE</DefineConstants>78 <DefineConstants>TRACE;DEBUG</DefineConstants> 79 79 <DocumentationFile> 80 80 </DocumentationFile> -
BMXNET_RPMS_dotNET_UTILITIES-BMX/trunk/cs/bmx_0200scr/BMX2/BMXNet/BMXNetConnectInfo.cs
r923 r1063 96 96 set 97 97 { 98 // Debug.Write("ConnectInfo handle: " + this.Handle.ToString() + "\n");99 //System.IntPtr pHandle = this.Handle;100 98 m_timerEvent.Enabled = value; 101 99 } … … 245 243 if (BMXNetEvent != null) 246 244 { 245 Debug.Write("BMXNet AutoFire event raised from BMXNetConnectInfo"); 247 246 BMXNetEvent(obj, args); 248 247 } … … 905 904 Debug.Write(ex.Message); 906 905 //MessageBox.Show(ex.Message, "RPMS Login Error", MessageBoxButtons.OK, MessageBoxIcon.Error); 907 throw new Exception(ex.Message);;906 throw ex; 908 907 } 909 908 }while ((bStop == DialogResult.OK) && (m_BMXNetLib.Connected == false)); -
BMXNET_RPMS_dotNET_UTILITIES-BMX/trunk/cs/bmx_0200scr/BMX2/BMXNet/BMXNetLib.cs
r970 r1063 807 807 catch (Exception ex) 808 808 { 809 string s = ex.Message + ex.StackTrace;810 throw new BMXNetException(s);809 //string s = ex.Message + ex.StackTrace; 810 throw new BMXNetException(ex.Message, ex); 811 811 } 812 812 } … … 1106 1106 Debug.Write("TransmitRPC Received: " + strResult.Replace((char) 30, (char) 10) + "\n"); 1107 1107 TimeSpan executionTime = receiveTime - sendTime; 1108 Debug.Write("Execution Time: " + executionTime.Milliseconds + " ms.\n"); 1108 Debug.Write("Execution Time: " + executionTime.TotalMilliseconds + " ms.\n"); 1109 Debug.Write("-------------------------------------------------------\n"); 1109 1110 #endif 1110 1111 if (sOldAppContext != "") -
BMXNET_RPMS_dotNET_UTILITIES-BMX/trunk/cs/bmx_0200scr/BMX2/BMXNet/DSelectDivision.cs
r967 r1063 130 130 this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; 131 131 this.Text = "Select Division"; 132 this.Load += new System.EventHandler(this.DSelectDivision_Load); 132 133 this.pnlPageBottom.ResumeLayout(false); 133 134 this.pnlDescription.ResumeLayout(false); … … 241 242 } 242 243 244 private void DSelectDivision_Load(object sender, EventArgs e) 245 { 246 this.Activate(); 247 } 248 243 249 244 250 }
Note:
See TracChangeset
for help on using the changeset viewer.