예제 #1
0
 private void BtnSave_Click(object sender, EventArgs e)
 {
     try
     {
         BL.StoresaMnagement sm = new BL.StoresaMnagement();
         sm.InsertStore(this.TxtName.Text);
         MessageBox.Show("تمت الاظافة", "الحفظ", MessageBoxButtons.OK, MessageBoxIcon.None);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }