mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Profile editor - Seperated event types and avoid a lot of type checking Profile editor - Avoid changing profiles/layers if the new equals the old Color picker - Fixed binding error Profile tree - Select first element by default Profile editor - Adjusted initialization order
22 lines
511 B
C#
22 lines
511 B
C#
using System;
|
|
using Artemis.Core.Models.Profile;
|
|
|
|
namespace Artemis.UI.Shared.Events
|
|
{
|
|
public class ProfileEventArgs : EventArgs
|
|
{
|
|
public ProfileEventArgs(Profile profile)
|
|
{
|
|
Profile = profile;
|
|
}
|
|
|
|
public ProfileEventArgs(Profile profile, Profile previousProfile)
|
|
{
|
|
Profile = profile;
|
|
PreviousProfile = previousProfile;
|
|
}
|
|
|
|
public Profile Profile { get; }
|
|
public Profile PreviousProfile { get; }
|
|
}
|
|
} |