This repository has been archived on 2023-01-27. You can view files and clone it, but cannot push or open issues or pull requests.
cad/ref/xcad-examples/FormsAndWpfControls/cs/WinFormsUserControl.cs
2022-10-15 19:16:08 +02:00

29 lines
714 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Xarial.XCad.Base.Attributes;
using FormsAndWpfControls.Properties;
using Xarial.XCad.UI.PropertyPage;
namespace FormsAndWpfControls
{
[Icon(typeof(Resources), nameof(Resources.winforms_icon))]
public partial class WinFormsUserControl : UserControl, IXCustomControl
{
public WinFormsUserControl()
{
InitializeComponent();
}
public object Value { get; set; }
public event Action<IXCustomControl, object> ValueChanged;
}
}