private void SaveButton_Click(object sender, EventArgs e) { if (QuantityTextbox.Text != "") { searchCrit = new Sections { GroupSize = Convert.ToByte(QuantityTextbox.Text), }; DependencyFacade.InsertSection(searchCrit); this.Hide(); } }
private void SaveButton_Click(object sender, EventArgs e) { if (QuantityTextbox.Text != "") { searchCrit = new Sections { GroupSize = Convert.ToByte(QuantityTextbox.Text), }; DependencyFacade.InsertSection(searchCrit); this.Hide(); } }