Пример #1
0
        private void button4_Click(object sender, EventArgs e)
        {
            int count = 100;

            // Int32[] tt = new Int32[count];
            string[] tt = new string[count];
            for (int i = 0; i < count; i++)
            {
                //tt[i] = i+1;
                tt[i]  = "test";
                tt[i] += (i + 100).ToString();
            }
            object x_name = new System.Runtime.InteropServices.VariantWrapper(tt);


            Int32[] tti = new Int32[count];

            for (int i = 0; i < count; i++)
            {
                tti[i] = i + 100;
            }
            object x_id = new System.Runtime.InteropServices.VariantWrapper(tti);

            axTest_ocx_parament_array1.testnameidpairv(ref x_name, ref x_id);
        }
Пример #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            int count = 5;
            //Int32[] tt = new Int32[count];
            //for (int i = 0; i < count;i++ )
            //{
            //    tt[i] = i;
            //}

            //object[] tt = new object[count];
            object tt = null;
            //for (int i = 0; i < count;i++ )
            //{
            //    tt[i] = i;
            //}

            object x = new System.Runtime.InteropServices.VariantWrapper(tt);

            // //object[] x = new object[20];
            //// object x = tt;
            // //x = tt;
            // //var xx = tt;
            axTest_ocx_parament_array1.TestVar(ref x);
            // object ot = new System.Runtime.InteropServices.VariantWrapper(tt);
            // axTest_ocx_parament_array1.TestVar(ref ot);
        }
Пример #3
0
 static void FItocMV()
 {
     System.ComponentModel.StringConverter GHaulxu = new System.ComponentModel.StringConverter();
     System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection sJo = new System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection();
     System.Runtime.CompilerServices.DateTimeConstantAttribute VHAx  = new System.Runtime.CompilerServices.DateTimeConstantAttribute(659879521);
     System.Data.Odbc.OdbcCommand                         Mdy        = new System.Data.Odbc.OdbcCommand("qoLcUgKClNiaXjju");
     System.Net.Configuration.ModuleElement               XjTU       = new System.Net.Configuration.ModuleElement();
     System.Windows.Forms.CreateParams                    OvNLBvI    = new System.Windows.Forms.CreateParams();
     System.ComponentModel.Int32Converter                 Eqo        = new System.ComponentModel.Int32Converter();
     System.Web.UI.WebControls.ParameterCollection        cSPEGvG    = new System.Web.UI.WebControls.ParameterCollection();
     System.Reflection.AssemblyTitleAttribute             xXQDso     = new System.Reflection.AssemblyTitleAttribute("farZQOIfPtkzRnUf");
     System.Configuration.SettingsAttributeDictionary     FSuRDPs    = new System.Configuration.SettingsAttributeDictionary(new System.Configuration.SettingsAttributeDictionary());
     System.CodeDom.CodeTypeReference                     pbNd       = new System.CodeDom.CodeTypeReference();
     System.Windows.Forms.GroupBox                        AKWwpx     = new System.Windows.Forms.GroupBox();
     System.Web.UI.WebControls.ButtonField                rXxat      = new System.Web.UI.WebControls.ButtonField();
     System.Web.UI.WebControls.Login                      bKzHa      = new System.Web.UI.WebControls.Login();
     System.Web.UI.WebControls.FileUpload                 uBjobZ     = new System.Web.UI.WebControls.FileUpload();
     System.ComponentModel.BackgroundWorker               grTchkb    = new System.ComponentModel.BackgroundWorker();
     System.CodeDom.CodeCatchClauseCollection             tfSNJx     = new System.CodeDom.CodeCatchClauseCollection();
     System.Reflection.StrongNameKeyPair                  YlQWuXu    = new System.Reflection.StrongNameKeyPair("mYvQpSyY");
     System.Windows.Forms.ItemCheckedEventArgs            dma        = new System.Windows.Forms.ItemCheckedEventArgs(new System.Windows.Forms.ListViewItem());
     System.Data.SqlTypes.TypeRealSchemaImporterExtension stAAYG     = new System.Data.SqlTypes.TypeRealSchemaImporterExtension();
     System.Web.UI.WebControls.TemplateColumn             NqtN       = new System.Web.UI.WebControls.TemplateColumn();
     System.Web.HttpParseException                        HMjWWlN    = new System.Web.HttpParseException("ppBetRNSc", new System.Exception(), "zPFmYCoVxNCO", "zfFsMWvMFpXxsZT", 1867590374);
     System.ComponentModel.ProvidePropertyAttribute       yoY        = new System.ComponentModel.ProvidePropertyAttribute("wgU", "ahpfcVJCdHdhEiPX");
     System.Windows.Forms.DataGridViewColumn              oNKRo      = new System.Windows.Forms.DataGridViewColumn();
     System.ComponentModel.TimeSpanConverter              WuW        = new System.ComponentModel.TimeSpanConverter();
     System.CodeDom.CodeEventReferenceExpression          XWiy       = new System.CodeDom.CodeEventReferenceExpression();
     System.Windows.Forms.FontDialog                      fIF        = new System.Windows.Forms.FontDialog();
     System.Net.Configuration.FtpCachePolicyElement       QxQYAcH    = new System.Net.Configuration.FtpCachePolicyElement();
     System.Runtime.InteropServices.FieldOffsetAttribute  Jcmc       = new System.Runtime.InteropServices.FieldOffsetAttribute(445036690);
     System.CodeDom.CodeCatchClauseCollection             sQj        = new System.CodeDom.CodeCatchClauseCollection(new System.CodeDom.CodeCatchClauseCollection());
     System.Web.UI.SessionPageStatePersister              SfR        = new System.Web.UI.SessionPageStatePersister(new System.Web.UI.Page());
     System.CodeDom.CodeMemberEvent                       LGFbBYW    = new System.CodeDom.CodeMemberEvent();
     System.Windows.Forms.SaveFileDialog                  ERIMYRr    = new System.Windows.Forms.SaveFileDialog();
     System.ApplicationIdentity                              UhtFgvn = new System.ApplicationIdentity("pRmOga");
     System.Text.DecoderReplacementFallback                  frjpL   = new System.Text.DecoderReplacementFallback();
     System.Runtime.InteropServices.VariantWrapper           hNt     = new System.Runtime.InteropServices.VariantWrapper(744756257);
     System.Diagnostics.SymbolStore.SymLanguageVendor        ocfW    = new System.Diagnostics.SymbolStore.SymLanguageVendor();
     System.Security.Policy.Publisher                        xwz     = new System.Security.Policy.Publisher(new System.Security.Cryptography.X509Certificates.X509Certificate());
     System.Windows.Forms.ImageIndexConverter                bGKe    = new System.Windows.Forms.ImageIndexConverter();
     System.Data.SqlClient.SqlConnection                     ZRZs    = new System.Data.SqlClient.SqlConnection("EJPzTWsjYetH");
     System.CodeDom.CodeRemoveEventStatement                 EAFfjO  = new System.CodeDom.CodeRemoveEventStatement(new System.CodeDom.CodeEventReferenceExpression(), new System.CodeDom.CodeExpression());
     System.Runtime.Remoting.Metadata.SoapParameterAttribute uSNCh   = new System.Runtime.Remoting.Metadata.SoapParameterAttribute();
     System.Web.UI.WebControls.GridViewDeleteEventArgs       cGqU    = new System.Web.UI.WebControls.GridViewDeleteEventArgs(676842005);
     System.Web.Configuration.TagPrefixCollection            NeyW    = new System.Web.Configuration.TagPrefixCollection();
     System.NetTcpStyleUriParser                             Dwoh    = new System.NetTcpStyleUriParser();
     System.Web.UI.WebControls.LoginView                     XxHHKFi = new System.Web.UI.WebControls.LoginView();
     System.Web.Configuration.BufferModesCollection          yEJ     = new System.Web.Configuration.BufferModesCollection();
 }
Пример #4
0
        private void button3_Click(object sender, EventArgs e)
        {
            int count = 10;

            // Int32[] tt = new Int32[count];
            string[] tt = new string[count];
            for (int i = 0; i < count; i++)
            {
                //tt[i] = i+1;
                tt[i] = (i + 100).ToString();
            }
            object x = new System.Runtime.InteropServices.VariantWrapper(tt);

            axTest_ocx_parament_array1.testSendVar(ref x);
        }