public ManageSupplierClearControls(ManageSupplier manageSupplier) { foreach (Control item in manageSupplier.groupBox1.Controls) { if (item is TextBox) { ((TextBox)item).Clear(); } } }
public SaveSupplier(ManageSupplier manageSupplier) { this.manageSupplier = manageSupplier; ExecuteCommand(CreateCommand()); }