User Profile

Collapse

Profile Sidebar

Collapse
snegulko
snegulko
Last Activity: Mar 5 '09, 02:02 PM
Joined: Mar 4 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • k = i / 2
    at that line u get k = 2 because k is defined as an int somewhere upper in your code and that means when u get a value that is not int by "/" it gets the number without the decimals. Converts it itself to int.
    See more | Go to post

    Leave a comment:


  • snegulko
    replied to How to ignore user click?
    I know what ShowDialog() means. what i need is my form to act as if it had a child opened with ShowDialod and not to have that child actually. User actions to be ignored by the form. Only my background computer logic to work as a user could work normally. To see all animation on button clicks and selections by that logic.
    See more | Go to post

    Leave a comment:


  • snegulko
    replied to How to ignore user click?
    Well it is not that kind if ignoring the click i need.
    I still can see the button icon animating by my click and on a dialog it will return a result.
    To make the understanding on it how it should behave, imagine that you have an opened dialog of some child form. At that point u can't do anything to the parent. That is behavior i need. As a parent form, but still not to have that child.
    See more | Go to post

    Leave a comment:


  • snegulko
    replied to How to ignore user click?
    I don't know how to do that.
    If i leave those events empty on each control, it still works as normal.
    And not always the bot works on the form. Sometimes user gets the control over it, but when bot does (bot turn) that behavior should be.
    Plus, does that prevent user to select something?
    See more | Go to post

    Leave a comment:


  • snegulko
    started a topic How to ignore user click?

    How to ignore user click?

    Hi

    How can I make all user clicks (mouse and keyboard) to be ignored on a windows form (using C#), while a computer bot is still able to do so? All buttons, listbox, textbox, etc. need to stay enabled. A computer bot selections, changes and click animations need to be and stay viewable by the user, but only able to be done by the bot. It should be like the computer is having the full control over the form and the user is only watching...
    See more | Go to post
No activity results to display
Show More
Working...