Click here to Skip to main content
11,920,772 members (58,315 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# C#4.0 Forms
hi all

i have to make a application which shows output to the second monitor or LCD

like in original monitor it will show whole application with out put , but on the second monitor it will only show output / result.

it it possible to that??

like if i have simple 2+2 = 4 operation .

then on original screen it will show complete 2+2 = 4 but on 2nd monitor it will show output as 4.
Posted 25-Jun-13 4:55am
sorawit amorn 25-Jun-13 17:35pm
are these 2 monitors on the same machine ?
syedaliaizazuddin 1-Jul-13 6:58am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

protected void Form1_OnLoad(...) {
private void showOnMonitor(int showOnMonitor)
    Screen[] sc;
    sc = Screen.AllScreens;
    if (showOnMonitor >= sc.Length) {
        showOnMonitor = 0;
    this.StartPosition = FormStartPosition.Manual;
    this.Location = new Point(sc[showOnMonitor].Bounds.Left, sc[showOnMonitor].Bounds.Top);
    // If you intend the form to be maximized, change it to normal then maximized.
    this.WindowState = FormWindowState.Normal;
    this.WindowState = FormWindowState.Maximized;

Copied from:[^]
syedaliaizazuddin 25-Jun-13 10:06am
Dear i m confused in how to display the out "4 " on the 2nd monitor.

i have looked into this , after lot of searching i posted here my question
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Use System.Windows.Forms.Screen[^] class to get information about available monitors.
Then use form's Location and Size properties to move it to desired monitor.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 548
1 Dave Kreskowiak 245
2 phil.o 170
3 KrunalRohit 134
4 F-ES Sitecore 130
0 OriginalGriff 6,778
1 KrunalRohit 4,530
2 Sergey Alexandrovich Kryukov 3,203
3 George Jonsson 2,815
4 Suvendu Shekhar Giri 2,181

Advertise | Privacy | Mobile
Web01 | 2.8.151120.1 | Last Updated 25 Jun 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100