|
oh I'm sorry i did not notice that my country was in USA i will change it immediately sorry for the confusion sorry .... I may have an internet it is not good for playing video though .... again i an deeply apologize for the confusion of the country post homepage... I am not looking for a debate ...I appreciate that you have concern about my study habit... if you think this is just a shallow question then i will delete this thread after i figure how i can delete it... again i thank you and i apologize for the confusion
|
|
|
|
|
nerra wrote: if you think this is just a shallow question
No, your question is fine. I was just trying to explain that what you are asking for cannot be answered in a forum like this, as it would take too long. If you read some of the introduction articles on the subject of your choice they will show you how to do the things you want to learn. Then when you find something that you have difficulty understanding, or that does not seem to work, you can post a question and people will try to help.
|
|
|
|
|
I understand thank you i'll just try searching for more resource
|
|
|
|
|
Assuming you want to use WPF since you asked in this forum...
The entire SDK is available free online, and it also is included
with Visual Studio:
Windows Presentation Foundation[^]
I always recommend reading the entire SDK TWICE, maybe
trying out some code the second time through. It's amazing how few
questions one will have if one knows the fundamentals...
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
yes, i do want to use wpf it's for my thesis. Thank you for your advice .
|
|
|
|
|
nerra wrote: yes, i do want to use wpf it's for my thesis.
Maybe your first question should have been : How can I find some resource to learn WPF?
|
|
|
|
|
I did do some research .....I did try some sample but this is the only topic that i had some difficulty ... But I would be happy if you can post some Thank you
|
|
|
|
|
nerra wrote: But I would be happy if you can post some
This is far too wide a subject to post an answer here. Take a look at some of the WPF articles here on Code Project for further information.
|
|
|
|
|
nerra wrote: how can i create a window with may user control ?
Do you mean 'many' ? You just add them, one at a time. It's no different, no matter how many there are
nerra wrote: and how do i connect them with each other?
To communicate between classes, use delegates.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
What I mean in 'many' is that ... I was going to create a some what like start scree/welcome screen that connected to other screen in a single window
.... thank you
|
|
|
|
|
i want to upload a file using a batch file and check the upload staus from asp.net code. please suggest me the proper command line argument in batch file.
mannu
|
|
|
|
|
What does this have to do with WPF, WCF or WF?
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
First of all, what you want is not possible. Second, if it was possible, it's plain that you're too dumb to do it. This is the WPF/WCF forum.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
I don't think he liked our answers mate.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
How to handle WPF datagrid row double click event? I tried with PreviewMouseClick. But it is getting throwed when clicked on header also.
Private Sub dbGrid_PreviewMouseDoubleClick(ByVal sender As Object, ByVal e As System.Windows.Input.MouseButtonEventArgs) Handles dbGrid.PreviewMouseDoubleClick
If Not dbGrid.SelectedItem Is Nothing Then
MsgBox(DirectCast(DirectCast(DirectCast(dbGrid.SelectedItem, System.Object), System.Data.DataRowView).Row, System.Data.DataRow).ItemArray(0).ToString)
End If
e.Handled = True
End Sub
How to handle it only for datagrid row?
|
|
|
|
|
After I've hacked together my first WPF app today, I'd like to embark on a slightly more formal approach to continuing to learn WPF. What do you guys recommend?
|
|
|
|
|
I'd recommend that you knock something up using MVVM. It's a great pattern, and you'll find it helps you a lot later on.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Read all the articles here on The Code Project by Josh Smith & Sacha Barber, particularly their introduction sets. Also take a look at the books they recommend as they are likely to be useful.
|
|
|
|
|
I'd recommend getting Pro WPF in C# 2008 by Matthew MacDonald It's well organized, takes you step-by-step through WPF and covers most of it. I still refer to it when I'm coding WPF.
|
|
|
|
|
Colleagues,
Familiarizing myself with DataGrid (and with C# in general). My DataGrid is declared like this:
<my:DataGrid AutoGenerateColumns="True" Margin="74,32,68,103" Name="dataGrid1" xmlns:my="http://schemas.microsoft.com/wpf/2008/toolkit" />
I’m setting the ItemSource property equal to a list of strings.
public Window1()
{
InitializeComponent();
List<string> lstGridData = new List<string>();
for (int i = 0; i < 8; ++i) lstGridData.Add("str");
dataGrid1.ItemsSource = lstGridData;
}
I’m expecting that grid would display one column and each line would show “str”. Instead, the grid displays one column titled “Length” and each line displays “3”.
What am I missing?
Cheers,
- Nick
|
|
|
|
|
The AutoGenerateColumns mechanism binds to any bindable properties
it finds in the objects in the List.
For a string, that's String.Length.
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
How can I make a "bindable string"? Is there a framework object with a bindable string property which is commonly used for this purpose? May be, one option is to make a wrapper object with a bindable string property (call it, say, BindableString).
Is there a simple/quick solution to "populate DataGrid with primitive values" problem?
Tried with manually defined columns (AutoGenerateColumns=False). Didn't work either. Looking for a good DataGrid tutorial...
Cheers,
- Nick
modified on Monday, October 19, 2009 2:26 AM
|
|
|
|
|
Nick Alexeev wrote: Is there a simple/quick solution to "populate DataGrid with primitive values" problem?
Manually bind to the object itself...
<my:DataGrid AutoGenerateColumns="False" Name="dataGrid1" xmlns:my="http://schemas.microsoft.com/wpf/2008/toolkit" >
<my:DataGrid.Columns >
<my:DataGridTextColumn Header="String" Binding="{Binding Path=.}" />
</my:DataGrid.Columns>
</my:DataGrid>
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hi
I have built a web service pull data off from one application, which in turn links to another application's web service. However, when I look at one of the data types, which happens to be a list object, Visual Studio shows it as an array.
Can someone please advise me how I can use the meta data to correct this to a list object, or if there is another way to correct this?
Thanks
|
|
|
|
|
It returns an array because a web service has nothing to do with Microsoft technologies - they are intended for other platforms as well. This means that you can't return a List return because it's a generic, which isn't allowed in web services. If you really need to use the return type in a generic list, you simply need to add the items in using the following logic:
List<MyObject> list = new List<MyObject>();
list.AddRange(myWebService.WebServiceMethod());
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|