コード例 #1
0
 //Interface
 public QuickQuoteTool()
 {
     //Constructor
     try {
         InitializeComponent();
         this.mGridSvcP = new UltraGridSvc(this.grdPallets);
     }
     catch (Exception ex) { App.ReportError(ex, true, LogLevel.Error); }
 }
コード例 #2
0
 //Interface
 public winLTLRates()
 {
     //Constructor
     try {
         InitializeComponent();
         this.mGridSvc = new UltraGridSvc(this.grdRates);
     }
     catch (Exception ex) { App.ReportError(ex, true, LogLevel.Error); }
 }
コード例 #3
0
 //Interface
 public TDSInfoTool()
 {
     //Constructor
     try {
         InitializeComponent();
         this.mGridSvc = new UltraGridSvc(this.grdTDSInfo);
     }
     catch (Exception ex) { App.ReportError(ex, true, LogLevel.Error); }
 }
コード例 #4
0
 //Interface
 public winLoadTenderLog()
 {
     //Constructor
     try {
         InitializeComponent();
         this.mGridSvc        = new UltraGridSvc(this.grdSchedule);
         this.mAutoRefreshSvc = new LoadTenderAutoRefreshService(this);
     }
     catch (Exception ex) { throw new ApplicationException(ex.Message, ex); }
 }
コード例 #5
0
 //Interface
 public winShippers()
 {
     //Constructor
     try {
         InitializeComponent();
         this.mGridSvc        = new UltraGridSvc(this.grdShippers);
         this.mAutoRefreshSvc = new ShipperAutoRefreshService(this);
     }
     catch (Exception ex) { throw new ApplicationException(ex.Message, ex); }
 }
コード例 #6
0
 //Interface
 public ctlTerminalConfiguration()
 {
     //Constructor
     try {
         //Required for Windows Form Designer support
         InitializeComponent();
         this.mTermGridSvc = new UltraGridSvc(this.grdMain);
     }
     catch (Exception ex) { throw new ApplicationException("Failed to create new ctlTerminalConfiguration.", ex); }
 }
コード例 #7
0
ファイル: winClientInbound.cs プロジェクト: jpheary/Argix10
 //Interface
 public winClientInbound()
 {
     //Constructor
     try {
         InitializeComponent();
         this.mGridSvc        = new UltraGridSvc(this.grdSchedule);
         this.mGridTSvc       = new UltraGridSvc(this.grdTemplates);
         this.mAutoRefreshSvc = new ClientInboundAutoRefreshService(this);
     }
     catch (Exception ex) { throw new ApplicationException(ex.Message, ex); }
 }
コード例 #8
0
ファイル: IssueSelector.cs プロジェクト: jpheary/Argix08
 //Interface
 public IssueSelector()
 {
     //Constructor
     try {
         //Init control
         InitializeComponent();
         this.mIssueDS       = new IssueDS();
         this.mGridSvcIssues = new UltraGridSvc(this.grdIssues);
     }
     catch (Exception ex) { reportError(new ApplicationException("Unexpected error while creating new IssueSelector control instance.", ex)); }
 }
コード例 #9
0
 //Interface
 public dlgTLDetail(int terminalID, string tlNumber)
 {
     //Constructor
     try {
         InitializeComponent();
         this.mTerminalID      = terminalID;
         this.mTLNumber        = tlNumber;
         this.grdTLDetail.Text = "TL# " + tlNumber;
         this.mGridSvc         = new UltraGridSvc(this.grdTLDetail);
     }
     catch (Exception ex) { App.ReportError(ex, true, LogLevel.Error); }
 }
コード例 #10
0
ファイル: dlgtrip.cs プロジェクト: jpheary/Argix10
 //Interface
 public dlgTrip(long agentTerminalID, DateTime initialScheduleDate)
 {
     //Constructor
     try {
         //Required for designer support
         InitializeComponent();
         this.Text = "Destination Trips";
         this.mGridSvcScheduleUpdates = new UltraGridSvc(this.grdShipSchedule);
         this.mAgentTerminalID        = agentTerminalID;
         this.mInitialScheduleDate    = initialScheduleDate;
     }
     catch (Exception ex) { throw new ApplicationException(ex.Message, ex); }
 }
コード例 #11
0
 public dlgAgentSummary(int terminalID, string terminalName)
 {
     //Constructor
     try {
         //Required for Windows Form Designer support
         InitializeComponent();
         this.Text          = "Argix Direct " + App.Product;
         this.mTerminalID   = terminalID;
         this.mTerminalName = terminalName;
         this.mGridSvc      = new UltraGridSvc(this.grdAgentSummary);
     }
     catch (Exception ex) { throw ex; }
 }
コード例 #12
0
ファイル: dlgtrip.cs プロジェクト: jpheary/Argix08
 //Interface
 public dlgTrip(string mainZoneCode, long agentTerminalID, DateTime initialScheduleDate)
 {
     //Constructor
     try {
         //Required for designer support
         InitializeComponent();
         this.Text = "Destination Trips";
         this.mGridSvcScheduleUpdates = new UltraGridSvc(this.grdShipSchedule);
         this.mMainZoneCode           = mainZoneCode;
         this.mAgentTerminalID        = agentTerminalID;
         this.mInitialScheduleDate    = initialScheduleDate;
     }
     catch (Exception ex) { throw new ApplicationException("Could not create new destination trip dialog.", ex); }
 }
コード例 #13
0
ファイル: wintypes.cs プロジェクト: jpheary/Argix08
        //Interface
        public winTypes()
        {
            //Constructor
            try {
                //Required for designer support
                InitializeComponent();
                this.Text = "Component Types";
                #region Window docking
                this.grdComponents.Dock = DockStyle.Fill;
                this.Controls.AddRange(new Control[] { this.grdComponents });
                #endregion

                //Create services
                this.mGridSvc = new UltraGridSvc(this.grdComponents);
                this.mToolTip = new System.Windows.Forms.ToolTip();
            }
            catch (Exception ex) { throw new ApplicationException("Failed to create new Types window", ex); }
        }
コード例 #14
0
        //Interface
        public frmMain()
        {
            //Constructor
            this.Cursor = Cursors.WaitCursor;
            try {
                //Required for Windows Form Designer support
                InitializeComponent();
                this.Text = "Argix Logistics " + App.Product;
                buildHelpMenu();
                Splash.Start(App.Product, Assembly.GetExecutingAssembly(), App.Copyright);
                Thread.Sleep(3000);

                //Create data and UI services
                this.mPageSettings           = new PageSettings();
                this.mPageSettings.Landscape = true;
                this.mGridSvc    = new UltraGridSvc(this.grdMain);
                this.mToolTip    = new System.Windows.Forms.ToolTip();
                this.mMessageMgr = new MessageManager(this.ssMain.Panels[0], 500, 3000);
            }
            catch (Exception ex) { Splash.Close(); throw new ApplicationException("Startup Failure", ex); }
        }
コード例 #15
0
 //Interface
 public IssueExplorer()
 {
     //Constructor
     try {
         //Init control
         InitializeComponent();
         #region Menu identities
         this.ctxNew.Text              = MNU_NEW;
         this.ctxOpen.Text             = MNU_OPEN;
         this.ctxSaveAs.Text           = MNU_SAVEAS;
         this.ctxPageSetup.Text        = MNU_SETUP;
         this.ctxPrint.Text            = MNU_PRINT;
         this.ctxPreview.Text          = MNU_PREVIEW;
         this.ctxRefresh.Text          = MNU_REFRESH;
         this.ctxRefreshCache.Text     = MNU_REFRESHCACHE;
         this.mnuCtxAutoRefreshOn.Text = MNU_AUTOREFRESHON;
         this.ctxContacts.Text         = MNU_CONTACTS;
         this.ctxProperties.Text       = MNU_PROPERTIES;
         #endregion
         this.mIssues              = new IssueDS();
         this.mIssueHistory        = new IssueDS();
         this.mIssueSearch         = new IssueDS();
         this.mGridSvcIssues       = new UltraGridSvc(this.grdIssues);
         CRGFactory.IssuesChanged += new EventHandler(OnIssuesChanged);
         //CRGFactory.DataStatusUpdate += new DataStatusHandler(OnDataStatusUpdate);
         this.mTimer                      = new System.Windows.Forms.Timer();
         this.mTimer.Interval             = 15000;
         this.mTimer.Tick                += new EventHandler(OnTick);
         this.mWorker                     = new BackgroundWorker();
         this.mWorker.DoWork             += new DoWorkEventHandler(OnDoWork);
         this.mWorker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(OnRunWorkerCompleted);
         this.mOldItems                   = new System.Collections.Hashtable();
         this.mColumnHeaders              = new MemoryStream();
         this.mColumnFilters              = new MemoryStream();
     }
     catch (Exception ex) { reportError(new ApplicationException("Unexpected error while creating new IssueExplorer control instance.", ex)); }
 }
コード例 #16
0
ファイル: winschedule.cs プロジェクト: jpheary/Argix08
 public void PageSettings()
 {
     UltraGridSvc.PageSettings();
 }
コード例 #17
0
ファイル: winschedule.cs プロジェクト: jpheary/Argix08
 public void Print()
 {
     UltraGridSvc.Print(this.grdSchedule, true);
 }