public void BeginInit() { //if (!DesignMode) //{ // try // { // // Nothing needs to be done before component is initialized. // } // catch // { // // Prevent the IDE from crashing when component is in design mode. // } //} }