Exemplo n.º 1
0
        private void chbAnalyseAndJudgeIsNeedAffirm_Click(object sender, EventArgs e)
        {
            if (chbAnalyseAndJudgeIsNeedAffirm.Checked)
            {
                lbAnalyseAndJudgeAffirmID.Text = m_serverQualityProblem.GetBillID("搭车分析计划表");

                if (!m_serverQualityProblem.InsertSundrySchedule("搭车分析计划表", lbAnalyseAndJudgeAffirmID.Text, out m_strErr))
                {
                    MessageDialog.ShowPromptMessage(m_strErr);
                    return;
                }
                else
                {
                    搭车分析计划表 form = new 搭车分析计划表(lbAnalyseAndJudgeAffirmID.Text);
                    form.ShowDialog();
                }
            }
            else
            {
                if (!m_serverQualityProblem.DeleteSundrySchedule("搭车分析计划表", lbAnalyseAndJudgeAffirmID.Text, out m_strErr))
                {
                    MessageDialog.ShowPromptMessage(m_strErr);
                    return;
                }

                lbAnalyseAndJudgeAffirmID.Text = "";
            }
        }
Exemplo n.º 2
0
        private void lbAnalyseAndJudgeAffirmID_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            搭车分析计划表 form = new 搭车分析计划表(lbAnalyseAndJudgeAffirmID.Text);

            form.ShowDialog();
        }