User Profile

Collapse

Profile Sidebar

Collapse
winzone
winzone
Last Activity: May 12 '11, 07:36 AM
Joined: Jan 30 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • winzone
    started a topic value of z in structured objects in ABC
    in .NET

    value of z in structured objects in ABC

    Last time interview, I got this questions for test.
    I would like to know which answer is correct.

    Q: Assume you have a list "ABC" which contains structures of "XYZ". "ABC" has 10 "XYZ" objects in.
    Each structure has only three integers (x,y and z). all x and y have been assigned values and z is zero.
    there is a code snippet as shown below.
    foreach(XYZ obj in ABC)...
    See more | Go to post

  • winzone
    started a topic Open files as ReadOnly or Temp

    Open files as ReadOnly or Temp

    Hi All,
    Now i currently open file from listbox using below code.
    But i want to open as Read-Only or Temp file.
    Because i don't want to allows user directly edit and save the file throught my program.
    Please advice me....

    Code:
    Private Sub lsbFile_DoubleClick(ByVal sender As Object,
     ByVal e As System.EventArgs) Handles lsbFile.DoubleClick
            Dim sFileName As String
            'Get
    ...
    See more | Go to post

  • winzone
    started a topic Multithreading with queue

    Multithreading with queue

    Hi All,

    I have more than 5 thread task that is dynamic number.

    I want to run 5 thread at a time.
    when one of the 5 thread is finished another one queue thread start to run.
    Then continue to run until all queue thread is finished.

    I have problem of how to queue the thread if over 5 thread.
    how to pass the parameter? sPar.Item(iIndx ).ToString()

    Below is my code.

    ...
    See more | Go to post

  • winzone
    replied to not display drawing in PictureBox
    Incorrect display drawing graphic in PictureBox in customer pc

    I used system.drawing. graphic in C# to draw the Rectangle and Ellipse in PictureBox. That PictureBox is 512x512 ratio. In my PC and other my buddy PC show the drawing graphic .

    Problem is,in my customer PC, the drawing graphic not work well function and system draws many rectangles the whole PictureBox, cannot set position.

    In my customer PC, already...
    See more | Go to post
    Last edited by numberwhun; Feb 17 '09, 01:15 PM. Reason: Please use code tags!

    Leave a comment:


  • winzone
    replied to not display drawing in PictureBox
    Incorrect display drawing graphic in PictureBox in customer pc

    I used system.drawing. graphic in C# to draw the Rectangle and Ellipse in PictureBox. That PictureBox is 512x512 ratio. In my PC and other my buddy PC show the drawing graphic .

    Problem is,in my customer PC, the drawing graphic not work well function and system draws many rectangles the whole PictureBox, cannot set position.

    In my customer PC,...
    See more | Go to post

    Leave a comment:


  • winzone
    replied to not display drawing in PictureBox
    thank,
    i will try other section to get more scope of answer....
    See more | Go to post

    Leave a comment:


  • winzone
    replied to not display drawing in PictureBox
    Hi,
    Is this not C# window programming section???
    May i know specific link of C# window programming section.

    Thanks...
    See more | Go to post

    Leave a comment:


  • winzone
    started a topic not display drawing in PictureBox

    not display drawing in PictureBox

    I used system.drawing. graphic in C# to draw the Rectangle and Ellipse in PictureBox. In my PC and other my buddy PC show the drawing graphic and color.
    But my customer PC doesn't show the drawing graphic. In my customer PC, i already installed .net Frame Work 2.0 (SP1). I don't know why missing? I write code like this...

    Pen penMi = Pens.Blue;

    void DrawAllMi(Graph ics g)
    {
    g.DrawRectangle (penMi,...
    See more | Go to post

  • winzone
    replied to C# Printing Page Count
    Anyway, thank a lot vekipeki .....

    I try this way ............
    See more | Go to post

    Leave a comment:


  • winzone
    started a topic C# Printing Page Count

    C# Printing Page Count

    Hi All,
    Now i use the following code to print the data in C# 2005 application.
    But i face the problem is total page number at the begining of first page. They want to get page number like : Page : 1 of 15.

    Is there any suggesting how to get total page number.

    Code:
    Public int y = 0;
    Public int LineCount = 0;
    int yPosition =  50;
                        e.Graphics.DrawString("Summary of Image
    ...
    See more | Go to post
No activity results to display
Show More
Working...