Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
T

TaiZhong

@TaiZhong
About
Posts
7
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Multithreading program!
    T TaiZhong

    I have a question, if you want the program to stop at a method (drawLine() in my case), isn't it there must be a loop inside that method and loop untill the user have click the mouse button 2 times and only stop the loop and return a value?

    C# help question

  • Multithreading program!
    T TaiZhong

    I am using a third party components and it is written by C# .NET and there is a method that works exactly like what I have described previously I wonder how they did it?

    C# help question

  • Multithreading program!
    T TaiZhong

    I am sorry, I am not sure whether its something do to with multithreading or not. You can forget about the "caller" if this terms confuse you (Caller means those who call this DrawLine() method). I just want to know how to make the program to stop at the DrawLine() method and after I have accept 2 points from the mouse down button then will return a true value back from the DrawLine method and after that the program will proceed. void Test(){ /* The program should wait untill I accept 2 points from the mouse down event after that a true value will return by DrawLine() to "temp" variables */ bool temp= DrawLine(); } I don't know what should I handle within the DrawLine() method.

    C# help question

  • Multithreading program!
    T TaiZhong

    I would like to create a method that within the method it will handle the mouse click event and after the user has input 2 points the method will return a value back to the caller. void Test(){ /* The Drawline method should allow user to click the left mouse button 2 times to accept 2 points,after that the DrawLine method will return a true value;*/ bool isDraw = DrawLine(); } Anyone know what should I do within the DrawLine() method? All help is appreciated. Thanks.

    C# help question

  • P/Invoke problem in migrating 32 bit to 64bit application!
    T TaiZhong

    I have an application that calls win32 Dlls in c# with P/Invoke. The application works fine in the 32-bit window XP. When I migrate it to the 64-bit window XP( virtual machine ), the application fail to load win32 DLLs and with an error message of {"An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)"}. Anyone know whats the problem and how to solve this problem. Any help is appreciated. Thanks.

    C# help csharp tutorial

  • How to make a dialog box modal? [modified]
    T TaiZhong

    I call the "GetOpenFileName" (Win32 API function) to creates and Open a dialog box. The dialog box is popped up but it is a modeless dialog. What I want is a modal dialog box. Anyone know how to solve this problem? Thanks. -- modified at 5:35 Wednesday 29th August, 2007 I have to customise the OpenFileDialog so that it support the picture preview in the OpenFileDialog box. So I can't use the normal OpenFileDialog class.

    C# json help tutorial question

  • How to remove the rectangle from Propertygrid ?
    T TaiZhong

    I'd like to change the way the value displayed in the grid. So I create a class which derived from UITypeEditor and I have overriden the GetPaintValueSupported and PaintValue methods. Unfortunately there is a small rectangle display in the grid. Is there a way to remove this rectangle? So that I can draw whatever I want. Thanks in advance....

    C# css tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups