Ejemplo n.º 1
0
        private void buttonCutOffSubCheck_Click(object sender, EventArgs e)
        {
            JoinSubCheckForm form = new JoinSubCheckForm(subCheck, SubCheckFormView.Delete);

            if (form.ShowDialog() == DialogResult.OK)
            {
                UpdateInformation(false);
            }
        }
Ejemplo n.º 2
0
        private void buttonJoinSubCheck_Click(object sender, EventArgs e)
        {
            JoinSubCheckForm form = new JoinSubCheckForm(subCheck, SubCheckFormView.Add);

            if (form.GetAvailableSubChecks().Count == 0)
            {
                MessageBox.Show("There are no subchecks available", (string)new TermsProvider()["SystemName"], MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
            }
            else
            {
                if (form.ShowDialog() == DialogResult.OK)
                {
                    UpdateInformation(false);
                }
            }
        }