Beispiel #1
0
        // <General Form>
        private void CreatedNewDoc()
        {
            FormCreateNew frm3 = new FormCreateNew();
            //if (!ActivateForm(frm3))
            if (!this.CheckOpened(frm3.Name))
            {
                frm3.EmplId = ClassCurUser.LogInEmplId;
                frm3.EmplName = ClassCurUser.LogInEmplName;
                frm3.Key = ClassCurUser.LogInEmplKey;

                frm3.StartPosition = FormStartPosition.CenterParent;
                frm3.WindowState = FormWindowState.Maximized;
                frm3.MdiParent = this;
                frm3.Show();
            }
        }
Beispiel #2
0
        public void CreatedNewDoc()
        { 
            FormCreateNew frm3 = new FormCreateNew();
            frm3.EmplId = ClassCurUser.LogInEmplId;
            frm3.EmplName = ClassCurUser.LogInEmplName;
            frm3.Key = ClassCurUser.LogInEmplKey;

            frm3.StartPosition = FormStartPosition.CenterParent;


            frm3.MdiParent = this;
            frm3.Show();
        }