コード例 #1
0
        public DialogResult ShowProperties()
        {
            DialogResult result = DialogResult.Ignore;

            if (props != null)
            {
                props.Dispose();
            }

            props = null;

            props = new frmProps();

            ((frmProps)props).Activities = this;
            if (mapValue.ContainsKey("extension"))
            {
                ((frmProps)props).Extension = this.mapValue["extension"];
            }
            if (mapValue.ContainsKey("gotolabel"))
            {
                ((frmProps)props).GotoLabel = this.mapValue["gotolabel"];
            }

            result = props.ShowDialog();

            return(result);
        }
コード例 #2
0
        public DialogResult ShowProperties()
        {
            DialogResult result = DialogResult.Ignore;

            if (props != null)
            {
                props.Dispose();
            }

            props = null;
            props = new frmProps();
            ((frmProps)props).Activities = this;
            result = props.ShowDialog();
            return(result);
        }
コード例 #3
0
        public DialogResult ShowProperties()
        {
            DialogResult result = DialogResult.Ignore;

            if (props != null)
            {
                props.Dispose();
            }

            props = null;

            props = new frmProps();

            ((frmProps)props).Activities     = this;
            ((frmProps)props).Description    = lblDescription.Text;
            ((frmProps)props).PropertyResult = this.ActivityValue;
            result = props.ShowDialog();

            return(result);
        }