mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-02 01:03:29 +01:00
Renamed StateChangedEventArgs
This commit is contained in:
@@ -295,7 +295,7 @@ public class ApplicationTests
|
||||
|
||||
return;
|
||||
|
||||
void OnApplicationOnInitializedChanged (object s, StateEventArgs<bool> a)
|
||||
void OnApplicationOnInitializedChanged (object s, CancelEventArgs<bool> a)
|
||||
{
|
||||
if (a.NewValue)
|
||||
{
|
||||
@@ -1151,7 +1151,7 @@ public class ApplicationTests
|
||||
|
||||
return;
|
||||
|
||||
void OnApplicationOnInitializedChanged (object s, StateEventArgs<bool> a)
|
||||
void OnApplicationOnInitializedChanged (object s, CancelEventArgs<bool> a)
|
||||
{
|
||||
if (a.NewValue)
|
||||
{
|
||||
|
||||
@@ -129,7 +129,7 @@ public class KeyboardTests
|
||||
|
||||
return;
|
||||
|
||||
void OnApplicationOnInitializedChanged (object s, StateEventArgs<bool> a)
|
||||
void OnApplicationOnInitializedChanged (object s, CancelEventArgs<bool> a)
|
||||
{
|
||||
_output.WriteLine ("OnApplicationOnInitializedChanged: {0}", a.NewValue);
|
||||
if (a.NewValue)
|
||||
|
||||
@@ -73,7 +73,7 @@ public class ScenarioTests : TestsAllViews
|
||||
|
||||
return;
|
||||
|
||||
void OnApplicationOnInitializedChanged (object s, StateEventArgs<bool> a)
|
||||
void OnApplicationOnInitializedChanged (object s, CancelEventArgs<bool> a)
|
||||
{
|
||||
if (a.NewValue)
|
||||
{
|
||||
|
||||
@@ -363,7 +363,7 @@ public class TextFieldTests (ITestOutputHelper output)
|
||||
|
||||
_textField.TextChanging += _textField_TextChanging;
|
||||
|
||||
void _textField_TextChanging (object sender, StateEventArgs<string> e)
|
||||
void _textField_TextChanging (object sender, CancelEventArgs<string> e)
|
||||
{
|
||||
if (e.NewValue.GetRuneCount () > 11)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user