Esempio n. 1
0
        /// <summary>
        /// Launch form to get ExtendedPropertyDefinition information
        /// </summary>
        /// <param name="sender">The parameter is not used.</param>
        /// <param name="e">The parameter is not used.</param>
        private void BtnAddExtended_Click(object sender, EventArgs e)
        {
            ExtendedPropertyDefinition epd = null;

            if (ExtendedPropertyDialog.ShowDialog(ref epd) == DialogResult.OK)
            {
                this.AddPropertyToDisplayTable(epd);
            }
        }
Esempio n. 2
0
        public static DialogResult ShowDialog(ref ExtendedPropertyDefinition propDef)
        {
            ExtendedPropertyDialog dialog = new ExtendedPropertyDialog();
            DialogResult           res    = dialog.ShowDialog();

            if (res == DialogResult.OK)
            {
                propDef = dialog.currentDefinition;
            }

            return(res);
        }
Esempio n. 3
0
        /// <summary>
        /// Display the ExtendedPropertyDialog
        /// </summary>
        /// <param name="sender">The parameter is not used.</param>
        /// <param name="e">The parameter is not used.</param>
        private void MnuResolveExProp_Click(object sender, EventArgs e)
        {
            ExtendedPropertyDefinition epd = null;

            ExtendedPropertyDialog.ShowDialog(ref epd);
        }