Esempio n. 1
0
 public MainPanelParameter(CaseObject caseObj, SysConfigMgrAccess sysConfig, SystemManagerAccess sysMgrAccess, PrinterObjects objectsPrinter, Window frameworkWindow)
 {
     caseObject = caseObj;
     SysConfig = sysConfig;
     SysMgr = sysMgrAccess;
     printerObjects = objectsPrinter;
     MainFrameworkWindow = frameworkWindow;
 }
Esempio n. 2
0
 public DisplayedCase(string caseId, bool IsPrimaryCase)
 {
     m_CaseID              = caseId;
     m_IsPrimaryCase       = IsPrimaryCase;
     m_IsCaseEditable      = IsPrimaryCase;
     m_IsCTICase           = false;
     m_IsFTICase           = false;
     m_IsTIPResultReturned = false;
     m_PanelLayout         = new PanelLayout();
     m_SecTabControl       = new TabControl();
     m_StatusBarItems      = new List <StatusBarItem>();
     m_PrinterObjects      = new PrinterObjects();
 }
Esempio n. 3
0
        public PrinterObjects GetPrinterObjects()
        {
            PrinterObjects printerObjects = null;

            DisplayedCase displayCase = GetPrimaryCase();

            if (displayCase != null)
            {
                printerObjects = displayCase.PrinterObjects;
            }

            return(printerObjects);
        }
Esempio n. 4
0
        public UserControl1(PrinterObjects printerObjs, Window MainFrameworkWindow)
        {
            InitializeComponent();
            CultureResources.registerDataProvider(this);

            PrintingPopup.PlacementTarget = MainFrameworkWindow;

            try
            {
                PrintingDisplay.ParentPopup = PrintingPopup;                
                PrintingDisplay.PrinterObjects = printerObjs;
            }
            catch (Exception exp)
            {
                throw exp;
            }
        }
Esempio n. 5
0
        public UserControl1(PrinterObjects printerObjs, Window MainFrameworkWindow)
        {
            InitializeComponent();
            CultureResources.registerDataProvider(this);

            PrintingPopup.PlacementTarget = MainFrameworkWindow;

            try
            {
                PrintingDisplay.ParentPopup    = PrintingPopup;
                PrintingDisplay.PrinterObjects = printerObjs;
            }
            catch (Exception exp)
            {
                throw exp;
            }
        }
Esempio n. 6
0
        public DisplayedCase(string caseId, bool IsPrimaryCase, ContentInstances contentInstances, MainPanelInstances mainPanelInstances)
        {
            if (String.IsNullOrWhiteSpace(caseId))
            {
                throw new Exception(ErrorMessages.CASE_ID_INVALID);
            }

            m_CaseID              = caseId;
            m_IsPrimaryCase       = IsPrimaryCase;
            m_IsCaseEditable      = IsPrimaryCase;
            m_IsCTICase           = false;
            m_IsFTICase           = false;
            m_IsTIPResultReturned = false;
            m_ContentInstances    = contentInstances;
            m_MainPanelInstances  = mainPanelInstances;
            m_PanelLayout         = new PanelLayout();
            m_SecTabControl       = new TabControl();
            m_StatusBarItems      = new List <StatusBarItem>();
            m_PrinterObjects      = new PrinterObjects();
        }
Esempio n. 7
0
        public DisplayedCase(string caseId, bool IsPrimaryCase, ContentInstances contentInstances, 
            PanelLayout panelLayout, MainPanelInstances mainPanelInstances)
        {
            if (String.IsNullOrWhiteSpace(caseId))
            {
                throw new Exception(ErrorMessages.CASE_ID_INVALID);
            }

            m_CaseID = caseId;
            m_IsPrimaryCase = IsPrimaryCase;
            m_IsCaseEditable = IsPrimaryCase;
            m_IsCTICase = false;
            m_IsFTICase = false;
            m_IsTIPResultReturned = false;
            m_ContentInstances = contentInstances;
            m_MainPanelInstances = mainPanelInstances;
            m_PanelLayout = panelLayout;
            m_SecTabControl = new TabControl();
            m_StatusBarItems = new List<StatusBarItem>();
            m_PrinterObjects = new PrinterObjects();
        }
Esempio n. 8
0
 public DisplayedCase(string caseId, bool IsPrimaryCase)
 {
     m_CaseID = caseId;
     m_IsPrimaryCase = IsPrimaryCase;
     m_IsCaseEditable = IsPrimaryCase;
     m_IsCTICase = false;
     m_IsFTICase = false;
     m_IsTIPResultReturned = false;
     m_PanelLayout = new PanelLayout();
     m_SecTabControl = new TabControl();
     m_StatusBarItems = new List<StatusBarItem>();
     m_PrinterObjects = new PrinterObjects();
 }