//----------------------------------------------------------
        void register_external()
        {
            my_create = new E_Create();
            e_create  = ExternalEvent.Create(my_create);

            my_delete = new E_Delete();
            e_delete  = ExternalEvent.Create(my_delete);

            my_update = new E_Update();
            e_update  = ExternalEvent.Create(my_update);
        }
 //----------------------------------------------------------
 void register_external()
 {
     my_create          = new E_Create();
     e_create           = ExternalEvent.Create(my_create);
     my_update          = new E_Update();
     e_update           = ExternalEvent.Create(my_update);
     my_delete          = new E_Delete();
     e_delete           = ExternalEvent.Create(my_delete);
     my_create_by_excel = new E_CreateByExcel();
     e_create_by_excel  = ExternalEvent.Create(my_create_by_excel);
     my_change_factor   = new E_ChangeFactor();
     e_change_factor    = ExternalEvent.Create(my_change_factor);
 }