Files
FeedCenter/Application/Options/OptionsPanelBase.cs

29 lines
612 B
C#

using System.Windows;
using System.Windows.Controls;
namespace FeedCenter.Options;
public class OptionsPanelBase : UserControl
{
protected readonly Window ParentWindow;
protected readonly FeedCenterEntities Entities;
protected OptionsPanelBase(Window parentWindow, FeedCenterEntities entities)
{
ParentWindow = parentWindow;
Entities = entities;
}
public virtual string CategoryName => null;
protected bool HasLoaded { get; private set; }
public virtual void LoadPanel()
{
}
protected void MarkLoaded()
{
HasLoaded = true;
}
}