Video Tutorials For wpf ?
For Complete Video Tutorials Of Windows Presentation Foundation :
http://www.letmedownload.com/study-zone/10/62.aspx
And Lots More at : http://ww.letmedownload.com
Video Tutorials For wpf ?
For Complete Video Tutorials Of Windows Presentation Foundation :
http://www.letmedownload.com/study-zone/10/62.aspx
And Lots More at : http://ww.letmedownload.com
Hello Guys
This is very urgent
=============
i am creating an WPF application using VS 2008 with VB.Net and LINQ
=============
I want to create buttons in runtime with events every button has its event
=============
i will display my code here
‘ this is in construction area
Dim WithEvents copierbtn As Button
‘ This sub to get data from tblcopier and add it to list box
Sub loadlist()
Dim x = From mm In db.tblCopiers Select mm.Copier_id, mm.Copier_Name
With Me.ListBox1
.ItemsSource = x
.SelectedValuePath = "Copier_id"
.DisplayMemberPath = "Copier_Name"
End With
‘ this sub loops inside the listbox and creates buttons in wrap panel as many as items inside the listbox and give it content same as item name
Sub LoadButtons()
For i As Integer = 0 To ListBox1.Items.Count - 1
copierbtn = New Button
copierbtn.Style = CType(FindResource("BlueBottonWithArrow"), Style)
copierbtn.Width = 150
copierbtn.Height = 30
copierbtn.ToolTip = ListBox1.Items(i).Copier_ID.ToString
copierbtn.Margin = New Thickness(10, 10, 10, 10)
copierbtn.Content = ListBox1.Items(i).Copier_name.ToString
WrapCopierBtns.Children.Add(copierbtn)
Next
End Sub
‘ In form load i run these both subs
Private Sub frmDailyCopier_Loaded(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs) Handles Me.Loaded
loadlist()
LoadButtons()
End Sub
‘ this is the click event
Private Sub copierbtn_Click(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs) Handles copierbtn.Click
lblCopierID.Content = sender.tooltip
lblCopierName.Content = sender.content
End Sub
when i run the application it run so good and the click event run so good but when i click on the last created button only
for example
when i load this form it creates 4 buttons the event runs only on the last button
i want to assign this evevnt to every created button
what should i do plz
not sure about what ur code doing…but i think this will help
AddHandler object.EventName, AddressOf Sub/Function
add this for all buttons (remove the Handles copierbtn.Click in ur code,otherwise it will run twice)
http://cgi.ebay.com/New-Womens-COLUMBIA-Wpf-3-in-1-Ski-Jacket-Coat-Plus-1X_W0QQitemZ320203785596QQihZ011QQcategoryZ63862QQcmdZViewItem
no
Please mention some flash, java and WPF tutorial sites……..
Thanks.
Wow well for flash I would say www.entheosweb.com/Flash/default.asp where they teach you specific projects. For the others I don’t have any recommendations (USE GOOGLE).
-Colin
If I am creating a silverlight video game and I want to handle multiple keydown events, like a player pressing the right and up arrow buttons at the same time, how do I do that, since KeyEventArgs only gives me the latest button that was pressed?
Is it by starting a storyboard based on the KeyDown and KeyUp events?
Also, any tips on not making the animated images blur so much? Thanks.
Hello!
Please visit http://www.bing.com/search?q=multiple+keyup+keydown+silverlight&go=&form=QBRE
there is a repository of answers to get your problem fixed
Good Luck!
Whats the best book to learn WPF? I want to learn about using 3D graphics, cool effects you can do with WPF, and I want it to be up to date. I should tell you I have already done a lot of work with Windows Forms and a little work with WPF. So I am not new to C# code.
Thank you for any answers! : )
This is an EXCELLENT intro to WPF
http://www.amazon.com/Pro-WPF-Windows-Presentation-Foundation/dp/1590597826/ref=pd_sim_b_3
i have a WPF application i created in C#….what code do I need to add to WIndow.xaml.cs to make the programme close when i hit "Esc"????
thanks,
–nick
i’m brand new to c# programming but i think you need a keyboard event handler mapped to the esc key (make sure the event is mapped to the window not to a grid etc, and then just add the code this.Close();
try this(get the event from visual studio)
private void Window_KeyDown(object sender, KeyEventArgs e)
{
if (e.Key == Key.Escape)
{
this.Close();
}
}
http://cgi.ebay.com/New-Womens-COLUMBIA-Wpf-3-in-1-Ski-Jacket-Coat-Plus-1X_W0QQitemZ320208651565QQihZ011QQcategoryZ63862QQcmdZViewItem
It’s ok for a guy named Kaitlyn Marie to wear.
Will C# eventually pass C++? I just wanna’ know because I have a knack for learning something and the next day it becomes outdated.
Can you code WPF apps with C++?
Which one do you prefer?
Wow Jack you sure showed me.
Dick wad.
C++ has the advantage that you can find a compiler for almost any CPU made. It is also a lower level language than C# (meaning that TECHNICALLY you could write faster code though you will find in practice that slow code is almost always a design issue). C++ has also been around a very long time.
However… there are a lot more jobs for C# (and java) at the moment. C#’s learning curve is far less than that of C++ and it integrates very well with WPF. If you are looking to produce code quickly, C# is where its at. C# is a "safer" language, and with internet trust issues, security, multi-threading, pointer safety, you get a leg up in C# with automatic support. C# supports reflection, lambda functions, and a slew of other things missing from C++ (include file hell, for instance).
This whole "which is better A or B" can quickly digress into a religious war. It is almost always accompanied by some elitist ivory tower snob who will call you a "noob" for asking the question (without offering insight). It is better to ask for the advantages of one over the other. I have fond memories of C++, Smalltalk, C, Lisp, Assembly language(s), but I realize that to take advantage of a lot of new technologies out there, it’s important to adapt, so I write primarily in Java and in C# at the moment (well, and python, XSLT, PHP, et al.).
So… Of the two languages you asked about, I would recommend C#, and definitely learn WPF (including Silverlight) — even if it doesn’t survive, it is a <INSERT OPINION HERE> architectural approach to separation of concerns in GUI design. With C# you won’t feel so behind the curve. When you use some nifty new feature, just remember to ask yourself WHY it is so nifty and what pain was it intended to resolve.
{{{wpf}}} Now that was funny!
Robert Plants voice is like buttah to me. Not that I don’t love U2…..
………Lughnasadh! Who wants to celebrate with me, my fresh baked bread and a bottle of wine?
Bonus Question: Pick one person in your contacts and tell me what Led Zeppelin song they would be?
Also, who is it?
Mine would be Whatever and he gets two songs.
I can’t quit you baby
Kashmire (Because I think it fits his personality and mine)
Not a U2 song? Geez, who did I piss of in this category this time?
I pick So-Crates, and he’s "Good Times, Bad Times"
No music compares to Led Zeppelin. I would be "Ramble on" because I say way too much sometimes.