1
vote
1answer
150 views

How to create a WinForms project that is “WPF-ready”

I'm a C# developer who hasn't had the privilege of learning WPF yet. However, I recently initiated the architecture phase of a new project which I expect will eventually employ WPF (probably; although ...
-1
votes
1answer
204 views

Better sticking with MDI or learning WPF? [closed]

I have a personal project I'm going to start working on soon. It will be database driven and have various screens that the operator may want to use. First thing I thought of was an MDI interface would ...
0
votes
1answer
121 views

SQL Update statement generator using C# Winforms?

I am trying to make an UPDATE STATEMENT generator using C# Winforms. I would like to build a statement generator which will print statements like this: UPDATE Customers SET ContactName='Alfred ...
3
votes
2answers
1k views

Should I use a list or an array?

I'm working on a windows form to calculate UPC for item numbers. I successfully create one that will handle one item number/UPC at a time, now I want to expand and do it for multiple item ...
4
votes
2answers
170 views

C# gadgets overloading the form (can't see the woods for the trees) [closed]

I have the task of taking over a C# program that is very badly written, however I am new to C#. The form has many objects including labels, buttons, panels, etc, which overlap each other. The form is ...
1
vote
6answers
2k views

What are the alternatives to resx file

I am developing a Windows application and I want to store all the text for labels, radio buttons, buttons, check boxes and column headers of grids at one place. I have tried using a class file, an xml ...
1
vote
2answers
421 views

MVP Implementation at the UserControl Level

I'm trying to figure out how MVP should be implemented at the UserControl level. I thought I had it, but I ended up reading a blog post that pretty much shut me down. Now I'm back at the start and ...
2
votes
3answers
383 views

Is there a better way of handling access control logic instead of it being in the UI?

Through most of my dev experience, I've never had to deal with much variety of access control architectures. They've all been pretty straight forward: Group [Create, Update, Delete] - User 1 ...
0
votes
2answers
535 views

Implementing Context-based Undo/Redo Functionality

I'm currently implementing an undo/redo mechanism using the Command Pattern. Everything works so far. My problem now is to implement the undo/redo functionality in a way that it is bound to a given ...
-3
votes
1answer
576 views

map data structure in pacman [closed]

I am trying to make a pacman game in c#. I have done some basic work and have previously replicated games like copter-it and minesweeper. I am confused about how to implement the map in pacman. Which ...
6
votes
2answers
4k views

What is a proper way of building Winform apps with multiple “screens”

What's a proper way of building a Winform app that has multiple 'screens'? For example, I'm trying to write a small backup program (mainly for giggles), and I've been dumping controls and containers ...
5
votes
1answer
356 views

what kind of certificate needed for my application ?

I am releasing free C# softwares I've created using Visual Studio. In the future, some of these softwares might become Paid. I was wondering if I need to purchase any kind of license for them ? I ...
3
votes
2answers
701 views

What is the correct UI interface to learn for creating Windows phone 8 apps?

I am a veteran Delphi 6 programmer transitioning to C# development. My first project is a open source library that will have a minimal user interface since it is meant to be used as a Component ...
2
votes
1answer
525 views

Should I Use WCF For My Purpose?

I wrote two programs that server and client can connect to each other (one program for server and another for client) with their IP addresses (socket programming). Now I want to modify it so that if ...
1
vote
1answer
617 views

what is difference in section and subreport, where to use multiple sections?

Please share your knowledge about these Crystal Reports concepts. I want to know what is difference in section and sub report? I know about default sections and we can add new sections into report. ...
3
votes
2answers
295 views

What is a good design strategy for retaining history of user activities and files like Visual Studio projects?

OK so I'm not so sure that "project" is the right term, but for my purposes, I define "project" as similar to what Visual Studio uses, or Microsoft word - files that the user can open and work on and ...
0
votes
4answers
397 views

Software development project inception phase

Currently our team develops Web Applications and now we are going to Windows Forms applications. I have created the inception phase for our Windows Forms project structure. eg: ApplicationSolution ...
6
votes
1answer
807 views

What is a good strategy for testing UserControls?

A UserControl cannot be dragged-dropped onto a winform. Instead, I must compile the assembly add it to my toolbox, then I can drag it onto a Form. Doing this toolbox approach just to test out a ...
2
votes
4answers
272 views

Do more object declarations affect the program?

I am programming in Windows Forms and MySQL. If I declare this in the program, I can use the connection and command objects in the whole .cs page: MySqlConnection connection = null; MySqlCommand ...
1
vote
2answers
551 views

Implications of handles between forms

I was developing a WindowsForm application in C#, with 2 forms. Regardless of what they both did specifically I needed to access values in form2 and send them to form1 and vice versa. For this to ...
17
votes
3answers
11k views

Best design for Windows forms that will share common functionality

In the past, I have used inheritance to allow the extension of Windows forms in my application. If all of my forms would have common controls, artwork, and functionality, I would create a base form ...
1
vote
3answers
186 views

Should controls on a form be prepared in a separate class?

I have a form with several controls on it. Every control has to be declared in the class, formatted in the constructor (-size, location, event subscription etc), and its event-handlers declared, ...
2
votes
6answers
1k views

VS2010 winform designer to learn, or “bottom up” approach?

Long story short, I'm president of a programming club at my university. We're all 1st and 2nd year programming students. We have a project we're about to start working on (converting a console program ...
35
votes
10answers
8k views

WPF vs. WinForms - a Delphi programmer's perspective?

I have read most of the major threads on WPF vs. WinForms and I find myself stuck in the unfortunate ambivalence you can fall into when deciding between the tried and true previous tech (Winforms), ...
11
votes
3answers
4k views

How do I set up MVP for a Winforms solution?

Question moved from Stackoverflow - http://stackoverflow.com/questions/4971048/how-do-i-set-up-mvp-for-a-winforms-solution I have used MVP and MVC in the past, and I prefer MVP as it controls the ...
57
votes
8answers
31k views

How do you organize your projects? [closed]

Do you have any particular style of organizing projects? For example, currently I'm creating a project for a couple of schools here in Bolivia, this is how I organized it: TutoMentor (Solution) ...
19
votes
5answers
5k views

Moving from Winforms to WPF [closed]

I am a long time experienced Windows Forms developer, but now it's time to move to WPF because a new WPF project is comming soon to me and I have only a short lead time to prepare myself to learn WPF. ...
10
votes
10answers
2k views

Prevent Casual Piracy for Simple Utility

I've written a small utility that I wish to sell for less than $10. My primary concern is "casual piracy". The scenario that plays out in my mind is this: User buys the program, enjoys using it ...