Esempio n. 1
0
        private void ReportStatusDoc()
        {
            FormReportStatusDoc ReportEmpl = new FormReportStatusDoc();
            //if (!ActivateForm(ReportEmpl))
            if (!this.CheckOpened(ReportEmpl.Name))
            {
                ReportEmpl.EmplId = ClassCurUser.LogInEmplId;
                ReportEmpl.EmplName = ClassCurUser.LogInEmplName;
                ReportEmpl.Key = ClassCurUser.LogInEmplKey;

                ReportEmpl.StartPosition = FormStartPosition.CenterParent;
                ReportEmpl.WindowState = FormWindowState.Maximized;


                ReportEmpl.MdiParent = this;
                ReportEmpl.Show();
            }
        }
Esempio n. 2
0
        private void ReportStatusDoc()
        {
            FormReportStatusDoc ReportEmpl = new FormReportStatusDoc();
            ReportEmpl.EmplId = ClassCurUser.LogInEmplId;
            ReportEmpl.EmplName = ClassCurUser.LogInEmplName;
            ReportEmpl.Key = ClassCurUser.LogInEmplKey;

            ReportEmpl.StartPosition = FormStartPosition.CenterParent;

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