コード例 #1
0
                                                                                                                     

 protected override void Dispose(bool disposing) 

                                                                                                                     {
                                                                                                                         
 base.Dispose(disposing); 
            if (disposing)

                                                                                                                         {
                                                                                                                             
            {
                                                                                                                                 
 shape?.Dispose(); 
 shape = null; 

 ResignActiveNotification?.Dispose(); 
 ResignActiveNotification = null; 

 FirstTapInitiatedAction = null; 

 Timer?.Stop(); 
 Timer?.Dispose(); 
 Timer = null; 

                                                                                                                             }
                                                                                                                         }
                                                                                                                         

                                                                                                                     }