form « windows « C Q&A

Home
C Q&A
1.assembly
2.buffer
3.Card
4.Cast
5.compile
6.console
7.const
8.constructor
9.database
10.Date
11.Debug
12.Design
13.Development
14.DLL
15.encrypt
16.enum
17.eof
18.Event
19.fork
20.Format
21.gcc
22.gdb
23.graph
24.graphics
25.gui
26.Holiday Event
27.image
28.IP
29.iterator
30.macro
31.makefile
32.malloc
33.Menu
34.mysql
35.network
36.openssl
37.operator
38.password
39.pipe
40.preprocessor
41.printf
42.pthread
43.Regular expression
44.scanf
45.semaphore
46.SerialPort
47.server
48.Socket
49.sql
50.SQLserver
51.sscanf
52.std
53.stdin
54.stdout
55.stl
56.strcmp
57.stream
58.switch
59.Template
60.thread
61.timer
62.unix
63.video
64.Virtual
65.visualstudio
66.winapi
67.windows
68.xml
C Q&A » windows » form 

1. Baseline snaplines in custom Winforms controls    stackoverflow.com

I have a custom user control with a textbox on it and I'd like to expose the baseline (of the text in the textbox) snapline outside of the custom control. ...

2. Issues adding items and expanding the collections list of checkedlistbox on a windows form in c#    stackoverflow.com

This may seem like a dumb question. I have a textbox that can be used to add items to a checkedlistbox at runtime on a windows form. I'm using c#. It ...

3. Is it possible to implement WPF in already developed C# Windows form application Without Changing Existing code?    stackoverflow.com

i am working with C# windows form application i developed project in that.i like to make project design into more stylish and modern.is it possible to do like this by using ...

4. Re-styling the Standard toolbar in Windows Forms Applications (C# only)    stackoverflow.com

Ok, so I've finally come to my senses and stopped trying to reinvent the wheel whenever I see something that I think can look much better :P How can I make the ...

5. How do I get a C program to work as a Windows Application Form?    stackoverflow.com

Hi I am a beginner in C programming and I have made a C program that automatically logins into a website using socket programming, particularly made for UNIX systems. I am ...

6. move from windows forms to WPF ?    bytes.com

I am an expirienced software eng. (C++ and C# , mainly algorithms) Lately , I have started using Winform. I know that WPF is more mature . My questions are 1. Is it easier to implement the GUI in WPF ? 2. How long should it take to learn WPF 3. what are the main functionalities and features , that I ...

8. a question I can't find is how do I make a windows form from scratch in C ?    bytes.com

gave up on it I'll keep it command prompt I turned josah's helpful prime finder into a perfect number finder I wanted to use a window not command prompt but it's too complicated.( now only if I could get it to limit which ones it printed the equation for to file then I might be golden.

9. implementing multiple forms in a windows app dilemma    bytes.com

i want to do the following: 1. Click a button on Main menu. 2. Close main menu ( I would use hide if possible) 3. Open form2 4. Open other forms and hide or close the previous form. \\ will not do now 5. Eventually able to go back to Main form. my main form code: public partial class EntryForm : ...

10. Problem with windows forms and delegates    bytes.com

I have an OPC server (an application server). I write this server using C++/CLI. This server contain callbacks (delegates) When the client connects to the server (enter the core of a callback function onconnectclient) I want to change the text of a text box!!! onclientcallback is defined in a seperate class called Callbacks In this class I have an attribute called ...

11. playing sound in windows form    bytes.com

12. Windows Form Application    bytes.com

13. Multi Form on Windows form application    bytes.com

Application::Run() starts a Windows program message loop. Only one of these loops is allowed per application. You can start a second application as a separate process but you can't start a process within a process. If you want a second process then call CreateProcess() from your first application. Otherwise, you will just create windows and forms using somerthing other than Application::Run(). ...

15. System::Windows::Forms and Win32    bytes.com

Is it possible to use the System::Windows:Forms namespase in a Win32 application? I am currently working on a Win32 program, and I am able to access the System namespace, but I can't get the System::Windows namespace or other options to appear. I am using Visual Studio 2003; and I am a novice programmer. Thanks, Jody

16. (C# win7)displaying a form in a tab using tab control how can do this?    forums.devshed.com

dear developers I'm using tab control and i have several buttons that when i click on one of the buttons a tab opens in the tab control and the form is shown .to explain my scenario better i have button A and i have formApples now when i click on button A formApples will appear in the tab control not in ...

17. C# - How to POST data from Windows Form to Website    forums.devshed.com

try { // Create a request for the URL. HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create(Program._myURL); // If required by the server, set the credentials. webRequest.Credentials = CredentialCache.DefaultCredentials; //Create POST data string postData = "Fname=test"; //Set method property webRequest.Method = "POST"; Console.WriteLine("7"); //Set ContentType property of the request webRequest.ContentType = "application/x-www-form-urlencoded"; //Protocol (tried Version10 also) webRequest.ProtocolVersion = HttpVersion.Version11; webRequest.KeepAlive = false; webRequest.ServicePoint.Expect100Continue = false; ...

18. Cant figure out Windows form    forums.devshed.com

The over all goal to this windows form is to put two radio buttons and a picture box, when the user clicks on the radio button "Red" then a Red Circle Appears in the picture box, however when the user clicks "Green" then a green square appears in the picture box. I will attach my code and I will list the ...

19. Possible to create a shared variable for 2 different windows forms?    forums.devshed.com

Hi, I have 2 header files here. one is main.h and the other is sub.h I have created a global timer1 in main.h and I am trying to enable and start the timer from my sub.h with a command button. both header files include windows form. Is there any way I can work around this? Sorry if my explanation is bad ...

20. Check all checkboxes in windows form C#    forums.devshed.com

I have a windows form with something like 20 checkboxes. I have a radio button above that when set one way will check all the boxes and set another way will uncheck them all. My question is: is there a way to traverse through all the checkboxes on the form and check them in a loop? I don't want to have ...

21. Anyone familiar with C# and windows forms?    forums.devshed.com

I just started learning C# and I think I'm picking things up fairly quickly but one thing I'm having trouble with is Windows forms. I haven't been able to find a great set of tutorials/lessons/or even a book to my liking to help me learn Windows Forms. I'm going to be working for a software company this summer doing C# development ...

22. [C#] Passing variable between windows forms.    forums.devshed.com

Hello, Thank you for your reply, I managed to apply the code you posted and it has not given any errors, although i have probably done it wrong. Here is some of form 1 - On line 23 i have defined the SQL string into a global variable. Then i also have on this form (i have a feeling this is ...

23. Passing value between windows form    forums.devshed.com

you could make it a static member to a generic data class that is a member of each form, essentially making it "global" but since im not sure what yer doing, it might not be the best approach. since that seems to be a lot of overheard for 1 value to pass.

24. Click call backs with System::Windows::Forms stuff...    forums.devshed.com

Ok so this has been annoying me since yesterday but should be simple enough to do. If I create, say a picture box in an array, in code in Form1.h as follows: System::Windows::Forms::PictureBox^ abc and load it up with a picture and draw it to form1 through code how can I handle call backs like clicking? I know theres a PictureBox::OnClick ...

25. Windows Forms    forums.devshed.com

Hello, I am fairly new to C# and I am writing a program that simulates a cricket match between two teams. So far, I have several different Windows Forms, representing, a home screen form, a form to select the teams, a form to display the team's stats, and a form to display the match screen. The program runs by creating a ...

26. Issues with windows form    forums.devshed.com

Hi there, I am creating a window application using C# and visual studio 2005. The problem I am having is that I have created a form with labels text boxes and buttons. In design view everything is in the right place and nothing is hidden. However when I start to build the project, 3 text boxes and their corresponding labels are ...

27. Windows Forms, A Newbie Question    forums.devshed.com

I have this code: Code: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using MySql.Data.MySqlClient; namespace MySQLInterface { public class StartInterface : System.Windows.Forms.Form { private Button button1; public StartInterface() { Text = "Create Database"; button1 = new Button (); // SuspendLayout(); button1.Text = "Create Databse"; button1.Name = "btnCreateDB"; button1.Size = new System.Drawing.Size (72, 30); button1.Location ...

28. Windows Form App "Outofmemoryexception"    forums.devshed.com

29. C#: Windows Form(s) question    forums.devshed.com

This is probably really basic. And I have an idea on what to do. Just want to verify it with someone alittle more experienced in the C# language department. I have an application with 2 forms. 1 form is for sign-in to obtain user input on an ID number. When the user clicks the Go button on the form, there is ...

30. Windows Forms Problem    forums.devshed.com

I made a windows form using C++. This form has a textbox that the user enters text. The text entered is in the form of ' String_gc* '. I need to write the text into a .txt file in another location. The problem is that the fputs and write commands that I tried only use char* or String*. I need to ...

31. Windows forms in C?    daniweb.com

initmouse() { // this function will initialize mouse // you have to call this function before calling showmouseptr // cause it need to know that rather environment is console or graphics. i.x.ax=0; // push 0 into ax register int86(0x33,&i,&o); // call 8086 interrupt routine return(o.x.ax); // return the output in output not needed in actual } void showmouseptr() { // this ...

32. CLR Windows Form Application question    codeproject.com

33. Looking for a more current Windows Forms programming book.    codeproject.com

You have got one great book "Win32 API Programming" by Petzold this is very good for learning development of Plain win32(both C and C++) application development. Trust me you wont get very much difference ... And For Learning MFC(Advance C++ and Master Use of MACRO s) you have another good book by "Ivor Horton". But I guess MFC learning ...

34. How to minimize windows form to system tray    codeproject.com

If it's MFC (or otherwise un-managed code), you can minimize an application's main window, but not a form, to the system tray. If you're talking about .Net, you have to enable the control box that contains the various window control buttons (minimize, normalize, close), which should be enabled by default for all forms.

35. Windows Form to cross platform    codeproject.com

After your comment: Think about it. They are different operating systems. to expect a single application to work across multiple operating systems is like expecting a car to work on petrol and diesel. The only way to do that is to have a petrol generator and a diesel generator in the back of an electric car. Expensive, cumbersome, and looks/works like ...

36. Windows Logon form    codeproject.com

That's not a good idea. Unless you completely own the system (that is: the whole system is finalized to run only your specific application)an application should not modify the system behavior for things not belonging the application itself. Suppose I'm the user of your App and of 10 other app that -like yours- want their own logon screen. What ...

37. Windows Forms Inspector    codeproject.com

38. Easy, Gradual Tutorial on Windows Form Applications in C #?    codeproject.com

There is a huge amount of reading there! Get a book and work through it, doing the exercises: Avoid anything with "...in 28 days" or exclamation marks in the title. Wrox do some good ones, so do Apress. It's difficult to give specific recommendations: different books cover different parts of the subject. For example, there ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.