You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.1 KiB
C#

1 month ago
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace PcgDrawR
{
/// <summary>
/// 图件旋转参数配置界面
/// </summary>
public partial class FrmRotation : Form
{
/// <summary>
/// 旋转参数
/// </summary>
public RotationParameter RotationParameter { get; private set; } = new RotationParameter();
/// <summary>
/// Initializes a new instance of the <see cref="FrmRotation"/> class.
/// </summary>
public FrmRotation()
{
InitializeComponent();
propertyGrid1.SelectedObject = RotationParameter;
}
private void buttonOK_Click(object sender, EventArgs e)
{
DialogResult = DialogResult.OK;
}
private void buttonCancel_Click(object sender, EventArgs e)
{
DialogResult = DialogResult.Cancel;
}
}
}