OSDN Git Service

チケット #38687 tar.gz 形式が 7-ZIP32.DLL がインストールされている環境下で正しく展開されない
[applistation/AppliStation.git] / AppliStation / AppliStation.Util / ToolStripWeb2LikeTextBox.cs
index b15fb81..d4de736 100644 (file)
@@ -9,9 +9,9 @@ namespace AppliStation.Util
        {\r
                public ToolStripWeb2LikeTextBox() : base()\r
                {\r
-                       this.Text = string.Empty;\r
+                       textIsEmpty = true;\r
                }\r
-                               \r
+               \r
                [Category("Action")]\r
                public event EventHandler TextChangedTriggerFired;\r
                \r
@@ -52,7 +52,7 @@ namespace AppliStation.Util
                /// </summary>\r
                protected Timer textChangeTriggerTimer = null;\r
                \r
-               private void onTextUpdate(bool force)\r
+               private void onTextUpdate()\r
                {\r
                        textChangeTriggerTimerStop();\r
                        \r
@@ -80,13 +80,13 @@ namespace AppliStation.Util
                        base.OnTextChanged(e);\r
                        \r
                        if (Focused) {\r
-                               onTextUpdate(false);\r
+                               onTextUpdate();\r
                        }\r
                }\r
                \r
                #endregion\r
                \r
-               protected bool textIsEmpty = true;\r
+               protected bool textIsEmpty;\r
                \r
                public override string Text {\r
                        get { return textIsEmpty? string.Empty : base.Text; }\r