[NUI] Fix build warnings: delete obsolete warnings 72/152172/3
authorhuiyu,eun <huiyu.eun@samsung.com>
Mon, 25 Sep 2017 07:42:33 +0000 (16:42 +0900)
committerhuiyu,eun <huiyu.eun@samsung.com>
Tue, 26 Sep 2017 04:37:11 +0000 (13:37 +0900)
warnings : CS0618
  - https://docs.microsoft.com/ko-kr/dotnet/csharp/language-reference/compiler-messages/cs0618

Change 'Obsolete' keyword to 'EditorBrowsable'
If you have classes or methods that you don't want to open to public developers,
you can hide them from the API reference and IntelliSense using the EditorBrowsableAttribute with EditorBrowsableState.Never.
  ->guide : https://msdn.microsoft.com/ko-kr/library/system.componentmodel.editorbrowsableattribute(v=vs.110).aspx

Change-Id: I3ae939c83240b5a119fb0aa1724627068c8c308a
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
20 files changed:
src/Tizen.NUI/src/internal/ActivatedSignalType.cs
src/Tizen.NUI/src/internal/ConnectionTrackerInterface.cs
src/Tizen.NUI/src/internal/ImfEventSignalType.cs
src/Tizen.NUI/src/internal/ImfVoidSignalType.cs
src/Tizen.NUI/src/internal/SWIGTYPE_p_CallbackBase.cs
src/Tizen.NUI/src/internal/SWIGTYPE_p_Dali__CallbackBase.cs
src/Tizen.NUI/src/internal/SWIGTYPE_p_Dali__FunctorDelegate.cs
src/Tizen.NUI/src/internal/SignalObserver.cs
src/Tizen.NUI/src/internal/Size.cs
src/Tizen.NUI/src/internal/SlotObserver.cs
src/Tizen.NUI/src/internal/StatusSignalType.cs
src/Tizen.NUI/src/internal/Uint16Pair.cs
src/Tizen.NUI/src/internal/ViewWrapperImpl.cs
src/Tizen.NUI/src/public/BaseComponents/View.cs
src/Tizen.NUI/src/public/CustomView/Spin.cs
src/Tizen.NUI/src/public/FocusManager.cs
src/Tizen.NUI/src/public/ImfManager.cs
src/Tizen.NUI/src/public/Layer.cs
src/Tizen.NUI/src/public/VisualFactory.cs
src/Tizen.NUI/src/public/Window.cs

index 2ae0e6c..9bba695 100755 (executable)
 */
 using System;
 using System.Runtime.InteropServices;
+using System.ComponentModel;
 
 namespace Tizen.NUI
 {
-    [Obsolete("Please do not use! this will be deprecated")]
+    //Please do not use! this will be deprecated
+    [EditorBrowsable(EditorBrowsableState.Never)]
     public class ActivatedSignalType : global::System.IDisposable
     {
         private global::System.Runtime.InteropServices.HandleRef swigCPtr;
index 3505e46..a9e3c3e 100755 (executable)
 */
 using System;
 using System.Runtime.InteropServices;
+using System.ComponentModel;
 
 namespace Tizen.NUI
 {
-    [Obsolete("Please do not use! this will be internal")]
+    //Please do not use! this will be internal
+    [EditorBrowsable(EditorBrowsableState.Never)]
     public class ConnectionTrackerInterface : SignalObserver
     {
         private global::System.Runtime.InteropServices.HandleRef swigCPtr;
index 722e7a3..34a15fe 100755 (executable)
 */
 using System;
 using System.Runtime.InteropServices;
+using System.ComponentModel;
 
 namespace Tizen.NUI
 {
-    [Obsolete("Please do not use! this will be deprecated")]
+    //Please do not use! this will be deprecated
+    [EditorBrowsable(EditorBrowsableState.Never)]
     public class ImfEventSignalType : global::System.IDisposable
     {
         private global::System.Runtime.InteropServices.HandleRef swigCPtr;
index ca6851c..ae0cefc 100755 (executable)
 */
 using System;
 using System.Runtime.InteropServices;
+using System.ComponentModel;
 
 namespace Tizen.NUI
 {
-    [Obsolete("Please do not use! this will be internal")]
+    //Please do not use! this will be internal
+    [EditorBrowsable(EditorBrowsableState.Never)]
     public class ImfVoidSignalType : global::System.IDisposable
     {
         private global::System.Runtime.InteropServices.HandleRef swigCPtr;
index 9413739..31de03c 100755 (executable)
@@ -9,10 +9,12 @@
 //------------------------------------------------------------------------------
 using System;
 using System.Runtime.InteropServices;
+using System.ComponentModel;
 
 namespace Tizen.NUI
 {
-    [Obsolete("Please do not use! this will be internal")]
+    //Please do not use! this will be internal
+    [EditorBrowsable(EditorBrowsableState.Never)]
     public class SWIGTYPE_p_CallbackBase
     {
         private global::System.Runtime.InteropServices.HandleRef swigCPtr;
index 0030697..abd8b57 100755 (executable)
@@ -9,10 +9,12 @@
 //------------------------------------------------------------------------------
 using System;
 using System.Runtime.InteropServices;
+using System.ComponentModel;
 
 namespace Tizen.NUI
 {
-    [Obsolete("Please do not use! this will be internal")]
+    //Please do not use! this will be internal
+    [EditorBrowsable(EditorBrowsableState.Never)]
     public class SWIGTYPE_p_Dali__CallbackBase
     {
         private global::System.Runtime.InteropServices.HandleRef swigCPtr;
index 33d505a..c14a721 100755 (executable)
@@ -9,10 +9,12 @@
 //------------------------------------------------------------------------------
 using System;
 using System.Runtime.InteropServices;
+using System.ComponentModel;
 
 namespace Tizen.NUI
 {
-    [Obsolete("Please do not use! this will be internal")]
+    //"Please do not use! this will be internal"
+    [EditorBrowsable(EditorBrowsableState.Never)]
     public class SWIGTYPE_p_Dali__FunctorDelegate
     {
         private global::System.Runtime.InteropServices.HandleRef swigCPtr;
index 2e98240..ef47896 100755 (executable)
 */
 using System;
 using System.Runtime.InteropServices;
+using System.ComponentModel;
+
 
 namespace Tizen.NUI
 {
-    [Obsolete("Please do not use! this will be internal")]
+    //Please do not use! this will be internal
+    [EditorBrowsable(EditorBrowsableState.Never)]
     public class SignalObserver : global::System.IDisposable
     {
         private global::System.Runtime.InteropServices.HandleRef swigCPtr;
index 9b66384..daa1951 100755 (executable)
  */
 
 using System;
+using System.ComponentModel;
 
 namespace Tizen.NUI
 {
-
-    [Obsolete("Please do not use! This will be changed to internal class")]
+    //Please do not use! This will be changed to internal class
+    [EditorBrowsable(EditorBrowsableState.Never)]
     public class Size : global::System.IDisposable
     {
         private global::System.Runtime.InteropServices.HandleRef swigCPtr;
index 9b034fe..b008646 100755 (executable)
 */
 using System;
 using System.Runtime.InteropServices;
+using System.ComponentModel;
 
 namespace Tizen.NUI
 {
-    [Obsolete("Please do not use! this will be internal")]
+    //Please do not use! this will be internal
+    [EditorBrowsable(EditorBrowsableState.Never)]
     public class SlotObserver : global::System.IDisposable
     {
         private global::System.Runtime.InteropServices.HandleRef swigCPtr;
index 6e2dd51..8eaed33 100755 (executable)
 */
 using System;
 using System.Runtime.InteropServices;
+using System.ComponentModel;
 
 namespace Tizen.NUI
 {
-    [Obsolete("Please do not use! this will be deprecated")]
+    //Please do not use! this will be deprecated
+    [EditorBrowsable(EditorBrowsableState.Never)]
     public class StatusSignalType : global::System.IDisposable
     {
         private global::System.Runtime.InteropServices.HandleRef swigCPtr;
index c2d201f..f04ecd3 100755 (executable)
 */
 
 using System;
+using System.ComponentModel;
 
 namespace Tizen.NUI
 {
 
-    [Obsolete("Please do not use! this will be deprecated")]
+    //"Please do not use! this will be deprecated"
+    [EditorBrowsable(EditorBrowsableState.Never)]
     public class Uint16Pair : global::System.IDisposable
     {
         private global::System.Runtime.InteropServices.HandleRef swigCPtr;
index db0728a..4bbe9f4 100755 (executable)
@@ -607,8 +607,6 @@ namespace Tizen.NUI
         private DelegateViewWrapperImpl_36 Delegate36;
         private DelegateViewWrapperImpl_37 Delegate37;
         private DelegateViewWrapperImpl_38 Delegate38;
-        private DelegateViewWrapperImpl_39 Delegate39;
-        private DelegateViewWrapperImpl_40 Delegate40;
 
         public static readonly int VIEW_BEHAVIOUR_FLAG_COUNT = NDalicManualPINVOKE.ViewWrapperImpl_CONTROL_BEHAVIOUR_FLAG_COUNT_get();
     }
index e7f728b..61aafa9 100755 (executable)
@@ -43,7 +43,7 @@ namespace Tizen.NUI.BaseComponents
         /// <summary>
         /// Adds a child view to this view.
         /// </summary>
-        /// <seealso cref="Container.Add()">
+        /// <seealso cref="Container.Add">
         /// </seealso>
         public override void Add(View child)
         {
@@ -55,7 +55,7 @@ namespace Tizen.NUI.BaseComponents
         /// <summary>
         /// Removes a child view from this View. If the view was not a child of this view, this is a no-op.
         /// </summary>
-        /// <seealso cref="Container.Remove()">
+        /// <seealso cref="Container.Remove">
         /// </seealso>
         public override void Remove(View child)
         {
@@ -67,7 +67,7 @@ namespace Tizen.NUI.BaseComponents
         /// <summary>
         /// Retrieves a child view by index.
         /// </summary>
-        /// <seealso cref="Container.GetChildAt()">
+        /// <seealso cref="Container.GetChildAt">
         /// </seealso>
         public override View GetChildAt(uint index)
         {
@@ -83,7 +83,7 @@ namespace Tizen.NUI.BaseComponents
         /// <summary>
         /// Retrieves the number of children held by the view.
         /// </summary>
-        /// <seealso cref="Container.GetChildCount()">
+        /// <seealso cref="Container.GetChildCount">
         /// </seealso>
         protected override uint GetChildCount()
         {
@@ -118,7 +118,8 @@ namespace Tizen.NUI.BaseComponents
             return ret;
         }
 
-        [Obsolete("This is temporal API. Currently Parent returns View but Container class has been introduced so 'View Parent' will be changed 'Container Parent' later soon, then this will be removed")]
+        //This is temporal API. Currently Parent returns View but Container class has been introduced so 'View Parent' will be changed 'Container Parent' later soon, then this will be removed
+        [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
         public Container GetContainerParent()
         {
             return this.GetParent();
@@ -3472,7 +3473,7 @@ namespace Tizen.NUI.BaseComponents
         /// <summary>
         /// Get the number of children held by the view.
         /// </summary>
-        public uint ChildCount
+        public new uint ChildCount
         {
             get
             {
@@ -4079,8 +4080,9 @@ namespace Tizen.NUI.BaseComponents
             }
         }
 
-        [Obsolete("Please DO NOT use! This will be deprecated! Please use 'Container GetParent() for derived class' instead!")]
-        public View Parent
+        //"Please DO NOT use! This will be deprecated! Please use 'Container GetParent() for derived class' instead!"
+        [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
+        public new View Parent
         {
             get
             {
index ad1157b..83fd15f 100755 (executable)
@@ -40,8 +40,6 @@ namespace Tizen.NUI
         private int _maxValue;
         private int _singleStep;
         private bool _wrappingEnabled;
-        private string _fontFamily;
-        private string _fontStyle;
         private int _pointSize;
         private Color _textColor;
         private Color _textBackgroundColor;
index 1147ad4..90ad246 100755 (executable)
@@ -23,6 +23,7 @@ namespace Tizen.NUI
     using System;
     using System.Runtime.InteropServices;
     using Tizen.NUI.BaseComponents;
+    using System.ComponentModel;
 
     /// <summary>
     /// Provides the functionality of handling keyboard navigation and maintaining the two-dimensional keyboard focus chain.<br>
@@ -715,7 +716,8 @@ namespace Tizen.NUI
 
 
 
-        [Obsolete("Please do not use! this will be deprecated")]
+       //Please do not use! this will be deprecated
+       [EditorBrowsable(EditorBrowsableState.Never)]
         public class FocusedViewEnterKeyEventArgs : EventArgs
         {
             private View _view;
index 790b45e..a17c118 100755 (executable)
@@ -15,6 +15,7 @@
 */
 using System;
 using System.Runtime.InteropServices;
+using System.ComponentModel;
 
 namespace Tizen.NUI
 {
@@ -215,7 +216,8 @@ namespace Tizen.NUI
             /// <summary>
             /// The pre-edit or the commit string.
             /// </summary>
-            [Obsolete("Please do not use! this will be deprecated")]
+            //Please do not use! this will be deprecated
+            [EditorBrowsable(EditorBrowsableState.Never)]
             public string predictiveString
             {
                 set
@@ -252,7 +254,8 @@ namespace Tizen.NUI
             /// <summary>
             /// The name of the event from the IMF.
             /// </summary>
-            [Obsolete("Please do not use! this will be deprecated")]
+            //Please do not use! this will be deprecated
+            [EditorBrowsable(EditorBrowsableState.Never)]
             public ImfManager.ImfEvent eventName
             {
                 set
@@ -289,7 +292,8 @@ namespace Tizen.NUI
             /// <summary>
             /// The start position from the current cursor position to start deleting characters.
             /// </summary>
-            [Obsolete("Please do not use! this will be deprecated")]
+            //Please do not use! this will be deprecated
+            [EditorBrowsable(EditorBrowsableState.Never)]
             public int cursorOffset
             {
                 set
@@ -326,7 +330,8 @@ namespace Tizen.NUI
             /// <summary>
             /// The number of characters to delete from the cursorOffset.
             /// </summary>
-            [Obsolete("Please do not use! this will be deprecated")]
+            //Please do not use! this will be deprecated
+            [EditorBrowsable(EditorBrowsableState.Never)]
             public int numberOfChars
             {
                 set
@@ -485,7 +490,8 @@ namespace Tizen.NUI
             /// <summary>
             /// The current text string.
             /// </summary>
-            [Obsolete("Please do not use! this will be deprecated")]
+            //Please do not use! this will be deprecated
+            [EditorBrowsable(EditorBrowsableState.Never)]
             public string currentText
             {
                 set
@@ -522,7 +528,8 @@ namespace Tizen.NUI
             /// <summary>
             /// The current text string.
             /// </summary>
-            [Obsolete("Please do not use! this will be deprecated")]
+            //Please do not use! this will be deprecated
+            [EditorBrowsable(EditorBrowsableState.Never)]
             public int cursorPosition
             {
                 set
@@ -559,7 +566,8 @@ namespace Tizen.NUI
             /// <summary>
             /// If the cursor position needs to be updated.
             /// </summary>
-            [Obsolete("Please do not use! this will be deprecated")]
+            //Please do not use! this will be deprecated
+            [EditorBrowsable(EditorBrowsableState.Never)]
             public bool update
             {
                 set
@@ -596,7 +604,8 @@ namespace Tizen.NUI
             /// <summary>
             /// Flags if preedit reset is required.
             /// </summary>
-            [Obsolete("Please do not use! this will be deprecated")]
+            //Please do not use! this will be deprecated
+            [EditorBrowsable(EditorBrowsableState.Never)]
             public bool preeditResetRequired
             {
                 set
@@ -893,7 +902,8 @@ namespace Tizen.NUI
         /// <summary>
         /// ImfManager activated event arguments.
         /// </summary>
-        [Obsolete("Please do not use! this will be deprecated")]
+        //Please do not use! this will be deprecated
+        [EditorBrowsable(EditorBrowsableState.Never)]
         public class ImfManagerActivatedEventArgs : EventArgs
         {
             public ImfManager ImfManager
@@ -911,7 +921,8 @@ namespace Tizen.NUI
         /// <summary>
         /// ImfManager activated event.
         /// </summary>
-        [Obsolete("Please do not use! this will be deprecated")]
+        //Please do not use! this will be deprecated
+        [EditorBrowsable(EditorBrowsableState.Never)]
         public event EventHandler<ImfManagerActivatedEventArgs> ImfManagerActivated
         {
             add
@@ -1011,7 +1022,8 @@ namespace Tizen.NUI
         /// <summary>
         /// ImfManager activated signal.
         /// </summary>
-        [Obsolete("Please do not use! this will be internal")]
+        //Please do not use! this will be internal
+        [EditorBrowsable(EditorBrowsableState.Never)]
         public ActivatedSignalType ActivatedSignal()
         {
             ActivatedSignalType ret = new ActivatedSignalType(NDalicManualPINVOKE.ImfManager_ActivatedSignal(swigCPtr), false);
@@ -1022,7 +1034,8 @@ namespace Tizen.NUI
         /// <summary>
         /// ImfManager event received event arguments.
         /// </summary>
-        [Obsolete("Please do not use! this will be deprecated")]
+        //Please do not use! this will be deprecated
+        [EditorBrowsable(EditorBrowsableState.Never)]
         public class ImfManagerEventReceivedEventArgs : EventArgs
         {
             public ImfManager ImfManager
@@ -1039,7 +1052,8 @@ namespace Tizen.NUI
         /// <summary>
         /// ImfManager event received.
         /// </summary>
-        [Obsolete("Please do not use! this will be deprecated")]
+        //Please do not use! this will be deprecated
+        [EditorBrowsable(EditorBrowsableState.Never)]
         public event EventHandler<ImfManagerEventReceivedEventArgs> ImfManagerEventReceived
         {
             add
@@ -1158,7 +1172,8 @@ namespace Tizen.NUI
         /// <summary>
         /// ImfManager event received signal.
         /// </summary>
-        [Obsolete("Please do not use! this will be internal")]
+       //Please do not use! this will be internal
+       [EditorBrowsable(EditorBrowsableState.Never)]
         public ImfEventSignalType EventReceivedSignal()
         {
             ImfEventSignalType ret = new ImfEventSignalType(NDalicManualPINVOKE.ImfManager_EventReceivedSignal(swigCPtr), false);
@@ -1169,7 +1184,8 @@ namespace Tizen.NUI
         /// <summary>
         /// ImfManager status changed event arguments.
         /// </summary>
-        [Obsolete("Please do not use! this will be deprecated")]
+        //Please do not use! this will be deprecated
+        [EditorBrowsable(EditorBrowsableState.Never)]
         public class ImfManagerStatusChangedEventArgs : EventArgs
         {
             public ImfManager ImfManager
@@ -1186,7 +1202,8 @@ namespace Tizen.NUI
         /// <summary>
         /// ImfManager status changed.
         /// </summary>
-        [Obsolete("Please do not use! this will be deprecated")]
+        //Please do not use! this will be deprecated
+        [EditorBrowsable(EditorBrowsableState.Never)]
         public event EventHandler<ImfManagerStatusChangedEventArgs> ImfManagerStatusChanged
         {
             add
@@ -1282,7 +1299,8 @@ namespace Tizen.NUI
         /// <summary>
         /// ImfManager status changed signal.
         /// </summary>
-        [Obsolete("Please do not use! this will be internal")]
+        //Please do not use! this will be internal
+        [EditorBrowsable(EditorBrowsableState.Never)]
         public StatusSignalType StatusChangedSignal()
         {
             StatusSignalType ret = new StatusSignalType(NDalicManualPINVOKE.ImfManager_StatusChangedSignal(swigCPtr), false);
@@ -1293,7 +1311,8 @@ namespace Tizen.NUI
         /// <summary>
         /// ImfManager resized event arguments.
         /// </summary>
-        [Obsolete("Please do not use! this will be deprecated")]
+        //Please do not use! this will be deprecated
+        [EditorBrowsable(EditorBrowsableState.Never)]
         public class ImfManagerResizedEventArgs : EventArgs
         {
             public ImfManager ImfManager
@@ -1310,7 +1329,8 @@ namespace Tizen.NUI
         /// <summary>
         /// ImfManager resized event.
         /// </summary>
-        [Obsolete("Please do not use! this will be deprecated")]
+        //Please do not use! this will be deprecated
+        [EditorBrowsable(EditorBrowsableState.Never)]
         public event EventHandler<ImfManagerResizedEventArgs> ImfManagerResized
         {
             add
@@ -1390,7 +1410,8 @@ namespace Tizen.NUI
         /// <summary>
         /// ImfManager resized signal.
         /// </summary>
-        [Obsolete("Please do not use! this will be internal")]
+        //Please do not use! this will be internal
+        [EditorBrowsable(EditorBrowsableState.Never)]
         public ImfVoidSignalType ResizedSignal()
         {
             ImfVoidSignalType ret = new ImfVoidSignalType(NDalicManualPINVOKE.ImfManager_ResizedSignal(swigCPtr), false);
@@ -1401,7 +1422,8 @@ namespace Tizen.NUI
         /// <summary>
         /// ImfManager language changed event arguments.
         /// </summary>
-        [Obsolete("Please do not use! this will be deprecated")]
+        //Please do not use! this will be deprecated
+        [EditorBrowsable(EditorBrowsableState.Never)]
         public class ImfManagerLanguageChangedEventArgs : EventArgs
         {
             public ImfManager ImfManager
@@ -1418,7 +1440,8 @@ namespace Tizen.NUI
         /// <summary>
         /// ImfManager language changed event.
         /// </summary>
-        [Obsolete("Please do not use! this will be deprecated")]
+        //Please do not use! this will be deprecated
+        [EditorBrowsable(EditorBrowsableState.Never)]
         public event EventHandler<ImfManagerLanguageChangedEventArgs> ImfManagerLanguageChanged
         {
             add
@@ -1498,7 +1521,8 @@ namespace Tizen.NUI
         /// <summary>
         /// ImfManager language changed signal.
         /// </summary>
-        [Obsolete("Please do not use! this will be internal")]
+        //Please do not use! this will be internal
+        [EditorBrowsable(EditorBrowsableState.Never)]
         public ImfVoidSignalType LanguageChangedSignal()
         {
             ImfVoidSignalType ret = new ImfVoidSignalType(NDalicManualPINVOKE.ImfManager_LanguageChangedSignal(swigCPtr), false);
index f3b4967..f111f9d 100755 (executable)
@@ -41,7 +41,7 @@ namespace Tizen.NUI
         /// <summary>
         /// Adds a child view to this layer.
         /// </summary>
-        /// <seealso cref="Container.Add()">
+        /// <seealso cref="Container.Add">
         /// </seealso>
         public override void Add(View child)
         {
@@ -53,7 +53,7 @@ namespace Tizen.NUI
         /// <summary>
         /// Removes a child view from this layer. If the view was not a child of this layer, this is a no-op.
         /// </summary>
-        /// <seealso cref="Container.Remove()">
+        /// <seealso cref="Container.Remove">
         /// </seealso>
         public override void Remove(View child)
         {
@@ -433,7 +433,7 @@ namespace Tizen.NUI
         /// <summary>
         /// Get the number of children held by the layer.
         /// </summary>
-        public uint ChildCount
+        public new uint ChildCount
         {
             get
             {
index 4462e71..2e819e2 100755 (executable)
@@ -14,6 +14,7 @@
 *
 */
 using System;
+using System.ComponentModel;
 
 namespace Tizen.NUI
 {
@@ -67,7 +68,8 @@ namespace Tizen.NUI
         }
 
 
-        [Obsolete("Please do not use! this will be deprecated, please use VisualFactory.Instance instead")]
+        //"Please do not use! this will be deprecated, please use VisualFactory.Instance instead"
+        [EditorBrowsable(EditorBrowsableState.Never)]
         public static VisualFactory Get()
         {
             VisualFactory ret = new VisualFactory(NDalicPINVOKE.VisualFactory_Get(), true);
index 220424e..2e76f74 100755 (executable)
@@ -20,6 +20,7 @@ namespace Tizen.NUI
     using System;
     using System.Runtime.InteropServices;
     using Tizen.NUI.BaseComponents;
+    using System.ComponentModel;
 
     /// <summary>
     /// The window class is used internally for drawing.<br>
@@ -1407,7 +1408,8 @@ namespace Tizen.NUI
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
-        [Obsolete("Please do not use! this will be deprecated")]
+        //Please do not use! this will be deprecated
+        [EditorBrowsable(EditorBrowsableState.Never)]
         public class WindowFocusChangedEventArgs : EventArgs
         {
             public bool FocusGained