示例#1
0
        private void btnBeginRemoval_Click(object sender, System.EventArgs e)
        {
            Cursor old = Cursor.Current;

            Cursor.Current = Cursors.WaitCursor;
            try
            {
                _printer.BeginRemoval(Int32.Parse(tbTimeout.Text));
            }
            catch (Exception ae)
            {
                ShowException(ae);
            }
            finally
            {
                Cursor.Current = old;
            }
        }