Compare commits
2 Commits
032ab5edb2
...
7a24e6e3bc
| Author | SHA1 | Date | |
|---|---|---|---|
| 7a24e6e3bc | |||
| 651b203c1a |
2
Form1.cs
2
Form1.cs
@@ -42,7 +42,7 @@ namespace CopyAndEncodeImage {
|
||||
}
|
||||
|
||||
private void textBox1_TextChanged(object sender, EventArgs e) {
|
||||
btnEncode.Enabled = !string.IsNullOrEmpty(textBox1.Text) && System.IO.Path.GetExtension(textBox1.Text).ToLower() == ".png";
|
||||
btnEncode.Enabled = !string.IsNullOrEmpty(textBox1.Text) && Path.GetExtension(textBox1.Text).ToLower() == ".png";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user