Exemple #1
0
        public virtual void _1_1fire(global::Compatlib.System.Object n1, global::Compatlib.Microsoft.Devices.Sensors.AccelerometerReadingEventArgs n2)
        {
//XMLVM_BEGIN_WRAPPER[Compatlib.Microsoft.Devices.Sensors.ReadingChangedEvent: void __fire(Compatlib.System.Object, Compatlib.Microsoft.Devices.Sensors.AccelerometerReadingEventArgs)]
            foreach (Compatlib.Microsoft.Devices.Sensors.ReadingChangedEventHandler handler in handlers)
            {
                global::System.Reflection.MethodInfo mi = handler.owner.GetType().GetMethod(org.xmlvm._nUtil.toNativeString(handler.method._fvalue));
                mi.Invoke(handler.owner, new object[] { n1, n2 });
            }
//XMLVM_END_WRAPPER[Compatlib.Microsoft.Devices.Sensors.ReadingChangedEvent: void __fire(Compatlib.System.Object, Compatlib.Microsoft.Devices.Sensors.AccelerometerReadingEventArgs)]
        }
Exemple #2
0
        public virtual void _1_1fire(global::Compatlib.System.Object n1, global::Compatlib.System.Windows.StartupEventArgs n2)
        {
//XMLVM_BEGIN_WRAPPER[Compatlib.System.Windows.StartUpEvent: void __fire(Compatlib.System.Object, Compatlib.System.Windows.StartupEventArgs)]
            foreach (Compatlib.System.Windows.StartupEventHandler handler in handlers)
            {
                global::System.Reflection.MethodInfo mi = handler.owner.GetType().GetMethod(org.xmlvm._nUtil.toNativeString(handler.method._fvalue));
                mi.Invoke(handler.owner, new object[] { n1, n2 });
            }
//XMLVM_END_WRAPPER[Compatlib.System.Windows.StartUpEvent: void __fire(Compatlib.System.Object, Compatlib.System.Windows.StartupEventArgs)]
        }
Exemple #3
0
        public void @this(global::Compatlib.System.Object n1, global::Compatlib.System.String n2)
        {
//XMLVM_BEGIN_WRAPPER[Compatlib.System.EventHandler: void <init>(Compatlib.System.Object, Compatlib.System.String)]
            this.owner = n1;
            string newName = org.xmlvm._nUtil.toNativeString((java.lang.String)n2.toString()).Replace("_", "_1");

            java.lang.String        newJavaName   = org.xmlvm._nUtil.toJavaString(newName);
            Compatlib.System.String newCompatName = new Compatlib.System.String();
            newCompatName._fvalue = newJavaName;
            this.method           = newCompatName;
//XMLVM_END_WRAPPER[Compatlib.System.EventHandler: void <init>(Compatlib.System.Object, Compatlib.System.String)]
        }
Exemple #4
0
        public virtual void setContent(global::Compatlib.System.Object n1)
        {
//XMLVM_BEGIN_WRAPPER[Compatlib.System.Windows.Controls.ContentControl: void setContent(Compatlib.System.Object)]
            this.content = n1;
            if (n1 is Compatlib.System.String)
            {
                ((global::System.Windows.Controls.ContentControl)base.element).Content = org.xmlvm._nUtil.toNativeString(((Compatlib.System.String)n1)._fvalue);
            }
            else
            {
                throw new global::System.Exception("Content not implemented");
            }
//XMLVM_END_WRAPPER[Compatlib.System.Windows.Controls.ContentControl: void setContent(Compatlib.System.Object)]
        }
        public void @this(global::Compatlib.System.Object n1, int n2)
        {
//XMLVM_BEGIN_WRAPPER[Compatlib.System.MulticastDelegate: void <init>(Compatlib.System.Object, int)]
//XMLVM_END_WRAPPER[Compatlib.System.MulticastDelegate: void <init>(Compatlib.System.Object, int)]
        }
Exemple #6
0
        public void @this(global::Compatlib.System.Object n1, global::Compatlib.System.String n2)
        {
//XMLVM_BEGIN_WRAPPER[Compatlib.System.Windows.RoutedEventHandler: void <init>(Compatlib.System.Object, Compatlib.System.String)]
            base.@this(n1, n2);
//XMLVM_END_WRAPPER[Compatlib.System.Windows.RoutedEventHandler: void <init>(Compatlib.System.Object, Compatlib.System.String)]
        }
Exemple #7
0
        public virtual bool Equals(global::Compatlib.System.Object n1)
        {
//XMLVM_BEGIN_WRAPPER[Compatlib.System.Object: boolean Equals(Compatlib.System.Object)]
            return(this == n1);
//XMLVM_END_WRAPPER[Compatlib.System.Object: boolean Equals(Compatlib.System.Object)]
        }
Exemple #8
0
        public virtual void RunWorkerAsync(global::Compatlib.System.Object n1)
        {
//XMLVM_BEGIN_WRAPPER[Compatlib.System.ComponentModel.BackgroundWorker: void RunWorkerAsync(Compatlib.System.Object)]
            bw.RunWorkerAsync(n1);
//XMLVM_END_WRAPPER[Compatlib.System.ComponentModel.BackgroundWorker: void RunWorkerAsync(Compatlib.System.Object)]
        }
        public void @this(global::Compatlib.System.Object n1, global::Compatlib.System.String n2)
        {
//XMLVM_BEGIN_WRAPPER[Compatlib.System.ComponentModel.DoWorkEventHandler: void <init>(Compatlib.System.Object, Compatlib.System.String)]
            base.@this(n1, n2);
//XMLVM_END_WRAPPER[Compatlib.System.ComponentModel.DoWorkEventHandler: void <init>(Compatlib.System.Object, Compatlib.System.String)]
        }
        public void @this(global::Compatlib.System.Object n1, global::Compatlib.System.String n2)
        {
//XMLVM_BEGIN_WRAPPER[Compatlib.Microsoft.Devices.Sensors.ReadingChangedEventHandler: void <init>(Compatlib.System.Object, Compatlib.System.String)]
            base.@this(n1, n2);
//XMLVM_END_WRAPPER[Compatlib.Microsoft.Devices.Sensors.ReadingChangedEventHandler: void <init>(Compatlib.System.Object, Compatlib.System.String)]
        }
Exemple #11
0
        public static void WriteLine(global::Compatlib.System.Object n1)
        {
//XMLVM_BEGIN_WRAPPER[Compatlib.System.Diagnostics.Debug: void WriteLine(Compatlib.System.Object)]
//XMLVM_END_WRAPPER[Compatlib.System.Diagnostics.Debug: void WriteLine(Compatlib.System.Object)]
        }
Exemple #12
0
        public virtual void Invoke(global::Compatlib.System.Object n1, global::Compatlib.System.EventArgs n2)
        {
//XMLVM_BEGIN_WRAPPER[Compatlib.System.EventHandler: void Invoke(Compatlib.System.Object, Compatlib.System.EventArgs)]
//XMLVM_END_WRAPPER[Compatlib.System.EventHandler: void Invoke(Compatlib.System.Object, Compatlib.System.EventArgs)]
        }