private void SetLabelText(string a) { if (InvokeRequired) { SetLabelTextFeedBack d = new SetLabelTextFeedBack(SetLabelText); Invoke(d, new object[] { a }); } else { label_complete.Text = "??????????????????: " + a + '%'; } }
private void SetLabelText_(string a) { if (InvokeRequired) { SetLabelTextFeedBack d = new SetLabelTextFeedBack(SetLabelText_); Invoke(d, new object[] { a }); } else { state = 4; CheckState(); bmp_ = new Bitmap((int)pr.Header.Width, (int)pr.Header.Height); label_prtime_print.Text = label_prtime.Text; label_resolution_print.Text = label_resolution.Text; label_type_print.Text = label_source.Text; label_num_of_cont.Text = "??????-???? ????????????????: " + pr.ContorurCount; tabControl1.SelectedIndex = 3; } }