private void DefMaps_Click(object sender, EventArgs e) { DefineMaps def = new DefineMaps(); def.CHANNEL_DEFS = CHANNEL_DEFS; def.chText2 = chText; def.chLength2 = chLength; def.chMap2 = chMap; def.ShowDialog(); for (int i = 0; i < 11; ++i) // clear labels { unitslabels[i].Text = ""; } ReadChDefs(); // see if a channel defs file exists and read it in }
private void DefMaps_Click(object sender, EventArgs e) { DefineMaps def = new DefineMaps(); def.CHANNEL_DEFS = CHANNEL_DEFS; def.chText2 = chText; def.chLength2 = chLength; def.chMap2 = chMap; def.ShowDialog() ; for (int i = 0; i < 11; ++i) // clear labels { unitslabels[i].Text = ""; } ReadChDefs(); // see if a channel defs file exists and read it in }