/// <summary>
        /// 修改二值化阈值等参数
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void EditXmlData_ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SettingForm form2 = new SettingForm();

            form2.Show();
            form2.Activate();
        }
Example #2
0
        private void Edit_Btn_Click(object sender, EventArgs e)
        {
            string[]    StrArr = new string[] { "", "", "", "" };
            SettingForm form2  = new SettingForm();

            if (Yuzhi_textBox.Text != "" && Address_textBox.Text != "")
            {
                StrArr[0] = Yuzhi_textBox.Text;
                StrArr[1] = Address_textBox.Text;
                StrArr[3] = Time_textBox.Text;
                OperateXml.modifyXml(StrArr);
            }
            else
            {
                MessageBox.Show("都不能为空");
            }
        }