Skip to content

ContactParser. Program code was Updated#20

Open
KnightDanila wants to merge 5 commits intodemmy:masterfrom
qlynn:KnightDanila
Open

ContactParser. Program code was Updated#20
KnightDanila wants to merge 5 commits intodemmy:masterfrom
qlynn:KnightDanila

Conversation

@KnightDanila
Copy link

  1. ~ is NOT routine destructor in C#. Use IDisposable & Dispose instead …
    I didn't did it, because someone other will do it ( I think so :) )
  2. if (item.IsChosen == true) and if(item.IsChosen)
    I did it in all forms in all similar places :)
  3. Names with form1, Also, such names are very bad to read: form2OrigHight, gridView1
    Renamed names which was like this
  4. Inconsistent naming: underscores with CamelCase. Use CamelCase only.
    I Did this all (I think so :) )
  5. Such strings should be put in resources
    (
    MessageBox.Show("Ошибка: Невозможно считать файл с диска!!!");
    Form1_TextField_FilePath.Text = "Путь к файлу...";
    openFileDialog1.Filter = "txt files (.txt)|.txt";
    )
    Put in resources some message and constant strings
  6. No commented garbage code in code of release
    I Cleaned it
  7. Incorrect file structure
    I did it in forms Level - Maybe it not a good method, but program is working :)

Added some small code corrections (in forms level)

qlynn and others added 5 commits March 6, 2015 19:39
- I didn't did it, because someone other will do it ( I think so :) )
2) if (item.IsChosen == true) and if(item.IsChosen)
- I did it in all forms in all similar places :)
3) Names with form1, Also, such names are very bad to read: form2OrigHight, gridView1
- Renamed names which was like this
4) Inconsistent naming: underscores with CamelCase. Use CamelCase only.
- I Did this all (I think so :) )
5) Such strings should be put in resources
(
MessageBox.Show("Ошибка: Невозможно считать файл с диска!!!");
Form1_TextField_FilePath.Text = "Путь к файлу...";
openFileDialog1.Filter = "txt files (*.txt)|*.txt";
)
- Put in resources some message and constant strings
6) No commented garbage code in code of release
- I Cleaned it
7) Incorrect file structure
- I did it in forms Level - Maybe it not a good method, but program is working :)
8)
- Added some small code corrections (in forms level)

Egoshkin Danila
@KnightDanila KnightDanila changed the title Program code was Updated ContactParser. Program code was Updated Mar 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments