コード例 #1
0
        private void Setup_ToolTips(bool createControl)
        {
            if (IsNotSave())
            {
                return;
            }
            ToolTip tooltip;

            UIDesigner_Tools.Component_Setup1(_formHost, _formName, createControl, out tooltip);
        }
コード例 #2
0
        private void Setup_ContextMenuStrip(bool createControl)
        {
            if (IsNotSave())
            {
                return;
            }
            if (createControl && "This will create a new ContextMenuStrip. Continue?".zDialog().MessageBox_YesNo() == false)
            {
                return;
            }

            ContextMenuStrip menuStrip;

            if (UIDesigner_Tools.Component_Setup1(_formHost, _formName, createControl, out menuStrip))
            {
                _formName.ContextMenuStrip = menuStrip;
            }
        }