コード例 #1
0
        //----------------------------------------------------------
        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);
        }
コード例 #2
0
        //--------------------------------------------------------------------------------------------------------------------------------------------------------------
        public UserControl1(UIApplication _uiapp)
        {
            InitializeComponent();
            uiapp = _uiapp;
            uidoc = uiapp.ActiveUIDocument;
            doc   = uidoc.Document;

            my_update = new E_Update();
            e_update  = ExternalEvent.Create(my_update);


            Function_Dau_Vao();
        }
コード例 #3
0
 //----------------------------------------------------------
 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);
 }
コード例 #4
0
 public void UpdateInfo(E_Update updateData)
 {
     //if (updateData == E_Update.Default)
     //{
     //    return;
     //}
     //if ((E_Update.RoomCard & updateData) == E_Update.RoomCard)//更新房卡
     //{
     //    UpdateRoomCardInfo();
     //}
     //else if ((E_Update.Gold & updateData) == E_Update.Gold)//更新金币
     //{
     //    UpdateGoldInfo();
     //}
     //else if ((E_Update.Email & updateData) == E_Update.Email)//更新邮件提示
     //{
     //    UpdateEmailInfo();
     //}
     //else if ((E_Update.Head & updateData) == E_Update.Head)//更新头像图片
     //{
     //    UpdateHeadImg();
     //}
 }