// 应用本地设置 private void applyLocalConfig() { srcPathInput.Text = LocalConfig.GetInstance().Get <String>("srcPath"); dstPathInput.Text = LocalConfig.GetInstance().Get <String>("dstPath"); float defaultScale = 1.0f; scaleInput.Text = defaultScale.ToString("0.0"); imagePathInput.Text = "animation"; }
private void dstPathInput_TextChanged(object sender, EventArgs e) { LocalConfig.GetInstance().Set("dstPath", dstPathInput.Text); }