H. Utku Maden
9339295378
I have had a long break from this project due to other higher priority things going on in my life. Big changes inbound.
38 lines
883 B
C#
38 lines
883 B
C#
using System;
|
|
|
|
namespace Quik.Controls
|
|
{
|
|
public class ParentChangedEventArgs : EventArgs
|
|
{
|
|
public Control NewParent { get; }
|
|
|
|
public ParentChangedEventArgs(Control newParent)
|
|
{
|
|
NewParent = newParent;
|
|
}
|
|
|
|
public static ParentChangedEventArgs Disowned { get; } = new ParentChangedEventArgs(null);
|
|
}
|
|
|
|
public class RootChangedEventArgs : EventArgs
|
|
{
|
|
public RootControl NewRoot { get; }
|
|
|
|
public RootChangedEventArgs(RootControl newRoot)
|
|
{
|
|
NewRoot = newRoot;
|
|
}
|
|
|
|
public static RootChangedEventArgs Disowned { get; } = new RootChangedEventArgs(null);
|
|
}
|
|
|
|
public class FocusChangedEventArgs : EventArgs
|
|
{
|
|
public Control Focused { get; }
|
|
|
|
public FocusChangedEventArgs(Control focused)
|
|
{
|
|
Focused = focused;
|
|
}
|
|
}
|
|
} |