Hi,
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()
{
InitializeComponent();
}
public Button MyButton
{
get
{
return button1;
}
}
public TabControlAdv MyTab
{
get
{
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?
Thanks
My Message.zip