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

                DeleteData.StartPosition = FormStartPosition.CenterParent;
                DeleteData.WindowState = FormWindowState.Maximized;
                DeleteData.MdiParent = this;
                DeleteData.Show();
            }
        }
Esempio n. 2
0
        private void DeleteDoc()
        {
            FormDeleteEmpl DeleteData = new FormDeleteEmpl();
            DeleteData.EmplId = ClassCurUser.LogInEmplId;
            DeleteData.EmplName = ClassCurUser.LogInEmplName;
            DeleteData.Key = ClassCurUser.LogInEmplKey;

            DeleteData.StartPosition = FormStartPosition.CenterParent;

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