示例#1
0
        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);
        }
示例#2
0
        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);
        }