Telerik JD generated some chunk of code i cant understand,could anyone have any idea of what this is?

1 posts, 0 answers
  1. Tchala
    Tchala avatar
    2 posts
    Member since:
    Mar 2015

    Posted 02 Jan Link to this post


    Here is the code:
            private void timer_0_Tick(object sender, EventArgs e)
            {
                Monitor.Enter(this.u0024STATICu0024timerAutoClose_Ticku002420211C128085u0024intTicku0024Init);
                try
                {
                    if (this.u0024STATICu0024timerAutoClose_Ticku002420211C128085u0024intTicku0024Init.State == 0)
                    {
                        this.u0024STATICu0024timerAutoClose_Ticku002420211C128085u0024intTicku0024Init.State = 2;
                        this.u0024STATICu0024timerAutoClose_Ticku002420211C128085u0024intTick = Application._MachineSetting._Receipt_Print_Interval;
                    }
                    else if (this.u0024STATICu0024timerAutoClose_Ticku002420211C128085u0024intTicku0024Init.State == 2)
                    {
                        throw new IncompleteInitialization();
                    }
                }
                finally
                {
                    this.u0024STATICu0024timerAutoClose_Ticku002420211C128085u0024intTicku0024Init.State = 1;
                    Monitor.Exit(this.u0024STATICu0024timerAutoClose_Ticku002420211C128085u0024intTicku0024Init);
                }
                try
                {
                    this.Button_1.Text = string.Concat(this.string_4, " (", this.u0024STATICu0024timerAutoClose_Ticku002420211C128085u0024intTick.ToString(), ")");
                    this.u0024STATICu0024timerAutoClose_Ticku002420211C128085u0024intTick = checked(this.u0024STATICu0024timerAutoClose_Ticku002420211C128085u0024intTick - 1);
                   
                    if (this.u0024STATICu0024timerAutoClose_Ticku002420211C128085u0024intTick == 0)
                    {
                        this.Timer_0.Enabled = false;
                        this.Close();
                    }
                }
                catch (Exception exception)
                {
                    ProjectData.SetProjectError(exception);
                    DisplayError.Show("-1", exception.Message, "timerAutoClose_Tick", this.string_0);
                    ProjectData.ClearProjectError();
                }
            }
Back to Top