Beispiel #1
0
        private void btnRight_Click(object sender, EventArgs e)
        {
            //Fires SubForm_Ok() from Interface SubForm then Exits SubForm Mode

            if (subForm is ISubForm)
            {
                (subForm as ISubForm).SubForm_RightButton_Click();
            }

            parentForm.CloseSubForm();
        }
Beispiel #2
0
        private void button4_Click(object sender, EventArgs e)
        {
            //test button, loads a dummy form in SubForm mode

            if (cfForm.spForm == null)
            {
                cfForm.ShowSubForm("UI_ComponentFormSubForm");
            }
            else
            {
                cfForm.CloseSubForm();
            }
        }