예제 #1
0
 private void radMenuItem2_Click(object sender, EventArgs e)
 {
     this.Cursor = Cursors.WaitCursor;
     HistoryView hw = new HistoryView(this.Name);
     this.Cursor = Cursors.Default;
     hw.ShowDialog();
 }
예제 #2
0
        private void btnView_Click_1(object sender, EventArgs e)
        {
            if (row >= 0)
            {
                string SC = "";
                SC          = Convert.ToString(radGridView1.Rows[row].Cells["ScreenName"].Value);
                this.Cursor = Cursors.WaitCursor;
                HistoryView gy = new HistoryView(SC);
                this.Cursor = Cursors.Default;
                gy.ShowDialog();
                GC.Collect();
                GC.WaitForPendingFinalizers();

                ClassLib.Memory.SetProcessWorkingSetSize(System.Diagnostics.Process.GetCurrentProcess().Handle, -1, -1);
                ClassLib.Memory.Heap();
            }
        }