Tagged Questions
0
votes
0answers
45 views
c# WPF Compare two directories and show how to make it identically [on hold]
Let’s presume we’ve got two directories, each one contains several subdirectories and files. Each subdirectory again contains directories and files (... and so on).
My task is to write an application ...
0
votes
1answer
49 views
Filtering common starting/ending characters from array/list of strings
Ok so for example I have an array of strings with each string as below:
364VMS1029
364VMSH920
364VMSH192
364VMSU839
364VMN2382
364VMR223
364VMR2X3
364VMN829
364VMN8757
364VMN831
How can I ...
0
votes
0answers
25 views
Encapsulate multiple properties into a single class to use as a custom DependencyProperty
My application is a WPF project implemented in C# .NET (4.5) using an MVVM architecture with no code-behind in the View. In order to eliminate the coupling between the View and the ViewModel I'm ...
0
votes
0answers
10 views
Send users google oauth authentication to soap WCF Datalayer [migrated]
I have today a WPF application that, for sake of simplicity here, manages a few appointments, and when ready sends the appointments to a WCF datalayer for integration into a 3rd party calendar system. ...
0
votes
0answers
62 views
does class reference itself static anti pattern in prism
I have an application and my desing approach look like this:
class Manager
{
public int State;
static Manager _instance = null;
public static Manager Instance
{
get { return ...
0
votes
0answers
173 views
What's the best way to expose a Model object in a ViewModel?
In a WPF MVVM application, I exposed my model object into my viewModel by creating an instance of Model class (which cause dependency) into ViewModel. Instead of creating separate VM properties, I ...
4
votes
1answer
133 views
WPF properties memory management
I'm trying to build binding system similar to the one that is used in WPF and I ran into some memory leaking problems, so here comes my question - how is memory managed in WPF property system?
From ...
1
vote
1answer
135 views
How much functionality needed to create a new class?
Right now I am working on my own small project of a WPF file back up application. I have come to a point where I want to create a method that will copy files recursively from one place to another.
...
2
votes
2answers
189 views
As a .NET WPF developer what are key differences I should be aware of when working with ASP.NET MVC? [closed]
I'm a fairly experienced desktop .NET developer with a solid feel for MVVM and WPF, and I've worked with JavaScript, jQuery and HTML/CSS in the past - though I'm pretty dated and haven't had a ton of ...
0
votes
0answers
92 views
How to design modular “screen configurator” for database application
I am currently working with a product that is effectively a glorified CRUD application. (It is a C# .NET 4.0 desktop application backed by an Oracle 11gR2 database.) The client program presents a list ...
0
votes
0answers
67 views
Inputs and outputs to a method mixed in the UI
I am designing the front end of an WPF application using MVVM where basically all we are doing (for now) is calling a method with some inputs and displaying the outputs.
There are two types of ...
1
vote
1answer
199 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 ...
4
votes
3answers
520 views
What are my options for using a C++11 library in a C# WPF application? [closed]
I am writing a cross-platform (OS X and Windows) desktop application in C++11. I intend to use the same C++11 core on both platforms, utilizing native frameworks for the UI (Cocoa and Objective-C on ...
-1
votes
1answer
388 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 ...
-1
votes
1answer
974 views
Where do put INotifyPropertyChanged Interface in Model or ViewModel [closed]
I am new to MVVM pattern I have a window which has 3 text boxes namely Name,Address,Description ,a save button and a listview which displays the above fields Name,Address,Description respectively ...
0
votes
2answers
311 views
Model and ViewModel for View
I am new to the MVVM pattern. I have a window which has 3 text boxes (Name, Address, Description), a save button, and a listview which displays the above fields. When the save button is clicked I want ...
0
votes
1answer
192 views
Need an OOP pattern or strategy for “pluggable” property
I'm using OOP and MVVM in a WPF c# application. The goal is for the resulting object (data-bound to user interface) to accurately represent a product. One specific area of the product is highly ...
0
votes
0answers
415 views
Best method for async initialization of view model in MVVM pattern (WPF)
I'm working on a business application (C#, WPF, EF, MVVM). I need to load a bunch of items from database, create view models for them and put them in a window. Is there a way to create the view model ...
0
votes
1answer
173 views
What shoud MainWindow of a WPF contains
I am making a WPF application following MVVM model. I have seen some approaches for applying MVVM. I am concerned about my MainWindow.xaml. In some tutorials I have seen that MainWindow is only ...
1
vote
1answer
261 views
Syncing objects from code with the view in WPF
I've been reading some into it, but I am time pressed, so I would require a simple solution now and I promise to read up on it later. I come from a winforms c# background, and have lately been working ...
0
votes
1answer
344 views
What is the most efficient way to manage large collection
I have a rather difficult problem:
I periodically receive a Dictionary<decimal, int> subDict containing 100 records where
decimal is a Price
and int is Amount
The outcome I need is a ...
1
vote
1answer
190 views
Organization standards for large programs [closed]
I'm the only software developer at the company where I work. I was hired straight out of college, and I've been working here for several years. When I started, eveeryone was managing their own data as ...
7
votes
3answers
6k views
What the best way to wire up Entity Framework database context (model) to ViewModel in MVVM WPF?
As in the question above: What the best way to wire up Entity Framework database model (context) to viewModel in MVVM (WPF)?
I am learning MVVM pattern in WPF, alot of examples shows how to implement ...
3
votes
2answers
2k views
Well designed Open Source WPF Applications [closed]
I'm just wondering if anyone knows about some well designed .NET Open Source Applications using WPF?
I have already tried to search at the usual sites like GitHub and Sourceforge, but I wasn't very ...
1
vote
0answers
59 views
Switch Parent Children relationship in C# [duplicate]
Using C# and WPF I have a situation where my data is organized hierarchically.
I am using a treeview to represent this (each node is a Class type that containts a Children property that is an ...
2
votes
3answers
265 views
Switch Parent Children relationship in C#
Using C# and WPF I have a situation where my data is organized hierarchically.
I am using a treeview to represent this :
Group_01
Object_01
Material_01
Texture
Material_02
Texture_02
...
3
votes
1answer
240 views
Selecting an appropriate design for Month/Date Selection
I have a requirement what seemingly looks very simple (and perhaps strange) but some minor details are giving me troubles. Perhaps I'm overthinking this.
I'm building a scheduler application (on WPF) ...
0
votes
2answers
2k views
MVVM pattern - Best design approach to manage an application
One year ago, I discovered the WPF technology and I developed a little application, as first experiment, to compare the content of two different directories. The content of each directory is shown in ...
1
vote
2answers
202 views
Why DependencyProperties and not native language support?
With advent of WPF and MVVM Microsoft introduced DependencyProperties and INotifyPropertyChange interface to provide a way to implement the "reactive" approach used with those technologies.
Sadly ...
1
vote
1answer
162 views
Storage and naming of log data
I'm in the process of rewriting a small application from console mode to a GUI mode.
The input is a file with log data from a measuring device:
...
00029;00044;00076;00044;00021
...
2
votes
1answer
3k views
Communication between a C# application and C++ DLL
I am currently building an audio streamer and I have a CPP .dll that I use functions of inside the WPF C# GUI.
The program needs to deal with sorts of events such as
Lower/Increase Volume
...
2
votes
2answers
512 views
Data representation with C# and WPF
I'm developing an application handling DB parts. I retrieve the data from the DB with stored procedures and prepared statements. Now I want to display the data in the GUI.
What is the current ...
4
votes
2answers
2k views
Hierarchical View/ViewModel/Presenters in MVPVM
I've been working with MVVM for a while, but I've recently started using MVPVM and I want to know how to create hierarchial View/ViewModel/Presenter app using this pattern.
In MVVM I would typically ...
1
vote
3answers
687 views
How do I know if I'm violating MVVM with WPF? [closed]
I was recently grabbing an auto generated TreeViewItem from a nested TreeView node in WPF, and I was using ItemContainerGenerator to get it in code behind. Then I thought to myself I'm certainly ...
3
votes
2answers
749 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 ...
7
votes
4answers
4k views
How to make creating viewmodels at runtime less painful
I apologize for the long question, it reads a bit as a rant, but I promise it's not! I've summarized my question(s) below
In the MVC world, things are straightforward. The Model has state, the View ...
3
votes
3answers
1k views
Combining multiple events into one action/ Defer refreshing
So in a GUI program I have multiple events that trigger a update of a workspace. This update call is costly so I would want it to not happen very often.
A user might pick something from a dropdown ( ...
7
votes
1answer
6k views
Future of WPF and free controls ? [closed]
I am willing to work on a personal project that I would like to release publicly. I am working with Silverlight and have experience with XAML, as it is my full-time job.
It is enjoyably for me to ...
39
votes
6answers
8k views
Single Responsibility Principle - How Can I Avoid Code Fragmentation?
I'm working on a team where the team leader is a virulent advocate of SOLID development principles. However, he lacks a lot of experience in getting complex software out of the door.
We have a ...
0
votes
1answer
260 views
Which topics do I need to research to enable me to complete my self-assigned “Learning Project”?
I want to continue learning C#. I've read parts of a few books recommended on here and the language is feeling more familiar by the day.
I'd like to tackle a mid-sized personal project to take my ...
1
vote
2answers
549 views
How should I handle multi-tasking in a WPF application?
In most of the multi-tasking CRM applications I've seen, MdiWindow is used to allow users to open multiple windows at the same time.
But MdiWindow doesn't seem to be commonly used in WPF. Looking ...
4
votes
1answer
1k views
Which notification pattern is preferable?
I'm working on a view model for a view that presents a dialog with export options. The user selects options then clicks Export. When the view model completes the Export, the calling view model ...
4
votes
2answers
1k views
MVVM Reporting App Approach ? Data Access Layer?
I'm trying to follow the MVVM pattern in a reporting / statistics application that I'm making in C# / WPF.
I have made many model classes to hold properties as a starting point. Some of these models ...
8
votes
4answers
6k views
What should I do to get started with Windows 8 app development?
I'm looking to get into Windows 8 app development, and from what I understand I should be mastering XAML and C#.
Now, there aren't any good tutorials on the internet about Windows 8 yet, but there ...
3
votes
1answer
602 views
Skills required for senior developer who knows C# and WPF
I have average level of knowledge in both C# and WPF. I want to move to next level.
What are the skills needed for that means for Senior developer?
7
votes
4answers
324 views
Can you overuse delegates and events
I've just started getting to grips with event driven programming and I'm finding delegates and events to be very useful. Since starting to see the potential I've began using them all the time to solve ...
0
votes
2answers
378 views
What is the most pragmatic & basic UI pattern to follow for Silverlight and/or WPF
Here is the context. The apps will:
consume existing (and standard) web services.
app is UI intensive (UI updated frequently and lot of data to display).
development team experience level is ...
3
votes
3answers
3k views
WPF4: Is this indictment of DevExpress WPF controls valid and what is a good alternative vendor?
My company is starting a major greenfield development project using DevExpress WPF controls. I just read this critical review of their WPF controls. Do you agree that DevExpress does not understand ...
6
votes
3answers
796 views
How can I reduce the amount of time it takes to fully regression test an application ready for release?
An app I work on is being developed with a modified version of scrum. If you are not familiar with scrum, it's just an alternative approach to a more traditional watefall model, where a series of ...
1
vote
2answers
1k views
Where can I get the Petshop application implemented in WPF and ASP.NET (.NET 4)? [closed]
I need the famous Petshop application implemented in WPF and ASP.NET (.NET 4). An older version can be found here. Where can I obtain it?