示例#1
0
        private void btnAddType_Click(object sender, EventArgs e)
        {
            FormMemberTypeInfo forMti = new FormMemberTypeInfo();
            //Utilise modal dialog
            //Get the results of FormMemberTypeInfo, which are ok or cancel
            DialogResult result = forMti.ShowDialog();

            if (result == DialogResult.OK)
            {
                LoadTypeList();
                LoadList();
            }
        }
        private void MenuMemberInfo_Click(object sender, EventArgs e)
        {
            FormMemberTypeInfo formMemberInfo = new FormMemberTypeInfo();

            formMemberInfo.Show();
        }