private void btn_Add_Click(object sender, EventArgs e) { FormView.AddEquip addequip = new FormView.AddEquip(); ModuleClass.FuncClass.clikUI = "equip"; addequip.ShowDialog(); addequip.Dispose(); FreshLbox("EquipName", "EquipTypeSlet", "lbox_Equip"); }
private void btn_Add_Click(object sender, EventArgs e) { FormView.AddEquip addequip = new FormView.AddEquip(); ModuleClass.FuncClass.clikUI = "ometer"; addequip.ShowDialog(); addequip.Dispose(); FreshUI("GasometerName", "GasometerType", "lbox_Gasometer"); }
private void btn_Add_Click(object sender, EventArgs e) { FormView.AddEquip addequip = new FormView.AddEquip(); ModuleClass.FuncClass.clikUI = "ometer"; addequip.ShowDialog(); addequip.Dispose(); FreshLbox("GasometerName", "GasometerType", "lbox_Gasometer"); }
private void btn_Add_Click(object sender, EventArgs e) { try { FormView.AddEquip addequip = new FormView.AddEquip(); ModuleClass.FuncClass.clikUI = "ometer"; addequip.ShowDialog(); addequip.Dispose(); FreshUI("GasometerName", "GasometerType", "lbox_Gasometer"); } catch (Exception ex) { MessageBox.Show(ex.Message); } }