状态栏是作为输出的,你怎么作为输入;
toolStripStatusLabel1.Text = "123"; int n = int.Parse(toolStripStatusLabel1.Text); int y = Convert.ToInt32(toolStripStatusLabel1.Text);
这样就可以转换成int