private void Frm_Printcoordinates_Load(object sender, EventArgs e) { string LabelX = OperateIni.IniReadValue("PACK_CTN", "LabelX", IniFilePath); string LabelY = OperateIni.IniReadValue("PACK_CTN", "LabelY", IniFilePath); numerX.Value = Convert.ToDecimal(LabelX); numerY.Value = Convert.ToDecimal(LabelY); }
private void imbt_OK_Click(object sender, EventArgs e) { OperateIni.IniWriteValue("PACK_CTN", "LabelQty", numqty.Value.ToString(), IniFilePath); this.DialogResult = DialogResult.OK; }
private void Frm_LabelQty_Load(object sender, EventArgs e) { string LabelQty = OperateIni.IniReadValue("PACK_CTN", "LabelQty", IniFilePath); numqty.Value = Convert.ToDecimal(LabelQty); }