Esempio n. 1
0
        protected void saveButton_Click(object sender, EventArgs e)
        {
            string mobileName  = inputModelName.Value;
            string mobileIMEI  = inputIMEI.Value;
            int    mobilePrice = Convert.ToInt32(inputPrice.Value);

            Mobile mobile = new Mobile(mobileName, mobileIMEI, mobilePrice);

            saveLabel.Text      = manager.GetSaveAllMobie(mobile);
            saveLabel.ForeColor = Color.Green;
            CLearAllFields();
        }