private void openFile_Click(object sender, EventArgs e)
 {
     clear_editor();
     opParam.Filter = "LM Parameter Files (*.prm)|*.prm";
     opParam.ShowDialog();
     if (opParam.FileName != "")
     {
         path = opParam.FileName;
         using (FileStream fs = new FileStream(opParam.FileName, FileMode.OpenOrCreate))
         {
             using (bbreader binr = new bbreader(fs))
             {
                 parameterVal.Clear();
                 paramList.Nodes.Clear();
                 paramList.BeginUpdate();
                 paramNum = binr.ReadInt32();
                 for (int i = 0; i < paramNum; i++)
                 {
                     parameterVal.Add(new Parameter(binr.ReadInt16(), binr.ReadByte(), binr.ReadString(), binr.ReadInt32(), binr));
                     paramList.Nodes.Add(parameterVal[i].name);
                 }
                 paramList.EndUpdate();
             }
         }
     }
 }