We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

CLS-compliant Problem

Thread ID:





68128 Sep 10,2007 04:37 AM Sep 10,2007 02:18 PM General Discussion 1
Tags: General Discussion
KJ Lim
Asked On September 10, 2007 04:37 AM


I have codes below:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Syncfusion.Windows.Forms.Tools;

[assembly: CLSCompliant(true)]

namespace testing
public partial class Form1 : Form
public Form1()

public Button MyButton
return button1;

public TabControlAdv MyTab
return tabControlAdv1;

When I build the code, a warning message appears:
Warning 1 Type of 'testing.Form1.MyTab' is not CLS-compliant Form1.cs 29 30 testing

If the user control class cannot pass, then the button should be appearing the same warning too, but now it is not. Can I know what the reason is behind and how to solve it?

My Message.zip

Ramu [Syncfusion]
Replied On September 10, 2007 02:18 PM

Hi Lim,

This is known issue, please create a direct-trac incident with the forum link has your title and will update you with more information.

Thank you for your interest in Syncfusion products.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.