private void eraseButton_Click(object sender, EventArgs e) { String filename = this.ChooseFirmwareFile(); if (filename != null) { ActionForm af = new ActionForm(this.host, FreebooterHost.Actions.ERASE, new FileStream(filename, FileMode.Open, FileAccess.Read)); af.ShowDialog(); if (af.Success) { MessageBox.Show("Device Erased"); } } }
private void verifyButton_Click(object sender, EventArgs e) { String filename = this.ChooseFirmwareFile(); if (filename != null) { ActionForm af = new ActionForm(this.host, FreebooterHost.Actions.VERIFY, new FileStream(filename, FileMode.Open, FileAccess.Read)); af.ShowDialog(); if (af.Success) { MessageBox.Show("Flash verification succeeded."); } } }
private void programButton_Click(object sender, EventArgs e) { String filename = this.ChooseFirmwareFile(); if (filename != null) { ActionForm af = new ActionForm(this.host, FreebooterHost.Actions.PROGRAM, new FileStream(filename, FileMode.Open, FileAccess.Read)); af.ShowDialog(); if (af.Success) { MessageBox.Show("Bootloading completed successfully."); } } }
private void verifyButton_Click(object sender, EventArgs e) { String filename = this.ChooseFirmwareFile(); if (filename != null) { ActionForm af = new ActionForm(this.host, FreebooterHost.Actions.VERIFY, new FileStream(filename, FileMode.Open, FileAccess.Read)); af.ShowDialog(); if(af.Success) MessageBox.Show("Flash verification succeeded."); } }
private void programButton_Click(object sender, EventArgs e) { String filename = this.ChooseFirmwareFile(); if (filename != null) { ActionForm af = new ActionForm(this.host, FreebooterHost.Actions.PROGRAM, new FileStream(filename, FileMode.Open, FileAccess.Read)); af.ShowDialog(); if(af.Success) MessageBox.Show("Bootloading completed successfully."); } }
private void eraseButton_Click(object sender, EventArgs e) { String filename = this.ChooseFirmwareFile(); if (filename != null) { ActionForm af = new ActionForm(this.host, FreebooterHost.Actions.ERASE, new FileStream(filename, FileMode.Open, FileAccess.Read)); af.ShowDialog(); if(af.Success) MessageBox.Show("Device Erased"); } }