Esempio n. 1
0
 public PARAMEditor(string filename)
 {
     InitializeComponent();
     tbl = new DataTable();
     tbl.Columns.Add(new DataColumn("Name")
     {
         ReadOnly = true
     });
     tbl.Columns.Add("Value");
     dataGridView1.DataSource = tbl;
     labels = new IniLabels(filename);
     openParam(filename);
 }
Esempio n. 2
0
        public PARAMEditor(string filename)
        {
            InitializeComponent();

            tbl = new DataTable();
            tbl.Columns.Add(new DataColumn("Name")
            {
                ReadOnly = true
            });
            tbl.Columns.Add(new DataColumn("Type")
            {
                ReadOnly = true
            });
            tbl.Columns.Add("Value");
            dataGridView1.DataSource = tbl;

            FilePath = filename;
            labels   = IniLabels.GetLabels(Path.GetFileNameWithoutExtension(FilePath));
            openParam(FilePath);
            Edited = false;
        }
Esempio n. 3
0
 static PARAMEditor()
 {
     labelDB = new IniLabels();
 }