Click here to Skip to main content
14,970,531 members
Home / Discussions / Windows Forms
   

Windows Forms

 
AnswerRe: Highlight text on webbrowser Pin
Simon_Whale27-Jan-14 23:41
professionalSimon_Whale27-Jan-14 23:41 
GeneralRe: Highlight text on webbrowser Pin
Sumit Rastogi SRA28-Jan-14 2:01
professionalSumit Rastogi SRA28-Jan-14 2:01 
AnswerCross posted question. Pin
Pete O'Hanlon28-Jan-14 0:31
mvePete O'Hanlon28-Jan-14 0:31 
Questionclick once setup not installing crystal report runtime pre- requisite while updating from file location Pin
Member 1041145119-Nov-13 1:58
MemberMember 1041145119-Nov-13 1:58 
QuestionCategory Partitioning Pin
Member 449684917-Nov-13 17:36
MemberMember 449684917-Nov-13 17:36 
QuestionLooking for C# winforms control / library to manage different map-based plain image layers Pin
vValkir6-Nov-13 1:22
MembervValkir6-Nov-13 1:22 
AnswerRe: Looking for C# winforms control / library to manage different map-based plain image layers Pin
BillWoodruff9-Nov-13 6:36
mveBillWoodruff9-Nov-13 6:36 
AnswerRe: Looking for C# winforms control / library to manage different map-based plain image layers Pin
xstoneheartx25-Dec-14 16:20
Memberxstoneheartx25-Dec-14 16:20 
Long time ago, I made an application near to your requirements. The main design was:
- An abstract base Shape class having some methods like a void Render(Graphics) and a method for hit testing,bool HitTest(Point).
- Shape classes for custom shapes that are needed on each layer; shapes like point, line, icon, path, etc that inherit from abstract Shape class.
- Each derived shape has its own properties and overrides Render method and renders itself on the graphics object; also overrides HitTest method to check if it contains a point.
- A Layer class that contains a List of Shapes and a void Render(Graphics) and calls render method of each shape. (You can restrict each layer to specific types of shapes, you can implement z-order management for shapes, etc)
- A Map class having and Image and a List<Shapes> and Save and Load to/from file. (You can handle Active layer and active shape easily.)
- A custom control that has a Map property. This control is responsible for rendering layers and handling user mouse interaction and update layers. This control overrides OnPaint and mouse events and enables double buffering.

Hope this idea helps you.

QuestionNokia for Windows Phone developers, DVLUP. Pin
Anshu Kapoor26-Sep-13 1:45
MemberAnshu Kapoor26-Sep-13 1:45 
AnswerRe: Nokia for Windows Phone developers, DVLUP. Pin
Eddy Vluggen26-Sep-13 1:54
professionalEddy Vluggen26-Sep-13 1:54 
GeneralRe: Nokia for Windows Phone developers, DVLUP. Pin
Anshu Kapoor26-Sep-13 2:07
MemberAnshu Kapoor26-Sep-13 2:07 
GeneralRe: Nokia for Windows Phone developers, DVLUP. Pin
Eddy Vluggen26-Sep-13 3:00
professionalEddy Vluggen26-Sep-13 3:00 
AnswerRe: Nokia for Windows Phone developers, DVLUP. Pin
Richard MacCutchan26-Sep-13 4:33
mveRichard MacCutchan26-Sep-13 4:33 
AnswerRe: Nokia for Windows Phone developers, DVLUP. Pin
Abhinav S9-Oct-13 3:01
MemberAbhinav S9-Oct-13 3:01 
QuestionWeifenLuo.WinformsUI.Docking.dll Version 2.7.0.0 not toggling Pin
rohit24c23-Sep-13 19:48
Memberrohit24c23-Sep-13 19:48 
AnswerRe: WeifenLuo.WinformsUI.Docking.dll Version 2.7.0.0 not toggling Pin
Richard MacCutchan23-Sep-13 20:56
mveRichard MacCutchan23-Sep-13 20:56 
Generalwindow form application Pin
ANKIT KUMAR SINHA22-Sep-13 23:02
MemberANKIT KUMAR SINHA22-Sep-13 23:02 
SuggestionRe: window form application Pin
Richard MacCutchan23-Sep-13 0:51
mveRichard MacCutchan23-Sep-13 0:51 
GeneralRe: window form application Pin
Eddy Vluggen23-Sep-13 1:20
professionalEddy Vluggen23-Sep-13 1:20 
NewsRe: window form application Pin
Gil-B6-Oct-13 5:26
professionalGil-B6-Oct-13 5:26 
GeneralRe: window form application Pin
ANKIT KUMAR SINHA8-Oct-13 22:56
MemberANKIT KUMAR SINHA8-Oct-13 22:56 
GeneralRe: window form application Pin
Simon_Whale9-Oct-13 0:15
professionalSimon_Whale9-Oct-13 0:15 
GeneralRe: window form application Pin
sankarsan parida12-May-14 7:28
professionalsankarsan parida12-May-14 7:28 
AnswerRe: window form application Pin
Member 9986689 (PandaLion98)25-Oct-14 21:27
professionalMember 9986689 (PandaLion98)25-Oct-14 21:27 
QuestionCode VB 2010 - Send SMS via AT command Pin
caopv12-Sep-13 19:05
Membercaopv12-Sep-13 19:05 

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.