public void SaveData() { LoadBindingModel model = new LoadBindingModel(); ConvertDataFromControlToModel(model); _loadmanager.SaveIntoFile(model); }
private void lưuToolStripMenuItem_Click(object sender, EventArgs e) { LoadBindingModel model = new LoadBindingModel(); ConvertDataFromControlToModel(model); _loadmanager.SaveIntoFile(model); }
internal void LoadData() { LoadBindingModel model = _loadmanager.OpenFile(); if (model != null) { ConvertDataFromModelToControls(model); } }
private void mởToolStripMenuItem_Click(object sender, EventArgs e) { LoadBindingModel model = _loadmanager.OpenFile(); if (model != null) { ConvertDataFromModelToControls(model); } }
public void ConvertDataFromModelToControls(LoadBindingModel model) { txbAValue.Text = model.CCAValue; txbBValue.Text = model.CCBValue; }
public void ConvertDataFromControlToModel(LoadBindingModel model) { model.CCAValue = txbAValue.Text; model.CCBValue = txbBValue.Text; }
public void SaveIntoFile(LoadBindingModel model) { Z119.ATK.Common.ProjectManager.SaveObject(model, Const.FD_Tai); }
public void SaveIntoFile(LoadBindingModel model) { Z119.ATK.Common.CommonFile.SaveIntoFile(model, Const.FD_Tai); }