public Settings(HandSettings HandSettingsWin) : this() { // 建立对HandSettings实例的引用 this.HandSettingsWin = HandSettingsWin; // 通过HandSettingsWin.StringValue1A属性获取HandSettings上TextBox1A显示的内容 string str1A = HandSettingsWin.StringValue1A; string str1B = HandSettingsWin.StringValue1B; }
private void uiButton1_Click(object sender, EventArgs e) { HandSettings f = new HandSettings(); f.Show(); }