Ignore:
Timestamp:
Jan 9, 2011, 7:19:07 AM (15 years ago)
Author:
Sam Habiel
Message:

BMXNetConnectInfo:
Pass up BMXNetException instead of recreating it as a new generic Exception; for more accurate error catching.
W32Handle for class not acquired. Don't even know why we needed that.
DSelectDivision:
Load event now has this.Activate to bring the window to the front. Needed b/c of new splash screen in Sched GUI which will show up front unless this form is activated.
BMXNetLib:
Better handling of exception in OpenConnectionCommon (pass inner exception when creating BMXNetException.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BMXNET_RPMS_dotNET_UTILITIES-BMX/trunk/cs/bmx_0200scr/BMX2/BMXNet/BMXNetConnectInfo.cs

    r923 r1063  
    9696                        set
    9797                        {
    98 //                              Debug.Write("ConnectInfo handle: " + this.Handle.ToString() + "\n");
    99                                 //System.IntPtr pHandle = this.Handle;
    10098                                m_timerEvent.Enabled = value;
    10199                        }
     
    245243                                                if (BMXNetEvent != null)
    246244                                                {
     245                            Debug.Write("BMXNet AutoFire event raised from BMXNetConnectInfo");
    247246                                                        BMXNetEvent(obj, args);
    248247                                                }
     
    905904                                                                Debug.Write(ex.Message);
    906905                                                                //MessageBox.Show(ex.Message, "RPMS Login Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
    907                                 throw new Exception(ex.Message); ;
     906                                throw ex;
    908907                                                        }
    909908                                                }while ((bStop == DialogResult.OK) && (m_BMXNetLib.Connected == false));
Note: See TracChangeset for help on using the changeset viewer.