1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- using PaintDotNet.Base;
- using PaintDotNet.CustomControl;
- using System;
- using System.Windows.Forms;
- namespace PaintDotNet.Data.Param
- {
- /// <summary>
- /// 输入图像
- /// </summary>
- public class InputMatObject : Args
- {
- /// <summary>
- /// 输入图像的名称,不为空
- /// </summary>
- private string friendlyName;
- /// <summary>
- /// 输入图像的文件路径,可能为空
- /// </summary>
- private string filePath;
- //public void numberParam_ValueChanged(object sender, EventArgs e)
- //{
- // if (sender.GetType() == typeof(NumberParamControl))
- // {
- // this.Value = ((NumberParamControl)sender).Value;
- // }
- // else if (sender.GetType() == typeof(NumericUpDown))
- // {
- // this.Value = ((NumericUpDown)sender).Value;
- // }
- //}
- public InputMatObject()
- {
- this.Type = Dtryt.Input;
- this.friendlyName = PdnResources.GetString("Untitled.FriendlyName");//待修改中文资源-scc备注 20191217
- this.filePath = null;
- }
- public string FriendlyName
- {
- get
- {
- return this.friendlyName;
- }
- set
- {
- this.friendlyName = value;
- }
- }
- public string FilePath
- {
- get
- {
- return this.filePath;
- }
- set
- {
- this.filePath = value;
- }
- }
- }
- }
|