Example #1
0
        private void OnFormLoad(object sender, EventArgs e)
        {
            //Event handler for form load event
            this.Cursor = Cursors.WaitCursor;
            try {
                this.mToolTip            = new ToolTip();
                this.mToolTip.ShowAlways = true;
                this.mToolTip.SetToolTip(this.cboActionType, "Select an action type.");

                this.mActionsDS.Merge(CustomerProxy.GetActionTypes(this.mIssue.ID));
                this.cboActionType.SelectedIndex = -1;
                this.txtComment.Text             = this.mAction.Comment;
                this.txtComments.Text            = getAllActionComments();
                this.chkRunning.Checked          = true;
                OnRunningChecked(null, EventArgs.Empty);
                OnValidateForm(null, EventArgs.Empty);
            }
            catch (Exception ex) { reportError(ex); }
            finally { this.Cursor = Cursors.Default; }
        }