473,385 Members | 1,445 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How to accomplish a similar UI

We have a web-based (HTML/Javascript) application that we are considering
migrating into a Windows Forms application. To explore this, I'm looking at
the various aspects of the UI that we would need to migrate, and making sure
I have a clue how they would be re-done using various Controls. We would
prefer to minimize the number of changes as much as possible to reduce the
amount of retraining necessary for users, but obviously we are open to some
changes.

One I'm having trouble with is:
http://cabadam.homeip.net/tvt_list.png

First glance, it is a simple ListView or DataGridView with several rows of
data spread across columns. But several issues arise:
1) Cells in various places are combined across columns (colspan in HTML).
Is there a way to do this for Windows Forms? The first row is an example of
this. It is effectively a second header row, not actually part of our data.
It has content in the first column and last colunm, but the center columns
are joined.

2) The rightmost column is a "Show" / "Hide" toggle link. That field itself
is no problem - however it's action is. Assuming #1 is possible (or maybe
using another method?), when "Show" is selected by the user, an additional
row should appear below that row. The data here will differ for each row.
It is basically a set of "displays" which should be spread across (there
might be 2 as in the example, but might be 1, none, or even 4 or 5
sometimes). Possibly more of a minor issue, but the border between the
"main" row and the "sub" row is also a broken line, to link them together
more for the user.

Any thoughts on how any of this might be accomplished in a Windows Forms
environment?

Appreciate your feedback and suggestions, thanks!

--
Adam Clauss

Nov 5 '08 #1
2 1166
Adam,

With the controls out of the box, I would say you wouldn't be able to do
it. You might be able to do it with WPF, because of the ability to
composite controls, but I would say your best bet would be to find a third
party grid provider with the capabilities that most closely match your
needs.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Adam Clauss" <ca*****@gmail.comwrote in message
news:eJ*************@TK2MSFTNGP05.phx.gbl...
We have a web-based (HTML/Javascript) application that we are considering
migrating into a Windows Forms application. To explore this, I'm looking
at the various aspects of the UI that we would need to migrate, and making
sure I have a clue how they would be re-done using various Controls. We
would prefer to minimize the number of changes as much as possible to
reduce the amount of retraining necessary for users, but obviously we are
open to some changes.

One I'm having trouble with is:
http://cabadam.homeip.net/tvt_list.png

First glance, it is a simple ListView or DataGridView with several rows of
data spread across columns. But several issues arise:
1) Cells in various places are combined across columns (colspan in HTML).
Is there a way to do this for Windows Forms? The first row is an example
of this. It is effectively a second header row, not actually part of our
data. It has content in the first column and last colunm, but the center
columns are joined.

2) The rightmost column is a "Show" / "Hide" toggle link. That field
itself is no problem - however it's action is. Assuming #1 is possible
(or maybe using another method?), when "Show" is selected by the user, an
additional row should appear below that row. The data here will differ
for each row. It is basically a set of "displays" which should be spread
across (there might be 2 as in the example, but might be 1, none, or even
4 or 5 sometimes). Possibly more of a minor issue, but the border between
the "main" row and the "sub" row is also a broken line, to link them
together more for the user.

Any thoughts on how any of this might be accomplished in a Windows Forms
environment?

Appreciate your feedback and suggestions, thanks!

--
Adam Clauss

Nov 5 '08 #2
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.comwrote in
message news:eL*************@TK2MSFTNGP05.phx.gbl...
Adam,

With the controls out of the box, I would say you wouldn't be able to
do it. You might be able to do it with WPF, because of the ability to
composite controls, but I would say your best bet would be to find a third
party grid provider with the capabilities that most closely match your
needs.
I'll spend some time looking around Google, but are there any products that
you have seen/worked with before that you would recommend (or NOT recommend
hehe)?

--
Adam Clauss

>

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Adam Clauss" <ca*****@gmail.comwrote in message
news:eJ*************@TK2MSFTNGP05.phx.gbl...
>We have a web-based (HTML/Javascript) application that we are considering
migrating into a Windows Forms application. To explore this, I'm looking
at the various aspects of the UI that we would need to migrate, and
making sure I have a clue how they would be re-done using various
Controls. We would prefer to minimize the number of changes as much as
possible to reduce the amount of retraining necessary for users, but
obviously we are open to some changes.

One I'm having trouble with is:
http://cabadam.homeip.net/tvt_list.png

First glance, it is a simple ListView or DataGridView with several rows
of data spread across columns. But several issues arise:
1) Cells in various places are combined across columns (colspan in
HTML). Is there a way to do this for Windows Forms? The first row is an
example of this. It is effectively a second header row, not actually
part of our data. It has content in the first column and last colunm, but
the center columns are joined.

2) The rightmost column is a "Show" / "Hide" toggle link. That field
itself is no problem - however it's action is. Assuming #1 is possible
(or maybe using another method?), when "Show" is selected by the user, an
additional row should appear below that row. The data here will differ
for each row. It is basically a set of "displays" which should be spread
across (there might be 2 as in the example, but might be 1, none, or even
4 or 5 sometimes). Possibly more of a minor issue, but the border
between the "main" row and the "sub" row is also a broken line, to link
them together more for the user.

Any thoughts on how any of this might be accomplished in a Windows Forms
environment?

Appreciate your feedback and suggestions, thanks!

--
Adam Clauss

Nov 5 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: bearophileHUGS | last post by:
I have a class Surface with many methods. Working in the interactive window I receive an error like this when I write the wrong method name: >>> table.addGlas() Traceback (most recent call...
2
by: flamesrock | last post by:
Certain web applications, everything from wget to downloader for X has this nifty feature I'd like to accomplish in python. Its the progress bar/time elapsed/time remaining scheme Filename |...
4
by: Danny | last post by:
I am tyring to find the site, but I am seeing more and more web sites with the really long html names and also nicely broken down by category that sits on a related directory and/or subdomain on...
0
by: Vijoy Varghese | last post by:
Hi Friends, I am kinda stuck with a SQL query, can some one please guide me? I have two 'similar' tables a) open_works_table b) closed_works_table now, closed_works_table have 2 extra fields...
0
by: Jill Graham | last post by:
Hi, The pages of my website are built dynamically and are based on templates. A template can look like this : <table> <tr><td>This is the page header</td></tr> <tr><td>This is the page...
2
by: Julia Briggs | last post by:
Ok, here is the scenario -- I have a pop-up window that has some form data, information etc... and I want that window to close and re-direct the page on the original, main window that the user...
2
by: Steven T. Hatton | last post by:
I am looking at the C++ MD5 implementation found on this site: http://userpages.umbc.edu/~mabzug1/cs/md5/md5.html. I'm a bit unsure as to the necessity and/or effect of the various casts appearing...
6
by: Neal | last post by:
Hi All, I used an article on XSLT and XML and creating a TOC written on the MSDN CodeCorner. ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/dncodecorn/html/corner042699.htm However, it did'nt...
4
by: python | last post by:
in python , could I accomplish the purpose that "a=Console.read()" used in C? when program is running, I wanna add a statement like "a=Console.read()" in C language,it will wait for user's input,...
3
geo039
by: geo039 | last post by:
Here's what I need to do, I have two tables bldgloc (bldg_id, bldg_desc) and roomloc (room_id, room_num, bldg_id). I am trying to build a maintenance screen so that the user can add a bldg or a room....
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.