-
- Print Dialog disappearing
by cgraus
- 4 Replies
- Last post
by Hua Wang - MSFT
- I have an app where I do printing. It's generally working fine, but I have a full screen window, which I bring up like this:
FullScreenImage fsi = new FullScreenImage ( this );
fsi.ShowInTaskbar = false ;
fsi.Owner = Application .Current.MainWindow;
fsi.MediaControl.IsFullScreen = true ;
fsi.ShowDialog();
This code then calls my print code, which does this:
-
- MSMQ
by thiru.A
- 14 Replies
- Last post
by BenK
- Why MSMQ in windows pocket pc 5.0
If Im not wrong ,MSMQ is especially mentioned for not to loss the valuable data at any point in time ,senarios like when my device goes offline(no VPN connection).
If this the case ,we do have local DB in the device itself to handle the situation.Once I again connected to the VPN connection i may push the data collected in the local DB to the server without
-
- LINQ to SQL vs. ADO.NET Entity Framework
by Kevin Hoffman
- 6 Replies
- Last post
by Beryl Wilson
- I know this has been asked before, but the answers I've read still haven't cleared it up for me. People are asking me why they should wait around for an updated to ADO.NET Entity Framework (not currently linked to the Orcas builds) or if they should use LINQ to SQL, which _is_ part of Orcas.
Can someone clarify, hopefully in a way that can be repeated to others, what exactly the benefit of
-
- Ideal number of service contracts
by BillGo
- 1 Replies
- Last post
by BenK
- I am creating an WPF/WCF application that is made up of many modules. As an example, General Ledger, Payables, Receivables etc. Should I have one large BusinessServicesSolution or should I have each module in a separate solution and separate DLL. For example right now I have a project in my large solution call AccountingDataContract that has over 20 classes in it. Is that ok or should I have separ
-
- Page navigation and de-serialization bug?
by imj
- 13 Replies
- Last post
by imj
- I think I stumbled onto a bug. I'm building a navigation-based application using WPF. In it, I have a Page with a number of controls on it, mostly TextBlocks, TextBoxes and ComboBoxes. I also have a UserControl in there, which itself has a number of the same types of controls in it. The contents of both the Page and the UserControl are defined in XAML. On the Page, I have a TextBox (say TextBox1)
-
- Joystick interaction within WPF
by Kien Luong
- 10 Replies
- Last post
by Kien Luong
- Hi all, is there any possibilities to get events joystick or to be able to poll the Joystick status within a WPF application Any answer will be much appreciated :-) Thanks in advance. BR Kien
-
- Getting Control's Parent Size
by angelok
- 4 Replies
- Last post
by angelok
- I'm trying to animate a UserControl's size so that it expands away from the edge of its parent canvas. In winforms I could have compared usercontrol.location with usercontrol.Parent.Size. Any way to do something similar in WPF
-
- "Do you want to save the changes you made to the form?" - LINQ Style?
by Klaus Even Enevoldsen DK
- 4 Replies
- Last post
by Klaus Even Enevoldsen DK
- Hello,
I want to ask my user in a application that uses LINQ if he wants to save the changes, does LINQ provide a property on a DataContext or elsewhere I can check if any objects have been changed Or do I have to maintain my own variable to track changes
Best Regards,
Klaus Enevoldsen
-
- Can you change an existing binding?
by David Cater
- 2 Replies
- Last post
by David Cater
- I am trying to change a binding defined in XAML code from procedural code. For example, I would like to be able to add a Converter or a ValidationRule from the procedural code.
The goal here is to let advanced users write the XAML code that we load into our app using LoadComponent. I would like to let them setup a Binding to a particular property that I've setup for them, then find that bin
-
- Rescale path
by cgraus
- 14 Replies
- Last post
by Adam Smith - MSFT
- Hi guys. I've asked this quite a few times now, so I'd appreciate any help anyone can offer
My app is an image viewer, the images we view are quite large, so when the user zooms, we reload the image at the image size required, in other words, I start with an image that is, say, 1000 x 1000. I can draw a path on this, and then zoom. The image is reloaded at, say, 2500x2500. The viewbox at th
-
- Can FontSize Property hold plain text?
by Smarty
- 1 Replies
- Last post
by Dr. WPF
- Let's take the simple example:
Code Snippet
<Button xmlns= "http://schemas.microsoft.com/winfx/2006/xaml/presentation" >
OK
<Button.Background>
Green
</Button.Background>
<Button.FontSize> 22.0pt </Button.FontSize>
</Button>
The VS 2005 say on it:
Warning 1 The element 'Button.FontSize' in name
-
- Quick resource dictionary question
by jon86
- 2 Replies
- Last post
by jon86
- Hi. I am sorry if this is a simple fix but I have struggled with Google on finding an answer to this question. I have a Resources project which contains a resource dictionary called Dictionary1.xaml. In this dictionary, a style is defined that sets the TextElement.FontFamily property to a font I have in a subdirectory called Fonts. <ResourceDictionary xmlns="http://schemas.microsoft.com/w
-
- PasswordBox with round corner???
by PlaTyPuS8
- 6 Replies
- Last post
by PlaTyPuS8
- Hi!
is it possible to have rounded corner in a PasswordBox I search to make it in blend but don't find the property that allows me to do that....
Here is a copy of the PasswordBox style :
Code Snippet
<Style x:Key="PasswordBoxStyle1" TargetType="{x:Type PasswordBox}"> <Setter Property="FontFamily" Value="/Resources/#EUROST
-
- VS 2005 Extensions for .NET 3.0 (WPF)
by Martin2233
- 5 Replies
- Last post
by Rob Relyea
- Hi, As a follow up to question about Visual Studio Orcas, I'd like to ask when is %subj% going to be available As I understand it, Vistual Studio Orcas and %subj% are different beasts, or am I wrong Please, comment on both final release date and next CTP release date if any. Current November 2006 CTP is getting quite old and I am really hoping for faster XAML files loading/opening, even better (i.
-
- Connection timeout eating 20 more seconds than it should given timeouts
by SAVAJX1
- 10 Replies
- Last post
by Binod Singh
- I am using a NetTcpBinding object that is "partially configured" as follows. <binding name="modelbinding" closeTimeout="00:00:10" openTimeout="00:1:10" receiveTimeout="00:01:10" sendTimeout="00:01:10" transactionFlow="false" transferMode="Buffered" transactionProtocol="OleTransactions" hostNameComparisonMo
-
- console closing event
by WCFNewbie
- 3 Replies
- Last post
by dickP
- How can the host know that the client close using the console close button.
The client can send a message to the host that it will close by pressing "Enter" but how can I do that if the client close using console closing button
-
- WCF for high throughput/low latency vs 29West, TIBCO, etc.
by Tom Frey
- 2 Replies
- Last post
by Tom Frey
- Hi,
I'm wondering if anyone conducted reasearch and performance evalution, comparing WCF to various high performance messaging middlewares like 29West LBM/UME, TIBCO Rendevouz, SmartSockets, RTI, etc.
Also, I'm wondering if anyone tested how well NetTcpBinding scales in terms of concurrent sessions per server I read before, that resources become tight after about 200 sessions (of course
-
- LINQ to SQL: ResolveAll() - What does autoResolveDeletes do?
by Joe Rattz
- 2 Replies
- Last post
by mvandemore
- Nothing in the doc.
Thanks.
-
- How to reference com server for WCF
by csharpnewbie
- 1 Replies
- Last post
by Axel Andrejs - MSFT
- Hi,
I want to reference a com server (I have its .tlb file). Could anyone show me the steps how to do it
Thanks,
newbie
-
- Shapes are not getting focus.
by ShiningTears
- 8 Replies
- Last post
by ShiningTears
- Hello,
I have a rectangle and ellipse as a child to canvas. When i use MyRectangle.GotFocus, it recieves the focus by pressing the "Tab" botton on keyboard ("Focusable" is set to True) . But when i click it with mouse, it didn't recieve at all
What can i do so that shapes can also Get or Lost focus with mouse.
Thanks.
-
- FlowDocumentReader Page Transitions
by Ben Hall &#40;UK&a
- 2 Replies
- Last post
by ben2004uk
- Hello,
I was just wondering how I can create custom page transitions with the FlowDocumentReader like in the NY Times application.
I guessing I have to create a custom animation, but I don't what to link it into, or what to go from and to go too.
Any guidance would be great
Thanks
Ben
-
- DataTemplateSelector does not update when condition changes
by RonanH
- 1 Replies
- Last post
by lee d
- Hello,
I'm using a DataTemplateSelector in the same way as it's done in the ConnectedData\DataTemplatingIntro sample of the SDK.
But there's a problem: when the condition that leads to the choice of the template changes (Priority property in the SDK sample) the template doesn't change!
Does anyone know a way to fix this
Thanks,
Ronan.
-
- bug with mouse wheel
by Tom bernard
- 5 Replies
- Last post
by SerialSeb
- Hello,
I created a simple Windows forms application with a window and a listbox.
When I use the mouse wheel, it scrolls the content of the listbox up and down.
So far so good.
I created the same simple application with WPF. However, mouse wheel does not work anymore.
Does anyone have the same behavior
Is this normal
Thanks
-
- Implementing a Popup without a separate window
by kunom
- 2 Replies
- Last post
by kunom
- Hi all I'm wondering whether there is an easy way to implement an own Popup class that does not create a separate window for displaying its content. The current System.Windows.Controls.Primitioves.Popup class does exactly that, resulting in several drawbacks: - Popup does not get moved when the parent window is moved. - Popup does not get moved when the parent UIElement is scrolled away - Popup re
-
- XBAP - On demand download and creation of instances
by Acer11
- 2 Replies
- Last post
by Chango V. - MSFT
- Hi,
I'm trying to do this in an XBAP:
create an instance of an arbitary type found in an arbitary assembly under the siteOfOrigin. The type could be defined in a XAML file with code behind.
public object CreateInstance(string diskPathRelativeToSiteOfOrigin,string assemblyName,string typeName,ProgressCallBack aDelegate){
///check if the assembly containing the type is found locall