C# tam ekran yapma kodu

Kodla Büyü

aakcakaza

Hiperaktif Üye
Hiperaktif
Mesajlar
4,463
Arkadaşlar aşağıdaki formdaki adres chrome da çalışıyor, ben bunu tam ekran çalıştırmak için hangi kodu nereye yazmam gerekiyor. (Not: Anladığım bir dil değil.)
Kod:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication2
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            System.Diagnostics.Process.Start("chrome.exe", "localhost/dijitalpano/html/index.asp");
            this.Close();

        }
    }
}
 
Kod:
System.Diagnostics.Process.Start("chrome.exe", "localhost/dijitalpano/html/index.asp");
            SendKeys.Send("{F11}"); // bu satırı eklerseniz olacağını tahmin ediyorum. 
            this.Close();
Not: Bu şekilde uygulamalarınızı sanki herhangi bir tuşa basılmış gibi otomatik olarak yönlendirebilirsiniz.
 
mrtspmz' Alıntı:
Kod:
System.Diagnostics.Process.Start("chrome.exe", "localhost/dijitalpano/html/index.asp");
            SendKeys.Send("{F11}"); // bu satırı eklerseniz olacağını tahmin ediyorum. 
            this.Close();
Not: Bu şekilde uygulamalarınızı sanki herhangi bir tuşa basılmış gibi otomatik olarak yönlendirebilirsiniz.

bu şekilde denedim ama olmadı, teşekkürler.
 
System.Diagnostics.Process.Start("chrome.exe -kiosk", "localhost/dijitalpano/html/index.asp");
dener misiniz?
 
Kod:
System.Diagnostics.Process.Start("C://Users/PC/AppData/Local/Google/Chrome/Application/chrome" ,"http://www.google.com.tr");
            SendKeys.Send("{F11}");
  this.Close();
Sizin için oturup kendi bilgisayarımda da denedim şimdi, çalışıyor. Çalışmıyor demeyin, hangi satırda hangi hatayı veriyor?
 
Geri
Üst