Click here to Skip to main content
15,896,453 members
Home / Discussions / C#
   

C#

 
QuestionTwo abstract class with same function name Pin
.NET- India 25-Sep-08 19:36
.NET- India 25-Sep-08 19:36 
AnswerRe: Two abstract class with same function name Pin
Giorgi Dalakishvili25-Sep-08 20:41
mentorGiorgi Dalakishvili25-Sep-08 20:41 
QuestionNeed integration with MarketSmart? Pin
fmlove25-Sep-08 19:21
fmlove25-Sep-08 19:21 
QuestionPersonal Grading System Pin
myraesparar25-Sep-08 17:56
myraesparar25-Sep-08 17:56 
AnswerRe: Personal Grading System Pin
Colin Angus Mackay25-Sep-08 18:30
Colin Angus Mackay25-Sep-08 18:30 
QuestionBeginner Questions Pin
Rodziel25-Sep-08 17:16
Rodziel25-Sep-08 17:16 
AnswerRe: Beginner Questions Pin
c242326-Sep-08 0:23
c242326-Sep-08 0:23 
QuestionRe: Beginner Questions [modified] Pin
Rodziel26-Sep-08 12:29
Rodziel26-Sep-08 12:29 
Thank you for answering.

About the first question. I found an answer elsewhere. 2nd bit of code disrupted it.

About the third, i tried all anchor combinations. Didn't work. Is there a way to fine tune by how much box stretches?

Edited: About fourth, I used this
openedFile = openFileDialog1.FileName;
string textData = System.IO.File.ReadAllText(openedFile);
Font drawFont = new Font("Arial", 10);
SolidBrush drawBrush = new SolidBrush(Color.Black);
surface.DrawString(textData, drawFont, drawBrush, 50.0f, 20.0f);

to display text without trouble, now I just need to get it to display where I want it.

Edit 2: Can't find a way to clear text when opening another file. Or to wrap text. Maybe create temp image that gets deleted on opening of new file?

modified on Saturday, September 27, 2008 12:43 AM

AnswerRe: Beginner Questions Pin
c242328-Sep-08 21:35
c242328-Sep-08 21:35 
QuestionSave Solution to different folder Pin
upsfeup25-Sep-08 15:53
upsfeup25-Sep-08 15:53 
AnswerRe: Save Solution to different folder Pin
Steve Echols25-Sep-08 19:07
Steve Echols25-Sep-08 19:07 
QuestionHo do I suppress the Tab key, or control tabbing to a nested user control? Pin
Poolee25-Sep-08 15:47
Poolee25-Sep-08 15:47 
AnswerRe: Ho do I suppress the Tab key, or control tabbing to a nested user control? Pin
dan!sh 25-Sep-08 17:59
professional dan!sh 25-Sep-08 17:59 
GeneralRe: Ho do I suppress the Tab key, or control tabbing to a nested user control? Pin
Poolee26-Sep-08 17:48
Poolee26-Sep-08 17:48 
GeneralRe: Ho do I suppress the Tab key, or control tabbing to a nested user control? Pin
dan!sh 26-Sep-08 18:40
professional dan!sh 26-Sep-08 18:40 
GeneralRe: Ho do I suppress the Tab key, or control tabbing to a nested user control? Pin
Poolee2-Oct-08 6:51
Poolee2-Oct-08 6:51 
QuestionParse XML file and connect to a DSN Pin
Planker25-Sep-08 13:47
Planker25-Sep-08 13:47 
AnswerRe: Parse XML file and connect to a DSN Pin
Planker25-Sep-08 16:53
Planker25-Sep-08 16:53 
AnswerRe: Parse XML file and connect to a DSN Pin
PIEBALDconsult25-Sep-08 18:45
mvePIEBALDconsult25-Sep-08 18:45 
GeneralRe: Parse XML file and connect to a DSN Pin
Planker26-Sep-08 2:41
Planker26-Sep-08 2:41 
QuestionA good tutorial tu use graphics on form ? Pin
baranils25-Sep-08 11:40
baranils25-Sep-08 11:40 
AnswerRe: A good tutorial tu use graphics on form ? Pin
Anthony Mushrow25-Sep-08 12:27
professionalAnthony Mushrow25-Sep-08 12:27 
GeneralRe: A good tutorial tu use graphics on form ? Pin
baranils25-Sep-08 20:02
baranils25-Sep-08 20:02 
GeneralRe: A good tutorial tu use graphics on form ? Pin
Anthony Mushrow25-Sep-08 22:21
professionalAnthony Mushrow25-Sep-08 22:21 
AnswerRe: A good tutorial tu use graphics on form ? Pin
V.25-Sep-08 20:33
professionalV.25-Sep-08 20:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.