public AccessionLabelDialog()
        {
            this.m_AccessionLabelQuantityCollection = new ObservableCollection<Business.Label.Model.AccessionLabelQuantity>();

            for (int i = 0; i < 10; i++)
            {
                YellowstonePathology.Business.Label.Model.AccessionLabel accessionLabel = new Business.Label.Model.AccessionLabel();
                YellowstonePathology.Business.Label.Model.AccessionLabelQuantity labelQuantity = new Business.Label.Model.AccessionLabelQuantity(1, accessionLabel, false);
                this.m_AccessionLabelQuantityCollection.Add(labelQuantity);
            }

            InitializeComponent();

            this.DataContext = this;
        }
        public AccessionLabelDialog()
        {
            this.m_AccessionLabelQuantityCollection = new ObservableCollection <Business.Label.Model.AccessionLabelQuantity>();

            for (int i = 0; i < 10; i++)
            {
                YellowstonePathology.Business.Label.Model.AccessionLabel         accessionLabel = new Business.Label.Model.AccessionLabel();
                YellowstonePathology.Business.Label.Model.AccessionLabelQuantity labelQuantity  = new Business.Label.Model.AccessionLabelQuantity(1, accessionLabel, false);
                this.m_AccessionLabelQuantityCollection.Add(labelQuantity);
            }

            InitializeComponent();

            this.DataContext = this;
        }
        public AccessionLabelDialog(string masterAccessionNo, string pFirstName, string pLastName)
        {
            this.m_AccessionLabelQuantityCollection = new ObservableCollection<Business.Label.Model.AccessionLabelQuantity>();
            YellowstonePathology.Business.Label.Model.AccessionLabel accessionLabelIn = new Business.Label.Model.AccessionLabel(pFirstName, pLastName, masterAccessionNo);
            YellowstonePathology.Business.Label.Model.AccessionLabelQuantity labelQuantityIn = new Business.Label.Model.AccessionLabelQuantity(1, accessionLabelIn, true);
            this.m_AccessionLabelQuantityCollection.Add(labelQuantityIn);

            for (int i = 0; i < 10; i++)
            {
                YellowstonePathology.Business.Label.Model.AccessionLabel accessionLabel = new Business.Label.Model.AccessionLabel();
                YellowstonePathology.Business.Label.Model.AccessionLabelQuantity labelQuantity = new Business.Label.Model.AccessionLabelQuantity(1, accessionLabel, false);
                this.m_AccessionLabelQuantityCollection.Add(labelQuantity);
            }

            InitializeComponent();

            this.DataContext = this;
        }
        public AccessionLabelDialog(string masterAccessionNo, string pFirstName, string pLastName)
        {
            this.m_AccessionLabelQuantityCollection = new ObservableCollection <Business.Label.Model.AccessionLabelQuantity>();
            YellowstonePathology.Business.Label.Model.AccessionLabel         accessionLabelIn = new Business.Label.Model.AccessionLabel(pFirstName, pLastName, masterAccessionNo);
            YellowstonePathology.Business.Label.Model.AccessionLabelQuantity labelQuantityIn  = new Business.Label.Model.AccessionLabelQuantity(1, accessionLabelIn, true);
            this.m_AccessionLabelQuantityCollection.Add(labelQuantityIn);

            for (int i = 0; i < 10; i++)
            {
                YellowstonePathology.Business.Label.Model.AccessionLabel         accessionLabel = new Business.Label.Model.AccessionLabel();
                YellowstonePathology.Business.Label.Model.AccessionLabelQuantity labelQuantity  = new Business.Label.Model.AccessionLabelQuantity(1, accessionLabel, false);
                this.m_AccessionLabelQuantityCollection.Add(labelQuantity);
            }

            InitializeComponent();

            this.DataContext = this;
        }