Click here to Skip to main content
13,094,454 members (56,395 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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 3: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
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.170813.1 | Last Updated 25 Jun 2013
Copyright © CodeProject, 1999-2017
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