Kimono.KMessageBox.CreateKMessageBox C# (CSharp) Method

CreateKMessageBox() public static method

public static CreateKMessageBox ( Kimono.KDialog dialog, Qyoto.QIcon icon, string text, List strlist, string ask, bool &checkboxReturn, uint options ) : int
dialog Kimono.KDialog
icon Qyoto.QIcon
text string
strlist List
ask string
checkboxReturn bool
options uint
return int
        public static int CreateKMessageBox(KDialog dialog, QIcon icon, string text, List<string> strlist, string ask, ref bool checkboxReturn, uint options)
        {
            StackItem[] stack = new StackItem[8];
            #if DEBUG
            stack[1].s_class = (IntPtr) DebugGCHandle.Alloc(dialog);
            #else
            stack[1].s_class = (IntPtr) GCHandle.Alloc(dialog);
            #endif
            #if DEBUG
            stack[2].s_class = (IntPtr) DebugGCHandle.Alloc(icon);
            #else
            stack[2].s_class = (IntPtr) GCHandle.Alloc(icon);
            #endif
            #if DEBUG
            stack[3].s_class = (IntPtr) DebugGCHandle.Alloc(text);
            #else
            stack[3].s_class = (IntPtr) GCHandle.Alloc(text);
            #endif
            #if DEBUG
            stack[4].s_class = (IntPtr) DebugGCHandle.Alloc(strlist);
            #else
            stack[4].s_class = (IntPtr) GCHandle.Alloc(strlist);
            #endif
            #if DEBUG
            stack[5].s_class = (IntPtr) DebugGCHandle.Alloc(ask);
            #else
            stack[5].s_class = (IntPtr) GCHandle.Alloc(ask);
            #endif
            stack[6].s_bool = checkboxReturn;
            stack[7].s_uint = options;
            staticInterceptor.Invoke("createKMessageBox##$?$$$", "createKMessageBox(KDialog*, const QIcon&, const QString&, const QStringList&, const QString&, bool*, KMessageBox::Options)", stack);
            #if DEBUG
            DebugGCHandle.Free((GCHandle) stack[1].s_class);
            #else
            ((GCHandle) stack[1].s_class).Free();
            #endif
            #if DEBUG
            DebugGCHandle.Free((GCHandle) stack[2].s_class);
            #else
            ((GCHandle) stack[2].s_class).Free();
            #endif
            #if DEBUG
            DebugGCHandle.Free((GCHandle) stack[3].s_class);
            #else
            ((GCHandle) stack[3].s_class).Free();
            #endif
            #if DEBUG
            DebugGCHandle.Free((GCHandle) stack[4].s_class);
            #else
            ((GCHandle) stack[4].s_class).Free();
            #endif
            #if DEBUG
            DebugGCHandle.Free((GCHandle) stack[5].s_class);
            #else
            ((GCHandle) stack[5].s_class).Free();
            #endif
            checkboxReturn = stack[6].s_bool;
            return stack[0].s_int;
        }

Same methods

KMessageBox::CreateKMessageBox ( Kimono.KDialog dialog, Qyoto.QIcon icon, string text, List strlist, string ask, bool &checkboxReturn, uint options, string details ) : int
KMessageBox::CreateKMessageBox ( Kimono.KDialog dialog, Qyoto.QIcon icon, string text, List strlist, string ask, bool &checkboxReturn, uint options, string details, Qyoto.QMessageBox notifyType ) : int
KMessageBox::CreateKMessageBox ( Kimono.KDialog dialog, Qyoto.QMessageBox icon, string text, List strlist, string ask, bool &checkboxReturn, uint options ) : int
KMessageBox::CreateKMessageBox ( Kimono.KDialog dialog, Qyoto.QMessageBox icon, string text, List strlist, string ask, bool &checkboxReturn, uint options, string details ) : int