Ejemplo n.º 1
0
        //异常信息添加
        private void tsmiExinfoAdd_Click(object sender, EventArgs e)
        {
            ExInfoFrm exinfo = new ExInfoFrm();

            exinfo.Text = "添加异常信息";
            exinfo.ShowDialog();
        }
Ejemplo n.º 2
0
        //异常信息修改
        private void tsmiExinfoChange_Click(object sender, EventArgs e)
        {
            ExInfoFrm exinfo = new ExInfoFrm();

            exinfo.Text = "修改异常信息";
            exinfo.ID   = ID_m;
            exinfo.ShowDialog();
        }
        private void btnResultArr_Click(object sender, EventArgs e)
        {
            int index  = btnResultArr.Text.IndexOf(':');
            int index2 = btnResultArr.Text.IndexOf(',');

            string    id     = btnResultArr.Text.Substring(index + 1, index2 - index - 1);
            ExInfoFrm exInfo = new ExInfoFrm();

            if (id != "")
            {
                exInfo.ID   = Convert.ToInt32(id);
                exInfo.Text = "修改异常信息";
                exInfo.Show();
            }
        }
        private void btnResultArr_Click(object sender, EventArgs e)
        {
            int index=btnResultArr.Text.IndexOf(':');
            int index2=btnResultArr.Text.IndexOf(',');

            string id=btnResultArr.Text.Substring(index+1,index2-index-1);
            ExInfoFrm exInfo = new ExInfoFrm();
            if (id != "")
            {
                exInfo.ID = Convert.ToInt32(id);
                exInfo.Text = "修改异常信息";
                exInfo.Show();
            }
        }
Ejemplo n.º 5
0
 //异常信息修改
 private void tsmiExinfoChange_Click(object sender, EventArgs e)
 {
     ExInfoFrm exinfo = new ExInfoFrm();
     exinfo.Text = "修改异常信息";
     exinfo.ID = ID_m;
     exinfo.ShowDialog();
 }
Ejemplo n.º 6
0
        //异常信息添加
        private void tsmiExinfoAdd_Click(object sender, EventArgs e)
        {
            ExInfoFrm exinfo = new ExInfoFrm();
            exinfo.Text = "添加异常信息";
            exinfo.ShowDialog();

        }