public bool ShowNvramDialog() { NVRAMForm nvramF = new NVRAMForm(nvramDic); nvramF.ShowDialog(); return(WriteNvram = nvramF.saveBtnclicked); }
private void button3_Click(object sender, EventArgs e) { NVRAMForm nvramF = new NVRAMForm(NvramHelper.nvramDic); if (nvramF.ShowDialog() == DialogResult.Cancel) { // nvramHelper.nvramDic = Globals.nvramDic; writeNvram(); } }