-
- ComboBox desing.
by .rh-
- 2 Replies
- Last post
by .rh-
- Hello Is any way to change the ComboBox design of "expand button" element : Example
-
- Cannot assign to 'btnOkClick' because it is a 'method group'
by PlaTyPuSs
- 4 Replies
- Last post
by asdfasddasf
- Hi!
I follow the tutorial of Karsten Januszewski about Vista Gadget's with ActiveX, but I have the following error: "Cannot assign to 'btnOkClick' because it is a 'method group'" with this code :
For the XAML file :
<Button Name="button1" Click="btnOkClick" >Ok</Button>
Then, in the code-behind of this one :
private void btnOkC
-
- Problem with using user control in Expression blend
by Murtaza Ali
- 3 Replies
- Last post
by John Gossman - MSFT
- hi, i am reading the sudoku demo from http://msdn.microsoft.com/coding4fun/gaming/puzzle/default.aspx
In the third article i was reading, works fine when i download and run project in visual studio 2005 with WPF extensions installed.
But when i open the same project in Microsoft Expression Blend it give me error that in showing the user control on the designer as
Cannot cr
-
- Get and Set methods for properties in LINQ entity
by ScipBe
- 2 Replies
- Last post
by ScipBe
- Is there a way to change the Get and Set methods of a property in the partial class of a LINQ entity I would like to access the values in the database and convert them. e.g. My database contains integers fields for storing booleans. I would like to set "Data Server Type" to Int and the "Type" to System.Boolean and add some logic to convert the values. e.g. The date fields in m
-
- Zoomable and scrollable map
by Jens K&#38;&#3
- 1 Replies
- Last post
by Marco Zhou - MSFT
- Hi,
I want to write a map control. This map shall display some graphic primitives like poygons and must be zoomable and scrollable. I know I need a ScrollViewer and to add a canvas or some other control to paint on.
The polygon coordinates are in meters and need to be transformed to pixel with a Transform.
How can I do it
thanks
Jens
-
- Getting list of IDs set as an Attached Property
by missbluebar
- 3 Replies
- Last post
by missbluebar
- Hi All,
I have defined an attached property ("myID")
I have used the attached property on some controls on a TabItem . e.g.
<TabItem Name="First" IDManager.myID="ID_FIRST">
<Button Name="Go" IDManager.myID="ID_GO"/>
</TabItem>
What is the best way build up an array of MyID's of the elements that
-
- Windows Auth on Vista
by dwj
- 1 Replies
- Last post
by Todd West
- Has anybody had trouble using WsHttpBinding with Windows AuthN on Vista I am getting the following:
The Security Support Provider Interface (SSPI) negotiation failed.
The same code works on XPSP2. Here are my bindings (if that's helpful):
Server (Win2k3R2):
< wsHttpBinding >
< binding name = " WSHttpBinding_X509_IWSTrust " >
< reliableSessi
-
- How can convert BitmapSource into Image?
by RadObject
- 2 Replies
- Last post
by Yi-Lun Luo - MSFT
- Hi,
I want to convert BitmapSource into Image class and I want to save image into a file too
How can do it with C# code
Thanks
-
- Issues installing VB 2008 Express?
by Hector B.
- 3 Replies
- Last post
by Carl Cook
- Hi.
I currently have installed on my job computer Visual Studio 2005 Proffessional edition, along with the .Net 3.0 SDK, and latest Expression Blend preview, and I was willing to try out VB.Net 2008. I've seen the other editions have some issues with VS 2005, and since I don't want to mess with its installation and haven't read anything regarding the Express editions I was wondering if they
-
- Headered items in a combobox
by Perter
- 3 Replies
- Last post
by Marco Zhou - MSFT
- Looking for a sample having headered items in the drop down of a combo box. I would think youwould either change the itemtemplate or modify the PopUp part of the combo. Anyone have a sample
-
- Getting the width of a newly created framework element ?? for working with dynamic creating item for use in a canvas panel
by Boman
- 3 Replies
- Last post
by John Gossman - MSFT
- hi all
Is it possible to get the width of a framework element when its added in codebehind
if I do a MessageBox.Show(item.width.tostring()) after I add in a canvas. i get width = NaN is it possible
to get the width value so I can do a Canvas.setLeft and put these values in a "layout Array"..
Its the only thing Iam missing to get "satisfied" with the ca
-
- WPF Client Side Cache from WCF
by jonas108
- 3 Replies
- Last post
by Benny Tops
- We have a WPF application that downloads images as streams from WCF services. What would be the best way to cache these images so they do not have to be downloaded unless they are changed
I was initially thinking of doing my own WCF channel to be able to answer all server calls from cache if they have not changed. The channel would check with the server if the call has cahanged otherwise i
-
- Wrong events jumping in TreeView
by dev301
- 4 Replies
- Last post
by dev301
- Hi. I'm currently playing around a little with drag and drop in TreeViews, and poking all sorts of options for their display. The code I'm basing myself on is Josh Smith's ListViewDragDropManager, and just converted it to manage treeviews, with almost all of the same code. The logics are all exactly the same, and the display is also from another project I saw recently. What I came across is just v
-
- I suspect I am missing the big picture...but...
by Shawn Wildermuth - MVP &am
- 14 Replies
- Last post
by Shawn Wildermuth-MVP
- For a myriad of reasons I am devling into the Entity Provider and using the Query<> stuff its easy to query the model to get back an object graph. Great...really...
I am looking at how to tackle the enterprise data problem here (e.g. Reporting and such). The Entity Provider is simililar (though clearly not the same) as any other ADO.NET Managed Provider (e.g. no DataReader or DataAdap
-
- Client to Client
by ShawnC
- 5 Replies
- Last post
by Yunwen Bai
- Currently we are in the process of developing an application that has two parts: A)desktop version B)mobile version. Both versions use sqlce 3.x but we are trying to figure out a way for these two versions to sync data. Is type of scenario in the plans or are we crazy
We don't need the extra power of sql express so we would like to stay with sqlce.
Thanks
-
- WPF Fashion Tool Demo
by ImNoScrub
- 2 Replies
- Last post
by ImNoScrub
- When I attended the Microsoft Vista / Office 2007 Launch Event several months ago in Milwaukee, the presenter demoed a "fashion tool" that was built using WPF. The tool allowed the user to view various models, change their wardrobes, and swap wardrobe templates between PCs (using a wireless connection.)
I am a programmer for a large department store and I'd love to be able to dem
-
- Is it possible to bind two scrollviewers slide movements together?
by Rod Yager
- 2 Replies
- Last post
by Rod Yager
- I would like to have two scrollviewers that both have horizontal scrollbars to scroll together. Is their a property that I can bind that would allow this to work
-
- PreviewMouseLeftButtonDown Handled=false
by Itzik Katzav
- 5 Replies
- Last post
by Itzik Katzav
- Hello all I am using a TabControl to present data. before navigating to another tab I need to check whether the data in the current Tab was saved or not. I do this like this and it works great. BUT
I present the user a yes/no/cancel dialog, asking whether to save the data: Yes - save the data and move on (MoveOn=true)
No - do not save the data but move on (moveOn =true)
cancel - stay in t
-
- cannot load dbml file (created in beta 1) in beta 2
by Dirk Reske
- 2 Replies
- Last post
by Dirk R.
- Hello,
I've created a dbml file in VS 2008 Beta 1.
Now I've updated to VS 2008 Beta 2, but now I'm not able to load the dbml file.
When I try to open the dbml file, I get following message box:
"Cannot load D:\.....dbml: Error encountered, check Error List window for details"
And the error list says: "DBML1113: Database node not found. Is the DBML namespace (
-
- Any chance of expression composability in Orcas?
by Joe Albahari
- 2 Replies
- Last post
by Keith Farmer
- i.e.
Expression<Func<string, bool>> linq = s => s.Contains ("LINQ");
Expression<Func<string, bool>> oracs = s => s.Contains ("ORCAS");
Expression<Func<string, bool>> either = s => linq (s) || orcas (s);
This has been mentioned before, but I'd like to reiterate it since it's not in the Jan CTP :)
This feature is qui
-
- Update GUI control from Data source programmatically?
by Tao Liu
- 2 Replies
- Last post
by Josh Smith
- hi, Group, is there any way that I can manually update the GUI from the data source I set a Window's context to be object. Now I change the object, how can I make the change take effect immediately on the GUI controls thanks.
-
- Microsoft Synchronization Services for ADO.NET & SQL Express w/Adv Services
by wenyonk
- 7 Replies
- Last post
by Matthew Sorvaag
- Will the Microsoft Synchronization Services for ADO.NET work with SQL Express w/Advance Services
-
- 2 design questions holding up my project.
by BillGo
- 2 Replies
- Last post
by pradeep_indya2
- I am having a couple of design questions that is holding up my Wcf project and would really appreciate some help from more experienced Wcf designers.
Question #1
I have a class named InvoiceDataModel that is in my data contract project. It will hold the invoice information that is passed back and forth to the client. It looks as follows.
public sealed class InvoiceDataModel
-
- Linq to sql for other databases {Like oracle, Mysql, ms access}
by Kamii47
- 5 Replies
- Last post
by mrrtmrrt
- Is Linq to sql is only specific to sql server or it have support for other databases {Like oracle, Mysql, ms access}
-
- Using CollectionViewSource
by samame
- 4 Replies
- Last post
by samame
- Hi, I've just discovered DataTemplateSelctor class. Wow, it's marvellous.
Everybody knows the sample of GreekGodsAndHeroes of Bea Costa's Blog.
http://www.beacosta.com/Archive/2006_02_01_bcosta_archive.html
And, it's a perfect sample for build TreeView, 'cause using DataTemplateSelector and Converter you can do anything you want.... or not
But, I'm tryin' to know the be