Example #1
0
        public virtual void OnFileCommand(DSOFramer.dsoFileCommandType item, ref bool cancel)
        {
            _DFramerCtlEvents_OnFileCommandEvent onfilecommandEvent = new _DFramerCtlEvents_OnFileCommandEvent(item, cancel);

            this.parent.RaiseOnOnFileCommand(this.parent, onfilecommandEvent);
            cancel = onfilecommandEvent.cancel;
        }
Example #2
0
 public virtual void set_EnableFileCommand(DSOFramer.dsoFileCommandType item, bool pbool)
 {
     if ((this.ocx == null))
     {
         throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("set_EnableFileCommand", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
     }
     this.ocx.set_EnableFileCommand(item, pbool);
 }
Example #3
0
        public virtual bool get_EnableFileCommand(DSOFramer.dsoFileCommandType item)
        {
            if ((this.ocx == null))
            {
                throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("get_EnableFileCommand", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
            }
            bool returnValue = ((bool)(this.ocx.get_EnableFileCommand(item)));

            return(returnValue);
        }
Example #4
0
 public _DFramerCtlEvents_OnFileCommandEvent(DSOFramer.dsoFileCommandType item, bool cancel)
 {
     this.item   = item;
     this.cancel = cancel;
 }