Exemplo n.º 1
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("都不能为空");
            }
        }
 private void StopRun_ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     string[] str = { "", "", "否", "" };
     OperateXml.modifyXml(str);
 }