using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; using DevExpress.XtraEditors; namespace UI.Framework.Forms { public partial class SettingForm : BaseForm { public SettingForm(object obj) { try { InitializeComponent(); this.propertyGrid1.SelectedObject = obj; } catch (Exception) { } } } }