Esempio n. 1
0
        private void btnAddStyle_Click(object sender, EventArgs e)
        {
            clsSQL data = new clsSQL();

            data.addStyle(_style);
            _frmRec.populate("S");
            this.Close();
        }
Esempio n. 2
0
 private void btnAdd_Click(object sender, EventArgs e)
 {
     if (style != null && style != "")
     {
         _data.addStyle(style);
         this.Hide();
         _frmRec.populate("S");
         _frmRec.Show();
     }
     else
     {
         MessageBox.Show("Enter a style or close this window to exit adding a new style.");
     }
 }