|
by: bigoxygen |
last post by:
Hi.
I'm using a 3 tier FrontController Design for my web application right
now.
The problem is that I'm finding to have to duplicate a lot of code for
similar functions; for example, listing users, and listing assignments
use similar type commands. Is there a "better" way I can organize my
code?
|
by: Tony Johansson |
last post by:
Hello!
Here I have one base klass and three subklasses.
I Just want to have your opinion about the design of these klasses.
I don't think that my design is good.
I think that I instead should not have done the base class abstract it is
so now but that is wrong I think. The base class should be concrete
Define then method fetchWeaponName, fetchAllowedAnimal and getPrice in the
|
by: William Gill |
last post by:
Being somewhat new to Python, and having a tendency to over complicate
things in my class design, I was wondering if anyone can suggest a
simple graphical or flowcharting tool that they use to organize their
class and program design? Because of a 55 mph head-on accident a few
years back, I have short term memory problems, so flipping back and
forth between pages of code is next to impossible for me to keep
straight. A simple graphical...
|
by: Steve Barnett |
last post by:
I've been struggling with C# for the last couple of months (I'm a VB6
developer) and it dawned on me this morning that it has nothing to do with
C# and everything to do with application design.
Case in point; I recently developed an application in C# that worked
perfectly well and performed the task I required. Having finished the
development, I went back and split the program in to four classes, so ending
up with a program that did...
|
by: xargon |
last post by:
Hi everyone,
I am writing a small user interface library in C++ (I know it has been
done to death, but it is good for learning ).
Anyways, I need some help/advice with the deisgn of the software
architecture. The problem I am facing is that a control can have so
many states... For example, a button could be have various shapes
(rounded, square, some other custom geometry). Also, it could be
bitmapped, textured, text only, text with...
|
|
by: Joe |
last post by:
I have a few ToolStripContains and ToolStrips in my app and only want
certain ToolStrips to be able to be dropped on certain ToolStripContainers.
Is there anyway to do this? I tried the DragEnter event of the
ToolStripContainer but it didn't help.
Thanks,
Joe
|
by: Simon |
last post by:
Hi there,
my question is not specifically related to C++, but rather the
practice around it. I've started a big project in C++ and stumbled
onto a couple problems like inter-dependency, forward declarations
giving troubles later during compilation and more. All these trouble
were mostly due to the design of the files making the whole project.
I've read a bit on design patterns but I don't feel I've read enough.
I have my project in...
|
by: Mike |
last post by:
I am using CFormView and CWinFormsControl in C++ to show a C# control.
The control includes a toolstrip container and various toolstrips. If
all the toolstrips are hidden (visible = false) on any of the
container's panels, a mouse click will cause a stack overflow.
The problem is in the PreTranslateMessage() function of CFormView. It
calls _AfxNextControl. When that function tries to get the parent of
the hidden toolstrip, it gets null...
|
by: =?Utf-8?B?SnVzdGluIFJvYmVydHM=?= |
last post by:
Hi
I am developing a windows app. in VB using VS2005.
I have multiple toolstrips (and toolstrip containers) where I want users to
move buttons around (using {Alt} + drag) inside the toolstrips, and to move
toolstrips across containers.
However I want to prevent users dragging toolbuttons to different
toolstrips. I thought MergeAction of MatchOnly would achieve this, but
apparantly not. Does anyone know how I can stop this action?
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|