Exemplo n.º 1
0
        public TestMainForm(IApplication application)
        {
            InitializeComponent();

            handle = new HandleIO();
            bios = new BlockConfigurationIO(application, application.GetEpromRW());
        }
Exemplo n.º 2
0
        public MainForm(IApplication application)
        {
            InitializeComponent();

            handle = new HandleIO();
            bios = new BlockConfigurationIO(application, application.GetEpromRW());
            bios.Options.AttemptsToReadWriteEntries = 5;
        }
Exemplo n.º 3
0
        public LoadForm(BlockConfigurationIO bios, HandleIO handle)
        {
            InitializeComponent();

            pBios = bios;
            hio = handle;

            pBios.eCompleteReadEpromLine += new EventHandler(pBios_eCompleteReadEpromLine);
            pBios.eMorePopitReadEpromLine += new EventHandler(pBios_eMorePopitReadEpromLine);
            pBios.eTimeoutReadEpromLine += new EventHandler(pBios_eTimeoutReadEpromLine);

            incer = new Incer(IncP);
            initer = new Initer(InitProgressBar);

            mes = new Messeger(ShowMessage);
            obj = new object();
        }
Exemplo n.º 4
0
        public SaveForm(BlockConfigurationIO bios, HandleIO obje)
        {
            InitializeComponent();

            pBios = bios;
            pObject = obje;

            obj = new object();

            incer = new Incer(IncP);
            initer = new Initer(InitProgressBar);

            DialogResult = DialogResult.OK;

            pBios.eSaveCompleteReadEpromLine += new EventHandler(pBios_eSaveCompleteReadEpromLine);
            pBios.eSaveMorePopitReadEpromLine += new EventHandler(pBios_eSaveMorePopitReadEpromLine);
            pBios.eSaveTimeoutReadEpromLine += new EventHandler(pBios_eSaveTimeoutReadEpromLine);
        }