예제 #1
0
 private void Clear_Click(object sender, EventArgs e)
 {
     SName.Text        = "Name"; SName.ForeColor = Color.Silver;
     Surname.Text      = "Surname"; Surname.ForeColor = Color.Silver;
     Email.Text        = "Email"; Email.ForeColor = Color.Silver;
     Password.Text     = "Password"; Password.ForeColor = Color.Silver;
     progressBar.Value = 0; lblPasswordStrong.Text = "";
     CityList.Text     = "ADANA";
     Photo.Text        = "Upload a file"; Photo.ForeColor = Color.Silver;
     pictureBox.Image  = null;
     SName.Focus();
 }
예제 #2
0
        public ProfileItemListView()
        {
            InitializeComponent();

            Fname.Completed += (sender, e) => {
                SName.Focus();
            };
            SName.Completed += (sender, e) => {
                MobNumber.Focus();
            };
            MobNumber.Completed += (sender, e) => {
                Email.Focus();
            };
        }