// Token: 0x060000E5 RID: 229 RVA: 0x0000C658 File Offset: 0x0000A858
 private void ConfigurationFrm_Load(object sender, EventArgs e)
 {
     this.chkMD5.Checked                  = (MiAppConfig.GetAppConfig("checkMD5").ToLower() == "true");
     this.mainFrm                         = (MainFrm)base.Owner;
     this.chkRbv.Checked                  = this.mainFrm.ReadBackVerify;
     this.chkWriteDump.Checked            = this.mainFrm.OpenWriteDump;
     this.chkReadDump.Checked             = this.mainFrm.OpenReadDump;
     this.chkVerbose.Checked              = this.mainFrm.Verbose;
     this.chkAutoDetect.Checked           = this.mainFrm.AutoDetectDevice;
     this.cmbFactory.SelectedItem         = MiAppConfig.Get("factory").ToString();
     this.cmbChip.SelectedItem            = MiAppConfig.Get("chip").ToString();
     this.cmbMainProgram.SelectedItem     = MiAppConfig.Get("mainProgram").ToString();
     this.openFileDialog.InitialDirectory = this.mainFrm.SwPath;
     this.txtRaw.Text                     = MiAppConfig.Get("rawprogram").ToString();
     this.txtPatch.Text                   = MiAppConfig.Get("patch").ToString();
     this.txtCheckPoint.Text              = MiAppConfig.Get("checkPoint").ToString();
 }
示例#2
0
 private void ConfigurationFrm_Load(object sender, EventArgs e)
 {
     chkMD5.Checked = MiAppConfig.GetAppConfig("checkMD5").ToLower() == "true";
 }