public void ShowContent(string title, IList list, Bitmap icon) { var frm = new ListEditorFrame(this, list); frm.Title = title; frm.Icon = icon; MainWindow.Instance.OpenContent(frm); }
public DialogResult ShowDialog(string title, GenericDialogType type, IList list) { var frm = new ListEditorFrame(this, list); var res = frm.ShowGenericDialog(title, type); frm.SaveLoadedItems(); return(res); }