User Profile

Collapse

Profile Sidebar

Collapse
Laszo Pasztor
Laszo Pasztor
Last Activity: Mar 22 '12, 10:12 AM
Joined: Feb 15 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • How to make actions when working with other applications?

    Hello!

    Is it possible to make actions when working with other applications.

    For example:
    I start my application. It runs in the background with no user interface. But when I for example drag a window (to move it, a notepad, calculator, whatever) then a message box appears: "you dragged this window: notepad" or any other actions.

    Is it possible to do this?
    Could you give me a sample...
    See more | Go to post

  • Ok, I could solve it:

    Code:
    public void AdatokFeldolgozasaForm()
            {
                AdatokFeldolgozasa frmAdatokFeldolgozasa = new AdatokFeldolgozasa();
    
                int X = this.Left + (this.Width - frmAdatokFeldolgozasa.Width) / 2;
                int Y = this.Top + (this.Height - frmAdatokFeldolgozasa.Height) / 2;
                frmAdatokFeldolgozasa.Location = new Point(X, Y);
    ...
    See more | Go to post

    Leave a comment:


  • Ok, I could figure out a working solution:

    Code:
    public void AdatokFeldolgozasaForm()
            {
                AdatokFeldolgozasa frmAdatokFeldolgozasa = new AdatokFeldolgozasa();
                frmAdatokFeldolgozasa.ShowDialog();
            }
    To call it:
    Code:
    Thread tAdatokFeldolgozasa = new Thread(new ThreadStart(AdatokFeldolgozasaForm));
                tAdatokFeldolgozasa.Start();
    ...
    See more | Go to post

    Leave a comment:


  • Hi!
    I tried, really, but can't understand...

    Please help me make this little example. With this I'm sure I would understand the working of BackgroundWorke r.

    So:

    Let's have two forms, Form1 and Form2. Form1 contains one button, called Start. When this Start button is pressed, the Form1 would start a process, for example sleep for 5 seconds (Thread.Sleep(5 000);), and the Form2 window opens. After the 5 seconds...
    See more | Go to post

    Leave a comment:


  • Thanks, but it's not so clear for me.

    Here is the part of my code:

    Code:
    DirectoryInfo diForrasStilusok = new DirectoryInfo(strForrasKonyvtar + "\\Stilusok" + strStilus);
    DirectoryInfo diCelStilusok = new DirectoryInfo(strMunkaKonyvtar);
    CopyAll(diForrasStilusok, diCelStilusok);
    It's called by a button-pressing. Before (or when) this part of the code would start, I would like to...
    See more | Go to post

    Leave a comment:


  • Showing "Work in progress" window while copying files

    Hi!

    I'm writing an application in which I'm copying a few files. It takes a while, that's why I would like to open a window which would say "Work in progress", so the user would know that copying is in progress and he should wait until it finishes. After finishing the copy-progress, the little notification window should close and let the user continue the work with the application.
    I tried to solve this, but when I...
    See more | Go to post
No activity results to display
Show More
Working...