This is what it looks like so far. |
private void
textBox1_KeyPress(object sender, KeyPressEventArgs e)
{
if
(!System.Text.RegularExpressions.Regex.IsMatch(e.KeyChar.ToString(), "\\d+"))
{
MessageBox.Show("Enter Only Numbers", "Not a Number", MessageBoxButtons.OK, MessageBoxIcon.Error);
e.Handled
= true;
}
}
|
Last week I started learning SQL via Code Club through the Code Newbie website. We are using Zed Shaw's book Learn SQL the Hard Way. He has us using SQLite to learn but as we have found out SQLite is not always the same as SQL. Some of the questions we've looked up on StackOverflow have not matched in syntax. I've started a list of the differences and sill post it once we finish this course. It will not be an exhaustive list as I'm sure someone has already created one, just the differences that we've encountered and the solutions we found or figured out. I originally set up the group session for myself and a friend to learn together. Last week she wasn't able to make it but we had two other people join. These sessions have been enjoyable as we are learning at the group's pace and taking time to research questions as they come up.
Tonight I created a GitHub account. I also uploaded my calculator, even though it isn't complete I want my friends to be able to see my progress and help out. Much easier to let them have my code to see and give advice than try to explain it over the phone or chat. As I create more projects I will be adding them to the account. I would like to participate in the Game Off challenge though I doubt my abilities are at a level to make any significant changes to any of the games.
No comments:
Post a Comment