Hi all,
I created one UI in windows Mobile 6.5 professional but when i am using windows Mobile 6.5 240 x 400 the total UI is different from actual design.
can any one say how to design common to all windows mobiles.
Thanks to All.
...
Can I call(access) non static method from static method ??
Like I have static method If yes, how??
public static void method() //like this is a static method
{
methodsec(); //from here I want to access non static method defined below
}
public void methodsec() // non static method
{
}
...
In my project, tree is a list of customers displayed in an ListView control, When user double clicks (or taps) on an item I should show the details of that customer,
But there is no double click (or click event, mouse up and down events etc.) event in .NET CF 3.5 ListView control (we only have ItemActive and SelectedIndexChanged events)...
I am trying to create an appointment in the Microsoft Outlook (2003) calender of another person using the below code.While running this program, The Appointment is getting saved in my calender.But not being sent to the recipient.
try
{
Microsoft.Office.Interop.Outlook.Application app = null;
Microsoft.Office.Interop.Outlook.Appo...
There is a private void btnContBalloon_Click(object sender, EventArgs e). Can I make this static because I want to invoke this from static method but I can not.
...
I'm trying to write a scripting engine to my C#/XNA game using IronPython and came across a problem.
public class Game1 : Game, IGFXEnabledGame
{
//stuff
}
In the Game1 constructor I do necessary initialization for script and then run it to create the Camera object. I try to move the following hard-coded Camera initialization to ...
Hi folks,
I'm trying to make an extension method that allows me to create a random time between Now and some user requested historical time point in the form of a TimeSpan.
For example : a random time between now and 1 hour ago.
So, I came up with the following Random(..) extension method.
I thought to make the random seed NOT static...
In VB.net, I have created my own dialog box and I am trying to create an object for it and use the object in the form. While doing this, the object has a value 'Nothing' and it says 'Stackoverflow' for this case. How to overcome this?
...
I have developed windows service to process files whose records will be stored in database. When windows service finds a file it creates a thread and assigns each file to one thread. I have not used Thread Pool. I wanted to know when windows service is stopped, then how to identify how many threads are running and whether they are comple...
Classes in .net like List and Dictionary can be indexed directly, without mentioning a member, like this:
Dim MyList as New List (of integer)
...
MyList(5) 'get the sixth element
MyList.Items(5) 'same thing
How do I make a class that can be indexed like that?
Dim c as New MyClass
...
c(5) 'get the sixth whatever from c
...
This is driving me nuts.
I have the following code that, when a button is clicked, a gridview will be populated with data based on the number a client enters into a text box (tbxHowMany).
protected void btnDisplayTopReport_Click(object sender, EventArgs e)
{
if (radPa.Checked)
{
CompleteWeightsData...
I have a simple Windows Forms (C#, .NET 2.0) application, built with Visual Studio 2008.
I would like to support multiple UI languages, and using the "Localizable" property of the form, and culture-specific .resx files, the localization aspect works seamlessly and easily. Visual Studio automatically compiles the culture-specific resx fi...
Hello.
There is a lot of disassemblers witch allows seeing the internal structure of .NET base assemblies.
Is there a way, add-in or similar for Visual Studio that will permit debugging through the disassembled code?
By example I have a user control I set the Width = 100 but the width always remains to 200. After a half on hour I rem...
how would i go about finding out what action was defined for this function
protected override void ProcessRequest(HttpContextBase httpContext)
{
IController Controller = new CatalogController();
(Controller as Controller).ActionInvoker = new MyActionInvoker();
Controller.Execute(RequestContext);
}
a...
Good Morning,
I'm searching for a library (or codebase) which will allow the creation of an ISO image from a CD/DVD with the .NET platform.
Does the .NET framework itself support the creation of ISO images?
I appreciate any advice.
...
Ctrl + PageUp/PageDown and Ctrl + Tab are default shortcuts for the TabControl. They help in moving between adjacent tabs. I would like Ctrl + PageX behaviour to work only for the Outer Tabs (tab1, tab2) and Ctrl + Tab behaviour for the Inner Tabs (tab3, tab4) when my focus is in the control (textbox here). For this I need to disable t...
In my old job I used to use the navigation bar in visual studio 2008 to select a control and then the event from the members drop-down to automatically create the event in the code for me to implement. Now at my new job, in my visual studio 2008 I no longer see page controls in the navigation bar. I only see the page class and associat...
I'm looking for some cost-effective solutions and/or open source options for generating reports in Excel and PDF format. I realize some of the open source options may have less in terms of functionality and flexibility than the COTS versions with all the bells and whistles, but are there any options out there that fall somewhere in betw...
Hi All,
I have a custom control which has a RadioButtonList control in it. On selecting one of the radio buttons , the control does a postback to do some serverside work and the page reloads with the correct radiobutton selected. This works fine in my test page.
I've now moved the control into a page on the site it's going to live in a...
This code is a representation of my logic. Obviously it does not work. Please advise on how to make it work.
switch (ObjectToControl.GetType().ToString())
{
case "DataList":
DataList Controled = (DataList)ObjectToControl;
break;
case "DetailsView":
D...