Click here to Skip to main content
15,885,278 members
Home / Discussions / C#
   

C#

 
GeneralRe: Convert .NET 4.5 method into .NET 2.0 using LinqBridge Pin
arnold_w14-Dec-17 3:15
arnold_w14-Dec-17 3:15 
GeneralRe: Convert .NET 4.5 method into .NET 2.0 using LinqBridge Pin
Richard Deeming14-Dec-17 3:30
mveRichard Deeming14-Dec-17 3:30 
GeneralRe: Convert .NET 4.5 method into .NET 2.0 using LinqBridge Pin
arnold_w14-Dec-17 4:14
arnold_w14-Dec-17 4:14 
GeneralRe: Convert .NET 4.5 method into .NET 2.0 using LinqBridge Pin
arnold_w14-Dec-17 5:19
arnold_w14-Dec-17 5:19 
SuggestionRe: Convert .NET 4.5 method into .NET 2.0 using LinqBridge Pin
Richard Deeming14-Dec-17 6:17
mveRichard Deeming14-Dec-17 6:17 
GeneralRe: Convert .NET 4.5 method into .NET 2.0 using LinqBridge Pin
BillWoodruff15-Dec-17 11:06
professionalBillWoodruff15-Dec-17 11:06 
GeneralRe: Convert .NET 4.5 method into .NET 2.0 using LinqBridge Pin
arnold_w15-Dec-17 20:29
arnold_w15-Dec-17 20:29 
QuestionNeed to understand work assigned to me Pin
nisss13-Dec-17 20:13
nisss13-Dec-17 20:13 
Hello everyone,

I am new to c# previously I used to work on vb.net and I have joined a new organisation where I have been assigned this following task. Posted below is my task. I need someone who could explain me this task as a layman.

We will be creating a new GUI: This GUI will be a generic GUI capable of allowing for configuration of all some Actions, without specific knowledge of each one. This will allow us to expand the components and variables of our system without the need to completely redo the GUI every time we alter a feature.
There is a new project I created within the solution. If you get the latest version of the solution from source control you should see it. There are currently no classes in it.
We need to create the following items:
A new Class GUICreator
This class will accept be responsible for creating a new Panel, which can be displayed within a Windows UI.
It should have an empty constructor and which accepts a profile name for future settings use
It needs a new function "CreatePanel" which accepts a list of GUIObject and returns a Panel, which can then be displayed in another application
A new class GUIControl
This class will contain the information about what type of element we are creating on the GUI
It should have the following(at a minimum):
string: dataType
string: dataName
string: profileName
string: validationRegex
string: tooltip
Control: Windows Control
GetControl - This should return a the control to be used in the Panel based on the data type. For instance it could return a textbox or checkbox
ValidateData: this function will compare the data to the ValidationRegex of the GUIControl and return true or false
Save: This function will save the data based on the data name and profileName of this object
Load: this function will load the data based on the data name and profile name of this object
A new class Panel
This class will be a collection of GUIControl displayed on a panel in a readable layout
This should be a standard windows panel and have a tooltip object which will display the tooltip value for the GUIControl that is currently under the mouse
It will have a LoadFunction which calls the load function of all GUIControls
It will have a save function which calls the save of all GUIControls
The layout of the objects in the panel should default to a format that is both legible and able to be interacted with. This panel can then be displayed in various GUIs such as our user and admin tools to display all settings within the system in a generic way. It also provides flexibility for when we add a new variable or feature to the product we do not need to redesign the entire panel or GUI, we just need to add a new GUIControl object to the panel and everything will continue to work.

modified 14-Dec-17 3:31am.

AnswerRe: Need to understand work assigned to me Pin
OriginalGriff13-Dec-17 20:36
mveOriginalGriff13-Dec-17 20:36 
GeneralRe: Need to understand work assigned to me Pin
nisss14-Dec-17 0:11
nisss14-Dec-17 0:11 
GeneralRe: Need to understand work assigned to me Pin
OriginalGriff14-Dec-17 0:32
mveOriginalGriff14-Dec-17 0:32 
GeneralRe: Need to understand work assigned to me Pin
nisss14-Dec-17 0:52
nisss14-Dec-17 0:52 
GeneralRe: Need to understand work assigned to me Pin
OriginalGriff14-Dec-17 1:06
mveOriginalGriff14-Dec-17 1:06 
GeneralRe: Need to understand work assigned to me Pin
jschell14-Dec-17 8:52
jschell14-Dec-17 8:52 
AnswerRe: Need to understand work assigned to me Pin
Richard MacCutchan13-Dec-17 21:33
mveRichard MacCutchan13-Dec-17 21:33 
GeneralRe: Need to understand work assigned to me Pin
jschell14-Dec-17 8:51
jschell14-Dec-17 8:51 
GeneralRe: Need to understand work assigned to me Pin
Richard MacCutchan14-Dec-17 9:27
mveRichard MacCutchan14-Dec-17 9:27 
GeneralRe: Need to understand work assigned to me Pin
nisss14-Dec-17 20:39
nisss14-Dec-17 20:39 
GeneralRe: Need to understand work assigned to me Pin
nisss14-Dec-17 20:40
nisss14-Dec-17 20:40 
AnswerRe: Need to understand work assigned to me Pin
Gerry Schmitz14-Dec-17 5:26
mveGerry Schmitz14-Dec-17 5:26 
GeneralRe: Need to understand work assigned to me Pin
nisss14-Dec-17 20:33
nisss14-Dec-17 20:33 
GeneralRe: Need to understand work assigned to me Pin
Gerry Schmitz14-Dec-17 22:48
mveGerry Schmitz14-Dec-17 22:48 
QuestionHTTP GET Pin
Member 1355170113-Dec-17 2:54
Member 1355170113-Dec-17 2:54 
AnswerRe: HTTP GET Pin
Richard Deeming13-Dec-17 3:06
mveRichard Deeming13-Dec-17 3:06 
GeneralRe: HTTP GET Pin
Member 1355170113-Dec-17 7:25
Member 1355170113-Dec-17 7:25 

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.