Beispiel #1
0
        private void chbRectificationMeasuresIsNeedChange_Click(object sender, EventArgs e)
        {
            if (chbRectificationMeasuresIsNeedChange.Checked)
            {
                lbRectificationMeasuresChangeID.Text = m_serverQualityProblem.GetBillID("新品开发计划表");

                if (!m_serverQualityProblem.InsertSundrySchedule("新品开发计划表", lbRectificationMeasuresChangeID.Text, out m_strErr))
                {
                    MessageDialog.ShowPromptMessage(m_strErr);
                    return;
                }
                else
                {
                    新品开发计划表 form = new 新品开发计划表(lbRectificationMeasuresChangeID.Text);
                    form.ShowDialog();
                }
            }
            else
            {
                if (!m_serverQualityProblem.DeleteSundrySchedule("新品开发计划表", lbRectificationMeasuresChangeID.Text, out m_strErr))
                {
                    MessageDialog.ShowPromptMessage(m_strErr);
                    return;
                }

                lbRectificationMeasuresChangeID.Text = "";
            }
        }
Beispiel #2
0
        private void lbRectificationMeasuresChangeID_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            新品开发计划表 form = new 新品开发计划表(lbRectificationMeasuresChangeID.Text);

            form.ShowDialog();
        }