Beispiel #1
0
        private void LoaducArchive()
        {
            Cursor.Current = Cursors.WaitCursor;
            if (!panel_Body.Controls.Contains(ucArchived.Instance))
            {
                panel_Body.Controls.Add(ucArchived.Instance);
                ucArchived.Instance.Dock = DockStyle.Fill;
            }
            ucArchived.Instance.BringToFront();
            ucArchived archived = new ucArchived();

            archived.dataGridView_ListOfRequest.Refresh();
            panel_Body.Visible = true;
            Cursor.Current     = Cursors.Default;
        }
Beispiel #2
0
        private void bt_RequestArchived_Click(object sender, EventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            if (!panel_Body.Controls.Contains(ucArchived.Instance))
            {
                panel_Body.Controls.Add(ucArchived.Instance);
                ucArchived.Instance.Dock = DockStyle.Fill;
            }
            ucArchived.Instance.BringToFront();
            ucArchived archived = new ucArchived();

            archived.dataGridView_ListOfRequest.Refresh();
            panel_Body.Visible = true;
            Cursor.Current     = Cursors.Default;

            ButtonInActive(bt_Menu_SystemDevelopment);
            ButtonInActive(bt_Menu_Accounts);
            ButtonInActive(bt_Menu_AddRequest);
            ButtonActive(bt_Menu_Archived);
            ButtonInActive(bt_Menu_BackUp);
            ButtonInActive(bt_Menu_Import);
            ButtonInActive(bt_Menu_Reports);
        }