Re: Dynamic buttons on WinForms

2011-08-01 Thread Anthony Mayan
read my mind..thats the example i was going to use to expalin my question:)

On Mon, Aug 1, 2011 at 3:53 PM, mike smith meski...@gmail.com wrote:

 In a way.

 Are you going to make a tetris game with blocks randomly selected from all
 the resources it can lay its hands on ?  Be pretty cool.


 On Mon, Aug 1, 2011 at 2:59 PM, Anthony Mayan ifum...@gmail.com wrote:

 awesome...thats what i was looking for...that link was pretty groovy..is
 that a google thing?


 On Mon, Aug 1, 2011 at 2:46 PM, Bill McCarthy 
 bill.mccarthy.li...@live.com.au wrote:

 http://lmgtfy.com/?q=FlowLayoutPanel+Windows.Forms

 ;)

 |-Original Message-
 |From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-
 |boun...@ozdotnet.com] On Behalf Of Greg Keogh
 |Sent: Monday, 1 August 2011 2:32 PM
 |To: 'ozDotNet'
 |Subject: RE: Dynamic buttons on WinForms
 |
 |FlowLayoutPanel ?
 |
 |Aren't they WPF only? -- Greg






 --
 Meski

http://courteous.ly/aAOZcv

 Going to Starbucks for coffee is like going to prison for sex. Sure,
 you'll get it, but it's going to be rough - Adam Hills




RE: Lightswitch - really clever - really slow

2011-08-01 Thread Kirsten Greed

Hi Bill

The test app I created, released on my local computer, takes 5 seconds load
the data entry form.
Then 3 seconds to return to the list when I click the cancel button
There are 83 fields on the form.  
This compares to less than half a second for my old VB6 application

I am running Windows XP SP3
AMD Phenom(tm) IIX3 720 Processor 3.01GHZ, 3.25GB Ram Pyhsical Address
Extension

I also found the development experience frustrating because of the speed

Any advice? Should I only be considering it for web apps?

Thanks
Kirsten

-Original Message-
From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com]
On Behalf Of Bill McCarthy
Sent: Monday, 1 August 2011 10:11 AM
To: 'ozDotNet'
Subject: RE: Lightswitch - really clever - really slow

Hi Kristen,

When I was testing the beta bits, I defiantly thought it was slow to start,
but with the final it seems fine to me. That might just be due to different
hardware configs though as I keep Beta's to VM's, where-as the RTM bits I've
installed on my new-ish Dell XPS 17 which has pretty high windows experience
index ratings.  

Given that it does a full client server delivery even when running locally,
then I think the perf isn't that bad given it's spinning up the WCF server
layer, entity framework layer and firing up WPF/Silverlight.



|-Original Message-
|From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-
|boun...@ozdotnet.com] On Behalf Of Kirsten Greed
|Sent: Sunday, 31 July 2011 9:06 AM
|To: 'ozDotNet'
|Subject: Lightswitch - really clever - really slow
|
|Hi All
|
|I just had a play with VS Lightswitch
|
|I think it is really clever but oh so slow!
|
|Thoughts anyone?
|
|Kirsten
|
|



__ Information from ESET NOD32 Antivirus, version of virus signature
database 6339 (20110731) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com





RE: Dynamic buttons on WinForms

2011-08-01 Thread Williams, Thomas
Hi Anthony - I have used a library called Transitions for WinForms 
animations: https://code.google.com/p/dot-net-transitions/

Thomas


From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Anthony Mayan
Sent: Monday, 1 August 2011 12:43 PM
To: ozDotNet
Subject: Dynamic buttons on WinForms

Is it possible to create a winform so that buttons slide into the current 
available position similar to divs in HTML.


Basically, i have some buttons that will remove under certain conditions, but 
want  the remaining buttons to take up the space left by the remove ones.

Almost like  tetris...hope i have ade this clear?



Peninsula Health - Metropolitan Health Service of the Year 2007  2009


RE: Lightswitch - really clever - really slow

2011-08-01 Thread Bill McCarthy
Hi Kirsten,

That does seem slow.  Have you done other metrics to compare such as a
windows.forms app using the same data, and a Silverlight app using the same
data ?

As to advice: it's hard to say in your particular case. If you have an
existing VB6 application, the first questions that need to be answered is
what do you want to do with it, what are the goals of the migration?
The 83 fields part does make me wonder if this could be presented to the
user better. Are you using tabs, logical groupings of fields? If so, each
group in a tab should be able to load async / lazily. 

I wouldn't say that Lightswitch is only for web apps; rather I'd say its
primary target is distributed apps. For standalone single user applications
the architecture it uses is probably overkill, although there are benefits
even in those cases to move the data to the cloud. For apps with the data
stored in the cloud (such as Azure), I think Lightswitch presents a really
low cost way of getting good quality data screens and letting the customers
modify what they want



|-Original Message-
|From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-
|boun...@ozdotnet.com] On Behalf Of Kirsten Greed
|Sent: Tuesday, 2 August 2011 8:08 AM
|To: 'ozDotNet'
|Subject: RE: Lightswitch - really clever - really slow
|
|
|Hi Bill
|
|The test app I created, released on my local computer, takes 5 seconds load
the
|data entry form.
|Then 3 seconds to return to the list when I click the cancel button There
are 83
|fields on the form.
|This compares to less than half a second for my old VB6 application
|
|I am running Windows XP SP3
|AMD Phenom(tm) IIX3 720 Processor 3.01GHZ, 3.25GB Ram Pyhsical Address
|Extension
|
|I also found the development experience frustrating because of the speed
|
|Any advice? Should I only be considering it for web apps?
|
|Thanks
|Kirsten
|
|-Original Message-
|From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-
|boun...@ozdotnet.com]
|On Behalf Of Bill McCarthy
|Sent: Monday, 1 August 2011 10:11 AM
|To: 'ozDotNet'
|Subject: RE: Lightswitch - really clever - really slow
|
|Hi Kristen,
|
|When I was testing the beta bits, I defiantly thought it was slow to start,
but with
|the final it seems fine to me. That might just be due to different hardware
configs
|though as I keep Beta's to VM's, where-as the RTM bits I've installed on my
new-
|ish Dell XPS 17 which has pretty high windows experience index ratings.
|
|Given that it does a full client server delivery even when running locally,
then I
|think the perf isn't that bad given it's spinning up the WCF server layer,
entity
|framework layer and firing up WPF/Silverlight.
|
|
|
||-Original Message-
||From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-
||boun...@ozdotnet.com] On Behalf Of Kirsten Greed
||Sent: Sunday, 31 July 2011 9:06 AM
||To: 'ozDotNet'
||Subject: Lightswitch - really clever - really slow
||
||Hi All
||
||I just had a play with VS Lightswitch
||
||I think it is really clever but oh so slow!
||
||Thoughts anyone?
||
||Kirsten
||
||
|
|
|
|__ Information from ESET NOD32 Antivirus, version of virus
signature
|database 6339 (20110731) __
|
|The message was checked by ESET NOD32 Antivirus.
|
|http://www.eset.com
|
|