コード例 #1
0
ファイル: PropertiesForm.cs プロジェクト: woncomp/LiliumLab
 public static void Show(object target, Action onChanged)
 {
     if (instance == null) instance = new PropertiesForm();
     instance.onChanged = null;
     instance.propertyGrid1.SelectedObject = target;
     instance.onChanged = onChanged;
     instance.Show();
 }
コード例 #2
0
ファイル: PropertiesForm.cs プロジェクト: woncomp/LiliumLab
 private void PropertiesForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     instance = null;
 }