private void numbersize_btnproperty_Click(object sender, EventArgs e) { int v = Convert.ToInt32((sender as Button).Tag); Frm.FormRange f = new Frm.FormRange(); f.chkzero.Checked = CComLibrary.GlobeVal.filesave.minput[v].checkzero; if (GlobeVal.mysys.language == 0) { f.chkzero.Text = "不能为0,为0时提示"; } else { f.chkzero.Text = "Can not be 0, it will be 0 when prompted."; } f.ShowDialog(); CComLibrary.GlobeVal.filesave.minput[v].checkzero = f.chkzero.Checked; f.Close(); return; }
private void textinput_Btnproperty_Click(object sender, EventArgs e) { int v = Convert.ToInt32((sender as Button).Tag); Frm.FormRange f = new Frm.FormRange(); if (GlobeVal.mysys.language == 0) { f.chkzero.Text = "不能为空,为空时提示"; } else { f.chkzero.Text = "Can not be empty, empty prompt."; } f.chkzero.Checked = CComLibrary.GlobeVal.filesave.minputtext[v].checkzero; f.ShowDialog(); CComLibrary.GlobeVal.filesave.minputtext[v].checkzero = f.chkzero.Checked; f.Close(); return; }