Example #1
0
 private void BtnAnaSayfa_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (fr15 == null)
     {
         fr15           = new FrmAnasayfa();
         fr15.MdiParent = this;
         fr15.Show();
     }
 }
Example #2
0
        private void FrmAnaModul_Load(object sender, EventArgs e)
        {
            this.Location = new Point(0, 0);
            this.Size     = Screen.PrimaryScreen.WorkingArea.Size;
            Rectangle ClienCozunurluk = new Rectangle();

            ClienCozunurluk = Screen.GetBounds(ClienCozunurluk);
            float OranWidth  = ((float)ClienCozunurluk.Width / (float)SimdikiWidth);
            float OranHeight = ((float)ClienCozunurluk.Height / (float)SimdikiHeight);

            this.Scale(new SizeF(OranWidth, OranHeight));

            if (fr15 == null || fr15.IsDisposed)
            {
                fr15           = new FrmAnasayfa();
                fr15.MdiParent = this;
                fr15.Show();
            }
        }