public static void Status(int num)
{
Page.Invoke((Action)delegate
{
Page.progressBarEncoding.Value = num + 1;
Page.lblValue.Text = (num + 1) + Resources.Title_Thread_out_of + _max;
});
}