Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on close with page number selected #16

Open
GoogleCodeExporter opened this issue Nov 16, 2015 · 1 comment
Open

Error on close with page number selected #16

GoogleCodeExporter opened this issue Nov 16, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Open a file
2. Scroll to top down
3. Erase text from "tsPageNum"
4. Close App.

What is the expected output? 
Aplication close.

What do you see instead?
Exception: "System.InvalidCastException: Conversion from string "" to type 
'Integer' is not valid. ---> System.FormatException: Input string was not in a 
correct format.
   at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)
   at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value)
   --- End of inner exception stack trace ---
   at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value)
   at PDFView.PDFViewer.tsPageNum_Leave(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripControlHost.OnLeave(EventArgs e)
   at System.Windows.Forms.ToolStripControlHost.HandleLeave(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnLeave(EventArgs e)
   at System.Windows.Forms.Control.NotifyLeave()
   at System.Windows.Forms.ContainerControl.UpdateFocusedControl()"




What version of the product are you using? 
The lastest from the repository.

On what operating system?
Windows 7 profesional 32 bits.

Please provide any additional information below.




Original issue reported on code.google.com by [email protected] on 12 Mar 2014 at 7:40

@GoogleCodeExporter
Copy link
Author

The steps are:

1. Open a file
2. Erase text from "tsPageNum"
3. Scroll to top down
4. Close App.

Sorry!


Original comment by [email protected] on 12 Mar 2014 at 7:50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant