using System; using System.Collections.Generic; using System.Windows.Forms; namespace FalloutClient { public enum DataType : int { None=0, Int=1, Float=2, String=3 } public partial class EditorWindow : Form { private readonly DataType[] types; private readonly string[] values; private bool save; private EditorWindow(string[] names, DataType[] types, string[] values) { this.types=types; this.values=values; InitializeComponent(); dataGridView1.SuspendLayout(); if(names==null) for(int i=0;i