Ignore:
Timestamp:
Apr 14, 2011, 8:33:14 AM (13 years ago)
Author:
Sam Habiel
Message:

CalendarGrid: Many changes:

  1. Dragover handler to handle auto scrolling when dragging. Also highlights destination cell in dragging.
  2. Solution for the click-right click problem by better handling of right click issues.
  3. New method OnRButtonDown()
  4. Extra comments everywhere.
  5. Fix for single column being enabled when there are multiple resources. Columns property now calls this.SetColumnInfo() to rectify that problem.

CGDocument:

  1. EditAppoitment Used to send request a refresh from the DB and update the view itself, rather than letting the view handle that. That's now changed.

CGDocumentManager:

  1. MessageBox displayed during login splash now are shown BY the splash form.

CGView:

  1. Shortcuts and some display text updated.
  2. Splash screen when updating now removed.
  3. If print appointment slip checkbox is checked when EditAppointment is chosen, now it will print the routing slip.
  4. Tiny change in appointment structure generated during drag and drop (added Patient member, as it was causing a crash)

DApptSearch:

  1. Change of name of Appointment to Slot, for better user understanding.

DSplash:

  1. RemoteMessage box methods and associated delegates for mickey mousing the form from another thread.

Updated release exes and dlls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Scheduling/trunk/cs/bsdx0200GUISourceCode/DSplash.cs

    r1061 r1143  
    88{
    99        /// <summary>
    10         /// Summary description for DSplash.
     10        /// Program loading splash screen. Notice the numerous remote methods intended
     11    /// to mickey mouse the form from another thread.
     12    ///
     13    /// I don't know of a better way of doing this right now.
    1114        /// </summary>
    1215        public class DSplash : System.Windows.Forms.Form
     
    147150        public delegate void dAny();
    148151        public delegate void dProgressBarSet(int number);
     152        public delegate DialogResult dMessageBox(IWin32Window owner, string message);
     153        public delegate DialogResult dMessageBox2(IWin32Window owner, string message, string caption, MessageBoxButtons btns);
    149154               
    150155        public void SetStatus(string sStatus)
     
    165170                }
    166171
     172        public DialogResult RemoteMsgBox(string msg)
     173        {
     174            dMessageBox d = new dMessageBox(MessageBox.Show);
     175            return (DialogResult)this.Invoke(d, this, msg);
     176        }
     177
     178        public DialogResult RemoteMsgBox(string msg, string caption, MessageBoxButtons btns)
     179        {
     180            dMessageBox2 d = new dMessageBox2(MessageBox.Show);
     181            return (DialogResult)this.Invoke(d, this, msg, caption, btns);
     182        }
     183
    167184        public void RemoteClose()
    168185        {
    169186            dAny d = new dAny(this.Close);
     187            this.Invoke(d);
     188        }
     189
     190        public void RemoteActivate()
     191        {
     192            dAny d = new dAny(this.Activate);
     193            this.Invoke(d);
     194        }
     195
     196        public void RemoteHide()
     197        {
     198            dAny d = new dAny(this.Hide);
    170199            this.Invoke(d);
    171200        }
Note: See TracChangeset for help on using the changeset viewer.