Hi!
I have a custom user control named DatePicker.xaml. Its code behind is DatePicker.xaml.cs:
namespace GesHoras.UserControls
{
/// <summary>
/// Lógica de interacción para DatePicker.xaml
/// </summary>
///
public partial class DatePicker : UserControl
{
<...>
private int _day;
private int _year;
private int _month...
How to control access to a file in hard drive so that it can be read once only. After the first access, the file should be rendered inaccessible.
...
I have a Windows Forms application in C# .NET. It contains a user-drawn control that also handles the keyboard focus. If a part of the control has the focus, a focus highlight border is painted around it. When the form that contains the control is deactivated, the focus border must disappear from the control, obviously. But the control d...
Hi,
Does anyone know of a good MFC example of how to create and use a virtual list control with a database that has 100K records? I don't want to load in all the records at once because it takes too much time. I want all updates to the list control to be fast based on user interaction.
Thanks,
Mike
...
I'm working on a C# application that needs to use Direct3D in a control in a windows form,
AND (at the same time) fullscreen on a secondary monitor.
Basically, I want a Windows Forms application on one screen with a user-interface to control the graphics, and I'd like to show preview-graphics in a small control, and full-blown superdupe...
Hi i want to make one WPF control library applcaiton.
In that i will load images depends on the text.
So i used code like this
if (string.Compare(AlStatus,"HH")==0)
src1 = @"pack://application:,,,/WpfApp;component/data/HH.bmp";
else
src1 = @"pack://application:,,,/WpfApp;component/data/Normal.bmp";
.
.
Img1.Source = new ImageSour...
Case in point : I've got a handle to a window (for instance, using the getForegroundWindow() API function). This window's got a textbox (possibly a richtext control). Would it be possible to modify the textbox's text through an Windows API call ? More specifically, I'd like to replace its text with some of my own.
...
I have a problem with a Dev Express component, namely AspxComboBox.
My context is this: I want to dynamically generate the interface for some of my business entities. I have designed a user-control that receives some metadata and, based on that metadata, the controls adds text boxes, date-editors and combo boxes to the interface. All of...
I added a bunch of images as project resources.
Now i want to use them in my WPF application using the image control.
How can I assign the resource to the source of the image control?
...
I need to build a spreadsheet-like control in WPF with the following features:
Frozen columns
Frozen rows
Cell merge
Ability to have arbitrary user controls hosted in a cell with their own data binding targets
I do not need any calculation or formatting functionality, so the amazing ClearOffice Excel control is overkill for my needs ...
Hello
I am trying to create a status window which content(textbox) should change in a lengthy operation.
This status window is called and updated from the main application.
Unfortunately, the content is updated only at the finish of the operation.
I am using VS2008, C# and WPF.
Thank you.
...
Hi,
I want to add tooltip to my Rad upload control browse button. Anyone knows about it or have worked on this before please reply
...
Hi,
I develope an application in C#.Net 2.0, Windows.
The App has a RSS Feed Reader for specific sites (to collect the biggest news).
I found a very nice DLL for this in which I can very easy read the RSS.
But my problem is the design, I tried a lot, how to display easy, quick and nice, but it sucks like hell, I tried nerly every contr...
I have a c# windows form project using watin.
I would love to attach to the web-browser control on a form, is this possible? Is there any sample code on how to attach to the embedded web-browser control.
//Looks like this only works for actual IExplorer instances.
window = WatiN.Core.Browser.AttachTo<WatiN.Core.IE>(WatiN.Core.Find.ByTi...
Hello,
We have few components like
libraries
dlls
When initially created I ran the following command
cleartool> describe component:testcomponent@\res_pvob
component "testcomponent"
created 2010-03-11T12:07:47+05:30 by kadaba.CCUserGroup@user-b60d9d5638
owner: USER-B60D9D5638\kadaba
group: USER-B60D9D5638\CCUserGrou...
Hi,
I need to create a textbox and an associated MasketEditExtender when the user clicks a specific button on the webform.
I can create the textbox on the fly using Javascript, ¿but how to do this with the MaskedEditExtender?
Thanks
...
Hi,
Simple question but cannot find answer anywhere.
When using a MS Chart Control of type 'Bar or 'Column'. My X Axis are only labelled every 5 steps. I want it to label every single bar/column on the X Axis.
How do I change this?
Thanks.
...
How to enable TextWrapping in the AutoCompleteBox control of the SilverlightToolkit (November 2009)?
There is no property to set the wrapping mode. So is there any workaround?
Sven
Here are more infos about my current problem: To me the AutoCompleteBox consists of a list which displays all possible values and a TextBox where I enter a ...
I want to have a property on my custom control that is an interface type. For example:
[
ToolboxData("<{0}:MyTextBox runat=server></{0}:MyTextBox"),
ParseChildren(true, "Validation")
]
class MyTextBox : WebControl
{
[
Category("Behavior"),
Description("The validation to use"),
DesignerSerializationVis...
Hi
I want to achive the following behavior:
when a user clicks on a button in an control some data will be processed in background and another control from the page will be updated when the job is finished (both controls are in updatepanels (or not) -> doesn't work anyway). My code looks something like this:
Control1 (which makes the ...