User Profile

Collapse

Profile Sidebar

Collapse
mylixes
mylixes
Last Activity: Dec 10 '12, 02:32 AM
Joined: May 6 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • mylixes
    started a topic Run Thread simultaneously

    Run Thread simultaneously

    I have a TreeGrigView and each row has link button which will start executing commands and start the thread. How will I be able to run the thread simultaneously if I click the link button in any row. For example if I click the link button in row[1] the thread will run in the backgound then when I click the link button in row[2] another thread will run without affecting the thread in row[1].

    By the way, each link button will execute...
    See more | Go to post
    Last edited by Stewart Ross; Mar 10 '12, 08:25 PM. Reason: Merged posts into first one for you

  • mylixes
    started a topic Populate a ListView

    Populate a ListView

    I have 3 User control in my main form.
    One of my user control consists of datagridView while the other two consists of a listView. When I click a row of the first user control, the one with datagridView, I want to display data to the listView of my third userControl and unfortunately I wasn't able to display the data.
    How could I do that?
    See more | Go to post

  • mylixes
    replied to TreeView inside a ListView
    Thanks Gary for the reply. the link you shared helps me a lot. but I had encountered another problem using the expandable datagridView.

    My datagrid consists of 4 columns, string column (treeView), combobox, linklabel and string column. Below is my code.

    Code:
    foreach (KeyValuePair<int, string[]> name in nameDictionary)
                {
                    parentNameNode = helper.getName(name.Value[i]);
    ...
    See more | Go to post

    Leave a comment:


  • mylixes
    started a topic TreeView inside a ListView

    TreeView inside a ListView

    How could I include a treeView inside a ListView?
    See more | Go to post

  • mylixes
    replied to Comparing two Dictionaries
    Thank you so much for the explanation. I already tried that. Im just kinda confused with what I have encountered.

    Actually I want my program to do this:

    I have a listView that will display a list of devices. each devices may have different interfaces.

    For example:
    Device1 - Device1.0
    - Device1.0
    - Device1.0

    Device2 - Device2.1
    - Device2.1
    - Device2.1

    ...
    See more | Go to post

    Leave a comment:


  • mylixes
    started a topic Comparing two Dictionaries

    Comparing two Dictionaries

    I have this list of devices and I store it in the Dictionary. When the program loaded, the Items of the dictionary will be displayed in the listView. I created a thread that will refresh the list when a new device is connected to a usb port. Now, how could I compare the items currently stored in the dictionary to the new items saved in another Dictionary?

    For example:

    Dictionary1 = {device1, device2} -this dictionary...
    See more | Go to post

  • mylixes
    started a topic Panel Scroll using arrow keys
    in .NET

    Panel Scroll using arrow keys

    I have a user control that has a panel with datagridview inside it. I set the panel's auto Scroll property to true. When I press the arrow left and right, I want to automatically scroll to the left or right. How can I do this?
    See more | Go to post

  • mylixes
    started a topic Put some animation on form resize
    in .NET

    Put some animation on form resize

    Hi. I have a form with three buttons, button1, button2 and button3. I want to re-size the form when any of the three button is clicked. For example, upon loading the form, the size of the form is 555,160. When I click any of the three button, I want to re-size the form to 555,552 to show other controls at the lower part of the form. I tried to use
    Code:
    this.Size = new Size(555, 552);
    yes it do the trick but I want to put...
    See more | Go to post

  • mylixes
    started a topic Application Uninstallation in Vista

    Application Uninstallation in Vista

    I have an application and created an installer using Installshield 2011.

    I installed the application in Vista and run it.
    My application created a .ftp file and save it to any location of the pc.

    When I decided to uninstall the application, I noticed that the folder where the .ftp file is located is still there. It was not removed.

    But in windows 7 and xp it works fine. All files and folder were...
    See more | Go to post

  • How to detect USB removable disk remoival and insertion?

    I have a windows application that is getting the USB removable disk. Using the code below, gives me the name of the USB removable disk and populate it in the combobox named "cboTargetU SB".

    DriveInfo[] ListDrives = DriveInfo.GetDr ives();

    foreach (DriveInfo Drive in ListDrives)
    {
    if (Drive.DriveTyp e == DriveType.Remov able)
    {
    ...
    See more | Go to post

  • mylixes
    replied to Timer Disable SubItems of Menustrip
    yeah right..

    What I did was reset the timer every time the user click the drop down item of the menu strip and every time the user closes the form. If the user doesn't do any action in 5 minutes the menu will disable.

    Thanks for the reply though....
    See more | Go to post

    Leave a comment:


  • mylixes
    started a topic Timer Disable SubItems of Menustrip

    Timer Disable SubItems of Menustrip

    In my Windows Application, I have one timer and Menu strip.
    There are 6 Items in the Menu strip and each of them has Sub items. Now, how could I be able to detect if the user doesn't do any action after 5 minutes?

    Let's say after the user logged in, He/she doesn't do any action or doesn't open any sub items in the menu strip after 5 minutes. How would I know?

    If the user doesn't do any action after 5 minutes, some...
    See more | Go to post

  • mylixes
    replied to How to perform Form AutoScale in C#
    I tried to use anchor already, but it doesn't work as I want it to be....
    See more | Go to post

    Leave a comment:


  • Thanks for the help but I did that already....
    See more | Go to post

    Leave a comment:


  • mylixes
    replied to How to perform Form AutoScale in C#
    I can't set it to Maximized.
    I mean, I should not set it to maximized. So how could I auto re-sized the form if the resolution is different without the need of maximizing the form....
    See more | Go to post

    Leave a comment:


  • mylixes
    replied to How to perform Form AutoScale in C#
    Form WindowState property is not set to Maximized as it should not be. So, how could do that?...
    See more | Go to post

    Leave a comment:


  • mylixes
    started a topic How to perform Form AutoScale in C#

    How to perform Form AutoScale in C#

    I am working on a PC with 1280x1024 resolution.
    Now, my problem is how could my program automatically adjust its forms and all of the controls if I am going to run my program to other PC/laptop with different resolution?

    Currently, I set the AutoScaleMode property of the form to Dpi but it doesn't work

    Any help will be highly appreciated.
    See more | Go to post

  • private void btnClose_Click( object sender, EventArgs e)
    {
    this.Close();
    }
    That's the only code i wrote for button close event.
    The events I usually used are as follows:

    1.OnLoad
    2.Keypress and KeyDown to handle inputs
    3.Close Event which is the code i posted above...
    See more | Go to post

    Leave a comment:


  • Yes, I have multiple forms in my application. For example, Form1, Form2 and Form3 are all open at the same time. When I click the close button of Form3, I want to close Form3 only and I want Form1 and Form2 to stay open not minimized.
    What I am experiencing now is that, when I click the close button of Form3, Form1 and Form2 minimizes. I don't know what triggers that. It's weird because I haven't experienced that on my previous runs....
    See more | Go to post

    Leave a comment:


  • I just want to close the form when i click the close button. It's just annoying that recently I experiencing that problem. When I click the close button, the form is closing and the other form minimizes. I want the other form to stay open....
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...