예제 #1
0
        // Token: 0x0600002E RID: 46 RVA: 0x00004184 File Offset: 0x00002384
        private void btnCheckAll_Click(object sender, EventArgs e)
        {
            MainFrm mainFrm = (MainFrm)base.Owner;

            mainFrm.ValidateSpecifyXml = "";
            mainFrm.RefreshDevice();
            mainFrm.CheckSha256();
            base.Close();
            base.Dispose();
        }
예제 #2
0
        // Token: 0x0600002F RID: 47 RVA: 0x000041C0 File Offset: 0x000023C0
        private void btnSpecify_Click(object sender, EventArgs e)
        {
            MainFrm mainFrm = (MainFrm)base.Owner;

            this.openXmlFile.InitialDirectory = mainFrm.SwPath;
            DialogResult dialogResult = this.openXmlFile.ShowDialog();

            if (dialogResult == DialogResult.OK)
            {
                string fileName = this.openXmlFile.FileName;
                mainFrm.ValidateSpecifyXml = fileName;
                mainFrm.RefreshDevice();
                mainFrm.CheckSha256();
                base.Close();
                base.Dispose();
                return;
            }
            MessageBox.Show("Please select a xml file.");
        }