Наследование: System.Windows.Forms.Form
Пример #1
0
        public static string[] ShowEditor(DebugEditor form, string[] names, DataType[] types, string[] values, bool isMap = false)
        {
            EditorWindow editor = new EditorWindow(names, types, values, isMap);

            editor.ShowDialog();
            if (editor.save)
            {
                if (valueInHex)
                {
                    editor.ConvertValues(false);
                }
                return(editor.values);
            }
            return(null);
        }
Пример #2
0
        public static string[] ShowEditor(DebugEditor form, string[] lvalues)
        {
            EditorWindow editor = new EditorWindow(lvalues);

            editor.ShowDialog();
            if (editor.save)
            {
                if (valueInHex)
                {
                    editor.ConvertValues(false);
                }
                return(editor.values);
            }
            return(null);
        }