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 GeoSigma.SigmaDrawerStyle { /// /// 线型编辑器 /// public partial class WellCurveStyleEditForm : Form { public WellLineStyle style; /// /// Initializes a new instance of the class. /// /// 曲线样式 public WellCurveStyleEditForm(WellLineStyle style) { InitializeComponent(); this.style = style; propertyGrid1.SelectedObject = this.style; } private void ButtonOk_Click(object sender, EventArgs e) { this.DialogResult = DialogResult.OK; Close(); } private void ButtonCancel_Click(object sender, EventArgs e) { Close(); } } }