示例#1
0
        public bool ShowNvramDialog()
        {
            NVRAMForm nvramF = new NVRAMForm(nvramDic);

            nvramF.ShowDialog();
            return(WriteNvram = nvramF.saveBtnclicked);
        }
示例#2
0
        private void button3_Click(object sender, EventArgs e)
        {
            NVRAMForm nvramF = new NVRAMForm(NvramHelper.nvramDic);

            if (nvramF.ShowDialog() == DialogResult.Cancel)
            {
                // nvramHelper.nvramDic = Globals.nvramDic;
                writeNvram();
            }
        }