コード例 #1
0
        public TemplatePrintCore(Template template, TemplatePrintModel templatePrintModel)
        {
            try
            {
                this.template  = template;
                this.model     = templatePrintModel;
                printDialog1   = new System.Windows.Forms.PrintDialog();
                printDocument1 = new System.Drawing.Printing.PrintDocument();
                printDocument1.PrinterSettings.PrinterName = template.PrintSetting.PrintModule;
                //printDocument1.DefaultPageSettings.PaperSize = new System.Drawing.Printing.PaperSize("123", (int)(template.Background.ImageWidth / 2.54), (int)(template.Background.ImageHeight / 2.54));
                printDocument1.DefaultPageSettings.PaperSize = new PaperSize("comaond", 433, 219);
                x = GetX(printDocument1.DefaultPageSettings.HardMarginX);
                y = GetY(printDocument1.DefaultPageSettings.HardMarginY);

                printDocument1.DefaultPageSettings.Margins.Left = 0;
                //printDocument1.DefaultPageSettings.Margins.Left -=(int) printDocument1.DefaultPageSettings.HardMarginX;
                //printDocument1.DefaultPageSettings.Margins.Right -= (int)printDocument1.DefaultPageSettings.HardMarginY;
                //printDocument1.DefaultPageSettings.Margins.Top = 0;
                //printDocument1.DefaultPageSettings.HardMarginX
                printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(printDocument1_PrintPage);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
コード例 #2
0
        private void button_Copy2_Click(object sender, RoutedEventArgs e)
        {
            string s = txConteudo.Text;

            System.Windows.Forms.PrintDialog dialog = new System.Windows.Forms.PrintDialog();

            PrintDocument p = new PrintDocument();

            p.PrintPage += delegate(object sender1, PrintPageEventArgs e1)
            {
                e1.Graphics.DrawString(s, new System.Drawing.Font("Sergoe UI", (float)txConteudo.FontSize), new System.Drawing.SolidBrush(System.Drawing.Color.Black), new System.Drawing.RectangleF(0, 0, p.DefaultPageSettings.PrintableArea.Width, p.DefaultPageSettings.PrintableArea.Height));
            };


            dialog.Document = p;
            dialog.ShowDialog();

            try
            {
                p.Print();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message, "Erro", MessageBoxButton.OK, MessageBoxImage.Error);
            }
        }
コード例 #3
0
ファイル: VoucherPrintCore.cs プロジェクト: windygu/flamingo
 public VoucherPrintCore(Template template, TemplatePrintModelVoucher templatePrintModel)
 {
     try
     {
         this.template     = template;
         this.voucherModel = templatePrintModel;
         printDialog1      = new System.Windows.Forms.PrintDialog();
         printDocument1    = new System.Drawing.Printing.PrintDocument();
         printDocument1.PrinterSettings.PrinterName   = template.PrintSetting.PrintModule;
         printDocument1.DefaultPageSettings.PaperSize = new PaperSize("comaond", (int)(template.Background.ImageWidth / 2.54), (int)(template.Background.ImageHeight / 2.54));
         x = GetX(printDocument1.DefaultPageSettings.HardMarginX);
         y = GetY(printDocument1.DefaultPageSettings.HardMarginY);
         printDocument1.DefaultPageSettings.Margins.Left = 0;
         printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(printDocument1_PrintPage);
         if (templatePrintModel.SerialNumber != "")
         {
             startNum = templatePrintModel.SerialNumber.Substring(0, 16);
             endNum   = templatePrintModel.SerialNumber.Substring(17);
             PageNum  = Convert.ToInt32(endNum.Substring(10)) - Convert.ToInt32(startNum.Substring(10)) + 1;
         }
         //printDialog1.AllowSomePages = true;
         printDocument1.PrinterSettings.Collate = true;
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
コード例 #4
0
ファイル: CustomerView.xaml.cs プロジェクト: bamusasoft/JSA
 private void Print()
 {
     try
     {
         var    customerContracts = _unitOfWork.Contracts.Query(c => c.CustomerId == CustomerNo && c.Closed != true);
         string path = Properties.Settings.Default.CustomerCardTemplatePath;
         if (customerContracts.Any())
         {
             var pdg = new System.Windows.Forms.PrintDialog();
             if (pdg.ShowDialog() == System.Windows.Forms.DialogResult.OK)
             {
                 string selectedPrinter = pdg.PrinterSettings.PrinterName;
                 foreach (var contract in customerContracts)
                 {
                     CustomerPrinter printer = new CustomerPrinter(contract.Customer,
                                                                   contract.Property.Description, contract.ContractNo, contract.StartDate);
                     printer.Print(path, selectedPrinter);
                 }
             }
         }
     }
     catch (Exception ex)
     {
         Helper.LogShowError(ex);
     }
 }
コード例 #5
0
ファイル: Index.cs プロジェクト: molokovskikh/af_analitf-net
        public IEnumerable <IResult> PrintItem()
        {
            var task = TaskEx.Run <Task <string> >(async() => await LoadPrintPdf(CurrentItem.Value));

            yield return(new TaskResult(task));

            var file = task.Result.Result;

            using (var pdf = PdfDocument.Load(file)) {
                var print  = pdf.CreatePrintDocument();
                var dialog = new System.Windows.Forms.PrintDialog();
                dialog.AllowSomePages = true;
                dialog.Document       = print;
                dialog.UseEXDialog    = true;
                dialog.Document.PrinterSettings.FromPage = 1;
                dialog.Document.PrinterSettings.ToPage   = pdf.PageCount;
                if (dialog.ShowDialog() != System.Windows.Forms.DialogResult.OK)
                {
                    yield break;
                }
                if (dialog.Document.PrinterSettings.FromPage <= pdf.PageCount)
                {
                    dialog.Document.Print();
                }
            }
        }
コード例 #6
0
ファイル: SpireExcel.cs プロジェクト: 15831944/PrintingDemo
        public void PrintFile(Window owner, string fullFileName)
        {
            /*if (string.IsNullOrEmpty(PrinterName) && string.IsNullOrWhiteSpace(PrinterName))
             * {
             *  System.Windows.MessageBox.Show(owner, "Please select your printer name.", "Atention", MessageBoxButton.OK, MessageBoxImage.Information);
             * }
             * else
             * {*/
            Workbook workbook = new Workbook();

            workbook.LoadFromFile(string.IsNullOrEmpty(fullFileName) ? FileName : fullFileName);
            System.Windows.Forms.PrintDialog dialog = new System.Windows.Forms.PrintDialog();
            dialog.AllowPrintToFile           = true;
            dialog.AllowCurrentPage           = true;
            dialog.AllowSomePages             = true;
            dialog.AllowSelection             = true;
            dialog.UseEXDialog                = true;
            dialog.PrinterSettings.Duplex     = Duplex.Simplex;
            dialog.PrinterSettings.FromPage   = 0;
            dialog.PrinterSettings.ToPage     = 8;
            dialog.PrinterSettings.PrintRange = PrintRange.SomePages;
            workbook.PrintDialog              = dialog;
            PrintDocument pd = workbook.PrintDocument;

            if (dialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                pd.Print();
            }
            //}
        }
コード例 #7
0
        public void Print()
        {
            reader         = File.OpenText("~Optical Measurements.txt");
            Consolas11Font = new Font("Consolas", 11);
            PrintDocument doc = new PrintDocument();

            doc.PrintPage += PrintTextFileHandler;


            System.Windows.Forms.PrintDialog        dlg     = new System.Windows.Forms.PrintDialog();
            System.Windows.Forms.PrintPreviewDialog preview = new System.Windows.Forms.PrintPreviewDialog();

            dlg.Document     = doc;
            preview.Document = doc;

            //if (preview.ShowDialog() == System.Windows.Forms.DialogResult.Yes)
            //{
            if (dlg.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                doc.Print();
            }
            //}

            reader.Close();

            File.Delete("~Optical Measurements.txt");
        }
コード例 #8
0
        void printButton_Click(object sender, RoutedEventArgs e)
        {
            if (_vm.SelectedProtocol == null)
            {
                MessageBox.Show("Please select an analysis protocol first", "No Protocol Selected", MessageBoxButton.OK, MessageBoxImage.Error);
                return;
            }

            var reportService = new ReportPdf();
            var reportData    = CreateReportData();

            System.Windows.Forms.PrintDialog printDlg = new System.Windows.Forms.PrintDialog();
            MigraDocPrintDocument            printDoc = new MigraDocPrintDocument();

            printDoc.Renderer = new MigraDoc.Rendering.DocumentRenderer(reportService.CreateReport(reportData));
            printDoc.Renderer.PrepareDocument();

            printDoc.DocumentName = Window.GetWindow(this).Title;
            //printDoc.PrintPage += new PrintPageEventHandler(printDoc_PrintPage);
            printDlg.Document       = printDoc;
            printDlg.AllowSelection = true;
            printDlg.AllowSomePages = true;
            //Call ShowDialog
            if (printDlg.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                printDoc.Print();
            }
        }
コード例 #9
0
        public void TakeScreenShot()
        {
            //((ShipTrackGmapPlotView)this.GetView()).TakeScreenShot();
            Application.Current.Dispatcher.Invoke((Action) delegate
            {
                string path   = System.IO.Path.GetTempPath() + System.IO.Path.GetRandomFileName() + @".png";
                var imgSource = ((ShipTrackGmapPlotView)this.GetView()).MapView.ToImageSource();
                var _tmpImage = ImageWpfToGDI(imgSource);
                if (_tmpImage == null)
                {
                    return;
                }
                _tmpImage.Save(path);

                System.Drawing.Printing.PrintDocument doc = new System.Drawing.Printing.PrintDocument {
                    DocumentName = "Map printing file"
                };
                doc.PrintPage += DocOnPrintPage;
                System.Windows.Forms.PrintDialog dialog = new System.Windows.Forms.PrintDialog {
                    Document = doc
                };
                System.Windows.Forms.DialogResult result = dialog.ShowDialog();
                if (result == System.Windows.Forms.DialogResult.OK)
                {
                    doc.Print();
                }
            });
        }
コード例 #10
0
        private void btImprimeAssist_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                SalvarArquivo();

                PrintDocument pd = new PrintDocument();
                pd.PrintPage  += PrintPage;
                pd.EndPrint   += printDoc_EndPrint;
                pd.BeginPrint += IniciouImpressao;

                System.Windows.Forms.PrintDialog pdi = new System.Windows.Forms.PrintDialog();
                pdi.Document = pd;
                if (pdi.ShowDialog() == System.Windows.Forms.DialogResult.OK)
                {
                    pd.Print();
                }
                else
                {
                    MessageBox.Show("Impressão Cancelada");
                }
            }
            catch (Exception ex)

            {
                MessageBox.Show(ex.Message);
            }
        }
コード例 #11
0
        public void StartPrint(T[] values, string printer, bool showPrinterDialog, PrintTemplate template)
        {
            if (template == null)
            {
                throw new Exception("打印失败参数:template 为空");
            }

            if (values == null)
            {
                throw new Exception("打印失败参数:vlaues 为空");
            }

            if (values.Length == 0)
            {
                throw new Exception("打印失败参数:vlaues 没有数据");
            }

            if (values.Any(obj => obj == null))
            {
                throw new Exception("打印失败参数:vlaues 中含有空对象");
            }
            System.Drawing.Printing.PrintDocument document = new System.Drawing.Printing.PrintDocument();
            if (showPrinterDialog == false)
            {
                if (string.IsNullOrWhiteSpace(printer))
                {
                    throw new Exception("打印机名称为空,请设置打印机");
                }
                if (System.Drawing.Printing.PrinterSettings.InstalledPrinters.OfType <string>().Contains(printer) == false)
                {
                    throw new Exception("打印机不存在此电脑上:" + printer);
                }
                document.PrinterSettings.PrinterName = printer;
            }
            else
            {
                var pd = new System.Windows.Forms.PrintDialog()
                {
                    UseEXDialog = true
                };
                var ret = pd.ShowDialog();
                if (ret != System.Windows.Forms.DialogResult.OK && ret != System.Windows.Forms.DialogResult.Yes)
                {
                    return;
                }
                document.PrinterSettings.PrinterName = pd.PrinterSettings.PrinterName;
            }
            document.PrintController = new System.Drawing.Printing.StandardPrintController();
            document.DefaultPageSettings.PaperSize = new System.Drawing.Printing.PaperSize("shoperp_print_size", (int)MapToPrinterPix(template.Width), (int)MapToPrinterPix(template.Height));
            document.DefaultPageSettings.Margins   = new System.Drawing.Printing.Margins(0, 0, 0, 0);
            document.DocumentName = template.Name + DateTime.Now;
            document.PrintPage   += Document_PrintPage;
            document.BeginPrint  += Document_BeginPrint;
            document.EndPrint    += Document_EndPrint;
            this.index            = 0;
            this.Values           = values;
            this.Template         = template;
            document.Print();
        }
コード例 #12
0
 public OrderPdfExport(Biller.UI.ViewModel.MainWindowViewModel MainWindowViewModel, Settings.ViewModel parentViewModel)
 {
     ParentViewModel = parentViewModel;
     this.MainWindowViewModel = MainWindowViewModel;
     PreviewElement = new MigraDoc.Rendering.Windows.DocumentPreview();
     PrintDialog = new System.Windows.Forms.PrintDialog();
     kgUnit = new Biller.Core.Utils.Unit() { DecimalDigits = 3, DecimalSeperator = ",", Name = "Kilogramm", ShortName = "kg", ThousandSeperator = "" };
 }
コード例 #13
0
 protected override void AjusterPrintDialog(System.Windows.Forms.PrintDialog p_pd)
 {
     // p_pd.AllowSomePages = true;  // Est par défaut...
     // p_pd.PrintToFile = false;    // Est par défaut
     // p_pd.AllowCurrentPage = true; // Il faudrait que cette notion soit possible dans notre
     //  logiciel...
     // p_pd.Document. ...  // Donne accès à d'autres options...
 }
コード例 #14
0
        private void PrintExcelBtnClick(object sender, RoutedEventArgs e)
        {
            if (this.textBox1.Text != String.Empty && (string)this.textBox1.Tag != string.Empty)
            {
                if (File.Exists((string)this.textBox1.Tag))
                {
                    ExcelEngine  engine      = new ExcelEngine();
                    IApplication application = engine.Excel;
                    IWorkbook    book        = application.Workbooks.Open((string)textBox1.Tag);

                    //Open the Excel Document to Convert
                    ExcelToPdfConverter converter = new ExcelToPdfConverter(book);

                    if (printWithPrinterBtn.IsChecked == true || printWithConverterAndPrinterBtn.IsChecked == true)
                    {
                        //Create new printdialog instance.
                        System.Windows.Forms.PrintDialog printDialog = new System.Windows.Forms.PrintDialog();
                        printDialog.AllowSomePages = true;
                        if (printDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
                        {
                            if (printWithConverterAndPrinterBtn.IsChecked == true)
                            {
                                //Print excel document with specified printer settings and converter settings.
                                converter.Print(printDialog.PrinterSettings, GetConverterSettings());
                                this.Close();
                            }
                            else
                            {
                                //Print excel document with specified printer settings.
                                converter.Print(printDialog.PrinterSettings);
                                this.Close();
                            }
                        }
                    }
                    else if (printWithConverterBtn.IsChecked == true)
                    {
                        //Print excel document with specified and converter settings.
                        converter.Print(GetConverterSettings());
                        this.Close();
                    }
                    else if (defaultPrintBtn.IsChecked == true)
                    {
                        //print excel document with default printer settings.
                        converter.Print();
                        this.Close();
                    }
                }

                else
                {
                    MessageBox.Show("File doesn’t exist");
                }
            }
            else
            {
                MessageBox.Show("Browse an Excel document to convert to Pdf", "Error", MessageBoxButton.OK, MessageBoxImage.Exclamation);
            }
        }
コード例 #15
0
        public bool SettingDialogStandard(PageSettings pages)
        {
            System.Windows.Forms.PrintDialog prtdlg = new System.Windows.Forms.PrintDialog();
            if (pages.PrinterSettings.PrintRange == PrintRange.AllPages)
            {
                pages.PrinterSettings.FromPage = 0;
                pages.PrinterSettings.ToPage   = 0;
            }
            prtdlg.PrinterSettings  = pages.PrinterSettings;
            prtdlg.AllowCurrentPage = false;                            // 使えないので必ずfalse
            prtdlg.AllowPrintToFile = false;                            // 使えないので必ずfalse
            prtdlg.AllowSelection   = false;                            // 使えないので必ずfalse
            prtdlg.AllowSomePages   = true;
            var result = prtdlg.ShowDialog();

            if (result != System.Windows.Forms.DialogResult.OK)
            {
                return(false);
            }
            pages.PrinterSettings = prtdlg.PrinterSettings;
            if (pages.PrinterSettings.PrintRange == PrintRange.AllPages)
            {
                pages.PrinterSettings.FromPage = 0;
                pages.PrinterSettings.ToPage   = 0;
            }
            this.Margins = pages.Margins;
            //if (this.IsCustomPageSize)
            //{
            //	System.Windows.Forms.PageSetupDialog pgdlg = new System.Windows.Forms.PageSetupDialog();
            //	pgdlg.PageSettings = pages;
            //	pgdlg.EnableMetric = true;
            //	pgdlg.PrinterSettings = pages.PrinterSettings;
            //	result = pgdlg.ShowDialog();
            //	if (result != System.Windows.Forms.DialogResult.OK)
            //	{
            //		return false;
            //	}
            //	pages = pgdlg.PageSettings;
            //}
            this.PageSettings = pages;
            if (PrinterNames.Contains(pages.PrinterSettings.PrinterName))
            {
                this.SelectedPrinterName = pages.PrinterSettings.PrinterName;
            }
            else
            {
                this.SelectedPrinterName = defaultPrinterName;
                InitPaperName();
                InitPaperSource();
            }
            this.PaperSizeName   = pages.PaperSize.PaperName;
            this.PaperSourceName = pages.PaperSource.SourceName;
            this.Margins         = pages.Margins;
            this.CustomWidth     = pages.PaperSize.Width;
            this.CustomHeight    = pages.PaperSize.Height;

            return(true);
        }
コード例 #16
0
 private void PrinterSettings()
 {
     System.Windows.Forms.PrintDialog d = new System.Windows.Forms.PrintDialog();
     var result = d.ShowDialog();
     if (result == System.Windows.Forms.DialogResult.OK || result == System.Windows.Forms.DialogResult.Yes)
     {
         SettingsOfPrinter = d.PrinterSettings;
     }
 }
コード例 #17
0
 private void PrintDailyAccounting(object sender, RoutedEventArgs e)
 {
     System.Windows.Forms.PrintDialog dialog = new System.Windows.Forms.PrintDialog();
     dialog.Document = viewModel.CreateDailyAccounting();
     if (dialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     {
         dialog.Document.Print();
     }
     InvokersListBox.Focus();
 }
コード例 #18
0
        public static void Print(Canvas canvas, int dpi)
        {
            System.Windows.Forms.PrintDialog dialog = new System.Windows.Forms.PrintDialog();

            dialog.Document         = GetPrintDocument(canvas, dpi);
            dialog.AllowSomePages   = true;
            dialog.AllowCurrentPage = true;
            if (dialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                dialog.Document.Print();
            }
        }
コード例 #19
0
        private void Button_Click_1(object sender, RoutedEventArgs e)
        {
            System.Windows.Controls.PrintDialog printDialog1   = new System.Windows.Controls.PrintDialog();
            System.Windows.Forms.PrintDialog    printDocument1 = new System.Windows.Forms.PrintDialog();

            //if (printDialog1.ShowDialog() == false)
            //{

            //  printDialog1.ShowDialog();
            //}
            PrintCommand();
        }
コード例 #20
0
        private void PrintGraph_Click(object sender, RoutedEventArgs e)
        {
            if (Directory.Exists(Constants.ENVPATH + "temp"))
            {
                Directory.Delete(Constants.ENVPATH + "temp\\", true);
            }
            int indexOld = lbParams.SelectedIndex;

            selectedGraph = new List <int>();
            for (int i = 0; i < 6; i++)
            {
                selectedGraph.Add(0);
            }
            ArchivePrintWindow apw = new ArchivePrintWindow(selectedGraph);

            if (apw.ShowDialog() == false)
            {
                return;
            }
            for (int i = 0; i < selectedGraph.Count; i++)
            {
                if (selectedGraph[i] > 0)
                {
                    if (!Directory.Exists(Constants.ENVPATH + "temp\\"))
                    {
                        Directory.CreateDirectory(Constants.ENVPATH + "temp\\");
                    }
                    lbParams.SelectedIndex = i;
                    btnShowGraphStage_Click(null, null);
                    try {
                        plotter.SaveBitmap(Constants.ENVPATH + @"temp\" + selectedGraph[i].ToString() + ".png", 1920, 1260, plotter.ActualModel.Background);
                    } catch {
                        return;
                    }
                }
            }
            lbParams.SelectedIndex = indexOld;
            btnShowGraphStage_Click(null, null);

            System.Windows.Forms.PrintDialog      printdg = new System.Windows.Forms.PrintDialog();
            System.Drawing.Printing.PrintDocument pd      = new System.Drawing.Printing.PrintDocument();
            printdg.AllowSomePages           = true;
            printdg.AllowSelection           = true;
            pd.PrintPage                    += D_PrintPage;
            pd.DefaultPageSettings.Landscape = true;

            if (printdg.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                pd.Print();
                pd.Dispose();
            }
        }
コード例 #21
0
        //-----------------------------------------------------------------------------------
        /// <summary>
        /// Вызвает окно настроект принтера и параметров страницы
        /// </summary>
        public void PrintSettings()
        {
            if (_PrintDocument != null)
            {
                System.Windows.Forms.PrintDialog printDialog =
                    new System.Windows.Forms.PrintDialog();

                printDialog.Document = _PrintDocument;

                System.Windows.Forms.DialogResult result = printDialog.ShowDialog();
            }
            return;
        }
コード例 #22
0
        /// <summary>
        /// Sets the print document for both the page setup dialog and the print dialog.
        /// </summary>
        /// <param name="printDocument">The document to set.</param>
        public void SetPrintDocument(System.Drawing.Printing.PrintDocument printDocument)
        {
            if (_pageSetupDialog == null)
            {
                _pageSetupDialog = new System.Windows.Forms.PageSetupDialog();
            }
            if (_printDialog == null)
            {
                _printDialog = new System.Windows.Forms.PrintDialog();
            }

            _pageSetupDialog.Document = printDocument;
            _printDialog.Document     = printDocument;
        }
コード例 #23
0
        private void Print()
        {
            var printDlg = new System.Windows.Forms.PrintDialog();

            printDlg.AllowSomePages           = true;
            printDlg.PrinterSettings.FromPage = 1;
            printDlg.PrinterSettings.ToPage   = CurrentForm.Pages.Count;
            printDlg.AllowSelection           = SelectedItem is Model.Page;
            if (printDlg.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                printDlg.Document = GeneratePrintDocuemnt(CurrentForm, printDlg.PrinterSettings);
                printDlg.Document.Print();
            }
        }
コード例 #24
0
 public static void PrintWordDocument(string pathNFileName)
 {
     using (System.Windows.Forms.PrintDialog pd = new System.Windows.Forms.PrintDialog())
     {
         //pd.ShowDialog();
         ProcessStartInfo info = new ProcessStartInfo(pathNFileName);
         info.Verb           = "PrintTo";
         info.Arguments      = pd.PrinterSettings.PrinterName;
         info.CreateNoWindow = true;
         info.WindowStyle    = ProcessWindowStyle.Hidden;
         info.ErrorDialog    = false;
         Process.Start(info);
     }
 }
コード例 #25
0
ファイル: PrintSmallTicket.cs プロジェクト: KKotw/paysystem
        public PrintSmallTicket(string Id, string CarNum, double Price, string InTime)
        {
            this.Id     = Id;
            this.CarNum = CarNum;
            this.Price  = Price;
            this.InTime = InTime;

            System.Windows.Forms.PrintDialog      dlg        = new System.Windows.Forms.PrintDialog();
            System.Drawing.Printing.PrintDocument docToPrint = new System.Drawing.Printing.PrintDocument();
            docToPrint.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(docToPrint_PrintPage);
            dlg.Document          = docToPrint;

            docToPrint.Print();//PRINT
        }
コード例 #26
0
ファイル: PdfToolBarMain.cs プロジェクト: medic17/Pdf.Wpf
 private static void ShowPrintDialog(System.Windows.Forms.PrintDialog dlg)
 {
     if (dlg.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     {
         try
         {
             dlg.Document.Print();
         }
         catch (Win32Exception)
         {
             //Printing was canceled
         }
     }
 }
コード例 #27
0
ファイル: Page.cs プロジェクト: gekka/OutlookCustomPrintTest
        /// <summary>印刷する</summary>
        public void PrintPage()
        {
            if (!CanPrint)
            {
                throw new InvalidOperationException();
            }

            System.Windows.Forms.PrintDialog dlg = new System.Windows.Forms.PrintDialog();
            dlg.Document = new System.Drawing.Printing.PrintDocument();

            if (dlg.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                dlg.Document.PrintPage += Document_PrintPage;
                dlg.Document.Print();
            }
        }
コード例 #28
0
 public bool PrintSettings()
 {
     System.Windows.Forms.DialogResult dlgRslt = System.Windows.Forms.DialogResult.None;
     this.CreatePrintDocument();
     using (System.Windows.Forms.PrintDialog dlg = new System.Windows.Forms.PrintDialog())
     {
         dlg.Document         = this._printDoc;
         dlg.AllowSomePages   = false;
         dlg.AllowCurrentPage = false;
         dlgRslt = dlg.ShowDialog(this.FindForm());
         if (dlgRslt == System.Windows.Forms.DialogResult.OK)
         {
             this._printDoc.PrinterSettings = dlg.PrinterSettings;
         }
     }
     return(dlgRslt == System.Windows.Forms.DialogResult.OK);
 }
コード例 #29
0
        private void printDocument_MouseDown(object sender, MouseButtonEventArgs e)
        {
            printFromPage = 1;
            printToPage   = printImages.Count;
            System.Windows.Forms.PrintDialog printDialog = new System.Windows.Forms.PrintDialog();
            printDialog.AllowSomePages           = true;
            printDialog.PrinterSettings.FromPage = 1;
            printDialog.PrinterSettings.ToPage   = printImages.Count;
            PrintDocument printDoc = new PrintDocument();

            printDoc.PrintPage += new PrintPageEventHandler(OnPrintPage);
            if (printDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                printFromPage = printDialog.PrinterSettings.FromPage;
                printToPage   = printDialog.PrinterSettings.ToPage;
                printDoc.Print();
            }
        }
コード例 #30
0
        public static void ShowPrintDialog()
        {
          
            // The path to the documents directory.
            string dataDir = RunExamples.GetDataDir_AsposePdfFacades_Printing();

            // Create PdfViewer object
            PdfViewer viewer = new PdfViewer();

            // Open input PDF file
            viewer.BindPdf( dataDir + "input.pdf");

            // Set attributes for printing
            viewer.AutoResize = true;         // Print the file with adjusted size
            viewer.AutoRotate = true;         // Print the file with adjusted rotation
            viewer.PrintPageDialog = false;   // Do not produce the page number dialog when printing

            // Create objects for printer and page settings and PrintDocument
            System.Drawing.Printing.PrinterSettings ps = new System.Drawing.Printing.PrinterSettings();
            System.Drawing.Printing.PageSettings pgs = new System.Drawing.Printing.PageSettings();
            System.Drawing.Printing.PrintDocument prtdoc = new System.Drawing.Printing.PrintDocument();

            // Set printer name
            ps.PrinterName = prtdoc.PrinterSettings.PrinterName;

            // Set PageSize (if required)
            pgs.PaperSize = new System.Drawing.Printing.PaperSize("A4", 827, 1169);

            // Set PageMargins (if required)
            pgs.Margins = new System.Drawing.Printing.Margins(0, 0, 0, 0);
            // ExStart:PrintDialog
            System.Windows.Forms.PrintDialog printDialog = new System.Windows.Forms.PrintDialog();
            if (printDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                // Document printing code goes here
                // Print document using printer and page settings
                viewer.PrintDocumentWithSettings(pgs, ps);
            }
            // ExEnd:PrintDialog            

            // Close the PDF file after priting
            viewer.Close();
        }
コード例 #31
0
        public void ShowPrintDialog(nsIDOMWindow parent, nsIWebBrowserPrint webBrowserPrint, nsIPrintSettings printSettings)
        {
            const int NS_ERROR_ABORT = unchecked ((int)0x80004004);

            using (var dialog = new System.Windows.Forms.PrintDialog())
            {
                dialog.UseEXDialog = true;
                if (dialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
                {
                    var settings = dialog.PrinterSettings;
                    printSettings.SetPrinterNameAttribute(dialog.PrinterSettings.PrinterName);
                    // Add other settings here ...
                }
                else
                {
                    throw new COMException("Operation aborted", NS_ERROR_ABORT);
                }
            }
        }
コード例 #32
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmReportView));
     this.ToolTipMain   = new System.Windows.Forms.ToolTip(this.components);
     this.cryView       = new AxCrystalActiveXReportViewerLib10.AxCrystalActiveXReportViewer();
     this.dlgPrintOpen  = new System.Windows.Forms.OpenFileDialog();
     this.dlgPrintSave  = new System.Windows.Forms.SaveFileDialog();
     this.dlgPrintFont  = new System.Windows.Forms.FontDialog();
     this.dlgPrintColor = new System.Windows.Forms.ColorDialog();
     this.dlgPrintPrint = new System.Windows.Forms.PrintDialog();
     ((System.ComponentModel.ISupportInitialize)(this.cryView)).BeginInit();
     this.SuspendLayout();
     //
     // cryView
     //
     this.cryView.Enabled             = true;
     this.cryView.Location            = new System.Drawing.Point(0, 0);
     this.cryView.Name                = "cryView";
     this.cryView.OcxState            = ((System.Windows.Forms.AxHost.State)(resources.GetObject("cryView.OcxState")));
     this.cryView.Size                = new System.Drawing.Size(0, 0);
     this.cryView.TabIndex            = 0;
     this.cryView.PrintButtonClicked += new AxCrystalActiveXReportViewerLib10._ICRViewerEvents_PrintButtonClickedEventHandler(this.cryView_PrintButtonClicked);
     //
     // frmReportView
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.SystemColors.Control;
     this.ClientSize          = new System.Drawing.Size(792, 543);
     this.Controls.Add(this.cryView);
     this.Cursor        = System.Windows.Forms.Cursors.Default;
     this.Location      = new System.Drawing.Point(4, 23);
     this.Name          = "frmReportView";
     this.RightToLeft   = System.Windows.Forms.RightToLeft.No;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Report Viewer";
     this.Closed       += new System.EventHandler(this.frmReportView_Closed);
     this.Resize       += new System.EventHandler(this.frmReportView_Resize);
     ((System.ComponentModel.ISupportInitialize)(this.cryView)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #33
0
        public static void ShowPrintDialog()
        {
            // The path to the documents directory.
            string dataDir = RunExamples.GetDataDir_AsposePdfFacades_Printing();

            // Create PdfViewer object
            PdfViewer viewer = new PdfViewer();

            // Open input PDF file
            viewer.BindPdf(dataDir + "input.pdf");

            // Set attributes for printing
            viewer.AutoResize      = true;    // Print the file with adjusted size
            viewer.AutoRotate      = true;    // Print the file with adjusted rotation
            viewer.PrintPageDialog = false;   // Do not produce the page number dialog when printing

            // Create objects for printer and page settings and PrintDocument
            System.Drawing.Printing.PrinterSettings ps     = new System.Drawing.Printing.PrinterSettings();
            System.Drawing.Printing.PageSettings    pgs    = new System.Drawing.Printing.PageSettings();
            System.Drawing.Printing.PrintDocument   prtdoc = new System.Drawing.Printing.PrintDocument();

            // Set printer name
            ps.PrinterName = prtdoc.PrinterSettings.PrinterName;

            // Set PageSize (if required)
            pgs.PaperSize = new System.Drawing.Printing.PaperSize("A4", 827, 1169);

            // Set PageMargins (if required)
            pgs.Margins = new System.Drawing.Printing.Margins(0, 0, 0, 0);
            // ExStart:PrintDialog
            System.Windows.Forms.PrintDialog printDialog = new System.Windows.Forms.PrintDialog();
            if (printDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                // Document printing code goes here
                // Print document using printer and page settings
                viewer.PrintDocumentWithSettings(pgs, ps);
            }
            // ExEnd:PrintDialog

            // Close the PDF file after priting
            viewer.Close();
        }
コード例 #34
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.crvReport = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.printDialog1 = new System.Windows.Forms.PrintDialog();
     this.printDocument1 = new System.Drawing.Printing.PrintDocument();
     this.SuspendLayout();
     //
     // crvReport
     //
     this.crvReport.ActiveViewIndex = -1;
     this.crvReport.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.crvReport.Cursor = System.Windows.Forms.Cursors.Default;
     this.crvReport.DisplayStatusBar = false;
     this.crvReport.Dock = System.Windows.Forms.DockStyle.Fill;
     this.crvReport.Location = new System.Drawing.Point(0, 0);
     this.crvReport.Name = "crvReport";
     this.crvReport.Size = new System.Drawing.Size(894, 512);
     this.crvReport.TabIndex = 0;
     this.crvReport.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None;
     //
     // printDialog1
     //
     this.printDialog1.UseEXDialog = true;
     //
     // frmBaoCaorpt
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(894, 512);
     this.Controls.Add(this.crvReport);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Name = "frmBaoCaorpt";
     this.ShowIcon = false;
     this.ShowInTaskbar = false;
     this.Text = " ";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Load += new System.EventHandler(this.frmBaoCaorpt_Load);
     this.ResumeLayout(false);
 }
コード例 #35
0
ファイル: ClkWidnow.xaml.cs プロジェクト: vanloc0301/qms3
        private void btnPrint_Click(object sender, RoutedEventArgs e)
        {
            if (dataTable == null || dataTable.Rows.Count <= 0)
            {
                MessageBox.Show("信息有误,无法打印!");
                return;
            }
            //创建二维码
            Bitmap b = new Bitmap(200, 325);
            Graphics g = Graphics.FromImage(b);
            DotNetBarcode bc = new DotNetBarcode();
            bc.Type = DotNetBarcode.Types.QRCode;
            string code = BaseData.stationID.ToString() + " ";
            code += dataTable.Rows[0]["TruckNo"].ToString().Trim().Substring(1) + " ";
            code += DateTime.Parse(dataTable.Rows[0]["PushTime"].ToString()).ToString("yyyy-MM-dd,HH:mm:ss") + " ";
            code += dataTable.Rows[0]["Type1"].ToString().Trim();

            string pstr = "" + BaseData.stationName.Replace(" ", "") + "清洁站管理系统\n";
            pstr += "车牌号:" + dataTable.Rows[0]["TruckNo"].ToString().Trim() + "\n";
            pstr += "出发时间:" + DateTime.Parse(dataTable.Rows[0]["PushTime"].ToString()).ToString("yy-MM-dd,HH:mm:ss") + "\n";
            pstr += "垃圾类型:" + dataTable.Rows[0]["Type1"].ToString().Trim()+"\n";
            pstr += "二维码:\n";
            System.Drawing.Pen p = new System.Drawing.Pen(new SolidBrush(System.Drawing.Color.Black));
            p.DashStyle = System.Drawing.Drawing2D.DashStyle.Custom;
            p.DashPattern = new float[] {3,5 };
            g.DrawLine(p, 0, 0, 200, 0);
            g.DrawString(pstr, new Font("宋体", 11), new SolidBrush(System.Drawing.Color.Black), 0, 20);

            bc.WriteBar(code, 0, 120, 200, 320, g);

            g.DrawLine(p, 0, 320, 200, 320);

            b.Save("test.jpg");

            printImage = b;
            //打印信息

            System.Windows.Forms.PrintDialog pDialog = new System.Windows.Forms.PrintDialog();
            pDialog.Document = new PrintDocument();

            pDialog.Document.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(document_PrintPage);
            pDialog.Document.Print();
        }
コード例 #36
0
        //public new void Paste()
        //{
        //    //this.InsertText(System.Windows.Forms.Clipboard.GetData(System.Windows.Forms.DataFormats.Text).ToString());
        //    this._parsing = true;
        //    try
        //    {
        //        int
        //            iLnCnt = this.Lines.Length,
        //            iStrtLn = this.GetLineFromCharIndex(this.SelectionStart);

        //        base.Paste(System.Windows.Forms.DataFormats.GetFormat(System.Windows.Forms.DataFormats.Text));
        //        if (this.Lines.Length > iLnCnt)
        //        {
        //            int startChr = this.GetFirstCharIndexFromLine(iStrtLn),
        //                endLn = this.GetFirstCharIndexFromLine(((this.Lines.Length - 1) - iLnCnt) + iStrtLn),
        //                endChr = endLn + this.Lines[this.GetLineFromCharIndex(endLn)].Length;
        //            this.DoParse(startChr, endChr);
        //        }
        //        else if (this.Lines.Length == iLnCnt)
        //            this.ParseCurrentLine();
        //        else
        //            Parse();
        //        this.InvokeTextPaste();
        //    }
        //    catch (Exception ex)
        //    { System.Windows.Forms.MessageBox.Show(this, "Unable to paste text data:\n\n" + ex.Message + "\n\nApplication Version: " + System.Windows.Forms.Application.ProductVersion, "Error"); }
        //    finally
        //    { this._parsing = false; }
        //}
        #endregion
        public void Print()
        {
            this.InitPrintDocument();
            using (System.Windows.Forms.PrintDialog dlg = new System.Windows.Forms.PrintDialog())
            {
                dlg.AllowSomePages = false;
                dlg.AllowSelection = false;
                dlg.AllowPrintToFile = false;
                dlg.AllowCurrentPage = false;
                if (dlg.ShowDialog(this) == System.Windows.Forms.DialogResult.OK)
                {
                    this._printDoc.PrinterSettings = dlg.PrinterSettings;
                    this._printDoc.Print();
                }
            }
        }
コード例 #37
0
ファイル: TextDocumentPrinter.cs プロジェクト: serialbus/NGK
        //-----------------------------------------------------------------------------------
        /// <summary>
        /// Вызвает окно настроект принтера и параметров страницы
        /// </summary>
        public void PrintSettings()
        {
            if (_PrintDocument != null)
            {
                System.Windows.Forms.PrintDialog printDialog = 
                    new System.Windows.Forms.PrintDialog();

                printDialog.Document = _PrintDocument;

                System.Windows.Forms.DialogResult result = printDialog.ShowDialog();
            }
            return;
        }
コード例 #38
0
        private void OnSaveDetails(object sender, EventArgs e)
        {
            //Validacion si no existen datos para guardar
            if (View.Model.ListRecords.Rows.Count == 0)
                return;

            //Variables Auxiliares
            String ConsultaGuardar = "";
            String ConsultaGuardarTrack = "";
            Int32 ContadorFilas = 0;
            Int32 ContadorEquiposOK=0,ContadorEquiposNOK = 0;

            try
            {
                if (!UtilWindow.ConfirmOK("¿Desea imprimir las etiquetas de los equipos ahora?") == false) {
                    // Se solicita al usuario seleccionar una impresora
                    System.Windows.Forms.PrintDialog pd = new System.Windows.Forms.PrintDialog();
                    pd.PrinterSettings = new PrinterSettings();

                    if (System.Windows.Forms.DialogResult.OK == pd.ShowDialog())
                    {
                        ProcessWindow pw = new ProcessWindow("Procesando registros...por favor espere...");

                        foreach (DataRow DataRow in View.Model.ListRecords.Rows)
                        {
                            //Aumento el contador de filas
                            ContadorFilas++;

                            //Construyo la consulta para guardar los datos
                            ConsultaGuardar += " UPDATE dbo.EquiposCLARO SET Ubicacion = 'VERIFICACION', Estado = 'P-VERIFICACION'";
                            ConsultaGuardar += ", REUSO = '" + DataRow["Reuso"].ToString() + "', OBSERVACIONES_ETIQUETADO = '" + DataRow["Observaciones_Etiquetado"].ToString() + "'";
                            ConsultaGuardar += " WHERE RowID = '" + DataRow["RowID"].ToString() + "';";

                            ConsultaGuardarTrack += "UPDATE dbo.TrackEquiposCLARO SET ESTADO_ETIQUETADO = 'VERIFICACION', FECHA_ETIQUETADO = GETDATE() WHERE ID_SERIAL = '" + DataRow["RowID"].ToString() + "'";

                            //Guardo en la tabla de movimientos el cambio de ubicacion del equipo
                            ConsultaGuardar += "EXEC sp_InsertarNuevo_Movimiento 'ETIQUETADO DE EQUIPO','ETIQUETADO','VERIFICACION','Sin pallet','" + DataRow["RowID"].ToString() + "','ETIQUETADO','UBICACIONPRODUCCION','" + this.user + "','';";
                            Console.WriteLine("###### " + ConsultaGuardar);
               
                            String archivo = DataRow["ProductoID"].ToString();
                            archivo = archivo.Replace("/", "");

                            try
                            {
                                PrinterControl.EtiquetadoEquipo(DataRow["Serial"].ToString(), DataRow["Mac"].ToString(), archivo, pd.PrinterSettings.PrinterName);
                                ContadorEquiposOK++;
                            }
                            catch (Exception ex)
                            {
                                ContadorEquiposNOK++;
                            }
                        }
                        pw.Visibility = Visibility.Collapsed;
                        pw.Close();
                    }
                }
                else
                {
                    foreach (DataRow DataRow in View.Model.ListRecords.Rows)
                    {
                        //Aumento el contador de filas
                        ContadorFilas++;

                        //Construyo la consulta para guardar los datos
                        ConsultaGuardar += " UPDATE dbo.EquiposCLARO SET Ubicacion = 'VERIFICACION', Estado = 'P-VERIFICACION'";
                        ConsultaGuardar += ", REUSO = '" + DataRow["Reuso"].ToString() + "', OBSERVACIONES_ETIQUETADO = '" + DataRow["Observaciones_Etiquetado"].ToString() + "'";
                        ConsultaGuardar += " WHERE RowID = '" + DataRow["RowID"].ToString() + "';";

                        //Guardo en la tabla de movimientos el cambio de ubicacion del equipo
                        ConsultaGuardar += "EXEC sp_InsertarNuevo_Movimiento 'ETIQUETADO DE EQUIPO','ETIQUETADO','VERIFICACION','Sin pallet','" + DataRow["RowID"].ToString() + "','ETIQUETADO','UBICACIONPRODUCCION','" + this.user + "','';";
                        Console.WriteLine("###### " + ConsultaGuardar);

                        ConsultaGuardarTrack += "UPDATE dbo.TrackEquiposCLARO SET ESTADO_ETIQUETADO = 'ETIQUETADO', FECHA_ETIQUETADO = GETDATE() WHERE ID_SERIAL = '" + DataRow["RowID"].ToString() + "'";
                    }
                }
                    
                //Evaluo si la consulta no envio los ultimos registros para forzar a enviarlos
                if (!String.IsNullOrEmpty(ConsultaGuardar))
                {
                    //Ejecuto la consulta
                    service.DirectSQLNonQuery(ConsultaGuardar, Local);
                    service.DirectSQLNonQuery(ConsultaGuardarTrack, Local);

                    //Limpio la consulta para volver a generar la nueva
                    ConsultaGuardar = "";
                    ConsultaGuardarTrack = "";
                }

                if (ContadorEquiposOK > 0)
                {
                    if (ContadorEquiposNOK > 0){
                        Util.ShowMessage("\t\t  Se encontrarón etiquetas de " + ContadorEquiposOK + " equipos.\n Número de etiquetas no encontradas " + ContadorEquiposNOK + ", Registros guardados satisfactoriamente");
                    }
                    else
                    {
                        Util.ShowMessage("   Número de etiquetas impresas " + ContadorEquiposOK + ",\nRegistros guardados satisfactoriamente");
                    }
                }
                else if (ContadorEquiposNOK > 0) {
                    Util.ShowMessage("Etiquetas no encontradas, número de etiquetas no encontradas " + ContadorEquiposNOK + ",\n\t  Registros guardados satisfactoriamente");         
                }
                else
                {
                    //Muestro el mensaje de confirmacion
                    Util.ShowMessage("Registros guardados satisfactoriamente.");
                }
                
                //Reinicio los campos
                LimpiarDatosIngresoSeriales();
            }
            catch (Exception Ex) { Util.ShowError("Hubo un error al momento de guardar los registros. Error: " + Ex.Message); }
        }
コード例 #39
0
ファイル: MainForm.Designer.cs プロジェクト: jdilt/iplab
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent( )
        {
            this.components = new System.ComponentModel.Container( );
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager( typeof( MainForm ) );
            this.mainMenu = new System.Windows.Forms.MainMenu( this.components );
            this.fileItem = new System.Windows.Forms.MenuItem( );
            this.OpenItem = new System.Windows.Forms.MenuItem( );
            this.reloadFileItem = new System.Windows.Forms.MenuItem( );
            this.saveFileItem = new System.Windows.Forms.MenuItem( );
            this.menuItem1 = new System.Windows.Forms.MenuItem( );
            this.copyFileItem = new System.Windows.Forms.MenuItem( );
            this.pasteFileItem = new System.Windows.Forms.MenuItem( );
            this.menuItem5 = new System.Windows.Forms.MenuItem( );
            this.closeFileItem = new System.Windows.Forms.MenuItem( );
            this.closeAllFileItem = new System.Windows.Forms.MenuItem( );
            this.menuItem8 = new System.Windows.Forms.MenuItem( );
            this.pageSetupFileItem = new System.Windows.Forms.MenuItem( );
            this.printFileItem = new System.Windows.Forms.MenuItem( );
            this.printPreviewFileItem = new System.Windows.Forms.MenuItem( );
            this.menuItem2 = new System.Windows.Forms.MenuItem( );
            this.exitFileItem = new System.Windows.Forms.MenuItem( );
            this.viewItem = new System.Windows.Forms.MenuItem( );
            this.mainBarViewItem = new System.Windows.Forms.MenuItem( );
            this.imageBarViewItem = new System.Windows.Forms.MenuItem( );
            this.menuItem7 = new System.Windows.Forms.MenuItem( );
            this.histogramViewItem = new System.Windows.Forms.MenuItem( );
            this.statisticsViewItem = new System.Windows.Forms.MenuItem( );
            this.redHistogramViewItem = new System.Windows.Forms.MenuItem( );
            this.greenHistogramViewItem = new System.Windows.Forms.MenuItem( );
            this.blueHistogramViewItem = new System.Windows.Forms.MenuItem( );
            this.menuItem3 = new System.Windows.Forms.MenuItem( );
            this.centerViewItem = new System.Windows.Forms.MenuItem( );
            this.optionsItem = new System.Windows.Forms.MenuItem( );
            this.openInNewOptionsItem = new System.Windows.Forms.MenuItem( );
            this.rememberOptionsItem = new System.Windows.Forms.MenuItem( );
            this.windowItem = new System.Windows.Forms.MenuItem( );
            this.helpItem = new System.Windows.Forms.MenuItem( );
            this.aboutHelpItem = new System.Windows.Forms.MenuItem( );
            this.statusBar = new System.Windows.Forms.StatusBar( );
            this.zoomPanel = new System.Windows.Forms.StatusBarPanel( );
            this.sizePanel = new System.Windows.Forms.StatusBarPanel( );
            this.selectionPanel = new System.Windows.Forms.StatusBarPanel( );
            this.colorPanel = new System.Windows.Forms.StatusBarPanel( );
            this.hslPanel = new System.Windows.Forms.StatusBarPanel( );
            this.ycbcrPanel = new System.Windows.Forms.StatusBarPanel( );
            this.infoPanel = new System.Windows.Forms.StatusBarPanel( );
            this.panel1 = new System.Windows.Forms.Panel( );
            this.dockManager = new WeifenLuo.WinFormsUI.DockManager( );
            this.mainToolBar = new System.Windows.Forms.ToolBar( );
            this.openButton = new System.Windows.Forms.ToolBarButton( );
            this.saveButton = new System.Windows.Forms.ToolBarButton( );
            this.sep1 = new System.Windows.Forms.ToolBarButton( );
            this.copyButton = new System.Windows.Forms.ToolBarButton( );
            this.pasteButton = new System.Windows.Forms.ToolBarButton( );
            this.toolBarButton9 = new System.Windows.Forms.ToolBarButton( );
            this.histogramButton = new System.Windows.Forms.ToolBarButton( );
            this.toolBarButton4 = new System.Windows.Forms.ToolBarButton( );
            this.aboutButton = new System.Windows.Forms.ToolBarButton( );
            this.imageList = new System.Windows.Forms.ImageList( this.components );
            this.imageToolBar = new System.Windows.Forms.ToolBar( );
            this.cloneButton = new System.Windows.Forms.ToolBarButton( );
            this.toolBarButton1 = new System.Windows.Forms.ToolBarButton( );
            this.cropButton = new System.Windows.Forms.ToolBarButton( );
            this.toolBarButton2 = new System.Windows.Forms.ToolBarButton( );
            this.zoomInButton = new System.Windows.Forms.ToolBarButton( );
            this.zoomOutButton = new System.Windows.Forms.ToolBarButton( );
            this.toolBarButton3 = new System.Windows.Forms.ToolBarButton( );
            this.fitToScreenButton = new System.Windows.Forms.ToolBarButton( );
            this.toolBarButton5 = new System.Windows.Forms.ToolBarButton( );
            this.resizeButton = new System.Windows.Forms.ToolBarButton( );
            this.rotateButton = new System.Windows.Forms.ToolBarButton( );
            this.toolBarButton7 = new System.Windows.Forms.ToolBarButton( );
            this.levelsButton = new System.Windows.Forms.ToolBarButton( );
            this.grayscaleButton = new System.Windows.Forms.ToolBarButton( );
            this.thresholdButton = new System.Windows.Forms.ToolBarButton( );
            this.toolBarButton6 = new System.Windows.Forms.ToolBarButton( );
            this.morphologyButton = new System.Windows.Forms.ToolBarButton( );
            this.convolutionButton = new System.Windows.Forms.ToolBarButton( );
            this.toolBarButton8 = new System.Windows.Forms.ToolBarButton( );
            this.saturationButton = new System.Windows.Forms.ToolBarButton( );
            this.fourierButton = new System.Windows.Forms.ToolBarButton( );
            this.imageList2 = new System.Windows.Forms.ImageList( this.components );
            this.ofd = new System.Windows.Forms.OpenFileDialog( );
            this.sfd = new System.Windows.Forms.SaveFileDialog( );
            this.printDocument = new System.Drawing.Printing.PrintDocument( );
            this.printPreviewDialog = new System.Windows.Forms.PrintPreviewDialog( );
            this.pageSetupDialog = new System.Windows.Forms.PageSetupDialog( );
            this.printDialog = new System.Windows.Forms.PrintDialog( );
            ( (System.ComponentModel.ISupportInitialize) ( this.zoomPanel ) ).BeginInit( );
            ( (System.ComponentModel.ISupportInitialize) ( this.sizePanel ) ).BeginInit( );
            ( (System.ComponentModel.ISupportInitialize) ( this.selectionPanel ) ).BeginInit( );
            ( (System.ComponentModel.ISupportInitialize) ( this.colorPanel ) ).BeginInit( );
            ( (System.ComponentModel.ISupportInitialize) ( this.hslPanel ) ).BeginInit( );
            ( (System.ComponentModel.ISupportInitialize) ( this.ycbcrPanel ) ).BeginInit( );
            ( (System.ComponentModel.ISupportInitialize) ( this.infoPanel ) ).BeginInit( );
            this.panel1.SuspendLayout( );
            this.dockManager.SuspendLayout( );
            this.SuspendLayout( );
            // 
            // mainMenu
            // 
            this.mainMenu.MenuItems.AddRange( new System.Windows.Forms.MenuItem[] {
            this.fileItem,
            this.viewItem,
            this.optionsItem,
            this.windowItem,
            this.helpItem} );
            // 
            // fileItem
            // 
            this.fileItem.Index = 0;
            this.fileItem.MenuItems.AddRange( new System.Windows.Forms.MenuItem[] {
            this.OpenItem,
            this.reloadFileItem,
            this.saveFileItem,
            this.menuItem1,
            this.copyFileItem,
            this.pasteFileItem,
            this.menuItem5,
            this.closeFileItem,
            this.closeAllFileItem,
            this.menuItem8,
            this.pageSetupFileItem,
            this.printFileItem,
            this.printPreviewFileItem,
            this.menuItem2,
            this.exitFileItem} );
            this.fileItem.Text = "&File";
            this.fileItem.Popup += new System.EventHandler( this.fileItem_Popup );
            // 
            // OpenItem
            // 
            this.OpenItem.Index = 0;
            this.OpenItem.Shortcut = System.Windows.Forms.Shortcut.CtrlO;
            this.OpenItem.Text = "&Open";
            this.OpenItem.Click += new System.EventHandler( this.OpenItem_Click );
            // 
            // reloadFileItem
            // 
            this.reloadFileItem.Index = 1;
            this.reloadFileItem.Shortcut = System.Windows.Forms.Shortcut.CtrlR;
            this.reloadFileItem.Text = "&Reload";
            this.reloadFileItem.Click += new System.EventHandler( this.reloadFileItem_Click );
            // 
            // saveFileItem
            // 
            this.saveFileItem.Index = 2;
            this.saveFileItem.Shortcut = System.Windows.Forms.Shortcut.CtrlS;
            this.saveFileItem.Text = "&Save";
            this.saveFileItem.Click += new System.EventHandler( this.saveFileItem_Click );
            // 
            // menuItem1
            // 
            this.menuItem1.Index = 3;
            this.menuItem1.Text = "-";
            // 
            // copyFileItem
            // 
            this.copyFileItem.Index = 4;
            this.copyFileItem.Shortcut = System.Windows.Forms.Shortcut.CtrlC;
            this.copyFileItem.Text = "&Copy";
            this.copyFileItem.Click += new System.EventHandler( this.copyFileItem_Click );
            // 
            // pasteFileItem
            // 
            this.pasteFileItem.Index = 5;
            this.pasteFileItem.Shortcut = System.Windows.Forms.Shortcut.CtrlV;
            this.pasteFileItem.Text = "&Paste";
            this.pasteFileItem.Click += new System.EventHandler( this.pasteFileItem_Click );
            // 
            // menuItem5
            // 
            this.menuItem5.Index = 6;
            this.menuItem5.Text = "-";
            // 
            // closeFileItem
            // 
            this.closeFileItem.Index = 7;
            this.closeFileItem.Shortcut = System.Windows.Forms.Shortcut.CtrlF4;
            this.closeFileItem.Text = "C&lose";
            this.closeFileItem.Click += new System.EventHandler( this.closeFileItem_Click );
            // 
            // closeAllFileItem
            // 
            this.closeAllFileItem.Index = 8;
            this.closeAllFileItem.Text = "Close All";
            this.closeAllFileItem.Click += new System.EventHandler( this.closeAllFileItem_Click );
            // 
            // menuItem8
            // 
            this.menuItem8.Index = 9;
            this.menuItem8.Text = "-";
            // 
            // pageSetupFileItem
            // 
            this.pageSetupFileItem.Index = 10;
            this.pageSetupFileItem.Text = "Page Setup";
            this.pageSetupFileItem.Click += new System.EventHandler( this.pageSetupFileItem_Click );
            // 
            // printFileItem
            // 
            this.printFileItem.Index = 11;
            this.printFileItem.Text = "&Print";
            this.printFileItem.Click += new System.EventHandler( this.printFileItem_Click );
            // 
            // printPreviewFileItem
            // 
            this.printPreviewFileItem.Index = 12;
            this.printPreviewFileItem.Text = "Print Preview";
            this.printPreviewFileItem.Click += new System.EventHandler( this.printPreviewFileItem_Click );
            // 
            // menuItem2
            // 
            this.menuItem2.Index = 13;
            this.menuItem2.Text = "-";
            // 
            // exitFileItem
            // 
            this.exitFileItem.Index = 14;
            this.exitFileItem.Text = "E&xit";
            this.exitFileItem.Click += new System.EventHandler( this.exitFileItem_Click );
            // 
            // viewItem
            // 
            this.viewItem.Index = 1;
            this.viewItem.MenuItems.AddRange( new System.Windows.Forms.MenuItem[] {
            this.mainBarViewItem,
            this.imageBarViewItem,
            this.menuItem7,
            this.histogramViewItem,
            this.statisticsViewItem,
            this.redHistogramViewItem,
            this.greenHistogramViewItem,
            this.blueHistogramViewItem,
            this.menuItem3,
            this.centerViewItem} );
            this.viewItem.MergeOrder = 1;
            this.viewItem.Text = "&View";
            this.viewItem.Popup += new System.EventHandler( this.viewItem_Popup );
            // 
            // mainBarViewItem
            // 
            this.mainBarViewItem.Index = 0;
            this.mainBarViewItem.Text = "Main tool bar";
            this.mainBarViewItem.Click += new System.EventHandler( this.mainBarViewItem_Click );
            // 
            // imageBarViewItem
            // 
            this.imageBarViewItem.Index = 1;
            this.imageBarViewItem.Text = "Image tool bar";
            this.imageBarViewItem.Click += new System.EventHandler( this.imageBarViewItem_Click );
            // 
            // menuItem7
            // 
            this.menuItem7.Index = 2;
            this.menuItem7.Text = "-";
            // 
            // histogramViewItem
            // 
            this.histogramViewItem.Index = 3;
            this.histogramViewItem.Shortcut = System.Windows.Forms.Shortcut.CtrlH;
            this.histogramViewItem.Text = "&Histogram";
            this.histogramViewItem.Click += new System.EventHandler( this.histogramViewItem_Click );
            // 
            // statisticsViewItem
            // 
            this.statisticsViewItem.Index = 4;
            this.statisticsViewItem.Shortcut = System.Windows.Forms.Shortcut.CtrlT;
            this.statisticsViewItem.Text = "&Statistics";
            this.statisticsViewItem.Click += new System.EventHandler( this.statisticsViewItem_Click );
            // 
            // redHistogramViewItem
            // 
            this.redHistogramViewItem.Index = 5;
            this.redHistogramViewItem.Shortcut = System.Windows.Forms.Shortcut.Ctrl1;
            this.redHistogramViewItem.Text = "R";
            this.redHistogramViewItem.Visible = false;
            this.redHistogramViewItem.Click += new System.EventHandler( this.redHistogramViewItem_Click );
            // 
            // greenHistogramViewItem
            // 
            this.greenHistogramViewItem.Index = 6;
            this.greenHistogramViewItem.Shortcut = System.Windows.Forms.Shortcut.Ctrl2;
            this.greenHistogramViewItem.Text = "G";
            this.greenHistogramViewItem.Visible = false;
            this.greenHistogramViewItem.Click += new System.EventHandler( this.greenHistogramViewItem_Click );
            // 
            // blueHistogramViewItem
            // 
            this.blueHistogramViewItem.Index = 7;
            this.blueHistogramViewItem.Shortcut = System.Windows.Forms.Shortcut.Ctrl3;
            this.blueHistogramViewItem.Text = "B";
            this.blueHistogramViewItem.Visible = false;
            this.blueHistogramViewItem.Click += new System.EventHandler( this.blueHistogramViewItem_Click );
            // 
            // menuItem3
            // 
            this.menuItem3.Index = 8;
            this.menuItem3.Text = "-";
            // 
            // centerViewItem
            // 
            this.centerViewItem.Index = 9;
            this.centerViewItem.Shortcut = System.Windows.Forms.Shortcut.F9;
            this.centerViewItem.Text = "&Center";
            this.centerViewItem.Click += new System.EventHandler( this.centerViewItem_Click );
            // 
            // optionsItem
            // 
            this.optionsItem.Index = 2;
            this.optionsItem.MenuItems.AddRange( new System.Windows.Forms.MenuItem[] {
            this.openInNewOptionsItem,
            this.rememberOptionsItem} );
            this.optionsItem.MergeOrder = 2;
            this.optionsItem.Text = "&Options";
            this.optionsItem.Popup += new System.EventHandler( this.optionsItem_Popup );
            // 
            // openInNewOptionsItem
            // 
            this.openInNewOptionsItem.Index = 0;
            this.openInNewOptionsItem.Text = "Open in &new document on change";
            this.openInNewOptionsItem.Click += new System.EventHandler( this.openInNewOptionsItem_Click );
            // 
            // rememberOptionsItem
            // 
            this.rememberOptionsItem.Index = 1;
            this.rememberOptionsItem.Text = "&Remember on change";
            this.rememberOptionsItem.Click += new System.EventHandler( this.rememberOptionsItem_Click );
            // 
            // windowItem
            // 
            this.windowItem.Index = 3;
            this.windowItem.MdiList = true;
            this.windowItem.MergeOrder = 3;
            this.windowItem.Text = "&Window";
            // 
            // helpItem
            // 
            this.helpItem.Index = 4;
            this.helpItem.MenuItems.AddRange( new System.Windows.Forms.MenuItem[] {
            this.aboutHelpItem} );
            this.helpItem.MergeOrder = 4;
            this.helpItem.Text = "&Help";
            // 
            // aboutHelpItem
            // 
            this.aboutHelpItem.Index = 0;
            this.aboutHelpItem.Text = "&About";
            this.aboutHelpItem.Click += new System.EventHandler( this.aboutHelpItem_Click );
            // 
            // statusBar
            // 
            this.statusBar.Location = new System.Drawing.Point( 0, 511 );
            this.statusBar.Name = "statusBar";
            this.statusBar.Panels.AddRange( new System.Windows.Forms.StatusBarPanel[] {
            this.zoomPanel,
            this.sizePanel,
            this.selectionPanel,
            this.colorPanel,
            this.hslPanel,
            this.ycbcrPanel,
            this.infoPanel} );
            this.statusBar.ShowPanels = true;
            this.statusBar.Size = new System.Drawing.Size( 792, 22 );
            this.statusBar.TabIndex = 1;
            // 
            // zoomPanel
            // 
            this.zoomPanel.Name = "zoomPanel";
            this.zoomPanel.ToolTipText = "Zoom coefficient";
            this.zoomPanel.Width = 50;
            // 
            // sizePanel
            // 
            this.sizePanel.Name = "sizePanel";
            this.sizePanel.ToolTipText = "Image size";
            // 
            // selectionPanel
            // 
            this.selectionPanel.Name = "selectionPanel";
            this.selectionPanel.ToolTipText = "Current point and selection size";
            this.selectionPanel.Width = 120;
            // 
            // colorPanel
            // 
            this.colorPanel.Name = "colorPanel";
            this.colorPanel.ToolTipText = "Current color";
            this.colorPanel.Width = 110;
            // 
            // hslPanel
            // 
            this.hslPanel.Name = "hslPanel";
            this.hslPanel.Width = 130;
            // 
            // ycbcrPanel
            // 
            this.ycbcrPanel.Name = "ycbcrPanel";
            this.ycbcrPanel.Width = 145;
            // 
            // infoPanel
            // 
            this.infoPanel.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring;
            this.infoPanel.Name = "infoPanel";
            this.infoPanel.Width = 120;
            // 
            // panel1
            // 
            this.panel1.Controls.Add( this.dockManager );
            this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.panel1.Location = new System.Drawing.Point( 0, 0 );
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size( 792, 511 );
            this.panel1.TabIndex = 2;
            // 
            // dockManager
            // 
            this.dockManager.ActiveAutoHideContent = null;
            this.dockManager.Controls.Add( this.mainToolBar );
            this.dockManager.Controls.Add( this.imageToolBar );
            this.dockManager.Dock = System.Windows.Forms.DockStyle.Fill;
            this.dockManager.Location = new System.Drawing.Point( 0, 0 );
            this.dockManager.Name = "dockManager";
            this.dockManager.Size = new System.Drawing.Size( 792, 511 );
            this.dockManager.TabIndex = 2;
            this.dockManager.ActiveDocumentChanged += new System.EventHandler( this.dockManager_ActiveDocumentChanged );
            // 
            // mainToolBar
            // 
            this.mainToolBar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
            this.mainToolBar.Buttons.AddRange( new System.Windows.Forms.ToolBarButton[] {
            this.openButton,
            this.saveButton,
            this.sep1,
            this.copyButton,
            this.pasteButton,
            this.toolBarButton9,
            this.histogramButton,
            this.toolBarButton4,
            this.aboutButton} );
            this.mainToolBar.Divider = false;
            this.mainToolBar.Dock = System.Windows.Forms.DockStyle.None;
            this.mainToolBar.DropDownArrows = true;
            this.mainToolBar.ImageList = this.imageList;
            this.mainToolBar.Location = new System.Drawing.Point( 256, 32 );
            this.mainToolBar.Name = "mainToolBar";
            this.mainToolBar.ShowToolTips = true;
            this.mainToolBar.Size = new System.Drawing.Size( 24, 202 );
            this.mainToolBar.TabIndex = 2;
            this.mainToolBar.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler( this.mainToolBar_ButtonClick );
            // 
            // openButton
            // 
            this.openButton.ImageIndex = 0;
            this.openButton.Name = "openButton";
            this.openButton.ToolTipText = "Open an image ";
            // 
            // saveButton
            // 
            this.saveButton.ImageIndex = 1;
            this.saveButton.Name = "saveButton";
            this.saveButton.ToolTipText = "Save";
            // 
            // sep1
            // 
            this.sep1.Name = "sep1";
            this.sep1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
            // 
            // copyButton
            // 
            this.copyButton.ImageIndex = 2;
            this.copyButton.Name = "copyButton";
            this.copyButton.ToolTipText = "Copy to clipboard";
            // 
            // pasteButton
            // 
            this.pasteButton.ImageIndex = 3;
            this.pasteButton.Name = "pasteButton";
            this.pasteButton.ToolTipText = "Paste from clipboard";
            // 
            // toolBarButton9
            // 
            this.toolBarButton9.Name = "toolBarButton9";
            this.toolBarButton9.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
            // 
            // histogramButton
            // 
            this.histogramButton.ImageIndex = 4;
            this.histogramButton.Name = "histogramButton";
            this.histogramButton.ToolTipText = "Show histogram";
            // 
            // toolBarButton4
            // 
            this.toolBarButton4.Name = "toolBarButton4";
            this.toolBarButton4.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
            // 
            // aboutButton
            // 
            this.aboutButton.ImageIndex = 5;
            this.aboutButton.Name = "aboutButton";
            this.aboutButton.ToolTipText = "About";
            // 
            // imageList
            // 
            this.imageList.ImageStream = ( (System.Windows.Forms.ImageListStreamer) ( resources.GetObject( "imageList.ImageStream" ) ) );
            this.imageList.TransparentColor = System.Drawing.Color.Transparent;
            this.imageList.Images.SetKeyName( 0, "" );
            this.imageList.Images.SetKeyName( 1, "" );
            this.imageList.Images.SetKeyName( 2, "" );
            this.imageList.Images.SetKeyName( 3, "" );
            this.imageList.Images.SetKeyName( 4, "" );
            this.imageList.Images.SetKeyName( 5, "" );
            // 
            // imageToolBar
            // 
            this.imageToolBar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
            this.imageToolBar.Buttons.AddRange( new System.Windows.Forms.ToolBarButton[] {
            this.cloneButton,
            this.toolBarButton1,
            this.cropButton,
            this.toolBarButton2,
            this.zoomInButton,
            this.zoomOutButton,
            this.toolBarButton3,
            this.fitToScreenButton,
            this.toolBarButton5,
            this.resizeButton,
            this.rotateButton,
            this.toolBarButton7,
            this.levelsButton,
            this.grayscaleButton,
            this.thresholdButton,
            this.toolBarButton6,
            this.morphologyButton,
            this.convolutionButton,
            this.toolBarButton8,
            this.saturationButton,
            this.fourierButton} );
            this.imageToolBar.Divider = false;
            this.imageToolBar.Dock = System.Windows.Forms.DockStyle.None;
            this.imageToolBar.DropDownArrows = true;
            this.imageToolBar.ImageList = this.imageList2;
            this.imageToolBar.Location = new System.Drawing.Point( 144, 312 );
            this.imageToolBar.Name = "imageToolBar";
            this.imageToolBar.ShowToolTips = true;
            this.imageToolBar.Size = new System.Drawing.Size( 472, 26 );
            this.imageToolBar.TabIndex = 3;
            this.imageToolBar.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler( this.imageToolBar_ButtonClick );
            // 
            // cloneButton
            // 
            this.cloneButton.ImageIndex = 0;
            this.cloneButton.Name = "cloneButton";
            this.cloneButton.ToolTipText = "Clone the image";
            // 
            // toolBarButton1
            // 
            this.toolBarButton1.Name = "toolBarButton1";
            this.toolBarButton1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
            // 
            // cropButton
            // 
            this.cropButton.ImageIndex = 1;
            this.cropButton.Name = "cropButton";
            this.cropButton.ToolTipText = "Crop image";
            // 
            // toolBarButton2
            // 
            this.toolBarButton2.Name = "toolBarButton2";
            this.toolBarButton2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
            // 
            // zoomInButton
            // 
            this.zoomInButton.ImageIndex = 2;
            this.zoomInButton.Name = "zoomInButton";
            this.zoomInButton.ToolTipText = "Zoom In";
            // 
            // zoomOutButton
            // 
            this.zoomOutButton.ImageIndex = 3;
            this.zoomOutButton.Name = "zoomOutButton";
            this.zoomOutButton.ToolTipText = "Zoom out";
            // 
            // toolBarButton3
            // 
            this.toolBarButton3.ImageIndex = 4;
            this.toolBarButton3.Name = "toolBarButton3";
            this.toolBarButton3.ToolTipText = "Original size";
            // 
            // fitToScreenButton
            // 
            this.fitToScreenButton.ImageIndex = 5;
            this.fitToScreenButton.Name = "fitToScreenButton";
            this.fitToScreenButton.ToolTipText = "Fit to window size";
            // 
            // toolBarButton5
            // 
            this.toolBarButton5.Name = "toolBarButton5";
            this.toolBarButton5.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
            // 
            // resizeButton
            // 
            this.resizeButton.ImageIndex = 11;
            this.resizeButton.Name = "resizeButton";
            this.resizeButton.ToolTipText = "Resize the image";
            // 
            // rotateButton
            // 
            this.rotateButton.ImageIndex = 12;
            this.rotateButton.Name = "rotateButton";
            this.rotateButton.ToolTipText = "Rotate the image";
            // 
            // toolBarButton7
            // 
            this.toolBarButton7.Name = "toolBarButton7";
            this.toolBarButton7.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
            // 
            // levelsButton
            // 
            this.levelsButton.ImageIndex = 6;
            this.levelsButton.Name = "levelsButton";
            this.levelsButton.ToolTipText = "Levels correction";
            // 
            // grayscaleButton
            // 
            this.grayscaleButton.ImageIndex = 7;
            this.grayscaleButton.Name = "grayscaleButton";
            this.grayscaleButton.ToolTipText = "Grayscale";
            // 
            // thresholdButton
            // 
            this.thresholdButton.ImageIndex = 8;
            this.thresholdButton.Name = "thresholdButton";
            this.thresholdButton.ToolTipText = "Threshold";
            // 
            // toolBarButton6
            // 
            this.toolBarButton6.Name = "toolBarButton6";
            this.toolBarButton6.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
            // 
            // morphologyButton
            // 
            this.morphologyButton.ImageIndex = 9;
            this.morphologyButton.Name = "morphologyButton";
            this.morphologyButton.ToolTipText = "Custom morphology operator";
            // 
            // convolutionButton
            // 
            this.convolutionButton.ImageIndex = 10;
            this.convolutionButton.Name = "convolutionButton";
            this.convolutionButton.ToolTipText = "Custom convolution operator";
            // 
            // toolBarButton8
            // 
            this.toolBarButton8.Name = "toolBarButton8";
            this.toolBarButton8.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
            // 
            // saturationButton
            // 
            this.saturationButton.ImageIndex = 13;
            this.saturationButton.Name = "saturationButton";
            this.saturationButton.ToolTipText = "Saturation (HSL)";
            // 
            // fourierButton
            // 
            this.fourierButton.ImageIndex = 14;
            this.fourierButton.Name = "fourierButton";
            this.fourierButton.ToolTipText = "Fourier Transformation";
            // 
            // imageList2
            // 
            this.imageList2.ImageStream = ( (System.Windows.Forms.ImageListStreamer) ( resources.GetObject( "imageList2.ImageStream" ) ) );
            this.imageList2.TransparentColor = System.Drawing.Color.Transparent;
            this.imageList2.Images.SetKeyName( 0, "" );
            this.imageList2.Images.SetKeyName( 1, "" );
            this.imageList2.Images.SetKeyName( 2, "" );
            this.imageList2.Images.SetKeyName( 3, "" );
            this.imageList2.Images.SetKeyName( 4, "" );
            this.imageList2.Images.SetKeyName( 5, "" );
            this.imageList2.Images.SetKeyName( 6, "" );
            this.imageList2.Images.SetKeyName( 7, "" );
            this.imageList2.Images.SetKeyName( 8, "" );
            this.imageList2.Images.SetKeyName( 9, "" );
            this.imageList2.Images.SetKeyName( 10, "" );
            this.imageList2.Images.SetKeyName( 11, "" );
            this.imageList2.Images.SetKeyName( 12, "" );
            this.imageList2.Images.SetKeyName( 13, "" );
            this.imageList2.Images.SetKeyName( 14, "" );
            // 
            // ofd
            // 
            this.ofd.Filter = "Image files (*.jpg,*.png,*.tif,*.bmp,*.gif)|*.jpg;*.png;*.tif;*.bmp;*.gif|JPG fil" +
                "es (*.jpg)|*.jpg|PNG files (*.png)|*.png|TIF files (*.tif)|*.tif|BMP files (*.bm" +
                "p)|*.bmp|GIF files (*.gif)|*.gif";
            this.ofd.Title = "Open image";
            // 
            // sfd
            // 
            this.sfd.Filter = "PNG files (*.png)|*.png|JPG files (*.jpg)|*.jpg|BMP files (*.bmp)|*.bmp";
            this.sfd.Title = "Save image";
            // 
            // printDocument
            // 
            this.printDocument.PrintPage += new System.Drawing.Printing.PrintPageEventHandler( this.printDocument_PrintPage );
            // 
            // printPreviewDialog
            // 
            this.printPreviewDialog.AutoScrollMargin = new System.Drawing.Size( 0, 0 );
            this.printPreviewDialog.AutoScrollMinSize = new System.Drawing.Size( 0, 0 );
            this.printPreviewDialog.ClientSize = new System.Drawing.Size( 400, 300 );
            this.printPreviewDialog.Enabled = true;
            this.printPreviewDialog.Icon = ( (System.Drawing.Icon) ( resources.GetObject( "printPreviewDialog.Icon" ) ) );
            this.printPreviewDialog.Name = "printPreviewDialog";
            this.printPreviewDialog.Visible = false;
            // 
            // MainForm
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size( 5, 13 );
            this.ClientSize = new System.Drawing.Size( 792, 533 );
            this.Controls.Add( this.panel1 );
            this.Controls.Add( this.statusBar );
            this.Icon = ( (System.Drawing.Icon) ( resources.GetObject( "$this.Icon" ) ) );
            this.IsMdiContainer = true;
            this.Menu = this.mainMenu;
            this.Name = "MainForm";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Image Processing Lab";
            this.Load += new System.EventHandler( this.MainForm_Load );
            this.Closing += new System.ComponentModel.CancelEventHandler( this.MainForm_Closing );
            ( (System.ComponentModel.ISupportInitialize) ( this.zoomPanel ) ).EndInit( );
            ( (System.ComponentModel.ISupportInitialize) ( this.sizePanel ) ).EndInit( );
            ( (System.ComponentModel.ISupportInitialize) ( this.selectionPanel ) ).EndInit( );
            ( (System.ComponentModel.ISupportInitialize) ( this.colorPanel ) ).EndInit( );
            ( (System.ComponentModel.ISupportInitialize) ( this.hslPanel ) ).EndInit( );
            ( (System.ComponentModel.ISupportInitialize) ( this.ycbcrPanel ) ).EndInit( );
            ( (System.ComponentModel.ISupportInitialize) ( this.infoPanel ) ).EndInit( );
            this.panel1.ResumeLayout( false );
            this.dockManager.ResumeLayout( false );
            this.dockManager.PerformLayout( );
            this.ResumeLayout( false );

        }
コード例 #40
0
 private void OnPrintSettingDialog(object obj)
 {
     System.Windows.Forms.PrintDialog printDialog = new System.Windows.Forms.PrintDialog();
     printDialog.ShowDialog();
     LocalPrintServer ps = new LocalPrintServer();
     PrintQueue pq = ps.DefaultPrintQueue;
     pq.Name = printDialog.PrinterSettings.PrinterName;
     pq.Commit();
 }
コード例 #41
0
        private void OnImprimirEtiqueta(object sender, EventArgs e)
        {
            if (View.ListadoCajasBusqueda.SelectedIndex == -1)
            {
                Util.ShowError("Debe seleccionar una caja para realizar la impresión de la etiqueta.");
                return;
            }

            Int32 cantidad = Int32.Parse(((DataRowView)View.ListadoCajasBusqueda.SelectedItem).Row["Equipos"].ToString());
            String archivo_impresion = "";

            if (cantidad < 5)
            {
                if (cantidad == 0)
                {
                    Util.ShowMessage("Para realizar una impresión la caja debe contener equipos.");
                }
                else
                {
                    Util.ShowMessage("La cantidad minima para realizar una impresión es de 5 unidades.");
                }

                return;
            }
            else if (cantidad == 10)
            {
                archivo_impresion = "etiquetapor10.prn";
            }
            else if (cantidad == 5)
            {
                archivo_impresion = "etiquetapor5.prn";
            }
            else
            {
                Util.ShowMessage("No es posible imprimir una etiqueta para cajas con más de 10 equipos");
                return;
            }

            System.Windows.Forms.PrintDialog pd = new System.Windows.Forms.PrintDialog();
            pd.PrinterSettings = new PrinterSettings();

            String aux_idPallet = ((DataRowView)View.ListadoPalletsBusqueda.SelectedItem).Row["Pallet"].ToString();
            String nroCaja = ((DataRowView)View.ListadoCajasBusqueda.SelectedItem).Row["NroCaja"].ToString();
            String familia = View.Model.ListSeriales_Empaque.Rows[0]["FAMILIA"].ToString();
            String modelo = View.Model.ListSeriales_Empaque.Rows[0]["PRODUCTO"].ToString();
            String Codsap = View.Model.ListSeriales_Empaque.Rows[0]["CODIGO_SAP"].ToString();
            DataTable lista_equipos = View.Model.ListSeriales_Empaque;

            try
            {
                if (System.Windows.Forms.DialogResult.OK == pd.ShowDialog())
                {
                    PrinterControl.EtiquetaEmpaque(archivo_impresion, lista_equipos, aux_idPallet, nroCaja, familia, modelo, Codsap, pd.PrinterSettings.PrinterName);
                }
            }
            catch (Exception ex)
            {
                Util.ShowError("Error en la impresión, por favor verifique la conexión a la impresora Zebra " + ex.Message);
            }
        }
コード例 #42
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmPurchases));
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle41 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle42 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle43 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle44 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle45 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle46 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle47 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle48 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle49 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle50 = new System.Windows.Forms.DataGridViewCellStyle();
     this.tabControl1 = new System.Windows.Forms.TabControl();
     this.tabPage1 = new System.Windows.Forms.TabPage();
     this.panel3 = new System.Windows.Forms.Panel();
     this.comboSupName = new System.Windows.Forms.ComboBox();
     this.txtCusID = new System.Windows.Forms.TextBox();
     this.label1 = new System.Windows.Forms.Label();
     this.label14 = new System.Windows.Forms.Label();
     this.dpInvoice = new System.Windows.Forms.DateTimePicker();
     this.txtInvoiceId = new System.Windows.Forms.TextBox();
     this.label5 = new System.Windows.Forms.Label();
     this.panel1 = new System.Windows.Forms.Panel();
     this.txtPrice = new System.Windows.Forms.TextBox();
     this.label3 = new System.Windows.Forms.Label();
     this.label10 = new System.Windows.Forms.Label();
     this.txtTotalAmount = new System.Windows.Forms.TextBox();
     this.comboItem = new System.Windows.Forms.ComboBox();
     this.btnAdd = new System.Windows.Forms.Button();
     this.label12 = new System.Windows.Forms.Label();
     this.txtQty = new System.Windows.Forms.TextBox();
     this.lbQty = new System.Windows.Forms.Label();
     this.label9 = new System.Windows.Forms.Label();
     this.label16 = new System.Windows.Forms.Label();
     this.label8 = new System.Windows.Forms.Label();
     this.label26 = new System.Windows.Forms.Label();
     this.txtPurchaseTax = new System.Windows.Forms.TextBox();
     this.txtCartAmount = new System.Windows.Forms.TextBox();
     this.txtDiscount = new System.Windows.Forms.TextBox();
     this.txtAmount = new System.Windows.Forms.TextBox();
     this.label11 = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.label59 = new System.Windows.Forms.Label();
     this.txtCartQty = new System.Windows.Forms.TextBox();
     this.txtTotalDuePayment = new System.Windows.Forms.TextBox();
     this.txtTotalDueQty = new System.Windows.Forms.TextBox();
     this.btnInvoiceSave = new System.Windows.Forms.Button();
     this.dataGridViewShopingCart = new System.Windows.Forms.DataGridView();
     this.Column19 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column28 = new System.Windows.Forms.DataGridViewButtonColumn();
     this.txtComments = new System.Windows.Forms.TextBox();
     this.label15 = new System.Windows.Forms.Label();
     this.btnInvoiceUpdate = new System.Windows.Forms.Button();
     this.btnInvoice = new System.Windows.Forms.Button();
     this.btnNewRecord = new System.Windows.Forms.Button();
     this.tabPage2 = new System.Windows.Forms.TabPage();
     this.GridSaleDetails = new System.Windows.Forms.DataGridView();
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column1 = new System.Windows.Forms.DataGridViewButtonColumn();
     this.Column2 = new System.Windows.Forms.DataGridViewButtonColumn();
     this.label40 = new System.Windows.Forms.Label();
     this.label55 = new System.Windows.Forms.Label();
     this.EndDate = new System.Windows.Forms.DateTimePicker();
     this.StartDate = new System.Windows.Forms.DateTimePicker();
     this.btnSearch = new System.Windows.Forms.Button();
     this.btnPrint = new System.Windows.Forms.Button();
     this.label6 = new System.Windows.Forms.Label();
     this.label33 = new System.Windows.Forms.Label();
     this.ddItems = new System.Windows.Forms.ComboBox();
     this.ddSupplier = new System.Windows.Forms.ComboBox();
     this.txtCusTotalAmount = new System.Windows.Forms.TextBox();
     this.lbCusId = new System.Windows.Forms.Label();
     this.InvPrintDocument = new System.Drawing.Printing.PrintDocument();
     this.InvPrintDialog = new System.Windows.Forms.PrintDialog();
     this.InvPrintPreviewDialog = new System.Windows.Forms.PrintPreviewDialog();
     this.pnlMain = new System.Windows.Forms.Panel();
     this.panel2 = new System.Windows.Forms.Panel();
     this.btnClose = new System.Windows.Forms.Button();
     this.label18 = new System.Windows.Forms.Label();
     this.label47 = new System.Windows.Forms.Label();
     this.button7 = new System.Windows.Forms.Button();
     this.button5 = new System.Windows.Forms.Button();
     this.comboGetItem = new System.Windows.Forms.ComboBox();
     this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.panel3.SuspendLayout();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridViewShopingCart)).BeginInit();
     this.tabPage2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.GridSaleDetails)).BeginInit();
     this.pnlMain.SuspendLayout();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.tabPage1);
     this.tabControl1.Controls.Add(this.tabPage2);
     this.tabControl1.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tabControl1.Location = new System.Drawing.Point(0, 51);
     this.tabControl1.Name = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size = new System.Drawing.Size(1178, 577);
     this.tabControl1.SizeMode = System.Windows.Forms.TabSizeMode.FillToRight;
     this.tabControl1.TabIndex = 0;
     //
     // tabPage1
     //
     this.tabPage1.BackColor = System.Drawing.Color.White;
     this.tabPage1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.tabPage1.Controls.Add(this.panel3);
     this.tabPage1.Controls.Add(this.panel1);
     this.tabPage1.Controls.Add(this.label9);
     this.tabPage1.Controls.Add(this.label16);
     this.tabPage1.Controls.Add(this.label8);
     this.tabPage1.Controls.Add(this.label26);
     this.tabPage1.Controls.Add(this.txtPurchaseTax);
     this.tabPage1.Controls.Add(this.txtCartAmount);
     this.tabPage1.Controls.Add(this.txtDiscount);
     this.tabPage1.Controls.Add(this.txtAmount);
     this.tabPage1.Controls.Add(this.label11);
     this.tabPage1.Controls.Add(this.label4);
     this.tabPage1.Controls.Add(this.label59);
     this.tabPage1.Controls.Add(this.txtCartQty);
     this.tabPage1.Controls.Add(this.txtTotalDuePayment);
     this.tabPage1.Controls.Add(this.txtTotalDueQty);
     this.tabPage1.Controls.Add(this.btnInvoiceSave);
     this.tabPage1.Controls.Add(this.dataGridViewShopingCart);
     this.tabPage1.Controls.Add(this.txtComments);
     this.tabPage1.Controls.Add(this.label15);
     this.tabPage1.Controls.Add(this.btnInvoiceUpdate);
     this.tabPage1.Controls.Add(this.btnInvoice);
     this.tabPage1.Controls.Add(this.btnNewRecord);
     this.tabPage1.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tabPage1.Location = new System.Drawing.Point(4, 34);
     this.tabPage1.Name = "tabPage1";
     this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage1.Size = new System.Drawing.Size(1170, 539);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text = "Shopping Cart";
     //
     // panel3
     //
     this.panel3.BackColor = System.Drawing.Color.Transparent;
     this.panel3.Controls.Add(this.comboSupName);
     this.panel3.Controls.Add(this.txtCusID);
     this.panel3.Controls.Add(this.label1);
     this.panel3.Controls.Add(this.label14);
     this.panel3.Controls.Add(this.dpInvoice);
     this.panel3.Controls.Add(this.txtInvoiceId);
     this.panel3.Controls.Add(this.label5);
     this.panel3.Location = new System.Drawing.Point(0, 0);
     this.panel3.Name = "panel3";
     this.panel3.Size = new System.Drawing.Size(1164, 53);
     this.panel3.TabIndex = 167;
     //
     // comboSupName
     //
     this.comboSupName.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
     this.comboSupName.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
     this.comboSupName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(255)))));
     this.comboSupName.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.comboSupName.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboSupName.FormattingEnabled = true;
     this.comboSupName.Location = new System.Drawing.Point(375, 9);
     this.comboSupName.Name = "comboSupName";
     this.comboSupName.Size = new System.Drawing.Size(253, 29);
     this.comboSupName.TabIndex = 0;
     //
     // txtCusID
     //
     this.txtCusID.AccessibleRole = System.Windows.Forms.AccessibleRole.MenuBar;
     this.txtCusID.BackColor = System.Drawing.Color.White;
     this.txtCusID.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtCusID.ForeColor = System.Drawing.Color.Black;
     this.txtCusID.Location = new System.Drawing.Point(945, 9);
     this.txtCusID.Name = "txtCusID";
     this.txtCusID.Size = new System.Drawing.Size(100, 25);
     this.txtCusID.TabIndex = 160;
     this.txtCusID.TabStop = false;
     this.txtCusID.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font = new System.Drawing.Font("Segoe UI", 24F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.Black;
     this.label1.Location = new System.Drawing.Point(4, 0);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(263, 45);
     this.label1.TabIndex = 0;
     this.label1.Text = "Prchase Vouchers";
     //
     // label14
     //
     this.label14.AutoSize = true;
     this.label14.BackColor = System.Drawing.Color.White;
     this.label14.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label14.ForeColor = System.Drawing.Color.Black;
     this.label14.Location = new System.Drawing.Point(634, 15);
     this.label14.Name = "label14";
     this.label14.Size = new System.Drawing.Size(122, 17);
     this.label14.TabIndex = 164;
     this.label14.Text = "Sale Voucher Date :";
     //
     // dpInvoice
     //
     this.dpInvoice.CalendarFont = new System.Drawing.Font("Segoe UI Semibold", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dpInvoice.CustomFormat = "dd/MM/yyyy";
     this.dpInvoice.Font = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dpInvoice.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dpInvoice.Location = new System.Drawing.Point(777, 9);
     this.dpInvoice.Name = "dpInvoice";
     this.dpInvoice.Size = new System.Drawing.Size(152, 25);
     this.dpInvoice.TabIndex = 163;
     this.dpInvoice.TabStop = false;
     //
     // txtInvoiceId
     //
     this.txtInvoiceId.BackColor = System.Drawing.Color.WhiteSmoke;
     this.txtInvoiceId.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtInvoiceId.Location = new System.Drawing.Point(1051, 9);
     this.txtInvoiceId.Name = "txtInvoiceId";
     this.txtInvoiceId.Size = new System.Drawing.Size(97, 25);
     this.txtInvoiceId.TabIndex = 165;
     this.txtInvoiceId.TabStop = false;
     this.txtInvoiceId.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.BackColor = System.Drawing.Color.White;
     this.label5.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label5.Location = new System.Drawing.Point(270, 15);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(109, 17);
     this.label5.TabIndex = 162;
     this.label5.Text = "Supplier Account:";
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(189)))), ((int)(((byte)(242)))));
     this.panel1.Controls.Add(this.txtPrice);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.label10);
     this.panel1.Controls.Add(this.txtTotalAmount);
     this.panel1.Controls.Add(this.comboItem);
     this.panel1.Controls.Add(this.btnAdd);
     this.panel1.Controls.Add(this.label12);
     this.panel1.Controls.Add(this.txtQty);
     this.panel1.Controls.Add(this.lbQty);
     this.panel1.Location = new System.Drawing.Point(0, 48);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(1178, 67);
     this.panel1.TabIndex = 208;
     //
     // txtPrice
     //
     this.txtPrice.BackColor = System.Drawing.Color.WhiteSmoke;
     this.txtPrice.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtPrice.Location = new System.Drawing.Point(606, 31);
     this.txtPrice.Name = "txtPrice";
     this.txtPrice.Size = new System.Drawing.Size(217, 25);
     this.txtPrice.TabIndex = 181;
     this.txtPrice.TextChanged += new System.EventHandler(this.txtPrice_TextChanged);
     this.txtPrice.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtPrice_KeyDown);
     this.txtPrice.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtPrice_KeyPress);
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.ForeColor = System.Drawing.Color.White;
     this.label3.Location = new System.Drawing.Point(603, 5);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(71, 17);
     this.label3.TabIndex = 189;
     this.label3.Text = "Sale Price :";
     //
     // label10
     //
     this.label10.AutoSize = true;
     this.label10.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label10.ForeColor = System.Drawing.Color.White;
     this.label10.Location = new System.Drawing.Point(815, 5);
     this.label10.Name = "label10";
     this.label10.Size = new System.Drawing.Size(119, 17);
     this.label10.TabIndex = 187;
     this.label10.Text = "Sub Total Amount :";
     //
     // txtTotalAmount
     //
     this.txtTotalAmount.BackColor = System.Drawing.Color.WhiteSmoke;
     this.txtTotalAmount.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtTotalAmount.Location = new System.Drawing.Point(818, 31);
     this.txtTotalAmount.Name = "txtTotalAmount";
     this.txtTotalAmount.ReadOnly = true;
     this.txtTotalAmount.Size = new System.Drawing.Size(237, 25);
     this.txtTotalAmount.TabIndex = 188;
     this.txtTotalAmount.TabStop = false;
     this.txtTotalAmount.Text = "0";
     this.txtTotalAmount.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // comboItem
     //
     this.comboItem.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;
     this.comboItem.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
     this.comboItem.BackColor = System.Drawing.Color.White;
     this.comboItem.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.comboItem.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboItem.FormattingEnabled = true;
     this.comboItem.Location = new System.Drawing.Point(38, 31);
     this.comboItem.Name = "comboItem";
     this.comboItem.Size = new System.Drawing.Size(326, 25);
     this.comboItem.TabIndex = 179;
     this.comboItem.SelectedIndexChanged += new System.EventHandler(this.comboItem_SelectedIndexChanged_1);
     this.comboItem.KeyDown += new System.Windows.Forms.KeyEventHandler(this.comboItem_KeyDown);
     //
     // btnAdd
     //
     this.btnAdd.BackColor = System.Drawing.Color.Transparent;
     this.btnAdd.FlatAppearance.BorderSize = 0;
     this.btnAdd.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Silver;
     this.btnAdd.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.btnAdd.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnAdd.ForeColor = System.Drawing.Color.White;
     this.btnAdd.Image = global::PHMS.Properties.Resources.Plus_26;
     this.btnAdd.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnAdd.Location = new System.Drawing.Point(1074, 31);
     this.btnAdd.Name = "btnAdd";
     this.btnAdd.Size = new System.Drawing.Size(90, 29);
     this.btnAdd.TabIndex = 182;
     this.btnAdd.TabStop = false;
     this.btnAdd.Text = "Add";
     this.btnAdd.UseVisualStyleBackColor = false;
     this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
     //
     // label12
     //
     this.label12.AutoSize = true;
     this.label12.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label12.ForeColor = System.Drawing.Color.White;
     this.label12.Location = new System.Drawing.Point(35, 5);
     this.label12.Name = "label12";
     this.label12.Size = new System.Drawing.Size(78, 17);
     this.label12.TabIndex = 186;
     this.label12.Text = "Select Item :";
     //
     // txtQty
     //
     this.txtQty.BackColor = System.Drawing.Color.White;
     this.txtQty.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtQty.Location = new System.Drawing.Point(385, 31);
     this.txtQty.Name = "txtQty";
     this.txtQty.Size = new System.Drawing.Size(224, 25);
     this.txtQty.TabIndex = 180;
     this.txtQty.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.txtQty.TextChanged += new System.EventHandler(this.txtQty_TextChanged_1);
     this.txtQty.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtQty_KeyDown);
     this.txtQty.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtQty_KeyPress);
     //
     // lbQty
     //
     this.lbQty.AutoSize = true;
     this.lbQty.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lbQty.ForeColor = System.Drawing.Color.White;
     this.lbQty.Location = new System.Drawing.Point(378, 5);
     this.lbQty.Name = "lbQty";
     this.lbQty.Size = new System.Drawing.Size(63, 17);
     this.lbQty.TabIndex = 185;
     this.lbQty.Text = "Quantity :";
     //
     // label9
     //
     this.label9.AutoSize = true;
     this.label9.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label9.ForeColor = System.Drawing.Color.Black;
     this.label9.Location = new System.Drawing.Point(788, 459);
     this.label9.Name = "label9";
     this.label9.Size = new System.Drawing.Size(65, 17);
     this.label9.TabIndex = 204;
     this.label9.Text = "Discount :";
     //
     // label16
     //
     this.label16.AutoSize = true;
     this.label16.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label16.ForeColor = System.Drawing.Color.Black;
     this.label16.Location = new System.Drawing.Point(788, 387);
     this.label16.Name = "label16";
     this.label16.Size = new System.Drawing.Size(90, 17);
     this.label16.TabIndex = 205;
     this.label16.Text = "Sub Amount  :";
     //
     // label8
     //
     this.label8.AutoSize = true;
     this.label8.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label8.ForeColor = System.Drawing.Color.Black;
     this.label8.Location = new System.Drawing.Point(788, 424);
     this.label8.Name = "label8";
     this.label8.Size = new System.Drawing.Size(95, 17);
     this.label8.TabIndex = 205;
     this.label8.Text = "Purchase Tex  :";
     //
     // label26
     //
     this.label26.AutoSize = true;
     this.label26.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label26.ForeColor = System.Drawing.Color.Black;
     this.label26.Location = new System.Drawing.Point(786, 492);
     this.label26.Name = "label26";
     this.label26.Size = new System.Drawing.Size(93, 17);
     this.label26.TabIndex = 206;
     this.label26.Text = "Total Amount :";
     //
     // txtPurchaseTax
     //
     this.txtPurchaseTax.BackColor = System.Drawing.Color.WhiteSmoke;
     this.txtPurchaseTax.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtPurchaseTax.ForeColor = System.Drawing.Color.Black;
     this.txtPurchaseTax.Location = new System.Drawing.Point(891, 418);
     this.txtPurchaseTax.Name = "txtPurchaseTax";
     this.txtPurchaseTax.Size = new System.Drawing.Size(226, 29);
     this.txtPurchaseTax.TabIndex = 201;
     this.txtPurchaseTax.Text = "0";
     this.txtPurchaseTax.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.txtPurchaseTax.TextChanged += new System.EventHandler(this.txtSaleTax_TextChanged);
     //
     // txtCartAmount
     //
     this.txtCartAmount.BackColor = System.Drawing.Color.WhiteSmoke;
     this.txtCartAmount.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtCartAmount.ForeColor = System.Drawing.Color.Black;
     this.txtCartAmount.Location = new System.Drawing.Point(891, 381);
     this.txtCartAmount.Name = "txtCartAmount";
     this.txtCartAmount.Size = new System.Drawing.Size(226, 29);
     this.txtCartAmount.TabIndex = 201;
     this.txtCartAmount.Text = "0";
     this.txtCartAmount.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // txtDiscount
     //
     this.txtDiscount.BackColor = System.Drawing.Color.WhiteSmoke;
     this.txtDiscount.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtDiscount.ForeColor = System.Drawing.Color.Black;
     this.txtDiscount.Location = new System.Drawing.Point(891, 453);
     this.txtDiscount.Name = "txtDiscount";
     this.txtDiscount.Size = new System.Drawing.Size(226, 29);
     this.txtDiscount.TabIndex = 203;
     this.txtDiscount.TabStop = false;
     this.txtDiscount.Text = "0";
     this.txtDiscount.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.txtDiscount.TextChanged += new System.EventHandler(this.txtDiscount_TextChanged);
     //
     // txtAmount
     //
     this.txtAmount.BackColor = System.Drawing.Color.WhiteSmoke;
     this.txtAmount.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtAmount.ForeColor = System.Drawing.Color.LimeGreen;
     this.txtAmount.Location = new System.Drawing.Point(891, 488);
     this.txtAmount.Multiline = true;
     this.txtAmount.Name = "txtAmount";
     this.txtAmount.Size = new System.Drawing.Size(226, 29);
     this.txtAmount.TabIndex = 200;
     this.txtAmount.Text = "0";
     this.txtAmount.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.txtAmount.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtPayment_KeyPress);
     //
     // label11
     //
     this.label11.AutoSize = true;
     this.label11.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label11.ForeColor = System.Drawing.Color.Black;
     this.label11.Location = new System.Drawing.Point(252, 380);
     this.label11.Name = "label11";
     this.label11.Size = new System.Drawing.Size(184, 17);
     this.label11.TabIndex = 197;
     this.label11.Text = "Customer Total Due Payment :";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.ForeColor = System.Drawing.Color.Black;
     this.label4.Location = new System.Drawing.Point(442, 380);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(84, 17);
     this.label4.TabIndex = 198;
     this.label4.Text = "Cart Quanty :";
     //
     // label59
     //
     this.label59.AutoSize = true;
     this.label59.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label59.ForeColor = System.Drawing.Color.Black;
     this.label59.Location = new System.Drawing.Point(15, 380);
     this.label59.Name = "label59";
     this.label59.Size = new System.Drawing.Size(126, 17);
     this.label59.TabIndex = 195;
     this.label59.Text = "Available Qty Stock :";
     //
     // txtCartQty
     //
     this.txtCartQty.BackColor = System.Drawing.Color.WhiteSmoke;
     this.txtCartQty.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtCartQty.ForeColor = System.Drawing.Color.Black;
     this.txtCartQty.Location = new System.Drawing.Point(436, 400);
     this.txtCartQty.Multiline = true;
     this.txtCartQty.Name = "txtCartQty";
     this.txtCartQty.Size = new System.Drawing.Size(238, 30);
     this.txtCartQty.TabIndex = 194;
     this.txtCartQty.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // txtTotalDuePayment
     //
     this.txtTotalDuePayment.BackColor = System.Drawing.Color.WhiteSmoke;
     this.txtTotalDuePayment.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtTotalDuePayment.ForeColor = System.Drawing.Color.Red;
     this.txtTotalDuePayment.Location = new System.Drawing.Point(226, 400);
     this.txtTotalDuePayment.Multiline = true;
     this.txtTotalDuePayment.Name = "txtTotalDuePayment";
     this.txtTotalDuePayment.Size = new System.Drawing.Size(215, 30);
     this.txtTotalDuePayment.TabIndex = 193;
     this.txtTotalDuePayment.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // txtTotalDueQty
     //
     this.txtTotalDueQty.BackColor = System.Drawing.Color.WhiteSmoke;
     this.txtTotalDueQty.Font = new System.Drawing.Font("Segoe UI Semibold", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtTotalDueQty.ForeColor = System.Drawing.Color.Red;
     this.txtTotalDueQty.Location = new System.Drawing.Point(18, 400);
     this.txtTotalDueQty.Multiline = true;
     this.txtTotalDueQty.Name = "txtTotalDueQty";
     this.txtTotalDueQty.Size = new System.Drawing.Size(211, 30);
     this.txtTotalDueQty.TabIndex = 191;
     this.txtTotalDueQty.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // btnInvoiceSave
     //
     this.btnInvoiceSave.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(189)))), ((int)(((byte)(242)))));
     this.btnInvoiceSave.FlatAppearance.BorderSize = 0;
     this.btnInvoiceSave.FlatAppearance.MouseOverBackColor = System.Drawing.Color.MediumAquamarine;
     this.btnInvoiceSave.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.btnInvoiceSave.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnInvoiceSave.ForeColor = System.Drawing.Color.White;
     this.btnInvoiceSave.Image = ((System.Drawing.Image)(resources.GetObject("btnInvoiceSave.Image")));
     this.btnInvoiceSave.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnInvoiceSave.Location = new System.Drawing.Point(273, 492);
     this.btnInvoiceSave.Name = "btnInvoiceSave";
     this.btnInvoiceSave.Size = new System.Drawing.Size(106, 36);
     this.btnInvoiceSave.TabIndex = 184;
     this.btnInvoiceSave.TabStop = false;
     this.btnInvoiceSave.Text = "Save";
     this.btnInvoiceSave.UseVisualStyleBackColor = false;
     this.btnInvoiceSave.Click += new System.EventHandler(this.btnInvoiceSave_Click);
     //
     // dataGridViewShopingCart
     //
     this.dataGridViewShopingCart.AllowUserToAddRows = false;
     this.dataGridViewShopingCart.AllowUserToDeleteRows = false;
     this.dataGridViewShopingCart.BackgroundColor = System.Drawing.Color.White;
     this.dataGridViewShopingCart.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridViewShopingCart.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.Column19,
     this.Column20,
     this.Column15,
     this.Column17,
     this.Column16,
     this.Column25,
     this.Column28});
     this.dataGridViewShopingCart.Location = new System.Drawing.Point(0, 115);
     this.dataGridViewShopingCart.Name = "dataGridViewShopingCart";
     this.dataGridViewShopingCart.Size = new System.Drawing.Size(1164, 259);
     this.dataGridViewShopingCart.TabIndex = 183;
     this.dataGridViewShopingCart.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewShopingCart_CellContentClick);
     //
     // Column19
     //
     this.Column19.HeaderText = "Return";
     this.Column19.Name = "Column19";
     this.Column19.Width = 50;
     //
     // Column20
     //
     this.Column20.HeaderText = "ItemID";
     this.Column20.Name = "Column20";
     this.Column20.Visible = false;
     this.Column20.Width = 50;
     //
     // Column15
     //
     this.Column15.HeaderText = "Item Description";
     this.Column15.Name = "Column15";
     this.Column15.Width = 500;
     //
     // Column17
     //
     dataGridViewCellStyle41.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.Column17.DefaultCellStyle = dataGridViewCellStyle41;
     this.Column17.HeaderText = "Quantity";
     this.Column17.Name = "Column17";
     this.Column17.Width = 150;
     //
     // Column16
     //
     this.Column16.HeaderText = "Sale Price";
     this.Column16.Name = "Column16";
     this.Column16.Width = 150;
     //
     // Column25
     //
     dataGridViewCellStyle42.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.Column25.DefaultCellStyle = dataGridViewCellStyle42;
     this.Column25.HeaderText = "Sub Total Amount";
     this.Column25.Name = "Column25";
     this.Column25.Width = 200;
     //
     // Column28
     //
     this.Column28.HeaderText = "Edit";
     this.Column28.Name = "Column28";
     this.Column28.Width = 50;
     //
     // txtComments
     //
     this.txtComments.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtComments.Location = new System.Drawing.Point(91, 432);
     this.txtComments.Multiline = true;
     this.txtComments.Name = "txtComments";
     this.txtComments.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
     this.txtComments.Size = new System.Drawing.Size(584, 51);
     this.txtComments.TabIndex = 190;
     this.txtComments.TabStop = false;
     this.txtComments.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // label15
     //
     this.label15.AutoSize = true;
     this.label15.BackColor = System.Drawing.Color.Transparent;
     this.label15.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label15.ForeColor = System.Drawing.Color.Black;
     this.label15.Location = new System.Drawing.Point(15, 438);
     this.label15.Name = "label15";
     this.label15.Size = new System.Drawing.Size(70, 17);
     this.label15.TabIndex = 189;
     this.label15.Text = "Comments";
     //
     // btnInvoiceUpdate
     //
     this.btnInvoiceUpdate.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(189)))), ((int)(((byte)(242)))));
     this.btnInvoiceUpdate.FlatAppearance.BorderSize = 0;
     this.btnInvoiceUpdate.FlatAppearance.MouseOverBackColor = System.Drawing.Color.MediumAquamarine;
     this.btnInvoiceUpdate.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.btnInvoiceUpdate.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnInvoiceUpdate.ForeColor = System.Drawing.Color.White;
     this.btnInvoiceUpdate.Image = ((System.Drawing.Image)(resources.GetObject("btnInvoiceUpdate.Image")));
     this.btnInvoiceUpdate.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnInvoiceUpdate.Location = new System.Drawing.Point(385, 492);
     this.btnInvoiceUpdate.Name = "btnInvoiceUpdate";
     this.btnInvoiceUpdate.Size = new System.Drawing.Size(106, 36);
     this.btnInvoiceUpdate.TabIndex = 188;
     this.btnInvoiceUpdate.TabStop = false;
     this.btnInvoiceUpdate.Text = "Update";
     this.btnInvoiceUpdate.UseVisualStyleBackColor = false;
     this.btnInvoiceUpdate.Click += new System.EventHandler(this.btnInvoiceUpdate_Click);
     //
     // btnInvoice
     //
     this.btnInvoice.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(189)))), ((int)(((byte)(242)))));
     this.btnInvoice.FlatAppearance.BorderSize = 0;
     this.btnInvoice.FlatAppearance.MouseOverBackColor = System.Drawing.Color.MediumAquamarine;
     this.btnInvoice.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.btnInvoice.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnInvoice.ForeColor = System.Drawing.Color.White;
     this.btnInvoice.Image = ((System.Drawing.Image)(resources.GetObject("btnInvoice.Image")));
     this.btnInvoice.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnInvoice.Location = new System.Drawing.Point(497, 492);
     this.btnInvoice.Name = "btnInvoice";
     this.btnInvoice.Size = new System.Drawing.Size(131, 36);
     this.btnInvoice.TabIndex = 186;
     this.btnInvoice.Text = "Print Invoice";
     this.btnInvoice.UseVisualStyleBackColor = false;
     this.btnInvoice.Click += new System.EventHandler(this.btnInvoice_Click);
     //
     // btnNewRecord
     //
     this.btnNewRecord.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(189)))), ((int)(((byte)(242)))));
     this.btnNewRecord.FlatAppearance.BorderSize = 0;
     this.btnNewRecord.FlatAppearance.MouseOverBackColor = System.Drawing.Color.MediumAquamarine;
     this.btnNewRecord.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.btnNewRecord.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnNewRecord.ForeColor = System.Drawing.Color.White;
     this.btnNewRecord.Image = ((System.Drawing.Image)(resources.GetObject("btnNewRecord.Image")));
     this.btnNewRecord.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnNewRecord.Location = new System.Drawing.Point(161, 492);
     this.btnNewRecord.Name = "btnNewRecord";
     this.btnNewRecord.Size = new System.Drawing.Size(106, 36);
     this.btnNewRecord.TabIndex = 187;
     this.btnNewRecord.TabStop = false;
     this.btnNewRecord.Text = "New";
     this.btnNewRecord.UseVisualStyleBackColor = false;
     this.btnNewRecord.Click += new System.EventHandler(this.btnNewRecord_Click);
     //
     // tabPage2
     //
     this.tabPage2.BackColor = System.Drawing.Color.White;
     this.tabPage2.Controls.Add(this.GridSaleDetails);
     this.tabPage2.Controls.Add(this.label40);
     this.tabPage2.Controls.Add(this.label55);
     this.tabPage2.Controls.Add(this.EndDate);
     this.tabPage2.Controls.Add(this.StartDate);
     this.tabPage2.Controls.Add(this.btnSearch);
     this.tabPage2.Controls.Add(this.btnPrint);
     this.tabPage2.Controls.Add(this.label6);
     this.tabPage2.Controls.Add(this.label33);
     this.tabPage2.Controls.Add(this.ddItems);
     this.tabPage2.Controls.Add(this.ddSupplier);
     this.tabPage2.Controls.Add(this.txtCusTotalAmount);
     this.tabPage2.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tabPage2.Location = new System.Drawing.Point(4, 34);
     this.tabPage2.Name = "tabPage2";
     this.tabPage2.Size = new System.Drawing.Size(1170, 539);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text = "View Purchases";
     //
     // GridSaleDetails
     //
     this.GridSaleDetails.AllowUserToAddRows = false;
     this.GridSaleDetails.AllowUserToDeleteRows = false;
     this.GridSaleDetails.BackgroundColor = System.Drawing.Color.White;
     dataGridViewCellStyle43.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle43.BackColor = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle43.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle43.ForeColor = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle43.SelectionBackColor = System.Drawing.Color.OrangeRed;
     dataGridViewCellStyle43.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle43.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.GridSaleDetails.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle43;
     this.GridSaleDetails.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.GridSaleDetails.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.dataGridViewTextBoxColumn1,
     this.dataGridViewTextBoxColumn2,
     this.dataGridViewTextBoxColumn5,
     this.dataGridViewTextBoxColumn6,
     this.dataGridViewTextBoxColumn7,
     this.dataGridViewTextBoxColumn8,
     this.dataGridViewTextBoxColumn23,
     this.Column1,
     this.Column2});
     this.GridSaleDetails.Location = new System.Drawing.Point(9, 68);
     this.GridSaleDetails.Name = "GridSaleDetails";
     this.GridSaleDetails.Size = new System.Drawing.Size(1153, 433);
     this.GridSaleDetails.TabIndex = 160;
     this.GridSaleDetails.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.GridSaleDetails_CellContentClick);
     //
     // dataGridViewTextBoxColumn1
     //
     this.dataGridViewTextBoxColumn1.HeaderText = "Invoice ID";
     this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
     this.dataGridViewTextBoxColumn1.Width = 70;
     //
     // dataGridViewTextBoxColumn2
     //
     this.dataGridViewTextBoxColumn2.HeaderText = "Date";
     this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
     this.dataGridViewTextBoxColumn2.Width = 130;
     //
     // dataGridViewTextBoxColumn5
     //
     this.dataGridViewTextBoxColumn5.HeaderText = "Supplier Name";
     this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
     this.dataGridViewTextBoxColumn5.Width = 200;
     //
     // dataGridViewTextBoxColumn6
     //
     dataGridViewCellStyle44.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     this.dataGridViewTextBoxColumn6.DefaultCellStyle = dataGridViewCellStyle44;
     this.dataGridViewTextBoxColumn6.HeaderText = "Item Name";
     this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
     this.dataGridViewTextBoxColumn6.Width = 250;
     //
     // dataGridViewTextBoxColumn7
     //
     dataGridViewCellStyle45.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.dataGridViewTextBoxColumn7.DefaultCellStyle = dataGridViewCellStyle45;
     this.dataGridViewTextBoxColumn7.HeaderText = "Quantity";
     this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
     this.dataGridViewTextBoxColumn7.Width = 90;
     //
     // dataGridViewTextBoxColumn8
     //
     this.dataGridViewTextBoxColumn8.HeaderText = "Rate";
     this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
     this.dataGridViewTextBoxColumn8.Width = 90;
     //
     // dataGridViewTextBoxColumn23
     //
     dataGridViewCellStyle46.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle46.ForeColor = System.Drawing.Color.Black;
     this.dataGridViewTextBoxColumn23.DefaultCellStyle = dataGridViewCellStyle46;
     this.dataGridViewTextBoxColumn23.HeaderText = "SubTotal Amount";
     this.dataGridViewTextBoxColumn23.Name = "dataGridViewTextBoxColumn23";
     this.dataGridViewTextBoxColumn23.Resizable = System.Windows.Forms.DataGridViewTriState.True;
     this.dataGridViewTextBoxColumn23.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.dataGridViewTextBoxColumn23.Width = 150;
     //
     // Column1
     //
     this.Column1.HeaderText = "Edit";
     this.Column1.Name = "Column1";
     this.Column1.Width = 60;
     //
     // Column2
     //
     this.Column2.HeaderText = "Delete";
     this.Column2.Name = "Column2";
     this.Column2.Width = 60;
     //
     // label40
     //
     this.label40.AutoSize = true;
     this.label40.Font = new System.Drawing.Font("Segoe UI Light", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label40.ForeColor = System.Drawing.Color.Black;
     this.label40.Location = new System.Drawing.Point(171, 8);
     this.label40.Name = "label40";
     this.label40.Size = new System.Drawing.Size(72, 21);
     this.label40.TabIndex = 147;
     this.label40.Text = "End Date";
     //
     // label55
     //
     this.label55.AutoSize = true;
     this.label55.Font = new System.Drawing.Font("Segoe UI Light", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label55.ForeColor = System.Drawing.Color.Black;
     this.label55.Location = new System.Drawing.Point(12, 8);
     this.label55.Name = "label55";
     this.label55.Size = new System.Drawing.Size(78, 21);
     this.label55.TabIndex = 146;
     this.label55.Text = "Start Date";
     //
     // EndDate
     //
     this.EndDate.CalendarFont = new System.Drawing.Font("Segoe UI Semibold", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.EndDate.CustomFormat = "dd/MM/yyyy";
     this.EndDate.Font = new System.Drawing.Font("Segoe UI Semibold", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.EndDate.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.EndDate.Location = new System.Drawing.Point(146, 34);
     this.EndDate.Name = "EndDate";
     this.EndDate.Size = new System.Drawing.Size(128, 29);
     this.EndDate.TabIndex = 145;
     //
     // StartDate
     //
     this.StartDate.CalendarFont = new System.Drawing.Font("Segoe UI Semibold", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.StartDate.CustomFormat = "dd/MM/yyyy";
     this.StartDate.Font = new System.Drawing.Font("Segoe UI Semibold", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.StartDate.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.StartDate.Location = new System.Drawing.Point(16, 34);
     this.StartDate.Name = "StartDate";
     this.StartDate.Size = new System.Drawing.Size(124, 29);
     this.StartDate.TabIndex = 144;
     //
     // btnSearch
     //
     this.btnSearch.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(188)))), ((int)(((byte)(155)))));
     this.btnSearch.FlatAppearance.BorderColor = System.Drawing.Color.DarkGray;
     this.btnSearch.FlatAppearance.MouseOverBackColor = System.Drawing.Color.SeaGreen;
     this.btnSearch.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.btnSearch.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnSearch.ForeColor = System.Drawing.Color.White;
     this.btnSearch.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnSearch.Location = new System.Drawing.Point(651, 36);
     this.btnSearch.Name = "btnSearch";
     this.btnSearch.Size = new System.Drawing.Size(70, 29);
     this.btnSearch.TabIndex = 143;
     this.btnSearch.Text = "Search";
     this.btnSearch.UseVisualStyleBackColor = false;
     this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
     //
     // btnPrint
     //
     this.btnPrint.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(188)))), ((int)(((byte)(155)))));
     this.btnPrint.FlatAppearance.BorderColor = System.Drawing.Color.DarkGray;
     this.btnPrint.FlatAppearance.MouseOverBackColor = System.Drawing.Color.SeaGreen;
     this.btnPrint.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.btnPrint.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnPrint.ForeColor = System.Drawing.Color.White;
     this.btnPrint.Image = global::PHMS.Properties.Resources.print;
     this.btnPrint.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnPrint.Location = new System.Drawing.Point(727, 37);
     this.btnPrint.Name = "btnPrint";
     this.btnPrint.Size = new System.Drawing.Size(78, 28);
     this.btnPrint.TabIndex = 141;
     this.btnPrint.Text = "Print";
     this.btnPrint.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.btnPrint.UseVisualStyleBackColor = false;
     this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click_1);
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Font = new System.Drawing.Font("Segoe UI Light", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label6.ForeColor = System.Drawing.Color.Black;
     this.label6.Location = new System.Drawing.Point(459, 7);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(89, 21);
     this.label6.TabIndex = 140;
     this.label6.Text = "Select Items";
     //
     // label33
     //
     this.label33.AutoSize = true;
     this.label33.Font = new System.Drawing.Font("Segoe UI Light", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label33.ForeColor = System.Drawing.Color.Black;
     this.label33.Location = new System.Drawing.Point(276, 7);
     this.label33.Name = "label33";
     this.label33.Size = new System.Drawing.Size(107, 21);
     this.label33.TabIndex = 140;
     this.label33.Text = "Select Supplier";
     //
     // ddItems
     //
     this.ddItems.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;
     this.ddItems.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
     this.ddItems.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(255)))));
     this.ddItems.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.ddItems.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ddItems.FormattingEnabled = true;
     this.ddItems.Location = new System.Drawing.Point(463, 35);
     this.ddItems.Name = "ddItems";
     this.ddItems.Size = new System.Drawing.Size(177, 29);
     this.ddItems.TabIndex = 139;
     //
     // ddSupplier
     //
     this.ddSupplier.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;
     this.ddSupplier.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
     this.ddSupplier.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(255)))));
     this.ddSupplier.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.ddSupplier.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ddSupplier.FormattingEnabled = true;
     this.ddSupplier.Location = new System.Drawing.Point(280, 34);
     this.ddSupplier.Name = "ddSupplier";
     this.ddSupplier.Size = new System.Drawing.Size(177, 29);
     this.ddSupplier.TabIndex = 139;
     //
     // txtCusTotalAmount
     //
     this.txtCusTotalAmount.BackColor = System.Drawing.Color.White;
     this.txtCusTotalAmount.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtCusTotalAmount.Location = new System.Drawing.Point(959, 507);
     this.txtCusTotalAmount.Name = "txtCusTotalAmount";
     this.txtCusTotalAmount.Size = new System.Drawing.Size(207, 29);
     this.txtCusTotalAmount.TabIndex = 107;
     this.txtCusTotalAmount.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // lbCusId
     //
     this.lbCusId.AutoSize = true;
     this.lbCusId.BackColor = System.Drawing.Color.Transparent;
     this.lbCusId.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lbCusId.ForeColor = System.Drawing.Color.Transparent;
     this.lbCusId.Location = new System.Drawing.Point(7, 751);
     this.lbCusId.Name = "lbCusId";
     this.lbCusId.Size = new System.Drawing.Size(44, 15);
     this.lbCusId.TabIndex = 132;
     this.lbCusId.Text = "label15";
     //
     // InvPrintDialog
     //
     this.InvPrintDialog.UseEXDialog = true;
     //
     // InvPrintPreviewDialog
     //
     this.InvPrintPreviewDialog.AutoScrollMargin = new System.Drawing.Size(0, 0);
     this.InvPrintPreviewDialog.AutoScrollMinSize = new System.Drawing.Size(0, 0);
     this.InvPrintPreviewDialog.ClientSize = new System.Drawing.Size(400, 300);
     this.InvPrintPreviewDialog.Enabled = true;
     this.InvPrintPreviewDialog.Icon = ((System.Drawing.Icon)(resources.GetObject("InvPrintPreviewDialog.Icon")));
     this.InvPrintPreviewDialog.Name = "InvPrintPreviewDialog";
     this.InvPrintPreviewDialog.Visible = false;
     //
     // pnlMain
     //
     this.pnlMain.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pnlMain.Controls.Add(this.panel2);
     this.pnlMain.Dock = System.Windows.Forms.DockStyle.Fill;
     this.pnlMain.Location = new System.Drawing.Point(0, 0);
     this.pnlMain.Name = "pnlMain";
     this.pnlMain.Size = new System.Drawing.Size(1182, 628);
     this.pnlMain.TabIndex = 175;
     //
     // panel2
     //
     this.panel2.BackColor = System.Drawing.Color.LightSkyBlue;
     this.panel2.Controls.Add(this.btnClose);
     this.panel2.Controls.Add(this.label18);
     this.panel2.Location = new System.Drawing.Point(11, 7);
     this.panel2.Name = "panel2";
     this.panel2.Size = new System.Drawing.Size(1162, 41);
     this.panel2.TabIndex = 177;
     //
     // btnClose
     //
     this.btnClose.BackColor = System.Drawing.Color.Transparent;
     this.btnClose.BackgroundImage = global::PHMS.Properties.Resources.close_2;
     this.btnClose.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
     this.btnClose.FlatAppearance.BorderSize = 0;
     this.btnClose.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Red;
     this.btnClose.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.btnClose.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnClose.ForeColor = System.Drawing.Color.Black;
     this.btnClose.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.btnClose.Location = new System.Drawing.Point(1123, 0);
     this.btnClose.Name = "btnClose";
     this.btnClose.Size = new System.Drawing.Size(39, 41);
     this.btnClose.TabIndex = 174;
     this.btnClose.UseVisualStyleBackColor = false;
     this.btnClose.Click += new System.EventHandler(this.btnClose_Click_1);
     //
     // label18
     //
     this.label18.Font = new System.Drawing.Font("Segoe UI", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label18.ForeColor = System.Drawing.Color.White;
     this.label18.Location = new System.Drawing.Point(371, 0);
     this.label18.Name = "label18";
     this.label18.Size = new System.Drawing.Size(310, 39);
     this.label18.TabIndex = 3;
     this.label18.Text = "Purchase Form";
     this.label18.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // label47
     //
     this.label47.AutoSize = true;
     this.label47.Font = new System.Drawing.Font("Segoe UI Light", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label47.ForeColor = System.Drawing.Color.Black;
     this.label47.Location = new System.Drawing.Point(23, 20);
     this.label47.Name = "label47";
     this.label47.Size = new System.Drawing.Size(0, 21);
     this.label47.TabIndex = 93;
     //
     // button7
     //
     this.button7.Location = new System.Drawing.Point(0, 0);
     this.button7.Name = "button7";
     this.button7.Size = new System.Drawing.Size(75, 23);
     this.button7.TabIndex = 0;
     //
     // button5
     //
     this.button5.Location = new System.Drawing.Point(0, 0);
     this.button5.Name = "button5";
     this.button5.Size = new System.Drawing.Size(75, 23);
     this.button5.TabIndex = 0;
     //
     // comboGetItem
     //
     this.comboGetItem.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;
     this.comboGetItem.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
     this.comboGetItem.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(255)))));
     this.comboGetItem.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.comboGetItem.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboGetItem.FormattingEnabled = true;
     this.comboGetItem.Items.AddRange(new object[] {
     "Cotton Cake",
     "Cotton Oil",
     "Cotton Dirty",
     "Cotton Seed"});
     this.comboGetItem.Location = new System.Drawing.Point(19, 49);
     this.comboGetItem.Name = "comboGetItem";
     this.comboGetItem.Size = new System.Drawing.Size(254, 29);
     this.comboGetItem.TabIndex = 141;
     //
     // dataGridViewTextBoxColumn16
     //
     dataGridViewCellStyle47.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle47.ForeColor = System.Drawing.Color.Black;
     this.dataGridViewTextBoxColumn16.DefaultCellStyle = dataGridViewCellStyle47;
     this.dataGridViewTextBoxColumn16.HeaderText = "SubTotal Amount";
     this.dataGridViewTextBoxColumn16.Name = "dataGridViewTextBoxColumn16";
     this.dataGridViewTextBoxColumn16.Resizable = System.Windows.Forms.DataGridViewTriState.True;
     this.dataGridViewTextBoxColumn16.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     this.dataGridViewTextBoxColumn16.Width = 130;
     //
     // dataGridViewTextBoxColumn15
     //
     dataGridViewCellStyle48.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.dataGridViewTextBoxColumn15.DefaultCellStyle = dataGridViewCellStyle48;
     this.dataGridViewTextBoxColumn15.HeaderText = "Weight";
     this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15";
     this.dataGridViewTextBoxColumn15.Width = 110;
     //
     // dataGridViewTextBoxColumn14
     //
     this.dataGridViewTextBoxColumn14.HeaderText = "Rate";
     this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14";
     this.dataGridViewTextBoxColumn14.Width = 110;
     //
     // dataGridViewTextBoxColumn13
     //
     dataGridViewCellStyle49.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.dataGridViewTextBoxColumn13.DefaultCellStyle = dataGridViewCellStyle49;
     this.dataGridViewTextBoxColumn13.HeaderText = "Quantity";
     this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13";
     this.dataGridViewTextBoxColumn13.Width = 110;
     //
     // dataGridViewTextBoxColumn12
     //
     dataGridViewCellStyle50.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     this.dataGridViewTextBoxColumn12.DefaultCellStyle = dataGridViewCellStyle50;
     this.dataGridViewTextBoxColumn12.HeaderText = "Item Name";
     this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12";
     this.dataGridViewTextBoxColumn12.Width = 370;
     //
     // Column13
     //
     this.Column13.HeaderText = "Item Code";
     this.Column13.Name = "Column13";
     //
     // dataGridViewTextBoxColumn11
     //
     this.dataGridViewTextBoxColumn11.HeaderText = "Customer Name";
     this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11";
     this.dataGridViewTextBoxColumn11.Width = 180;
     //
     // dataGridViewTextBoxColumn10
     //
     this.dataGridViewTextBoxColumn10.HeaderText = "Date";
     this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10";
     this.dataGridViewTextBoxColumn10.Width = 120;
     //
     // dataGridViewTextBoxColumn9
     //
     this.dataGridViewTextBoxColumn9.HeaderText = "Invoice ID";
     this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
     this.dataGridViewTextBoxColumn9.Width = 70;
     //
     // frmPurchases
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.White;
     this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.ClientSize = new System.Drawing.Size(1182, 628);
     this.Controls.Add(this.lbCusId);
     this.Controls.Add(this.tabControl1);
     this.Controls.Add(this.pnlMain);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Name = "frmPurchases";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "frmCottonCake";
     this.Load += new System.EventHandler(this.frmCottonCake_Load);
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.tabPage1.PerformLayout();
     this.panel3.ResumeLayout(false);
     this.panel3.PerformLayout();
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridViewShopingCart)).EndInit();
     this.tabPage2.ResumeLayout(false);
     this.tabPage2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.GridSaleDetails)).EndInit();
     this.pnlMain.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #43
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmQRCode));
     this.btnEncode = new System.Windows.Forms.Button();
     this.txtEncodeInfo = new System.Windows.Forms.TextBox();
     this.txtDecodeInfo = new System.Windows.Forms.TextBox();
     this.btnDecode = new System.Windows.Forms.Button();
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     this.ckbEncode = new System.Windows.Forms.CheckBox();
     this.txtSourceStr = new System.Windows.Forms.TextBox();
     this.btnQRImage = new System.Windows.Forms.Button();
     this.ckbLogo = new System.Windows.Forms.CheckBox();
     this.btnPrint = new System.Windows.Forms.Button();
     this.printDocument1 = new System.Drawing.Printing.PrintDocument();
     this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog();
     this.printDialog1 = new System.Windows.Forms.PrintDialog();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // btnEncode
     //
     this.btnEncode.Location = new System.Drawing.Point(24, 14);
     this.btnEncode.Name = "btnEncode";
     this.btnEncode.Size = new System.Drawing.Size(75, 23);
     this.btnEncode.TabIndex = 0;
     this.btnEncode.Text = "生成二维码";
     this.btnEncode.UseVisualStyleBackColor = true;
     this.btnEncode.Click += new System.EventHandler(this.btnEncode_Click);
     //
     // txtEncodeInfo
     //
     this.txtEncodeInfo.Location = new System.Drawing.Point(105, 14);
     this.txtEncodeInfo.Name = "txtEncodeInfo";
     this.txtEncodeInfo.Size = new System.Drawing.Size(400, 21);
     this.txtEncodeInfo.TabIndex = 1;
     this.txtEncodeInfo.Text = "meeting://book?code=c4bc7af4-618e-4aed-a014-fd089b2";
     //
     // txtDecodeInfo
     //
     this.txtDecodeInfo.Location = new System.Drawing.Point(105, 378);
     this.txtDecodeInfo.Name = "txtDecodeInfo";
     this.txtDecodeInfo.ReadOnly = true;
     this.txtDecodeInfo.Size = new System.Drawing.Size(400, 21);
     this.txtDecodeInfo.TabIndex = 3;
     //
     // btnDecode
     //
     this.btnDecode.Location = new System.Drawing.Point(24, 391);
     this.btnDecode.Name = "btnDecode";
     this.btnDecode.Size = new System.Drawing.Size(75, 23);
     this.btnDecode.TabIndex = 2;
     this.btnDecode.Text = "解码二维码";
     this.btnDecode.UseVisualStyleBackColor = true;
     this.btnDecode.Click += new System.EventHandler(this.btnDecode_Click);
     //
     // pictureBox1
     //
     this.pictureBox1.Location = new System.Drawing.Point(140, 47);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new System.Drawing.Size(300, 300);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox1.TabIndex = 4;
     this.pictureBox1.TabStop = false;
     //
     // ckbEncode
     //
     this.ckbEncode.AutoSize = true;
     this.ckbEncode.Location = new System.Drawing.Point(51, 47);
     this.ckbEncode.Name = "ckbEncode";
     this.ckbEncode.Size = new System.Drawing.Size(48, 16);
     this.ckbEncode.TabIndex = 5;
     this.ckbEncode.Text = "加密";
     this.ckbEncode.UseVisualStyleBackColor = true;
     //
     // txtSourceStr
     //
     this.txtSourceStr.Location = new System.Drawing.Point(105, 405);
     this.txtSourceStr.Name = "txtSourceStr";
     this.txtSourceStr.ReadOnly = true;
     this.txtSourceStr.Size = new System.Drawing.Size(400, 21);
     this.txtSourceStr.TabIndex = 7;
     //
     // btnQRImage
     //
     this.btnQRImage.Location = new System.Drawing.Point(24, 182);
     this.btnQRImage.Name = "btnQRImage";
     this.btnQRImage.Size = new System.Drawing.Size(75, 23);
     this.btnQRImage.TabIndex = 8;
     this.btnQRImage.Text = "选择图片";
     this.btnQRImage.UseVisualStyleBackColor = true;
     this.btnQRImage.Click += new System.EventHandler(this.btnQRImage_Click);
     //
     // ckbLogo
     //
     this.ckbLogo.AutoSize = true;
     this.ckbLogo.Location = new System.Drawing.Point(51, 69);
     this.ckbLogo.Name = "ckbLogo";
     this.ckbLogo.Size = new System.Drawing.Size(48, 16);
     this.ckbLogo.TabIndex = 9;
     this.ckbLogo.Text = "Logo";
     this.ckbLogo.UseVisualStyleBackColor = true;
     //
     // btnPrint
     //
     this.btnPrint.Location = new System.Drawing.Point(24, 222);
     this.btnPrint.Name = "btnPrint";
     this.btnPrint.Size = new System.Drawing.Size(75, 23);
     this.btnPrint.TabIndex = 10;
     this.btnPrint.Text = "打印";
     this.btnPrint.UseVisualStyleBackColor = true;
     this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click);
     //
     // printDocument1
     //
     this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage);
     //
     // printPreviewDialog1
     //
     this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0);
     this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0);
     this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300);
     this.printPreviewDialog1.Enabled = true;
     this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon")));
     this.printPreviewDialog1.Name = "printPreviewDialog1";
     this.printPreviewDialog1.Visible = false;
     //
     // printDialog1
     //
     this.printDialog1.UseEXDialog = true;
     //
     // FrmQRCode
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(526, 435);
     this.Controls.Add(this.btnPrint);
     this.Controls.Add(this.ckbLogo);
     this.Controls.Add(this.btnQRImage);
     this.Controls.Add(this.txtSourceStr);
     this.Controls.Add(this.ckbEncode);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.txtDecodeInfo);
     this.Controls.Add(this.btnDecode);
     this.Controls.Add(this.txtEncodeInfo);
     this.Controls.Add(this.btnEncode);
     this.Name = "FrmQRCode";
     this.Text = "二维码";
     this.Load += new System.EventHandler(this.FrmQRCode_Load);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #44
0
        private void Print(LocalReport report)
        {
            CleanEstimate.Daten.ReportPrintDocument doc = new CleanEstimate.Daten.ReportPrintDocument(report);
            System.Windows.Forms.PrintDialog pdi = new System.Windows.Forms.PrintDialog();
            pdi.AllowSomePages = true;
            pdi.Document = doc;

            var result = pdi.ShowDialog();

            if (result == System.Windows.Forms.DialogResult.OK)
            {
                doc.Print();
            }
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     DevExpress.XtraCharts.XYDiagram xyDiagram1 = new DevExpress.XtraCharts.XYDiagram();
     DevExpress.XtraCharts.Series series1 = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel1 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     DevExpress.XtraCharts.PointOptions pointOptions1 = new DevExpress.XtraCharts.PointOptions();
     DevExpress.XtraCharts.Series series2 = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel2 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel3 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     DevExpress.XtraCharts.XYDiagram xyDiagram2 = new DevExpress.XtraCharts.XYDiagram();
     DevExpress.XtraCharts.Series series3 = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel4 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     DevExpress.XtraCharts.Series series4 = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel5 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel6 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     DevExpress.XtraCharts.XYDiagram xyDiagram3 = new DevExpress.XtraCharts.XYDiagram();
     DevExpress.XtraCharts.Series series5 = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel7 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     DevExpress.XtraCharts.Series series6 = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel8 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel9 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     DevExpress.XtraCharts.XYDiagram xyDiagram4 = new DevExpress.XtraCharts.XYDiagram();
     DevExpress.XtraCharts.Series series7 = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel10 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     DevExpress.XtraCharts.Series series8 = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel11 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel12 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     DevExpress.XtraCharts.XYDiagram xyDiagram5 = new DevExpress.XtraCharts.XYDiagram();
     DevExpress.XtraCharts.Series series9 = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel13 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     DevExpress.XtraCharts.Series series10 = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel14 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel15 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     DevExpress.XtraCharts.SimpleDiagram3D simpleDiagram3D1 = new DevExpress.XtraCharts.SimpleDiagram3D();
     DevExpress.XtraCharts.Series series11 = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.Pie3DSeriesLabel pie3DSeriesLabel1 = new DevExpress.XtraCharts.Pie3DSeriesLabel();
     DevExpress.XtraCharts.PiePointOptions piePointOptions1 = new DevExpress.XtraCharts.PiePointOptions();
     DevExpress.XtraCharts.Pie3DSeriesView pie3DSeriesView1 = new DevExpress.XtraCharts.Pie3DSeriesView();
     DevExpress.XtraCharts.Pie3DSeriesLabel pie3DSeriesLabel2 = new DevExpress.XtraCharts.Pie3DSeriesLabel();
     DevExpress.XtraCharts.Pie3DSeriesView pie3DSeriesView2 = new DevExpress.XtraCharts.Pie3DSeriesView();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel16 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ItemDetailReport));
     this.txtItemName = new DevExpress.XtraEditors.TextEdit();
     this.label1 = new System.Windows.Forms.Label();
     this.chartBar = new DevExpress.XtraCharts.ChartControl();
     this.tabControl1 = new DevExpress.XtraTab.XtraTabControl();
     this.tbSummary = new DevExpress.XtraTab.XtraTabPage();
     this.lblLastIssue = new System.Windows.Forms.Label();
     this.txtSOH = new System.Windows.Forms.Label();
     this.txtAMC = new System.Windows.Forms.Label();
     this.txtMOS = new System.Windows.Forms.Label();
     this.txtMin = new System.Windows.Forms.Label();
     this.txtMax = new System.Windows.Forms.Label();
     this.txtReorderAmount = new System.Windows.Forms.Label();
     this.txtExpiredAmount = new System.Windows.Forms.Label();
     this.txtNearExp = new System.Windows.Forms.Label();
     this.lblLastRec = new System.Windows.Forms.Label();
     this.label31 = new System.Windows.Forms.Label();
     this.label32 = new System.Windows.Forms.Label();
     this.lblstat = new System.Windows.Forms.Label();
     this.label30 = new System.Windows.Forms.Label();
     this.label9 = new System.Windows.Forms.Label();
     this.label8 = new System.Windows.Forms.Label();
     this.label7 = new System.Windows.Forms.Label();
     this.label6 = new System.Windows.Forms.Label();
     this.label5 = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.tbBinCard = new DevExpress.XtraTab.XtraTabPage();
     this.layoutControl2 = new DevExpress.XtraLayout.LayoutControl();
     this.printBinCard = new DevExpress.XtraPrinting.Control.PrintControl();
     this.label24 = new System.Windows.Forms.Label();
     this.lkBinCardWarehouse = new DevExpress.XtraEditors.LookUpEdit();
     this.layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup();
     this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
     this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem();
     this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
     this.emptySpaceItem3 = new DevExpress.XtraLayout.EmptySpaceItem();
     this.emptySpaceItem5 = new DevExpress.XtraLayout.EmptySpaceItem();
     this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
     this.tbClassicBinCard = new DevExpress.XtraTab.XtraTabPage();
     this.lkWarehouses = new DevExpress.XtraEditors.LookUpEdit();
     this.lkYear = new DevExpress.XtraEditors.LookUpEdit();
     this.lkProgramFilter = new DevExpress.XtraEditors.LookUpEdit();
     this.transactionGrid = new DevExpress.XtraGrid.GridControl();
     this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.tpDelete = new System.Windows.Forms.ToolStripMenuItem();
     this.gridViewBinCard = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colGRNF = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colDocType = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn15 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colManuf = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn16 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn17 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn18 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn19 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn20 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn21 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colUnitCost = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colTotalCost = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn24 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.label28 = new System.Windows.Forms.Label();
     this.tbSOHTrend = new DevExpress.XtraTab.XtraTabPage();
     this.groupSohDetail = new System.Windows.Forms.GroupBox();
     this.lkShowTable = new System.Windows.Forms.LinkLabel();
     this.label29 = new System.Windows.Forms.Label();
     this.tbAMCTrend = new DevExpress.XtraTab.XtraTabPage();
     this.lkDetailAmc = new System.Windows.Forms.LinkLabel();
     this.label34 = new System.Windows.Forms.Label();
     this.chartAmc = new DevExpress.XtraCharts.ChartControl();
     this.tbMOSTrend = new DevExpress.XtraTab.XtraTabPage();
     this.lkDetailMos = new System.Windows.Forms.LinkLabel();
     this.label35 = new System.Windows.Forms.Label();
     this.chartMOS = new DevExpress.XtraCharts.ChartControl();
     this.tbActivityTrend = new DevExpress.XtraTab.XtraTabPage();
     this.label36 = new System.Windows.Forms.Label();
     this.chartComp = new DevExpress.XtraCharts.ChartControl();
     this.tbSSTrend = new DevExpress.XtraTab.XtraTabPage();
     this.label20 = new System.Windows.Forms.Label();
     this.lblTime = new System.Windows.Forms.Label();
     this.lblCurStatus = new System.Windows.Forms.Label();
     this.label19 = new System.Windows.Forms.Label();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.label10 = new System.Windows.Forms.Label();
     this.label11 = new System.Windows.Forms.Label();
     this.label12 = new System.Windows.Forms.Label();
     this.label13 = new System.Windows.Forms.Label();
     this.label14 = new System.Windows.Forms.Label();
     this.label15 = new System.Windows.Forms.Label();
     this.label16 = new System.Windows.Forms.Label();
     this.label18 = new System.Windows.Forms.Label();
     this.lblThreeStockout = new System.Windows.Forms.Label();
     this.lblSixStockOut = new System.Windows.Forms.Label();
     this.lblTwelveStockOut = new System.Windows.Forms.Label();
     this.lblThreeNearStock = new System.Windows.Forms.Label();
     this.lblSixNearStock = new System.Windows.Forms.Label();
     this.lblTwelveNear = new System.Windows.Forms.Label();
     this.lblThreeBelowMin = new System.Windows.Forms.Label();
     this.lblSixBelowMin = new System.Windows.Forms.Label();
     this.lblTwelveBelowMin = new System.Windows.Forms.Label();
     this.lblTwelveOverStock = new System.Windows.Forms.Label();
     this.lblSixOverStock = new System.Windows.Forms.Label();
     this.lblThreeOverStock = new System.Windows.Forms.Label();
     this.tbTransactions = new DevExpress.XtraTab.XtraTabPage();
     this.lblAvgIssues = new System.Windows.Forms.Label();
     this.lblAvgReceives = new System.Windows.Forms.Label();
     this.lblLastIssues = new System.Windows.Forms.Label();
     this.lblLastReceive = new System.Windows.Forms.Label();
     this.label23 = new System.Windows.Forms.Label();
     this.label22 = new System.Windows.Forms.Label();
     this.label21 = new System.Windows.Forms.Label();
     this.label17 = new System.Windows.Forms.Label();
     this.tbConsumptionTrend = new DevExpress.XtraTab.XtraTabPage();
     this.lkDetailCons = new System.Windows.Forms.LinkLabel();
     this.label33 = new System.Windows.Forms.Label();
     this.consuTrend = new DevExpress.XtraCharts.ChartControl();
     this.tbStockExpiryStatus = new DevExpress.XtraTab.XtraTabPage();
     this.chartPie = new DevExpress.XtraCharts.ChartControl();
     this.tbLogisticsSummary = new DevExpress.XtraTab.XtraTabPage();
     this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
     this.lookUpEdit1 = new DevExpress.XtraEditors.LookUpEdit();
     this.gridControl1 = new DevExpress.XtraGrid.GridControl();
     this.gridView3 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup();
     this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
     this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem();
     this.tbSOHLocation = new DevExpress.XtraTab.XtraTabPage();
     this.gridLocations = new DevExpress.XtraGrid.GridControl();
     this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colPalletNumber = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colPalletLocation = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.tbSOHPriceSummary = new DevExpress.XtraTab.XtraTabPage();
     this.gridSOHSummary = new DevExpress.XtraGrid.GridControl();
     this.gridView4 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumn14 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn12 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.lblItemID = new System.Windows.Forms.Label();
     this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage();
     this.dtDate = new CalendarLib.DateTimePickerEx();
     this.btnCancel = new DevExpress.XtraEditors.SimpleButton();
     this.chartControl1 = new DevExpress.XtraCharts.ChartControl();
     this.printDoc = new System.Drawing.Printing.PrintDocument();
     this.printDialog1 = new System.Windows.Forms.PrintDialog();
     this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
     this.txtitmName = new System.Windows.Forms.Label();
     this.label38 = new System.Windows.Forms.Label();
     this.lblBUnit = new System.Windows.Forms.Label();
     this.xpButton1 = new DevExpress.XtraEditors.SimpleButton();
     this.btnExport = new DevExpress.XtraEditors.SimpleButton();
     this.lblItemSerialNumber = new DevExpress.XtraEditors.LabelControl();
     ((System.ComponentModel.ISupportInitialize)(this.txtItemName.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartBar)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(xyDiagram1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tabControl1)).BeginInit();
     this.tabControl1.SuspendLayout();
     this.tbSummary.SuspendLayout();
     this.tbBinCard.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl2)).BeginInit();
     this.layoutControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lkBinCardWarehouse.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
     this.tbClassicBinCard.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lkWarehouses.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lkYear.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lkProgramFilter.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.transactionGrid)).BeginInit();
     this.contextMenuStrip1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewBinCard)).BeginInit();
     this.tbSOHTrend.SuspendLayout();
     this.tbAMCTrend.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.chartAmc)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(xyDiagram2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel6)).BeginInit();
     this.tbMOSTrend.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.chartMOS)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(xyDiagram3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel9)).BeginInit();
     this.tbActivityTrend.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.chartComp)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(xyDiagram4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel10)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel11)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel12)).BeginInit();
     this.tbSSTrend.SuspendLayout();
     this.tableLayoutPanel1.SuspendLayout();
     this.tbTransactions.SuspendLayout();
     this.tbConsumptionTrend.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.consuTrend)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(xyDiagram5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel13)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series10)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel14)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel15)).BeginInit();
     this.tbStockExpiryStatus.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.chartPie)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(simpleDiagram3D1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series11)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pie3DSeriesLabel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pie3DSeriesView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pie3DSeriesLabel2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pie3DSeriesView2)).BeginInit();
     this.tbLogisticsSummary.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
     this.layoutControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEdit1.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit();
     this.tbSOHLocation.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridLocations)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     this.tbSOHPriceSummary.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridSOHSummary)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel16)).BeginInit();
     this.SuspendLayout();
     //
     // txtItemName
     //
     this.txtItemName.Enabled = false;
     this.txtItemName.Location = new System.Drawing.Point(269, 21);
     this.txtItemName.Name = "txtItemName";
     this.txtItemName.Properties.Appearance.ForeColor = System.Drawing.Color.Black;
     this.txtItemName.Properties.Appearance.Options.UseForeColor = true;
     this.txtItemName.Size = new System.Drawing.Size(522, 20);
     this.txtItemName.TabIndex = 0;
     //
     // label1
     //
     this.label1.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label1.Location = new System.Drawing.Point(122, 25);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(117, 13);
     this.label1.TabIndex = 1;
     this.label1.Text = "Item Name";
     this.label1.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // chartBar
     //
     this.chartBar.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.chartBar.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253)))));
     xyDiagram1.AxisX.Range.ScrollingRange.SideMarginsEnabled = true;
     xyDiagram1.AxisX.Range.SideMarginsEnabled = true;
     xyDiagram1.AxisX.VisibleInPanesSerializable = "-1";
     xyDiagram1.AxisY.Range.ScrollingRange.SideMarginsEnabled = true;
     xyDiagram1.AxisY.Range.SideMarginsEnabled = true;
     xyDiagram1.AxisY.VisibleInPanesSerializable = "-1";
     this.chartBar.Diagram = xyDiagram1;
     this.chartBar.Location = new System.Drawing.Point(6, 42);
     this.chartBar.Name = "chartBar";
     sideBySideBarSeriesLabel1.LineVisible = true;
     pointOptions1.ValueNumericOptions.Format = DevExpress.XtraCharts.NumericFormat.Number;
     pointOptions1.ValueNumericOptions.Precision = 3;
     sideBySideBarSeriesLabel1.PointOptions = pointOptions1;
     series1.Label = sideBySideBarSeriesLabel1;
     series1.Name = "Series 1";
     sideBySideBarSeriesLabel2.LineVisible = true;
     series2.Label = sideBySideBarSeriesLabel2;
     series2.Name = "Series 2";
     this.chartBar.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
     series1,
     series2};
     sideBySideBarSeriesLabel3.LineVisible = true;
     this.chartBar.SeriesTemplate.Label = sideBySideBarSeriesLabel3;
     this.chartBar.Size = new System.Drawing.Size(960, 475);
     this.chartBar.TabIndex = 2;
     //
     // tabControl1
     //
     this.tabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.tabControl1.Location = new System.Drawing.Point(1, 63);
     this.tabControl1.Name = "tabControl1";
     this.tabControl1.SelectedTabPage = this.tbSummary;
     this.tabControl1.Size = new System.Drawing.Size(1046, 549);
     this.tabControl1.TabIndex = 3;
     this.tabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
     this.tbSummary,
     this.tbBinCard,
     this.tbClassicBinCard,
     this.tbSOHTrend,
     this.tbAMCTrend,
     this.tbMOSTrend,
     this.tbActivityTrend,
     this.tbSSTrend,
     this.tbTransactions,
     this.tbConsumptionTrend,
     this.tbStockExpiryStatus,
     this.tbLogisticsSummary,
     this.tbSOHLocation,
     this.tbSOHPriceSummary});
     this.tabControl1.SelectedPageChanged += new DevExpress.XtraTab.TabPageChangedEventHandler(this.tabControl1_SelectedPageChanged);
     //
     // tbSummary
     //
     this.tbSummary.Controls.Add(this.lblLastIssue);
     this.tbSummary.Controls.Add(this.txtSOH);
     this.tbSummary.Controls.Add(this.txtAMC);
     this.tbSummary.Controls.Add(this.txtMOS);
     this.tbSummary.Controls.Add(this.txtMin);
     this.tbSummary.Controls.Add(this.txtMax);
     this.tbSummary.Controls.Add(this.txtReorderAmount);
     this.tbSummary.Controls.Add(this.txtExpiredAmount);
     this.tbSummary.Controls.Add(this.txtNearExp);
     this.tbSummary.Controls.Add(this.lblLastRec);
     this.tbSummary.Controls.Add(this.label31);
     this.tbSummary.Controls.Add(this.label32);
     this.tbSummary.Controls.Add(this.lblstat);
     this.tbSummary.Controls.Add(this.label30);
     this.tbSummary.Controls.Add(this.label9);
     this.tbSummary.Controls.Add(this.label8);
     this.tbSummary.Controls.Add(this.label7);
     this.tbSummary.Controls.Add(this.label1);
     this.tbSummary.Controls.Add(this.label6);
     this.tbSummary.Controls.Add(this.txtItemName);
     this.tbSummary.Controls.Add(this.label5);
     this.tbSummary.Controls.Add(this.label4);
     this.tbSummary.Controls.Add(this.label3);
     this.tbSummary.Controls.Add(this.label2);
     this.tbSummary.Name = "tbSummary";
     this.tbSummary.PageVisible = false;
     this.tbSummary.Size = new System.Drawing.Size(1040, 521);
     this.tbSummary.Text = "Summary";
     //
     // lblLastIssue
     //
     this.lblLastIssue.AutoSize = true;
     this.lblLastIssue.Enabled = false;
     this.lblLastIssue.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblLastIssue.ForeColor = System.Drawing.Color.Black;
     this.lblLastIssue.Location = new System.Drawing.Point(266, 355);
     this.lblLastIssue.Name = "lblLastIssue";
     this.lblLastIssue.Size = new System.Drawing.Size(14, 13);
     this.lblLastIssue.TabIndex = 24;
     this.lblLastIssue.Text = "0";
     //
     // txtSOH
     //
     this.txtSOH.AutoSize = true;
     this.txtSOH.Enabled = false;
     this.txtSOH.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtSOH.ForeColor = System.Drawing.Color.Black;
     this.txtSOH.Location = new System.Drawing.Point(266, 85);
     this.txtSOH.Name = "txtSOH";
     this.txtSOH.Size = new System.Drawing.Size(14, 13);
     this.txtSOH.TabIndex = 25;
     this.txtSOH.Text = "0";
     //
     // txtAMC
     //
     this.txtAMC.AutoSize = true;
     this.txtAMC.Enabled = false;
     this.txtAMC.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtAMC.ForeColor = System.Drawing.Color.Black;
     this.txtAMC.Location = new System.Drawing.Point(266, 115);
     this.txtAMC.Name = "txtAMC";
     this.txtAMC.Size = new System.Drawing.Size(14, 13);
     this.txtAMC.TabIndex = 25;
     this.txtAMC.Text = "0";
     //
     // txtMOS
     //
     this.txtMOS.AutoSize = true;
     this.txtMOS.Enabled = false;
     this.txtMOS.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtMOS.ForeColor = System.Drawing.Color.Black;
     this.txtMOS.Location = new System.Drawing.Point(266, 145);
     this.txtMOS.Name = "txtMOS";
     this.txtMOS.Size = new System.Drawing.Size(14, 13);
     this.txtMOS.TabIndex = 25;
     this.txtMOS.Text = "0";
     //
     // txtMin
     //
     this.txtMin.AutoSize = true;
     this.txtMin.Enabled = false;
     this.txtMin.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtMin.ForeColor = System.Drawing.Color.Black;
     this.txtMin.Location = new System.Drawing.Point(266, 175);
     this.txtMin.Name = "txtMin";
     this.txtMin.Size = new System.Drawing.Size(14, 13);
     this.txtMin.TabIndex = 25;
     this.txtMin.Text = "0";
     //
     // txtMax
     //
     this.txtMax.AutoSize = true;
     this.txtMax.Enabled = false;
     this.txtMax.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtMax.ForeColor = System.Drawing.Color.Black;
     this.txtMax.Location = new System.Drawing.Point(266, 205);
     this.txtMax.Name = "txtMax";
     this.txtMax.Size = new System.Drawing.Size(14, 13);
     this.txtMax.TabIndex = 25;
     this.txtMax.Text = "0";
     //
     // txtReorderAmount
     //
     this.txtReorderAmount.AutoSize = true;
     this.txtReorderAmount.Enabled = false;
     this.txtReorderAmount.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtReorderAmount.ForeColor = System.Drawing.Color.Black;
     this.txtReorderAmount.Location = new System.Drawing.Point(266, 235);
     this.txtReorderAmount.Name = "txtReorderAmount";
     this.txtReorderAmount.Size = new System.Drawing.Size(14, 13);
     this.txtReorderAmount.TabIndex = 25;
     this.txtReorderAmount.Text = "0";
     //
     // txtExpiredAmount
     //
     this.txtExpiredAmount.AutoSize = true;
     this.txtExpiredAmount.Enabled = false;
     this.txtExpiredAmount.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtExpiredAmount.ForeColor = System.Drawing.Color.Black;
     this.txtExpiredAmount.Location = new System.Drawing.Point(266, 265);
     this.txtExpiredAmount.Name = "txtExpiredAmount";
     this.txtExpiredAmount.Size = new System.Drawing.Size(14, 13);
     this.txtExpiredAmount.TabIndex = 25;
     this.txtExpiredAmount.Text = "0";
     //
     // txtNearExp
     //
     this.txtNearExp.AutoSize = true;
     this.txtNearExp.Enabled = false;
     this.txtNearExp.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtNearExp.ForeColor = System.Drawing.Color.Black;
     this.txtNearExp.Location = new System.Drawing.Point(266, 295);
     this.txtNearExp.Name = "txtNearExp";
     this.txtNearExp.Size = new System.Drawing.Size(14, 13);
     this.txtNearExp.TabIndex = 25;
     this.txtNearExp.Text = "0";
     //
     // lblLastRec
     //
     this.lblLastRec.AutoSize = true;
     this.lblLastRec.Enabled = false;
     this.lblLastRec.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblLastRec.ForeColor = System.Drawing.Color.Black;
     this.lblLastRec.Location = new System.Drawing.Point(266, 325);
     this.lblLastRec.Name = "lblLastRec";
     this.lblLastRec.Size = new System.Drawing.Size(14, 13);
     this.lblLastRec.TabIndex = 25;
     this.lblLastRec.Text = "0";
     //
     // label31
     //
     this.label31.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label31.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label31.Location = new System.Drawing.Point(136, 355);
     this.label31.Name = "label31";
     this.label31.Size = new System.Drawing.Size(103, 13);
     this.label31.TabIndex = 22;
     this.label31.Text = "Last Issued Date";
     this.label31.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // label32
     //
     this.label32.AutoSize = true;
     this.label32.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label32.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label32.Location = new System.Drawing.Point(122, 325);
     this.label32.Name = "label32";
     this.label32.Size = new System.Drawing.Size(117, 13);
     this.label32.TabIndex = 23;
     this.label32.Text = "Last Received Date";
     this.label32.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // lblstat
     //
     this.lblstat.AutoSize = true;
     this.lblstat.Enabled = false;
     this.lblstat.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblstat.ForeColor = System.Drawing.Color.Black;
     this.lblstat.Location = new System.Drawing.Point(266, 55);
     this.lblstat.Name = "lblstat";
     this.lblstat.Size = new System.Drawing.Size(14, 13);
     this.lblstat.TabIndex = 21;
     this.lblstat.Text = "0";
     //
     // label30
     //
     this.label30.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label30.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label30.Location = new System.Drawing.Point(109, 55);
     this.label30.Name = "label30";
     this.label30.Size = new System.Drawing.Size(130, 13);
     this.label30.TabIndex = 20;
     this.label30.Text = "Current Status";
     this.label30.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // label9
     //
     this.label9.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label9.Location = new System.Drawing.Point(136, 295);
     this.label9.Name = "label9";
     this.label9.Size = new System.Drawing.Size(103, 13);
     this.label9.TabIndex = 17;
     this.label9.Text = "Near Expiry Amount";
     this.label9.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // label8
     //
     this.label8.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label8.Location = new System.Drawing.Point(141, 265);
     this.label8.Name = "label8";
     this.label8.Size = new System.Drawing.Size(98, 13);
     this.label8.TabIndex = 17;
     this.label8.Text = "Expired";
     this.label8.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // label7
     //
     this.label7.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label7.Location = new System.Drawing.Point(79, 235);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(160, 13);
     this.label7.TabIndex = 17;
     this.label7.Text = "Reorder Amount";
     this.label7.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // label6
     //
     this.label6.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label6.Location = new System.Drawing.Point(79, 145);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(160, 13);
     this.label6.TabIndex = 17;
     this.label6.Text = "Months Of Stock";
     this.label6.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // label5
     //
     this.label5.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label5.Location = new System.Drawing.Point(112, 205);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(127, 13);
     this.label5.TabIndex = 17;
     this.label5.Text = "Maximum Value";
     this.label5.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // label4
     //
     this.label4.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label4.Location = new System.Drawing.Point(91, 175);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(148, 13);
     this.label4.TabIndex = 16;
     this.label4.Text = "Minimum Value";
     this.label4.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // label3
     //
     this.label3.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label3.Location = new System.Drawing.Point(0, 115);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(239, 13);
     this.label3.TabIndex = 19;
     this.label3.Text = "Average Monthly Consumption";
     this.label3.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // label2
     //
     this.label2.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label2.Location = new System.Drawing.Point(114, 85);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(125, 13);
     this.label2.TabIndex = 18;
     this.label2.Text = "Stock On Hand";
     this.label2.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // tbBinCard
     //
     this.tbBinCard.Controls.Add(this.layoutControl2);
     this.tbBinCard.Name = "tbBinCard";
     this.tbBinCard.Size = new System.Drawing.Size(1040, 521);
     this.tbBinCard.Text = "Bin Card";
     //
     // layoutControl2
     //
     this.layoutControl2.Controls.Add(this.printBinCard);
     this.layoutControl2.Controls.Add(this.label24);
     this.layoutControl2.Controls.Add(this.lkBinCardWarehouse);
     this.layoutControl2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.layoutControl2.Location = new System.Drawing.Point(0, 0);
     this.layoutControl2.Name = "layoutControl2";
     this.layoutControl2.Root = this.layoutControlGroup2;
     this.layoutControl2.Size = new System.Drawing.Size(1040, 521);
     this.layoutControl2.TabIndex = 107;
     this.layoutControl2.Text = "layoutControl2";
     //
     // printBinCard
     //
     this.printBinCard.BackColor = System.Drawing.Color.Empty;
     this.printBinCard.ForeColor = System.Drawing.Color.Empty;
     this.printBinCard.IsMetric = false;
     this.printBinCard.Location = new System.Drawing.Point(12, 60);
     this.printBinCard.Name = "printBinCard";
     this.printBinCard.Size = new System.Drawing.Size(1016, 449);
     this.printBinCard.TabIndex = 104;
     this.printBinCard.TooltipFont = new System.Drawing.Font("Tahoma", 8.25F);
     //
     // label24
     //
     this.label24.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label24.Location = new System.Drawing.Point(12, 12);
     this.label24.Name = "label24";
     this.label24.Size = new System.Drawing.Size(224, 20);
     this.label24.TabIndex = 104;
     this.label24.Text = "Electronic Bin Card ";
     //
     // lkBinCardWarehouse
     //
     this.lkBinCardWarehouse.Location = new System.Drawing.Point(298, 36);
     this.lkBinCardWarehouse.Name = "lkBinCardWarehouse";
     this.lkBinCardWarehouse.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lkBinCardWarehouse.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Name", "Name")});
     this.lkBinCardWarehouse.Properties.DisplayMember = "Name";
     this.lkBinCardWarehouse.Properties.NullText = "Select Warehouse";
     this.lkBinCardWarehouse.Properties.ValueMember = "ID";
     this.lkBinCardWarehouse.Size = new System.Drawing.Size(129, 20);
     this.lkBinCardWarehouse.StyleController = this.layoutControl2;
     this.lkBinCardWarehouse.TabIndex = 106;
     this.lkBinCardWarehouse.EditValueChanged += new System.EventHandler(this.lkBinCardWarehouse_EditValueChanged);
     //
     // layoutControlGroup2
     //
     this.layoutControlGroup2.CustomizationFormText = "layoutControlGroup2";
     this.layoutControlGroup2.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
     this.layoutControlGroup2.GroupBordersVisible = false;
     this.layoutControlGroup2.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
     this.layoutControlItem4,
     this.emptySpaceItem2,
     this.layoutControlItem3,
     this.emptySpaceItem3,
     this.emptySpaceItem5,
     this.layoutControlItem5});
     this.layoutControlGroup2.Location = new System.Drawing.Point(0, 0);
     this.layoutControlGroup2.Name = "layoutControlGroup2";
     this.layoutControlGroup2.Size = new System.Drawing.Size(1040, 521);
     this.layoutControlGroup2.Text = "layoutControlGroup2";
     this.layoutControlGroup2.TextVisible = false;
     //
     // layoutControlItem4
     //
     this.layoutControlItem4.Control = this.label24;
     this.layoutControlItem4.CustomizationFormText = "layoutControlItem4";
     this.layoutControlItem4.Location = new System.Drawing.Point(0, 0);
     this.layoutControlItem4.Name = "layoutControlItem4";
     this.layoutControlItem4.Size = new System.Drawing.Size(228, 24);
     this.layoutControlItem4.Text = "layoutControlItem4";
     this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0);
     this.layoutControlItem4.TextToControlDistance = 0;
     this.layoutControlItem4.TextVisible = false;
     //
     // emptySpaceItem2
     //
     this.emptySpaceItem2.AllowHotTrack = false;
     this.emptySpaceItem2.CustomizationFormText = "emptySpaceItem2";
     this.emptySpaceItem2.Location = new System.Drawing.Point(228, 0);
     this.emptySpaceItem2.Name = "emptySpaceItem2";
     this.emptySpaceItem2.Size = new System.Drawing.Size(792, 24);
     this.emptySpaceItem2.Text = "emptySpaceItem2";
     this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0);
     //
     // layoutControlItem3
     //
     this.layoutControlItem3.Control = this.lkBinCardWarehouse;
     this.layoutControlItem3.CustomizationFormText = "Warehouse";
     this.layoutControlItem3.Location = new System.Drawing.Point(228, 24);
     this.layoutControlItem3.Name = "layoutControlItem3";
     this.layoutControlItem3.Size = new System.Drawing.Size(191, 24);
     this.layoutControlItem3.Text = "Warehouse";
     this.layoutControlItem3.TextSize = new System.Drawing.Size(55, 13);
     //
     // emptySpaceItem3
     //
     this.emptySpaceItem3.AllowHotTrack = false;
     this.emptySpaceItem3.CustomizationFormText = "emptySpaceItem3";
     this.emptySpaceItem3.Location = new System.Drawing.Point(0, 24);
     this.emptySpaceItem3.Name = "emptySpaceItem3";
     this.emptySpaceItem3.Size = new System.Drawing.Size(228, 24);
     this.emptySpaceItem3.Text = "emptySpaceItem3";
     this.emptySpaceItem3.TextSize = new System.Drawing.Size(0, 0);
     //
     // emptySpaceItem5
     //
     this.emptySpaceItem5.AllowHotTrack = false;
     this.emptySpaceItem5.CustomizationFormText = "emptySpaceItem5";
     this.emptySpaceItem5.Location = new System.Drawing.Point(419, 24);
     this.emptySpaceItem5.Name = "emptySpaceItem5";
     this.emptySpaceItem5.Size = new System.Drawing.Size(601, 24);
     this.emptySpaceItem5.Text = "emptySpaceItem5";
     this.emptySpaceItem5.TextSize = new System.Drawing.Size(0, 0);
     //
     // layoutControlItem5
     //
     this.layoutControlItem5.Control = this.printBinCard;
     this.layoutControlItem5.CustomizationFormText = "layoutControlItem5";
     this.layoutControlItem5.Location = new System.Drawing.Point(0, 48);
     this.layoutControlItem5.Name = "layoutControlItem5";
     this.layoutControlItem5.Size = new System.Drawing.Size(1020, 453);
     this.layoutControlItem5.Text = "layoutControlItem5";
     this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0);
     this.layoutControlItem5.TextToControlDistance = 0;
     this.layoutControlItem5.TextVisible = false;
     //
     // tbClassicBinCard
     //
     this.tbClassicBinCard.Controls.Add(this.lkWarehouses);
     this.tbClassicBinCard.Controls.Add(this.lkYear);
     this.tbClassicBinCard.Controls.Add(this.lkProgramFilter);
     this.tbClassicBinCard.Controls.Add(this.btnExport);
     this.tbClassicBinCard.Controls.Add(this.transactionGrid);
     this.tbClassicBinCard.Controls.Add(this.label28);
     this.tbClassicBinCard.Controls.Add(this.xpButton1);
     this.tbClassicBinCard.Name = "tbClassicBinCard";
     this.tbClassicBinCard.Size = new System.Drawing.Size(1040, 521);
     this.tbClassicBinCard.Text = "Classic Bin Card";
     //
     // lkWarehouses
     //
     this.lkWarehouses.Location = new System.Drawing.Point(208, 41);
     this.lkWarehouses.Name = "lkWarehouses";
     this.lkWarehouses.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lkWarehouses.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Name", "Name")});
     this.lkWarehouses.Properties.DisplayMember = "Name";
     this.lkWarehouses.Properties.NullText = "Select Warehouse";
     this.lkWarehouses.Properties.ValueMember = "ID";
     this.lkWarehouses.Size = new System.Drawing.Size(209, 20);
     this.lkWarehouses.TabIndex = 105;
     this.lkWarehouses.EditValueChanged += new System.EventHandler(this.lkWarehouses_EditValueChanged);
     //
     // lkYear
     //
     this.lkYear.Location = new System.Drawing.Point(423, 42);
     this.lkYear.Name = "lkYear";
     this.lkYear.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lkYear.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Year", "Year")});
     this.lkYear.Properties.DisplayMember = "Year";
     this.lkYear.Properties.ValueMember = "Year";
     this.lkYear.Size = new System.Drawing.Size(100, 20);
     this.lkYear.TabIndex = 104;
     this.lkYear.EditValueChanged += new System.EventHandler(this.lkYear_EditValueChanged);
     //
     // lkProgramFilter
     //
     this.lkProgramFilter.Location = new System.Drawing.Point(529, 42);
     this.lkProgramFilter.Name = "lkProgramFilter";
     this.lkProgramFilter.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lkProgramFilter.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("CompanyName", "Name")});
     this.lkProgramFilter.Properties.DisplayMember = "CompanyName";
     this.lkProgramFilter.Properties.NullText = "Select Program";
     this.lkProgramFilter.Properties.ValueMember = "ID";
     this.lkProgramFilter.Size = new System.Drawing.Size(209, 20);
     this.lkProgramFilter.TabIndex = 13;
     this.lkProgramFilter.Visible = false;
     this.lkProgramFilter.EditValueChanged += new System.EventHandler(this.LkProgramFilterEditValueChanged);
     //
     // transactionGrid
     //
     this.transactionGrid.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.transactionGrid.ContextMenuStrip = this.contextMenuStrip1;
     this.transactionGrid.Location = new System.Drawing.Point(7, 68);
     this.transactionGrid.MainView = this.gridViewBinCard;
     this.transactionGrid.Name = "transactionGrid";
     this.transactionGrid.Size = new System.Drawing.Size(1032, 449);
     this.transactionGrid.TabIndex = 12;
     this.transactionGrid.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewBinCard});
     //
     // contextMenuStrip1
     //
     this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.tpDelete});
     this.contextMenuStrip1.Name = "contextMenuStrip1";
     this.contextMenuStrip1.Size = new System.Drawing.Size(108, 26);
     //
     // tpDelete
     //
     this.tpDelete.Name = "tpDelete";
     this.tpDelete.Size = new System.Drawing.Size(107, 22);
     this.tpDelete.Text = "Delete";
     this.tpDelete.Click += new System.EventHandler(this.tpDelete_Click);
     //
     // gridViewBinCard
     //
     this.gridViewBinCard.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colGRNF,
     this.colDocType,
     this.gridColumn15,
     this.colManuf,
     this.gridColumn16,
     this.gridColumn17,
     this.gridColumn18,
     this.gridColumn19,
     this.gridColumn20,
     this.gridColumn21,
     this.colUnitCost,
     this.colTotalCost,
     this.gridColumn24});
     this.gridViewBinCard.GridControl = this.transactionGrid;
     this.gridViewBinCard.Name = "gridViewBinCard";
     this.gridViewBinCard.OptionsBehavior.Editable = false;
     this.gridViewBinCard.OptionsCustomization.AllowSort = false;
     this.gridViewBinCard.OptionsSelection.EnableAppearanceFocusedCell = false;
     this.gridViewBinCard.OptionsView.ShowGroupPanel = false;
     //
     // colGRNF
     //
     this.colGRNF.Caption = "GRNF";
     this.colGRNF.FieldName = "GRNF";
     this.colGRNF.Name = "colGRNF";
     this.colGRNF.Visible = true;
     this.colGRNF.VisibleIndex = 0;
     //
     // colDocType
     //
     this.colDocType.Caption = "Type";
     this.colDocType.FieldName = "DocType";
     this.colDocType.Name = "colDocType";
     this.colDocType.Visible = true;
     this.colDocType.VisibleIndex = 1;
     //
     // gridColumn15
     //
     this.gridColumn15.Caption = "Reference No";
     this.gridColumn15.FieldName = "RefNo";
     this.gridColumn15.Name = "gridColumn15";
     this.gridColumn15.Visible = true;
     this.gridColumn15.VisibleIndex = 2;
     //
     // colManuf
     //
     this.colManuf.Caption = "Manufacturer";
     this.colManuf.FieldName = "Manufacturer";
     this.colManuf.Name = "colManuf";
     this.colManuf.Visible = true;
     this.colManuf.VisibleIndex = 3;
     //
     // gridColumn16
     //
     this.gridColumn16.Caption = "Date";
     this.gridColumn16.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.gridColumn16.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.gridColumn16.FieldName = "Date";
     this.gridColumn16.Name = "gridColumn16";
     this.gridColumn16.Visible = true;
     this.gridColumn16.VisibleIndex = 4;
     //
     // gridColumn17
     //
     this.gridColumn17.Caption = "Batch No";
     this.gridColumn17.FieldName = "BatchNo";
     this.gridColumn17.Name = "gridColumn17";
     this.gridColumn17.Visible = true;
     this.gridColumn17.VisibleIndex = 5;
     //
     // gridColumn18
     //
     this.gridColumn18.Caption = "Expiry Date";
     this.gridColumn18.DisplayFormat.FormatString = "MM/yyyy";
     this.gridColumn18.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.gridColumn18.FieldName = "ExpDate";
     this.gridColumn18.Name = "gridColumn18";
     this.gridColumn18.Visible = true;
     this.gridColumn18.VisibleIndex = 6;
     //
     // gridColumn19
     //
     this.gridColumn19.Caption = "Received";
     this.gridColumn19.DisplayFormat.FormatString = "#,##0";
     this.gridColumn19.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.gridColumn19.FieldName = "Received";
     this.gridColumn19.Name = "gridColumn19";
     this.gridColumn19.Visible = true;
     this.gridColumn19.VisibleIndex = 7;
     //
     // gridColumn20
     //
     this.gridColumn20.Caption = "Issued";
     this.gridColumn20.DisplayFormat.FormatString = "#,##0";
     this.gridColumn20.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.gridColumn20.FieldName = "Issued";
     this.gridColumn20.Name = "gridColumn20";
     this.gridColumn20.Visible = true;
     this.gridColumn20.VisibleIndex = 8;
     //
     // gridColumn21
     //
     this.gridColumn21.Caption = "Balance";
     this.gridColumn21.DisplayFormat.FormatString = "#,##0";
     this.gridColumn21.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.gridColumn21.FieldName = "Balance";
     this.gridColumn21.Name = "gridColumn21";
     this.gridColumn21.Visible = true;
     this.gridColumn21.VisibleIndex = 9;
     //
     // colUnitCost
     //
     this.colUnitCost.Caption = "Unit Cost";
     this.colUnitCost.DisplayFormat.FormatString = "#,##0.#0";
     this.colUnitCost.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.colUnitCost.FieldName = "UnitPrice";
     this.colUnitCost.Name = "colUnitCost";
     this.colUnitCost.Visible = true;
     this.colUnitCost.VisibleIndex = 10;
     //
     // colTotalCost
     //
     this.colTotalCost.Caption = "Total Cost";
     this.colTotalCost.DisplayFormat.FormatString = "#,##0.#0";
     this.colTotalCost.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.colTotalCost.FieldName = "TotalPrice";
     this.colTotalCost.Name = "colTotalCost";
     this.colTotalCost.Visible = true;
     this.colTotalCost.VisibleIndex = 11;
     //
     // gridColumn24
     //
     this.gridColumn24.Caption = "To/From";
     this.gridColumn24.FieldName = "ToFrom";
     this.gridColumn24.Name = "gridColumn24";
     this.gridColumn24.Visible = true;
     this.gridColumn24.VisibleIndex = 12;
     //
     // label28
     //
     this.label28.AutoSize = true;
     this.label28.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label28.Location = new System.Drawing.Point(7, 15);
     this.label28.Name = "label28";
     this.label28.Size = new System.Drawing.Size(200, 23);
     this.label28.TabIndex = 10;
     this.label28.Text = "Electronic Bin Card ";
     //
     // tbSOHTrend
     //
     this.tbSOHTrend.Controls.Add(this.groupSohDetail);
     this.tbSOHTrend.Controls.Add(this.lkShowTable);
     this.tbSOHTrend.Controls.Add(this.label29);
     this.tbSOHTrend.Controls.Add(this.chartBar);
     this.tbSOHTrend.Name = "tbSOHTrend";
     this.tbSOHTrend.Padding = new System.Windows.Forms.Padding(3);
     this.tbSOHTrend.PageVisible = false;
     this.tbSOHTrend.Size = new System.Drawing.Size(1040, 521);
     this.tbSOHTrend.Text = "SOH Trend";
     //
     // groupSohDetail
     //
     this.groupSohDetail.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.groupSohDetail.Location = new System.Drawing.Point(-1, 37);
     this.groupSohDetail.Name = "groupSohDetail";
     this.groupSohDetail.Size = new System.Drawing.Size(968, 496);
     this.groupSohDetail.TabIndex = 13;
     this.groupSohDetail.TabStop = false;
     this.groupSohDetail.Text = "Show trend by month";
     this.groupSohDetail.Visible = false;
     //
     // lkShowTable
     //
     this.lkShowTable.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.lkShowTable.AutoSize = true;
     this.lkShowTable.Location = new System.Drawing.Point(1094, 12);
     this.lkShowTable.Name = "lkShowTable";
     this.lkShowTable.Size = new System.Drawing.Size(72, 13);
     this.lkShowTable.TabIndex = 12;
     this.lkShowTable.TabStop = true;
     this.lkShowTable.Text = "Show Table";
     this.lkShowTable.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.LkShowTableLinkClicked);
     //
     // label29
     //
     this.label29.AutoSize = true;
     this.label29.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label29.Location = new System.Drawing.Point(7, 15);
     this.label29.Name = "label29";
     this.label29.Size = new System.Drawing.Size(229, 23);
     this.label29.TabIndex = 11;
     this.label29.Text = "Trend - Stock On Hand";
     //
     // tbAMCTrend
     //
     this.tbAMCTrend.Controls.Add(this.lkDetailAmc);
     this.tbAMCTrend.Controls.Add(this.label34);
     this.tbAMCTrend.Controls.Add(this.chartAmc);
     this.tbAMCTrend.Name = "tbAMCTrend";
     this.tbAMCTrend.Padding = new System.Windows.Forms.Padding(3);
     this.tbAMCTrend.PageVisible = false;
     this.tbAMCTrend.Size = new System.Drawing.Size(1040, 521);
     this.tbAMCTrend.Text = "AMC Trend";
     //
     // lkDetailAmc
     //
     this.lkDetailAmc.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.lkDetailAmc.AutoSize = true;
     this.lkDetailAmc.Location = new System.Drawing.Point(1101, 22);
     this.lkDetailAmc.Name = "lkDetailAmc";
     this.lkDetailAmc.Size = new System.Drawing.Size(72, 13);
     this.lkDetailAmc.TabIndex = 14;
     this.lkDetailAmc.TabStop = true;
     this.lkDetailAmc.Text = "Show Table";
     //
     // label34
     //
     this.label34.AutoSize = true;
     this.label34.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label34.Location = new System.Drawing.Point(7, 15);
     this.label34.Name = "label34";
     this.label34.Size = new System.Drawing.Size(453, 23);
     this.label34.TabIndex = 12;
     this.label34.Text = "Trend - Average Monthly Consumption (AMC) ";
     //
     // chartAmc
     //
     this.chartAmc.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.chartAmc.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253)))));
     xyDiagram2.AxisX.Range.ScrollingRange.SideMarginsEnabled = true;
     xyDiagram2.AxisX.Range.SideMarginsEnabled = true;
     xyDiagram2.AxisX.VisibleInPanesSerializable = "-1";
     xyDiagram2.AxisY.Range.ScrollingRange.SideMarginsEnabled = true;
     xyDiagram2.AxisY.Range.SideMarginsEnabled = true;
     xyDiagram2.AxisY.VisibleInPanesSerializable = "-1";
     this.chartAmc.Diagram = xyDiagram2;
     this.chartAmc.Location = new System.Drawing.Point(4, 58);
     this.chartAmc.Name = "chartAmc";
     this.chartAmc.PaletteRepository.Add("Palette 1", new DevExpress.XtraCharts.Palette("Palette 1", DevExpress.XtraCharts.PaletteScaleMode.Repeat, new DevExpress.XtraCharts.PaletteEntry[0]));
     this.chartAmc.PaletteRepository.Add("Palette 2", new DevExpress.XtraCharts.Palette("Palette 2", DevExpress.XtraCharts.PaletteScaleMode.Repeat, new DevExpress.XtraCharts.PaletteEntry[0]));
     sideBySideBarSeriesLabel4.LineVisible = true;
     series3.Label = sideBySideBarSeriesLabel4;
     series3.Name = "Series 1";
     sideBySideBarSeriesLabel5.LineVisible = true;
     series4.Label = sideBySideBarSeriesLabel5;
     series4.Name = "Series 2";
     this.chartAmc.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
     series3,
     series4};
     sideBySideBarSeriesLabel6.LineVisible = true;
     this.chartAmc.SeriesTemplate.Label = sideBySideBarSeriesLabel6;
     this.chartAmc.Size = new System.Drawing.Size(963, 452);
     this.chartAmc.TabIndex = 3;
     //
     // tbMOSTrend
     //
     this.tbMOSTrend.Controls.Add(this.lkDetailMos);
     this.tbMOSTrend.Controls.Add(this.label35);
     this.tbMOSTrend.Controls.Add(this.chartMOS);
     this.tbMOSTrend.Name = "tbMOSTrend";
     this.tbMOSTrend.Padding = new System.Windows.Forms.Padding(3);
     this.tbMOSTrend.PageVisible = false;
     this.tbMOSTrend.Size = new System.Drawing.Size(1040, 521);
     this.tbMOSTrend.Text = "MOS Trend";
     //
     // lkDetailMos
     //
     this.lkDetailMos.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.lkDetailMos.AutoSize = true;
     this.lkDetailMos.Location = new System.Drawing.Point(1100, 24);
     this.lkDetailMos.Name = "lkDetailMos";
     this.lkDetailMos.Size = new System.Drawing.Size(72, 13);
     this.lkDetailMos.TabIndex = 16;
     this.lkDetailMos.TabStop = true;
     this.lkDetailMos.Text = "Show Table";
     //
     // label35
     //
     this.label35.AutoSize = true;
     this.label35.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label35.Location = new System.Drawing.Point(7, 15);
     this.label35.Name = "label35";
     this.label35.Size = new System.Drawing.Size(248, 23);
     this.label35.TabIndex = 12;
     this.label35.Text = "Trend - Months of Stock ";
     //
     // chartMOS
     //
     this.chartMOS.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.chartMOS.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253)))));
     xyDiagram3.AxisX.Range.ScrollingRange.SideMarginsEnabled = true;
     xyDiagram3.AxisX.Range.SideMarginsEnabled = true;
     xyDiagram3.AxisX.VisibleInPanesSerializable = "-1";
     xyDiagram3.AxisY.Range.ScrollingRange.SideMarginsEnabled = true;
     xyDiagram3.AxisY.Range.SideMarginsEnabled = true;
     xyDiagram3.AxisY.VisibleInPanesSerializable = "-1";
     this.chartMOS.Diagram = xyDiagram3;
     this.chartMOS.Location = new System.Drawing.Point(7, 48);
     this.chartMOS.Name = "chartMOS";
     this.chartMOS.PaletteName = "Palette 2";
     this.chartMOS.PaletteRepository.Add("Palette 1", new DevExpress.XtraCharts.Palette("Palette 1", DevExpress.XtraCharts.PaletteScaleMode.Repeat, new DevExpress.XtraCharts.PaletteEntry[] {
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(163)))), ((int)(((byte)(54))))), System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(163)))), ((int)(((byte)(54)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(73)))), ((int)(((byte)(51))))), System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(73)))), ((int)(((byte)(51))))))}));
     this.chartMOS.PaletteRepository.Add("Palette 2", new DevExpress.XtraCharts.Palette("Palette 2", DevExpress.XtraCharts.PaletteScaleMode.Repeat, new DevExpress.XtraCharts.PaletteEntry[] {
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(168)))), ((int)(((byte)(39))))), System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(168)))), ((int)(((byte)(39)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(214)))), ((int)(((byte)(44)))), ((int)(((byte)(35))))), System.Drawing.Color.FromArgb(((int)(((byte)(214)))), ((int)(((byte)(44)))), ((int)(((byte)(35))))))}));
     sideBySideBarSeriesLabel7.LineVisible = true;
     series5.Label = sideBySideBarSeriesLabel7;
     series5.Name = "Series 1";
     sideBySideBarSeriesLabel8.LineVisible = true;
     series6.Label = sideBySideBarSeriesLabel8;
     series6.Name = "Series 2";
     this.chartMOS.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
     series5,
     series6};
     sideBySideBarSeriesLabel9.LineVisible = true;
     this.chartMOS.SeriesTemplate.Label = sideBySideBarSeriesLabel9;
     this.chartMOS.Size = new System.Drawing.Size(1160, 452);
     this.chartMOS.TabIndex = 4;
     //
     // tbActivityTrend
     //
     this.tbActivityTrend.Appearance.PageClient.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253)))));
     this.tbActivityTrend.Appearance.PageClient.Options.UseBackColor = true;
     this.tbActivityTrend.Controls.Add(this.label36);
     this.tbActivityTrend.Controls.Add(this.chartComp);
     this.tbActivityTrend.Name = "tbActivityTrend";
     this.tbActivityTrend.Padding = new System.Windows.Forms.Padding(3);
     this.tbActivityTrend.PageVisible = false;
     this.tbActivityTrend.Size = new System.Drawing.Size(1040, 521);
     this.tbActivityTrend.Text = "Activity Trend";
     //
     // label36
     //
     this.label36.AutoSize = true;
     this.label36.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label36.Location = new System.Drawing.Point(7, 15);
     this.label36.Name = "label36";
     this.label36.Size = new System.Drawing.Size(164, 23);
     this.label36.TabIndex = 12;
     this.label36.Text = "Trend - Activity ";
     //
     // chartComp
     //
     this.chartComp.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253)))));
     xyDiagram4.AxisX.Range.ScrollingRange.SideMarginsEnabled = true;
     xyDiagram4.AxisX.Range.SideMarginsEnabled = true;
     xyDiagram4.AxisX.VisibleInPanesSerializable = "-1";
     xyDiagram4.AxisY.Range.ScrollingRange.SideMarginsEnabled = true;
     xyDiagram4.AxisY.Range.SideMarginsEnabled = true;
     xyDiagram4.AxisY.VisibleInPanesSerializable = "-1";
     this.chartComp.Diagram = xyDiagram4;
     this.chartComp.Location = new System.Drawing.Point(7, 48);
     this.chartComp.Name = "chartComp";
     this.chartComp.PaletteRepository.Add("Palette 1", new DevExpress.XtraCharts.Palette("Palette 1", DevExpress.XtraCharts.PaletteScaleMode.Repeat, new DevExpress.XtraCharts.PaletteEntry[0]));
     this.chartComp.PaletteRepository.Add("Palette 2", new DevExpress.XtraCharts.Palette("Palette 2", DevExpress.XtraCharts.PaletteScaleMode.Repeat, new DevExpress.XtraCharts.PaletteEntry[0]));
     sideBySideBarSeriesLabel10.LineVisible = true;
     series7.Label = sideBySideBarSeriesLabel10;
     series7.Name = "Series 1";
     sideBySideBarSeriesLabel11.LineVisible = true;
     series8.Label = sideBySideBarSeriesLabel11;
     series8.Name = "Series 2";
     this.chartComp.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
     series7,
     series8};
     sideBySideBarSeriesLabel12.LineVisible = true;
     this.chartComp.SeriesTemplate.Label = sideBySideBarSeriesLabel12;
     this.chartComp.Size = new System.Drawing.Size(967, 476);
     this.chartComp.TabIndex = 3;
     //
     // tbSSTrend
     //
     this.tbSSTrend.Controls.Add(this.label20);
     this.tbSSTrend.Controls.Add(this.lblTime);
     this.tbSSTrend.Controls.Add(this.lblCurStatus);
     this.tbSSTrend.Controls.Add(this.label19);
     this.tbSSTrend.Controls.Add(this.tableLayoutPanel1);
     this.tbSSTrend.Name = "tbSSTrend";
     this.tbSSTrend.PageVisible = false;
     this.tbSSTrend.Size = new System.Drawing.Size(1040, 521);
     this.tbSSTrend.Text = "Stock Status Trend";
     //
     // label20
     //
     this.label20.AutoSize = true;
     this.label20.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label20.Location = new System.Drawing.Point(35, 106);
     this.label20.Name = "label20";
     this.label20.Size = new System.Drawing.Size(142, 16);
     this.label20.TabIndex = 1;
     this.label20.Text = "Trend (No. of times)";
     //
     // lblTime
     //
     this.lblTime.AutoSize = true;
     this.lblTime.Location = new System.Drawing.Point(257, 68);
     this.lblTime.Name = "lblTime";
     this.lblTime.Size = new System.Drawing.Size(0, 13);
     this.lblTime.TabIndex = 1;
     //
     // lblCurStatus
     //
     this.lblCurStatus.AutoSize = true;
     this.lblCurStatus.Location = new System.Drawing.Point(150, 68);
     this.lblCurStatus.Name = "lblCurStatus";
     this.lblCurStatus.Size = new System.Drawing.Size(0, 13);
     this.lblCurStatus.TabIndex = 1;
     //
     // label19
     //
     this.label19.AutoSize = true;
     this.label19.Location = new System.Drawing.Point(45, 68);
     this.label19.Name = "label19";
     this.label19.Size = new System.Drawing.Size(104, 13);
     this.label19.TabIndex = 1;
     this.label19.Text = "Current Status : ";
     //
     // tableLayoutPanel1
     //
     this.tableLayoutPanel1.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single;
     this.tableLayoutPanel1.ColumnCount = 4;
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 182F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 75F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 85F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 277F));
     this.tableLayoutPanel1.Controls.Add(this.label10, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this.label11, 1, 0);
     this.tableLayoutPanel1.Controls.Add(this.label12, 2, 0);
     this.tableLayoutPanel1.Controls.Add(this.label13, 3, 0);
     this.tableLayoutPanel1.Controls.Add(this.label14, 0, 1);
     this.tableLayoutPanel1.Controls.Add(this.label15, 0, 2);
     this.tableLayoutPanel1.Controls.Add(this.label16, 0, 3);
     this.tableLayoutPanel1.Controls.Add(this.label18, 0, 4);
     this.tableLayoutPanel1.Controls.Add(this.lblThreeStockout, 1, 1);
     this.tableLayoutPanel1.Controls.Add(this.lblSixStockOut, 2, 1);
     this.tableLayoutPanel1.Controls.Add(this.lblTwelveStockOut, 3, 1);
     this.tableLayoutPanel1.Controls.Add(this.lblThreeNearStock, 1, 2);
     this.tableLayoutPanel1.Controls.Add(this.lblSixNearStock, 2, 2);
     this.tableLayoutPanel1.Controls.Add(this.lblTwelveNear, 3, 2);
     this.tableLayoutPanel1.Controls.Add(this.lblThreeBelowMin, 1, 3);
     this.tableLayoutPanel1.Controls.Add(this.lblSixBelowMin, 2, 3);
     this.tableLayoutPanel1.Controls.Add(this.lblTwelveBelowMin, 3, 3);
     this.tableLayoutPanel1.Controls.Add(this.lblTwelveOverStock, 3, 4);
     this.tableLayoutPanel1.Controls.Add(this.lblSixOverStock, 2, 4);
     this.tableLayoutPanel1.Controls.Add(this.lblThreeOverStock, 1, 4);
     this.tableLayoutPanel1.Location = new System.Drawing.Point(38, 134);
     this.tableLayoutPanel1.Name = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount = 5;
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
     this.tableLayoutPanel1.Size = new System.Drawing.Size(419, 109);
     this.tableLayoutPanel1.TabIndex = 0;
     //
     // label10
     //
     this.label10.AutoSize = true;
     this.label10.Location = new System.Drawing.Point(4, 1);
     this.label10.Name = "label10";
     this.label10.Size = new System.Drawing.Size(0, 13);
     this.label10.TabIndex = 0;
     //
     // label11
     //
     this.label11.AutoSize = true;
     this.label11.Location = new System.Drawing.Point(187, 1);
     this.label11.Name = "label11";
     this.label11.Size = new System.Drawing.Size(52, 13);
     this.label11.TabIndex = 1;
     this.label11.Text = "3 Month";
     //
     // label12
     //
     this.label12.AutoSize = true;
     this.label12.Location = new System.Drawing.Point(263, 1);
     this.label12.Name = "label12";
     this.label12.Size = new System.Drawing.Size(52, 13);
     this.label12.TabIndex = 1;
     this.label12.Text = "6 Month";
     //
     // label13
     //
     this.label13.AutoSize = true;
     this.label13.Location = new System.Drawing.Point(349, 1);
     this.label13.Name = "label13";
     this.label13.Size = new System.Drawing.Size(59, 13);
     this.label13.TabIndex = 1;
     this.label13.Text = "12 Month";
     //
     // label14
     //
     this.label14.AutoSize = true;
     this.label14.Location = new System.Drawing.Point(4, 22);
     this.label14.Name = "label14";
     this.label14.Size = new System.Drawing.Size(63, 13);
     this.label14.TabIndex = 1;
     this.label14.Text = "Stock Out";
     //
     // label15
     //
     this.label15.AutoSize = true;
     this.label15.Location = new System.Drawing.Point(4, 43);
     this.label15.Name = "label15";
     this.label15.Size = new System.Drawing.Size(94, 13);
     this.label15.TabIndex = 1;
     this.label15.Text = "Near Stock Out";
     //
     // label16
     //
     this.label16.AutoSize = true;
     this.label16.Location = new System.Drawing.Point(4, 64);
     this.label16.Name = "label16";
     this.label16.Size = new System.Drawing.Size(64, 13);
     this.label16.TabIndex = 1;
     this.label16.Text = "Below Min";
     //
     // label18
     //
     this.label18.AutoSize = true;
     this.label18.Location = new System.Drawing.Point(4, 85);
     this.label18.Name = "label18";
     this.label18.Size = new System.Drawing.Size(71, 13);
     this.label18.TabIndex = 1;
     this.label18.Text = "Over Stock";
     //
     // lblThreeStockout
     //
     this.lblThreeStockout.AutoSize = true;
     this.lblThreeStockout.Location = new System.Drawing.Point(187, 22);
     this.lblThreeStockout.Name = "lblThreeStockout";
     this.lblThreeStockout.Size = new System.Drawing.Size(14, 13);
     this.lblThreeStockout.TabIndex = 1;
     this.lblThreeStockout.Text = "0";
     //
     // lblSixStockOut
     //
     this.lblSixStockOut.AutoSize = true;
     this.lblSixStockOut.Location = new System.Drawing.Point(263, 22);
     this.lblSixStockOut.Name = "lblSixStockOut";
     this.lblSixStockOut.Size = new System.Drawing.Size(14, 13);
     this.lblSixStockOut.TabIndex = 1;
     this.lblSixStockOut.Text = "0";
     //
     // lblTwelveStockOut
     //
     this.lblTwelveStockOut.AutoSize = true;
     this.lblTwelveStockOut.Location = new System.Drawing.Point(349, 22);
     this.lblTwelveStockOut.Name = "lblTwelveStockOut";
     this.lblTwelveStockOut.Size = new System.Drawing.Size(14, 13);
     this.lblTwelveStockOut.TabIndex = 1;
     this.lblTwelveStockOut.Text = "0";
     //
     // lblThreeNearStock
     //
     this.lblThreeNearStock.AutoSize = true;
     this.lblThreeNearStock.Location = new System.Drawing.Point(187, 43);
     this.lblThreeNearStock.Name = "lblThreeNearStock";
     this.lblThreeNearStock.Size = new System.Drawing.Size(14, 13);
     this.lblThreeNearStock.TabIndex = 1;
     this.lblThreeNearStock.Text = "0";
     //
     // lblSixNearStock
     //
     this.lblSixNearStock.AutoSize = true;
     this.lblSixNearStock.Location = new System.Drawing.Point(263, 43);
     this.lblSixNearStock.Name = "lblSixNearStock";
     this.lblSixNearStock.Size = new System.Drawing.Size(14, 13);
     this.lblSixNearStock.TabIndex = 1;
     this.lblSixNearStock.Text = "0";
     //
     // lblTwelveNear
     //
     this.lblTwelveNear.AutoSize = true;
     this.lblTwelveNear.Location = new System.Drawing.Point(349, 43);
     this.lblTwelveNear.Name = "lblTwelveNear";
     this.lblTwelveNear.Size = new System.Drawing.Size(14, 13);
     this.lblTwelveNear.TabIndex = 1;
     this.lblTwelveNear.Text = "0";
     //
     // lblThreeBelowMin
     //
     this.lblThreeBelowMin.AutoSize = true;
     this.lblThreeBelowMin.Location = new System.Drawing.Point(187, 64);
     this.lblThreeBelowMin.Name = "lblThreeBelowMin";
     this.lblThreeBelowMin.Size = new System.Drawing.Size(14, 13);
     this.lblThreeBelowMin.TabIndex = 1;
     this.lblThreeBelowMin.Text = "0";
     //
     // lblSixBelowMin
     //
     this.lblSixBelowMin.AutoSize = true;
     this.lblSixBelowMin.Location = new System.Drawing.Point(263, 64);
     this.lblSixBelowMin.Name = "lblSixBelowMin";
     this.lblSixBelowMin.Size = new System.Drawing.Size(14, 13);
     this.lblSixBelowMin.TabIndex = 1;
     this.lblSixBelowMin.Text = "0";
     //
     // lblTwelveBelowMin
     //
     this.lblTwelveBelowMin.AutoSize = true;
     this.lblTwelveBelowMin.Location = new System.Drawing.Point(349, 64);
     this.lblTwelveBelowMin.Name = "lblTwelveBelowMin";
     this.lblTwelveBelowMin.Size = new System.Drawing.Size(14, 13);
     this.lblTwelveBelowMin.TabIndex = 1;
     this.lblTwelveBelowMin.Text = "0";
     //
     // lblTwelveOverStock
     //
     this.lblTwelveOverStock.AutoSize = true;
     this.lblTwelveOverStock.Location = new System.Drawing.Point(349, 85);
     this.lblTwelveOverStock.Name = "lblTwelveOverStock";
     this.lblTwelveOverStock.Size = new System.Drawing.Size(14, 13);
     this.lblTwelveOverStock.TabIndex = 1;
     this.lblTwelveOverStock.Text = "0";
     //
     // lblSixOverStock
     //
     this.lblSixOverStock.AutoSize = true;
     this.lblSixOverStock.Location = new System.Drawing.Point(263, 85);
     this.lblSixOverStock.Name = "lblSixOverStock";
     this.lblSixOverStock.Size = new System.Drawing.Size(14, 13);
     this.lblSixOverStock.TabIndex = 1;
     this.lblSixOverStock.Text = "0";
     //
     // lblThreeOverStock
     //
     this.lblThreeOverStock.AutoSize = true;
     this.lblThreeOverStock.Location = new System.Drawing.Point(187, 85);
     this.lblThreeOverStock.Name = "lblThreeOverStock";
     this.lblThreeOverStock.Size = new System.Drawing.Size(14, 13);
     this.lblThreeOverStock.TabIndex = 1;
     this.lblThreeOverStock.Text = "0";
     //
     // tbTransactions
     //
     this.tbTransactions.Controls.Add(this.lblAvgIssues);
     this.tbTransactions.Controls.Add(this.lblAvgReceives);
     this.tbTransactions.Controls.Add(this.lblLastIssues);
     this.tbTransactions.Controls.Add(this.lblLastReceive);
     this.tbTransactions.Controls.Add(this.label23);
     this.tbTransactions.Controls.Add(this.label22);
     this.tbTransactions.Controls.Add(this.label21);
     this.tbTransactions.Controls.Add(this.label17);
     this.tbTransactions.Name = "tbTransactions";
     this.tbTransactions.PageVisible = false;
     this.tbTransactions.Size = new System.Drawing.Size(1040, 521);
     this.tbTransactions.Text = "Transaction";
     //
     // lblAvgIssues
     //
     this.lblAvgIssues.AutoSize = true;
     this.lblAvgIssues.Location = new System.Drawing.Point(357, 184);
     this.lblAvgIssues.Name = "lblAvgIssues";
     this.lblAvgIssues.Size = new System.Drawing.Size(14, 13);
     this.lblAvgIssues.TabIndex = 1;
     this.lblAvgIssues.Text = "0";
     this.lblAvgIssues.Visible = false;
     //
     // lblAvgReceives
     //
     this.lblAvgReceives.AutoSize = true;
     this.lblAvgReceives.Location = new System.Drawing.Point(357, 153);
     this.lblAvgReceives.Name = "lblAvgReceives";
     this.lblAvgReceives.Size = new System.Drawing.Size(14, 13);
     this.lblAvgReceives.TabIndex = 1;
     this.lblAvgReceives.Text = "0";
     this.lblAvgReceives.Visible = false;
     //
     // lblLastIssues
     //
     this.lblLastIssues.AutoSize = true;
     this.lblLastIssues.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblLastIssues.Location = new System.Drawing.Point(353, 105);
     this.lblLastIssues.Name = "lblLastIssues";
     this.lblLastIssues.Size = new System.Drawing.Size(22, 23);
     this.lblLastIssues.TabIndex = 1;
     this.lblLastIssues.Text = "0";
     //
     // lblLastReceive
     //
     this.lblLastReceive.AutoSize = true;
     this.lblLastReceive.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblLastReceive.Location = new System.Drawing.Point(353, 67);
     this.lblLastReceive.Name = "lblLastReceive";
     this.lblLastReceive.Size = new System.Drawing.Size(22, 23);
     this.lblLastReceive.TabIndex = 1;
     this.lblLastReceive.Text = "0";
     //
     // label23
     //
     this.label23.AutoSize = true;
     this.label23.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label23.Location = new System.Drawing.Point(141, 182);
     this.label23.Name = "label23";
     this.label23.Size = new System.Drawing.Size(210, 16);
     this.label23.TabIndex = 0;
     this.label23.Text = "AVG. no. of days b/n Issues : ";
     this.label23.Visible = false;
     //
     // label22
     //
     this.label22.AutoSize = true;
     this.label22.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label22.Location = new System.Drawing.Point(125, 151);
     this.label22.Name = "label22";
     this.label22.Size = new System.Drawing.Size(226, 16);
     this.label22.TabIndex = 0;
     this.label22.Text = "AVG. no. of days b/n Receives : ";
     this.label22.Visible = false;
     //
     // label21
     //
     this.label21.AutoSize = true;
     this.label21.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label21.Location = new System.Drawing.Point(141, 105);
     this.label21.Name = "label21";
     this.label21.Size = new System.Drawing.Size(214, 23);
     this.label21.TabIndex = 0;
     this.label21.Text = "Last Issued Date : ";
     //
     // label17
     //
     this.label17.AutoSize = true;
     this.label17.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label17.Location = new System.Drawing.Point(116, 67);
     this.label17.Name = "label17";
     this.label17.Size = new System.Drawing.Size(239, 23);
     this.label17.TabIndex = 0;
     this.label17.Text = "Last Received Date : ";
     //
     // tbConsumptionTrend
     //
     this.tbConsumptionTrend.Controls.Add(this.lkDetailCons);
     this.tbConsumptionTrend.Controls.Add(this.label33);
     this.tbConsumptionTrend.Controls.Add(this.consuTrend);
     this.tbConsumptionTrend.Name = "tbConsumptionTrend";
     this.tbConsumptionTrend.Padding = new System.Windows.Forms.Padding(3);
     this.tbConsumptionTrend.PageVisible = false;
     this.tbConsumptionTrend.Size = new System.Drawing.Size(1040, 521);
     this.tbConsumptionTrend.Text = "Consumption Trend";
     //
     // lkDetailCons
     //
     this.lkDetailCons.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.lkDetailCons.AutoSize = true;
     this.lkDetailCons.Location = new System.Drawing.Point(1100, 17);
     this.lkDetailCons.Name = "lkDetailCons";
     this.lkDetailCons.Size = new System.Drawing.Size(72, 13);
     this.lkDetailCons.TabIndex = 16;
     this.lkDetailCons.TabStop = true;
     this.lkDetailCons.Text = "Show Table";
     //
     // label33
     //
     this.label33.AutoSize = true;
     this.label33.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label33.Location = new System.Drawing.Point(7, 15);
     this.label33.Name = "label33";
     this.label33.Size = new System.Drawing.Size(212, 23);
     this.label33.TabIndex = 12;
     this.label33.Text = "Trend - Consumption";
     //
     // consuTrend
     //
     this.consuTrend.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.consuTrend.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253)))));
     xyDiagram5.AxisX.Range.ScrollingRange.SideMarginsEnabled = true;
     xyDiagram5.AxisX.Range.SideMarginsEnabled = true;
     xyDiagram5.AxisX.VisibleInPanesSerializable = "-1";
     xyDiagram5.AxisY.Range.ScrollingRange.SideMarginsEnabled = true;
     xyDiagram5.AxisY.Range.SideMarginsEnabled = true;
     xyDiagram5.AxisY.VisibleInPanesSerializable = "-1";
     this.consuTrend.Diagram = xyDiagram5;
     this.consuTrend.Location = new System.Drawing.Point(10, 41);
     this.consuTrend.Name = "consuTrend";
     sideBySideBarSeriesLabel13.LineVisible = true;
     series9.Label = sideBySideBarSeriesLabel13;
     series9.Name = "Series 1";
     sideBySideBarSeriesLabel14.LineVisible = true;
     series10.Label = sideBySideBarSeriesLabel14;
     series10.Name = "Series 2";
     this.consuTrend.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
     series9,
     series10};
     sideBySideBarSeriesLabel15.LineVisible = true;
     this.consuTrend.SeriesTemplate.Label = sideBySideBarSeriesLabel15;
     this.consuTrend.Size = new System.Drawing.Size(955, 476);
     this.consuTrend.TabIndex = 3;
     //
     // tbStockExpiryStatus
     //
     this.tbStockExpiryStatus.Appearance.PageClient.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253)))));
     this.tbStockExpiryStatus.Appearance.PageClient.Options.UseBackColor = true;
     this.tbStockExpiryStatus.Controls.Add(this.chartPie);
     this.tbStockExpiryStatus.Name = "tbStockExpiryStatus";
     this.tbStockExpiryStatus.Padding = new System.Windows.Forms.Padding(3);
     this.tbStockExpiryStatus.PageVisible = false;
     this.tbStockExpiryStatus.Size = new System.Drawing.Size(1040, 521);
     this.tbStockExpiryStatus.Text = "Stock Expiry Status";
     //
     // chartPie
     //
     this.chartPie.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253)))));
     this.chartPie.BorderOptions.Visible = false;
     simpleDiagram3D1.RotationMatrixSerializable = "1;0;0;0;0;0.5;-0.866025403784439;0;0;0.866025403784439;0.5;0;0;0;0;1";
     this.chartPie.Diagram = simpleDiagram3D1;
     this.chartPie.Dock = System.Windows.Forms.DockStyle.Fill;
     this.chartPie.Location = new System.Drawing.Point(3, 3);
     this.chartPie.Name = "chartPie";
     this.chartPie.PaletteName = "Palette 2";
     this.chartPie.PaletteRepository.Add("Palette 1", new DevExpress.XtraCharts.Palette("Palette 1", DevExpress.XtraCharts.PaletteScaleMode.Repeat, new DevExpress.XtraCharts.PaletteEntry[] {
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(187)))), ((int)(((byte)(47))))), System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(187)))), ((int)(((byte)(47)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))), System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))))}));
     this.chartPie.PaletteRepository.Add("Palette 2", new DevExpress.XtraCharts.Palette("Palette 2", DevExpress.XtraCharts.PaletteScaleMode.Repeat, new DevExpress.XtraCharts.PaletteEntry[] {
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(151)))), ((int)(((byte)(73))))), System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(151)))), ((int)(((byte)(73)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(198)))), ((int)(((byte)(23)))), ((int)(((byte)(23))))), System.Drawing.Color.FromArgb(((int)(((byte)(198)))), ((int)(((byte)(23)))), ((int)(((byte)(23)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(242)))), ((int)(((byte)(6))))), System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(242)))), ((int)(((byte)(6))))))}));
     pie3DSeriesLabel1.LineVisible = true;
     piePointOptions1.PointView = DevExpress.XtraCharts.PointView.SeriesName;
     piePointOptions1.ValueNumericOptions.Format = DevExpress.XtraCharts.NumericFormat.Percent;
     pie3DSeriesLabel1.PointOptions = piePointOptions1;
     series11.Label = pie3DSeriesLabel1;
     series11.Name = "Series 1";
     series11.View = pie3DSeriesView1;
     this.chartPie.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
     series11};
     pie3DSeriesLabel2.LineVisible = true;
     this.chartPie.SeriesTemplate.Label = pie3DSeriesLabel2;
     this.chartPie.SeriesTemplate.View = pie3DSeriesView2;
     this.chartPie.Size = new System.Drawing.Size(1034, 515);
     this.chartPie.TabIndex = 21;
     //
     // tbLogisticsSummary
     //
     this.tbLogisticsSummary.Controls.Add(this.layoutControl1);
     this.tbLogisticsSummary.Name = "tbLogisticsSummary";
     this.tbLogisticsSummary.Padding = new System.Windows.Forms.Padding(3);
     this.tbLogisticsSummary.PageVisible = false;
     this.tbLogisticsSummary.Size = new System.Drawing.Size(1040, 521);
     this.tbLogisticsSummary.Text = "Logistics Summary";
     //
     // layoutControl1
     //
     this.layoutControl1.Controls.Add(this.lookUpEdit1);
     this.layoutControl1.Controls.Add(this.gridControl1);
     this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.layoutControl1.Location = new System.Drawing.Point(3, 3);
     this.layoutControl1.Name = "layoutControl1";
     this.layoutControl1.Root = this.layoutControlGroup1;
     this.layoutControl1.Size = new System.Drawing.Size(1034, 515);
     this.layoutControl1.TabIndex = 0;
     this.layoutControl1.Text = "layoutControl1";
     //
     // lookUpEdit1
     //
     this.lookUpEdit1.Location = new System.Drawing.Point(45, 12);
     this.lookUpEdit1.Name = "lookUpEdit1";
     this.lookUpEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lookUpEdit1.Size = new System.Drawing.Size(168, 20);
     this.lookUpEdit1.StyleController = this.layoutControl1;
     this.lookUpEdit1.TabIndex = 5;
     //
     // gridControl1
     //
     this.gridControl1.Location = new System.Drawing.Point(12, 52);
     this.gridControl1.MainView = this.gridView3;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.Size = new System.Drawing.Size(1010, 451);
     this.gridControl1.TabIndex = 4;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridView3});
     //
     // gridView3
     //
     this.gridView3.GridControl = this.gridControl1;
     this.gridView3.Name = "gridView3";
     this.gridView3.OptionsView.ShowGroupPanel = false;
     //
     // layoutControlGroup1
     //
     this.layoutControlGroup1.CustomizationFormText = "Root";
     this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
     this.layoutControlGroup1.GroupBordersVisible = false;
     this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
     this.layoutControlItem1,
     this.layoutControlItem2,
     this.emptySpaceItem1});
     this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0);
     this.layoutControlGroup1.Name = "Root";
     this.layoutControlGroup1.Size = new System.Drawing.Size(1034, 515);
     this.layoutControlGroup1.Text = "Root";
     this.layoutControlGroup1.TextVisible = false;
     //
     // layoutControlItem1
     //
     this.layoutControlItem1.Control = this.gridControl1;
     this.layoutControlItem1.CustomizationFormText = "Text";
     this.layoutControlItem1.Location = new System.Drawing.Point(0, 24);
     this.layoutControlItem1.Name = "layoutControlItem1";
     this.layoutControlItem1.Size = new System.Drawing.Size(1014, 471);
     this.layoutControlItem1.Text = "Text";
     this.layoutControlItem1.TextLocation = DevExpress.Utils.Locations.Top;
     this.layoutControlItem1.TextSize = new System.Drawing.Size(30, 13);
     //
     // layoutControlItem2
     //
     this.layoutControlItem2.Control = this.lookUpEdit1;
     this.layoutControlItem2.CustomizationFormText = "Month";
     this.layoutControlItem2.Location = new System.Drawing.Point(0, 0);
     this.layoutControlItem2.Name = "layoutControlItem2";
     this.layoutControlItem2.Size = new System.Drawing.Size(205, 24);
     this.layoutControlItem2.Text = "Month";
     this.layoutControlItem2.TextSize = new System.Drawing.Size(30, 13);
     //
     // emptySpaceItem1
     //
     this.emptySpaceItem1.AllowHotTrack = false;
     this.emptySpaceItem1.CustomizationFormText = "emptySpaceItem1";
     this.emptySpaceItem1.Location = new System.Drawing.Point(205, 0);
     this.emptySpaceItem1.Name = "emptySpaceItem1";
     this.emptySpaceItem1.Size = new System.Drawing.Size(809, 24);
     this.emptySpaceItem1.Text = "emptySpaceItem1";
     this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0);
     //
     // tbSOHLocation
     //
     this.tbSOHLocation.Controls.Add(this.gridLocations);
     this.tbSOHLocation.Name = "tbSOHLocation";
     this.tbSOHLocation.Padding = new System.Windows.Forms.Padding(3);
     this.tbSOHLocation.Size = new System.Drawing.Size(1040, 521);
     this.tbSOHLocation.Text = "SOH Locations";
     //
     // gridLocations
     //
     this.gridLocations.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridLocations.Location = new System.Drawing.Point(3, 3);
     this.gridLocations.MainView = this.gridView1;
     this.gridLocations.Name = "gridLocations";
     this.gridLocations.Size = new System.Drawing.Size(1034, 515);
     this.gridLocations.TabIndex = 0;
     this.gridLocations.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridView1});
     //
     // gridView1
     //
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.gridColumn1,
     this.gridColumn3,
     this.gridColumn5,
     this.gridColumn2,
     this.colPalletNumber,
     this.colPalletLocation,
     this.gridColumn4});
     this.gridView1.GridControl = this.gridLocations;
     this.gridView1.GroupCount = 1;
     this.gridView1.GroupSummary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
     new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Sum, "Balance", null, "")});
     this.gridView1.Name = "gridView1";
     this.gridView1.OptionsBehavior.Editable = false;
     this.gridView1.OptionsBehavior.SummariesIgnoreNullValues = true;
     this.gridView1.OptionsSelection.EnableAppearanceFocusedCell = false;
     this.gridView1.OptionsView.ShowFooter = true;
     this.gridView1.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
     new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.colPalletLocation, DevExpress.Data.ColumnSortOrder.Ascending)});
     //
     // gridColumn1
     //
     this.gridColumn1.Caption = "Receive Date";
     this.gridColumn1.FieldName = "EurDate";
     this.gridColumn1.Name = "gridColumn1";
     this.gridColumn1.OptionsColumn.AllowEdit = false;
     this.gridColumn1.Visible = true;
     this.gridColumn1.VisibleIndex = 0;
     this.gridColumn1.Width = 100;
     //
     // gridColumn3
     //
     this.gridColumn3.Caption = "Batch No";
     this.gridColumn3.FieldName = "BatchNo";
     this.gridColumn3.Name = "gridColumn3";
     this.gridColumn3.OptionsColumn.AllowEdit = false;
     this.gridColumn3.Visible = true;
     this.gridColumn3.VisibleIndex = 4;
     this.gridColumn3.Width = 113;
     //
     // gridColumn5
     //
     this.gridColumn5.Caption = "Expiry Date";
     this.gridColumn5.FieldName = "ExpiryDate";
     this.gridColumn5.Name = "gridColumn5";
     this.gridColumn5.OptionsColumn.AllowEdit = false;
     this.gridColumn5.Visible = true;
     this.gridColumn5.VisibleIndex = 1;
     this.gridColumn5.Width = 227;
     //
     // gridColumn2
     //
     this.gridColumn2.Caption = "Balance";
     this.gridColumn2.FieldName = "Balance";
     this.gridColumn2.Name = "gridColumn2";
     this.gridColumn2.OptionsColumn.AllowEdit = false;
     this.gridColumn2.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
     new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum)});
     this.gridColumn2.Visible = true;
     this.gridColumn2.VisibleIndex = 2;
     this.gridColumn2.Width = 184;
     //
     // colPalletNumber
     //
     this.colPalletNumber.Caption = "PalletNumber";
     this.colPalletNumber.FieldName = "PalletNo";
     this.colPalletNumber.Name = "colPalletNumber";
     this.colPalletNumber.Visible = true;
     this.colPalletNumber.VisibleIndex = 5;
     this.colPalletNumber.Width = 147;
     //
     // colPalletLocation
     //
     this.colPalletLocation.Caption = "Pallet Location";
     this.colPalletLocation.FieldName = "PalletLocation";
     this.colPalletLocation.Name = "colPalletLocation";
     this.colPalletLocation.OptionsColumn.AllowEdit = false;
     this.colPalletLocation.Visible = true;
     this.colPalletLocation.VisibleIndex = 6;
     this.colPalletLocation.Width = 182;
     //
     // gridColumn4
     //
     this.gridColumn4.Caption = "Manufacturer";
     this.gridColumn4.FieldName = "ManufacturerName";
     this.gridColumn4.Name = "gridColumn4";
     this.gridColumn4.OptionsColumn.AllowEdit = false;
     this.gridColumn4.Visible = true;
     this.gridColumn4.VisibleIndex = 3;
     this.gridColumn4.Width = 199;
     //
     // tbSOHPriceSummary
     //
     this.tbSOHPriceSummary.Controls.Add(this.gridSOHSummary);
     this.tbSOHPriceSummary.Name = "tbSOHPriceSummary";
     this.tbSOHPriceSummary.Size = new System.Drawing.Size(1040, 521);
     this.tbSOHPriceSummary.Text = "SOH Price Summary";
     //
     // gridSOHSummary
     //
     this.gridSOHSummary.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridSOHSummary.Location = new System.Drawing.Point(0, 0);
     this.gridSOHSummary.MainView = this.gridView4;
     this.gridSOHSummary.Name = "gridSOHSummary";
     this.gridSOHSummary.Size = new System.Drawing.Size(1040, 521);
     this.gridSOHSummary.TabIndex = 1;
     this.gridSOHSummary.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridView4});
     //
     // gridView4
     //
     this.gridView4.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.gridColumn14,
     this.gridColumn13,
     this.gridColumn6,
     this.gridColumn7,
     this.gridColumn8,
     this.gridColumn9,
     this.gridColumn10,
     this.gridColumn11,
     this.gridColumn12});
     this.gridView4.GridControl = this.gridSOHSummary;
     this.gridView4.GroupSummary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
     new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Sum, "Balance", null, "")});
     this.gridView4.Name = "gridView4";
     this.gridView4.OptionsBehavior.Editable = false;
     this.gridView4.OptionsBehavior.SummariesIgnoreNullValues = true;
     this.gridView4.OptionsSelection.EnableAppearanceFocusedCell = false;
     this.gridView4.OptionsView.ShowFooter = true;
     //
     // gridColumn14
     //
     this.gridColumn14.Caption = "Unit Cost";
     this.gridColumn14.FieldName = "Cost";
     this.gridColumn14.Name = "gridColumn14";
     this.gridColumn14.Visible = true;
     this.gridColumn14.VisibleIndex = 4;
     this.gridColumn14.Width = 97;
     //
     // gridColumn13
     //
     this.gridColumn13.Caption = "Supplier";
     this.gridColumn13.FieldName = "Supplier";
     this.gridColumn13.Name = "gridColumn13";
     this.gridColumn13.Visible = true;
     this.gridColumn13.VisibleIndex = 2;
     this.gridColumn13.Width = 166;
     //
     // gridColumn6
     //
     this.gridColumn6.Caption = "Receive Date";
     this.gridColumn6.FieldName = "EurDate";
     this.gridColumn6.Name = "gridColumn6";
     this.gridColumn6.OptionsColumn.AllowEdit = false;
     this.gridColumn6.Visible = true;
     this.gridColumn6.VisibleIndex = 0;
     this.gridColumn6.Width = 90;
     //
     // gridColumn7
     //
     this.gridColumn7.Caption = "Batch No";
     this.gridColumn7.FieldName = "BatchNo";
     this.gridColumn7.Name = "gridColumn7";
     this.gridColumn7.OptionsColumn.AllowEdit = false;
     this.gridColumn7.Visible = true;
     this.gridColumn7.VisibleIndex = 6;
     this.gridColumn7.Width = 128;
     //
     // gridColumn8
     //
     this.gridColumn8.Caption = "Expiry Date";
     this.gridColumn8.FieldName = "ExpiryDate";
     this.gridColumn8.Name = "gridColumn8";
     this.gridColumn8.OptionsColumn.AllowEdit = false;
     this.gridColumn8.Visible = true;
     this.gridColumn8.VisibleIndex = 1;
     this.gridColumn8.Width = 161;
     //
     // gridColumn9
     //
     this.gridColumn9.Caption = "Balance";
     this.gridColumn9.FieldName = "Balance";
     this.gridColumn9.Name = "gridColumn9";
     this.gridColumn9.OptionsColumn.AllowEdit = false;
     this.gridColumn9.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
     new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum)});
     this.gridColumn9.Visible = true;
     this.gridColumn9.VisibleIndex = 3;
     this.gridColumn9.Width = 102;
     //
     // gridColumn10
     //
     this.gridColumn10.Caption = "PalletNumber";
     this.gridColumn10.FieldName = "PalletNo";
     this.gridColumn10.Name = "gridColumn10";
     this.gridColumn10.Visible = true;
     this.gridColumn10.VisibleIndex = 7;
     this.gridColumn10.Width = 106;
     //
     // gridColumn11
     //
     this.gridColumn11.Caption = "Pallet Location";
     this.gridColumn11.FieldName = "PalletLocation";
     this.gridColumn11.Name = "gridColumn11";
     this.gridColumn11.OptionsColumn.AllowEdit = false;
     this.gridColumn11.Visible = true;
     this.gridColumn11.VisibleIndex = 8;
     this.gridColumn11.Width = 157;
     //
     // gridColumn12
     //
     this.gridColumn12.Caption = "Manufacturer";
     this.gridColumn12.FieldName = "ManufacturerName";
     this.gridColumn12.Name = "gridColumn12";
     this.gridColumn12.OptionsColumn.AllowEdit = false;
     this.gridColumn12.Visible = true;
     this.gridColumn12.VisibleIndex = 5;
     this.gridColumn12.Width = 167;
     //
     // lblItemID
     //
     this.lblItemID.AutoSize = true;
     this.lblItemID.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblItemID.ForeColor = System.Drawing.SystemColors.AppWorkspace;
     this.lblItemID.Location = new System.Drawing.Point(12, 36);
     this.lblItemID.Name = "lblItemID";
     this.lblItemID.Size = new System.Drawing.Size(0, 18);
     this.lblItemID.TabIndex = 26;
     //
     // xtraTabPage1
     //
     this.xtraTabPage1.Name = "xtraTabPage1";
     this.xtraTabPage1.Size = new System.Drawing.Size(973, 520);
     this.xtraTabPage1.Text = "xtraTabPage1";
     //
     // dtDate
     //
     this.dtDate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.dtDate.CalendarFont = new System.Drawing.Font("Nyala", 10.75F);
     this.dtDate.CalendarForeColor = System.Drawing.Color.Black;
     this.dtDate.CustomFormat = "MM/dd/ yy";
     this.dtDate.DayOfWeekCharacters = 2;
     this.dtDate.ForeColor = System.Drawing.Color.Black;
     this.dtDate.Location = new System.Drawing.Point(748, 10);
     this.dtDate.Name = "dtDate";
     this.dtDate.PopUpFontSize = 9.75F;
     this.dtDate.Size = new System.Drawing.Size(114, 20);
     this.dtDate.TabIndex = 17;
     this.dtDate.Value = new System.DateTime(2008, 10, 21, 0, 0, 0, 0);
     this.dtDate.Visible = false;
     //
     // btnCancel
     //
     this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnCancel.Location = new System.Drawing.Point(962, 34);
     this.btnCancel.Name = "btnCancel";
     this.btnCancel.Size = new System.Drawing.Size(75, 23);
     this.btnCancel.TabIndex = 20;
     this.btnCancel.Text = "Close";
     this.btnCancel.Click += new System.EventHandler(this.BtnCancelClick);
     //
     // chartControl1
     //
     this.chartControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.chartControl1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253)))));
     this.chartControl1.Location = new System.Drawing.Point(7, 25);
     this.chartControl1.Name = "chartControl1";
     this.chartControl1.PaletteRepository.Add("Palette 1", new DevExpress.XtraCharts.Palette("Palette 1", DevExpress.XtraCharts.PaletteScaleMode.Repeat, new DevExpress.XtraCharts.PaletteEntry[0]));
     this.chartControl1.PaletteRepository.Add("Palette 2", new DevExpress.XtraCharts.Palette("Palette 2", DevExpress.XtraCharts.PaletteScaleMode.Repeat, new DevExpress.XtraCharts.PaletteEntry[0]));
     this.chartControl1.SeriesSerializable = new DevExpress.XtraCharts.Series[0];
     sideBySideBarSeriesLabel16.LineVisible = true;
     this.chartControl1.SeriesTemplate.Label = sideBySideBarSeriesLabel16;
     this.chartControl1.Size = new System.Drawing.Size(974, 411);
     this.chartControl1.TabIndex = 2;
     //
     // printDialog1
     //
     this.printDialog1.UseEXDialog = true;
     //
     // toolTip1
     //
     this.toolTip1.AutoPopDelay = 5000;
     this.toolTip1.InitialDelay = 500;
     this.toolTip1.ReshowDelay = 0;
     this.toolTip1.ShowAlways = true;
     this.toolTip1.ToolTipTitle = "Item Name";
     //
     // txtitmName
     //
     this.txtitmName.AutoSize = true;
     this.txtitmName.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtitmName.Location = new System.Drawing.Point(81, 12);
     this.txtitmName.Name = "txtitmName";
     this.txtitmName.Size = new System.Drawing.Size(0, 18);
     this.txtitmName.TabIndex = 100;
     //
     // label38
     //
     this.label38.AutoSize = true;
     this.label38.Location = new System.Drawing.Point(71, 40);
     this.label38.Name = "label38";
     this.label38.Size = new System.Drawing.Size(92, 13);
     this.label38.TabIndex = 101;
     this.label38.Text = "Unit of Issue : ";
     //
     // lblBUnit
     //
     this.lblBUnit.AutoSize = true;
     this.lblBUnit.Location = new System.Drawing.Point(168, 40);
     this.lblBUnit.Name = "lblBUnit";
     this.lblBUnit.Size = new System.Drawing.Size(0, 13);
     this.lblBUnit.TabIndex = 101;
     //
     // xpButton1
     //
     this.xpButton1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.xpButton1.Image = ((System.Drawing.Image)(resources.GetObject("xpButton1.Image")));
     this.xpButton1.Location = new System.Drawing.Point(893, 38);
     this.xpButton1.Name = "xpButton1";
     this.xpButton1.Size = new System.Drawing.Size(75, 23);
     this.xpButton1.TabIndex = 15;
     this.xpButton1.Text = "Print";
     this.xpButton1.Click += new System.EventHandler(this.BtnPrintClicked);
     //
     // btnExport
     //
     this.btnExport.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnExport.Location = new System.Drawing.Point(770, 38);
     this.btnExport.Name = "btnExport";
     this.btnExport.Size = new System.Drawing.Size(106, 23);
     this.btnExport.TabIndex = 103;
     this.btnExport.Text = "Export Bin Card";
     this.btnExport.Click += new System.EventHandler(this.BtnExportClick);
     //
     // lblItemSerialNumber
     //
     this.lblItemSerialNumber.Appearance.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold);
     this.lblItemSerialNumber.Location = new System.Drawing.Point(287, 5);
     this.lblItemSerialNumber.Name = "lblItemSerialNumber";
     this.lblItemSerialNumber.Size = new System.Drawing.Size(132, 16);
     this.lblItemSerialNumber.TabIndex = 104;
     this.lblItemSerialNumber.Text = "Item Serial Number: ";
     //
     // ItemDetailReport
     //
     this.Appearance.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Appearance.Options.UseFont = true;
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(1049, 614);
     this.Controls.Add(this.lblItemSerialNumber);
     this.Controls.Add(this.lblItemID);
     this.Controls.Add(this.lblBUnit);
     this.Controls.Add(this.label38);
     this.Controls.Add(this.txtitmName);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.dtDate);
     this.Controls.Add(this.tabControl1);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "ItemDetailReport";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Item Detail Reports";
     this.Load += new System.EventHandler(this.BinCardTransactionLoad);
     ((System.ComponentModel.ISupportInitialize)(this.txtItemName.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(xyDiagram1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartBar)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tabControl1)).EndInit();
     this.tabControl1.ResumeLayout(false);
     this.tbSummary.ResumeLayout(false);
     this.tbSummary.PerformLayout();
     this.tbBinCard.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl2)).EndInit();
     this.layoutControl2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.lkBinCardWarehouse.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
     this.tbClassicBinCard.ResumeLayout(false);
     this.tbClassicBinCard.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lkWarehouses.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lkYear.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lkProgramFilter.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.transactionGrid)).EndInit();
     this.contextMenuStrip1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridViewBinCard)).EndInit();
     this.tbSOHTrend.ResumeLayout(false);
     this.tbSOHTrend.PerformLayout();
     this.tbAMCTrend.ResumeLayout(false);
     this.tbAMCTrend.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(xyDiagram2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartAmc)).EndInit();
     this.tbMOSTrend.ResumeLayout(false);
     this.tbMOSTrend.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(xyDiagram3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartMOS)).EndInit();
     this.tbActivityTrend.ResumeLayout(false);
     this.tbActivityTrend.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(xyDiagram4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel10)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel11)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel12)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartComp)).EndInit();
     this.tbSSTrend.ResumeLayout(false);
     this.tbSSTrend.PerformLayout();
     this.tableLayoutPanel1.ResumeLayout(false);
     this.tableLayoutPanel1.PerformLayout();
     this.tbTransactions.ResumeLayout(false);
     this.tbTransactions.PerformLayout();
     this.tbConsumptionTrend.ResumeLayout(false);
     this.tbConsumptionTrend.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(xyDiagram5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel13)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel14)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series10)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel15)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.consuTrend)).EndInit();
     this.tbStockExpiryStatus.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(simpleDiagram3D1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pie3DSeriesLabel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pie3DSeriesView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series11)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pie3DSeriesLabel2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pie3DSeriesView2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartPie)).EndInit();
     this.tbLogisticsSummary.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
     this.layoutControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEdit1.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit();
     this.tbSOHLocation.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridLocations)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     this.tbSOHPriceSummary.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridSOHSummary)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel16)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartControl1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #46
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.datetodateprintbutton = new System.Windows.Forms.Button();
     this.balancedataGridView = new System.Windows.Forms.DataGridView();
     this.showbutton = new System.Windows.Forms.Button();
     this.todateTimePicker = new System.Windows.Forms.DateTimePicker();
     this.label1 = new System.Windows.Forms.Label();
     this.fromdateTimePicker = new System.Windows.Forms.DateTimePicker();
     this.label3 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.debiotamountlabel = new System.Windows.Forms.Label();
     this.creditlabel = new System.Windows.Forms.Label();
     this.label5 = new System.Windows.Forms.Label();
     this.balancelabel = new System.Windows.Forms.Label();
     this.label7 = new System.Windows.Forms.Label();
     this.otherdebitlabel = new System.Windows.Forms.Label();
     this.label9 = new System.Windows.Forms.Label();
     this.label6 = new System.Windows.Forms.Label();
     this.totalbalanceprintbutton = new System.Windows.Forms.Button();
     this.printDialog1 = new System.Windows.Forms.PrintDialog();
     this.cashlabel = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.balancedataGridView)).BeginInit();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.label4);
     this.groupBox1.Controls.Add(this.datetodateprintbutton);
     this.groupBox1.Controls.Add(this.balancedataGridView);
     this.groupBox1.Location = new System.Drawing.Point(44, 52);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(973, 475);
     this.groupBox1.TabIndex = 4;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "Balance Information";
     //
     // datetodateprintbutton
     //
     this.datetodateprintbutton.Location = new System.Drawing.Point(865, 438);
     this.datetodateprintbutton.Name = "datetodateprintbutton";
     this.datetodateprintbutton.Size = new System.Drawing.Size(86, 31);
     this.datetodateprintbutton.TabIndex = 7;
     this.datetodateprintbutton.Text = "Print";
     this.datetodateprintbutton.UseVisualStyleBackColor = true;
     this.datetodateprintbutton.Click += new System.EventHandler(this.datetodateprintbutton_Click);
     //
     // balancedataGridView
     //
     this.balancedataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.balancedataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.balancedataGridView.Location = new System.Drawing.Point(21, 34);
     this.balancedataGridView.Name = "balancedataGridView";
     this.balancedataGridView.Size = new System.Drawing.Size(930, 397);
     this.balancedataGridView.TabIndex = 0;
     //
     // showbutton
     //
     this.showbutton.Location = new System.Drawing.Point(779, 14);
     this.showbutton.Name = "showbutton";
     this.showbutton.Size = new System.Drawing.Size(86, 31);
     this.showbutton.TabIndex = 6;
     this.showbutton.Text = "Show";
     this.showbutton.UseVisualStyleBackColor = true;
     this.showbutton.Click += new System.EventHandler(this.showbutton_Click);
     //
     // todateTimePicker
     //
     this.todateTimePicker.Location = new System.Drawing.Point(538, 17);
     this.todateTimePicker.Name = "todateTimePicker";
     this.todateTimePicker.Size = new System.Drawing.Size(223, 20);
     this.todateTimePicker.TabIndex = 5;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(503, 19);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(23, 13);
     this.label1.TabIndex = 7;
     this.label1.Text = "To:";
     //
     // fromdateTimePicker
     //
     this.fromdateTimePicker.Location = new System.Drawing.Point(270, 17);
     this.fromdateTimePicker.Name = "fromdateTimePicker";
     this.fromdateTimePicker.Size = new System.Drawing.Size(223, 20);
     this.fromdateTimePicker.TabIndex = 8;
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(231, 18);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(33, 13);
     this.label3.TabIndex = 9;
     this.label3.Text = "From:";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(1057, 112);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(161, 13);
     this.label2.TabIndex = 10;
     this.label2.Text = "Till Now Total Debit Amount(Tk.)";
     //
     // debiotamountlabel
     //
     this.debiotamountlabel.AutoSize = true;
     this.debiotamountlabel.Location = new System.Drawing.Point(1261, 112);
     this.debiotamountlabel.Name = "debiotamountlabel";
     this.debiotamountlabel.Size = new System.Drawing.Size(28, 13);
     this.debiotamountlabel.TabIndex = 11;
     this.debiotamountlabel.Text = "0.00";
     //
     // creditlabel
     //
     this.creditlabel.AutoSize = true;
     this.creditlabel.Location = new System.Drawing.Point(1261, 74);
     this.creditlabel.Name = "creditlabel";
     this.creditlabel.Size = new System.Drawing.Size(28, 13);
     this.creditlabel.TabIndex = 13;
     this.creditlabel.Text = "0.00";
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(1057, 74);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(163, 13);
     this.label5.TabIndex = 12;
     this.label5.Text = "Till Now Total Credit Amount(Tk.)";
     //
     // balancelabel
     //
     this.balancelabel.AutoSize = true;
     this.balancelabel.Location = new System.Drawing.Point(1261, 154);
     this.balancelabel.Name = "balancelabel";
     this.balancelabel.Size = new System.Drawing.Size(28, 13);
     this.balancelabel.TabIndex = 17;
     this.balancelabel.Text = "0.00";
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.Location = new System.Drawing.Point(1041, 154);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(175, 13);
     this.label7.TabIndex = 16;
     this.label7.Text = "Till Now Total Balance Amount(Tk.)";
     //
     // otherdebitlabel
     //
     this.otherdebitlabel.AutoSize = true;
     this.otherdebitlabel.Location = new System.Drawing.Point(1261, 192);
     this.otherdebitlabel.Name = "otherdebitlabel";
     this.otherdebitlabel.Size = new System.Drawing.Size(28, 13);
     this.otherdebitlabel.TabIndex = 15;
     this.otherdebitlabel.Text = "0.00";
     //
     // label9
     //
     this.label9.AutoSize = true;
     this.label9.Location = new System.Drawing.Point(1028, 192);
     this.label9.Name = "label9";
     this.label9.Size = new System.Drawing.Size(188, 13);
     this.label9.TabIndex = 14;
     this.label9.Text = "Till Now Total other Debit Amount(Tk.)";
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Location = new System.Drawing.Point(1023, 222);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(198, 13);
     this.label6.TabIndex = 20;
     this.label6.Text = "Till Now Total Cash in hand Amount(Tk.)";
     //
     // totalbalanceprintbutton
     //
     this.totalbalanceprintbutton.Location = new System.Drawing.Point(1216, 260);
     this.totalbalanceprintbutton.Name = "totalbalanceprintbutton";
     this.totalbalanceprintbutton.Size = new System.Drawing.Size(86, 31);
     this.totalbalanceprintbutton.TabIndex = 22;
     this.totalbalanceprintbutton.Text = "Print";
     this.totalbalanceprintbutton.UseVisualStyleBackColor = true;
     this.totalbalanceprintbutton.Click += new System.EventHandler(this.totalbalanceprintbutton_Click);
     //
     // printDialog1
     //
     this.printDialog1.UseEXDialog = true;
     //
     // cashlabel
     //
     this.cashlabel.AutoSize = true;
     this.cashlabel.Location = new System.Drawing.Point(1261, 222);
     this.cashlabel.Name = "cashlabel";
     this.cashlabel.Size = new System.Drawing.Size(28, 13);
     this.cashlabel.TabIndex = 21;
     this.cashlabel.Text = "0.00";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(454, 447);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(28, 13);
     this.label4.TabIndex = 22;
     this.label4.Text = "0.00";
     //
     // DailyBalanceReport
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.totalbalanceprintbutton);
     this.Controls.Add(this.cashlabel);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.balancelabel);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.otherdebitlabel);
     this.Controls.Add(this.label9);
     this.Controls.Add(this.creditlabel);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.debiotamountlabel);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.fromdateTimePicker);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.showbutton);
     this.Controls.Add(this.todateTimePicker);
     this.Controls.Add(this.label1);
     this.Name = "DailyBalanceReport";
     this.Size = new System.Drawing.Size(1332, 541);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.balancedataGridView)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #47
0
 /*******************************/
 /// <summary>
 /// This method will recieve a PrintDocument object that will be associated with a new
 ///	PrintDialog object. Then the dialog is shown.
 /// </summary>
 /// <param name="document">The document object.</param>
 /// <returns>true if the DialogResult was 'OK', false otherwise.</returns>
 public static bool PrintDialogSupport(System.Drawing.Printing.PrintDocument document)
 {
     System.Windows.Forms.PrintDialog tempPrintDialog = new System.Windows.Forms.PrintDialog();
     tempPrintDialog.Document = document;
     return (tempPrintDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK);
 }
コード例 #48
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
     this.tabMain = new System.Windows.Forms.TabControl();
     this.tabEncode = new System.Windows.Forms.TabPage();
     this.panPicEncode = new System.Windows.Forms.Panel();
     this.picEncode = new System.Windows.Forms.PictureBox();
     this.panel1 = new System.Windows.Forms.Panel();
     this.button1 = new System.Windows.Forms.Button();
     this.cbbImageStyle = new System.Windows.Forms.ComboBox();
     this.label7 = new System.Windows.Forms.Label();
     this.lblCount = new System.Windows.Forms.Label();
     this.cboVersion = new System.Windows.Forms.ComboBox();
     this.cboCorrectionLevel = new System.Windows.Forms.ComboBox();
     this.label1 = new System.Windows.Forms.Label();
     this.btnPrint = new System.Windows.Forms.Button();
     this.txtEncodeData = new System.Windows.Forms.TextBox();
     this.label5 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.btnSave = new System.Windows.Forms.Button();
     this.cboEncoding = new System.Windows.Forms.ComboBox();
     this.txtSize = new System.Windows.Forms.TextBox();
     this.label3 = new System.Windows.Forms.Label();
     this.btnEncode = new System.Windows.Forms.Button();
     this.label4 = new System.Windows.Forms.Label();
     this.tabDecode = new System.Windows.Forms.TabPage();
     this.panel2 = new System.Windows.Forms.Panel();
     this.btnOpen = new System.Windows.Forms.Button();
     this.label6 = new System.Windows.Forms.Label();
     this.btnDecode = new System.Windows.Forms.Button();
     this.txtDecodedData = new System.Windows.Forms.TextBox();
     this.picDecode = new System.Windows.Forms.PictureBox();
     this.menuStrip1 = new System.Windows.Forms.MenuStrip();
     this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.printDialog1 = new System.Windows.Forms.PrintDialog();
     this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
     this.printDocument1 = new System.Drawing.Printing.PrintDocument();
     this.tabMain.SuspendLayout();
     this.tabEncode.SuspendLayout();
     this.panPicEncode.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.picEncode)).BeginInit();
     this.panel1.SuspendLayout();
     this.tabDecode.SuspendLayout();
     this.panel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.picDecode)).BeginInit();
     this.SuspendLayout();
     //
     // openFileDialog1
     //
     this.openFileDialog1.FileName = "openFileDialog1";
     //
     // tabMain
     //
     this.tabMain.Controls.Add(this.tabEncode);
     this.tabMain.Controls.Add(this.tabDecode);
     this.tabMain.Dock = System.Windows.Forms.DockStyle.Fill;
     this.tabMain.Location = new System.Drawing.Point(0, 24);
     this.tabMain.Name = "tabMain";
     this.tabMain.SelectedIndex = 0;
     this.tabMain.Size = new System.Drawing.Size(708, 564);
     this.tabMain.TabIndex = 0;
     //
     // tabEncode
     //
     this.tabEncode.Controls.Add(this.panPicEncode);
     this.tabEncode.Controls.Add(this.panel1);
     this.tabEncode.Location = new System.Drawing.Point(4, 22);
     this.tabEncode.Name = "tabEncode";
     this.tabEncode.Padding = new System.Windows.Forms.Padding(3);
     this.tabEncode.Size = new System.Drawing.Size(700, 538);
     this.tabEncode.TabIndex = 0;
     this.tabEncode.Text = "Encode";
     this.tabEncode.UseVisualStyleBackColor = true;
     //
     // panPicEncode
     //
     this.panPicEncode.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.panPicEncode.Controls.Add(this.picEncode);
     this.panPicEncode.Location = new System.Drawing.Point(8, 6);
     this.panPicEncode.Name = "panPicEncode";
     this.panPicEncode.Size = new System.Drawing.Size(689, 302);
     this.panPicEncode.TabIndex = 12;
     //
     // picEncode
     //
     this.picEncode.BackColor = System.Drawing.Color.White;
     this.picEncode.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.picEncode.Dock = System.Windows.Forms.DockStyle.Fill;
     this.picEncode.Location = new System.Drawing.Point(0, 0);
     this.picEncode.Name = "picEncode";
     this.picEncode.Size = new System.Drawing.Size(689, 302);
     this.picEncode.TabIndex = 0;
     this.picEncode.TabStop = false;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.button1);
     this.panel1.Controls.Add(this.cbbImageStyle);
     this.panel1.Controls.Add(this.label7);
     this.panel1.Controls.Add(this.lblCount);
     this.panel1.Controls.Add(this.cboVersion);
     this.panel1.Controls.Add(this.cboCorrectionLevel);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.btnPrint);
     this.panel1.Controls.Add(this.txtEncodeData);
     this.panel1.Controls.Add(this.label5);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.btnSave);
     this.panel1.Controls.Add(this.cboEncoding);
     this.panel1.Controls.Add(this.txtSize);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.btnEncode);
     this.panel1.Controls.Add(this.label4);
     this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.panel1.Location = new System.Drawing.Point(3, 311);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(694, 224);
     this.panel1.TabIndex = 11;
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(614, 196);
     this.button1.Name = "button1";
     this.button1.Size = new System.Drawing.Size(75, 23);
     this.button1.TabIndex = 14;
     this.button1.Text = "button1";
     this.button1.UseVisualStyleBackColor = true;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // cbbImageStyle
     //
     this.cbbImageStyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cbbImageStyle.FormattingEnabled = true;
     this.cbbImageStyle.Items.AddRange(new object[] {
     "L",
     "M",
     "Q",
     "H"});
     this.cbbImageStyle.Location = new System.Drawing.Point(404, 131);
     this.cbbImageStyle.Name = "cbbImageStyle";
     this.cbbImageStyle.Size = new System.Drawing.Size(95, 20);
     this.cbbImageStyle.TabIndex = 13;
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.Location = new System.Drawing.Point(292, 134);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(71, 12);
     this.label7.TabIndex = 12;
     this.label7.Text = "Image Style";
     this.label7.Click += new System.EventHandler(this.label7_Click);
     //
     // lblCount
     //
     this.lblCount.AutoSize = true;
     this.lblCount.Location = new System.Drawing.Point(505, 67);
     this.lblCount.Name = "lblCount";
     this.lblCount.Size = new System.Drawing.Size(41, 12);
     this.lblCount.TabIndex = 11;
     this.lblCount.Text = "label7";
     //
     // cboVersion
     //
     this.cboVersion.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboVersion.FormattingEnabled = true;
     this.cboVersion.Items.AddRange(new object[] {
     "1",
     "2",
     "3",
     "4",
     "5",
     "6",
     "7",
     "8",
     "9",
     "10",
     "11",
     "12",
     "13",
     "14",
     "15",
     "16",
     "17",
     "18",
     "19",
     "20",
     "21",
     "22",
     "23",
     "40",
     "25",
     "26",
     "27",
     "28",
     "29",
     "30",
     "31",
     "32",
     "33",
     "34",
     "35",
     "36",
     "37",
     "38",
     "39",
     "40"});
     this.cboVersion.Location = new System.Drawing.Point(112, 127);
     this.cboVersion.Name = "cboVersion";
     this.cboVersion.Size = new System.Drawing.Size(157, 20);
     this.cboVersion.TabIndex = 6;
     //
     // cboCorrectionLevel
     //
     this.cboCorrectionLevel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboCorrectionLevel.FormattingEnabled = true;
     this.cboCorrectionLevel.Items.AddRange(new object[] {
     "L",
     "M",
     "Q",
     "H"});
     this.cboCorrectionLevel.Location = new System.Drawing.Point(404, 91);
     this.cboCorrectionLevel.Name = "cboCorrectionLevel";
     this.cboCorrectionLevel.Size = new System.Drawing.Size(95, 20);
     this.cboCorrectionLevel.TabIndex = 10;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(48, 64);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(29, 12);
     this.label1.TabIndex = 1;
     this.label1.Text = "Data";
     //
     // btnPrint
     //
     this.btnPrint.Location = new System.Drawing.Point(339, 194);
     this.btnPrint.Name = "btnPrint";
     this.btnPrint.Size = new System.Drawing.Size(94, 25);
     this.btnPrint.TabIndex = 3;
     this.btnPrint.Text = "Print";
     this.btnPrint.UseVisualStyleBackColor = true;
     this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click);
     //
     // txtEncodeData
     //
     this.txtEncodeData.Location = new System.Drawing.Point(111, 64);
     this.txtEncodeData.Name = "txtEncodeData";
     this.txtEncodeData.Size = new System.Drawing.Size(388, 21);
     this.txtEncodeData.TabIndex = 2;
     this.txtEncodeData.Text = "Ԫ���Ƽ�";
     this.txtEncodeData.TextChanged += new System.EventHandler(this.txtEncodeData_TextChanged);
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(292, 94);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(101, 12);
     this.label5.TabIndex = 9;
     this.label5.Text = "Correction Level";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(48, 98);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(53, 12);
     this.label2.TabIndex = 3;
     this.label2.Text = "Encoding";
     //
     // btnSave
     //
     this.btnSave.Location = new System.Drawing.Point(218, 194);
     this.btnSave.Name = "btnSave";
     this.btnSave.Size = new System.Drawing.Size(94, 25);
     this.btnSave.TabIndex = 2;
     this.btnSave.Text = "Save";
     this.btnSave.UseVisualStyleBackColor = true;
     this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
     //
     // cboEncoding
     //
     this.cboEncoding.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboEncoding.FormattingEnabled = true;
     this.cboEncoding.Items.AddRange(new object[] {
     "AlphaNumeric",
     "Numeric",
     "Byte"});
     this.cboEncoding.Location = new System.Drawing.Point(112, 91);
     this.cboEncoding.Name = "cboEncoding";
     this.cboEncoding.Size = new System.Drawing.Size(157, 20);
     this.cboEncoding.TabIndex = 4;
     //
     // txtSize
     //
     this.txtSize.Location = new System.Drawing.Point(112, 163);
     this.txtSize.Name = "txtSize";
     this.txtSize.Size = new System.Drawing.Size(43, 21);
     this.txtSize.TabIndex = 8;
     this.txtSize.Text = "4";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(48, 131);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(47, 12);
     this.label3.TabIndex = 5;
     this.label3.Text = "Version";
     //
     // btnEncode
     //
     this.btnEncode.Location = new System.Drawing.Point(97, 194);
     this.btnEncode.Name = "btnEncode";
     this.btnEncode.Size = new System.Drawing.Size(94, 25);
     this.btnEncode.TabIndex = 1;
     this.btnEncode.Text = "Encode";
     this.btnEncode.UseVisualStyleBackColor = true;
     this.btnEncode.Click += new System.EventHandler(this.btnEncode_Click_1);
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(48, 164);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(29, 12);
     this.label4.TabIndex = 7;
     this.label4.Text = "Size";
     //
     // tabDecode
     //
     this.tabDecode.Controls.Add(this.panel2);
     this.tabDecode.Controls.Add(this.picDecode);
     this.tabDecode.Location = new System.Drawing.Point(4, 22);
     this.tabDecode.Name = "tabDecode";
     this.tabDecode.Padding = new System.Windows.Forms.Padding(3);
     this.tabDecode.Size = new System.Drawing.Size(700, 538);
     this.tabDecode.TabIndex = 1;
     this.tabDecode.Text = "Decode";
     this.tabDecode.UseVisualStyleBackColor = true;
     //
     // panel2
     //
     this.panel2.Controls.Add(this.btnOpen);
     this.panel2.Controls.Add(this.label6);
     this.panel2.Controls.Add(this.btnDecode);
     this.panel2.Controls.Add(this.txtDecodedData);
     this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.panel2.Location = new System.Drawing.Point(3, 373);
     this.panel2.Name = "panel2";
     this.panel2.Size = new System.Drawing.Size(694, 162);
     this.panel2.TabIndex = 8;
     //
     // btnOpen
     //
     this.btnOpen.Location = new System.Drawing.Point(127, 121);
     this.btnOpen.Name = "btnOpen";
     this.btnOpen.Size = new System.Drawing.Size(94, 25);
     this.btnOpen.TabIndex = 7;
     this.btnOpen.Text = "Open";
     this.btnOpen.UseVisualStyleBackColor = true;
     this.btnOpen.Click += new System.EventHandler(this.btnOpen_Click);
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Location = new System.Drawing.Point(22, 6);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(29, 12);
     this.label6.TabIndex = 5;
     this.label6.Text = "Data";
     //
     // btnDecode
     //
     this.btnDecode.Location = new System.Drawing.Point(237, 121);
     this.btnDecode.Name = "btnDecode";
     this.btnDecode.Size = new System.Drawing.Size(94, 25);
     this.btnDecode.TabIndex = 4;
     this.btnDecode.Text = "Decode";
     this.btnDecode.UseVisualStyleBackColor = true;
     this.btnDecode.Click += new System.EventHandler(this.btnDecode_Click_1);
     //
     // txtDecodedData
     //
     this.txtDecodedData.Location = new System.Drawing.Point(85, 6);
     this.txtDecodedData.Name = "txtDecodedData";
     this.txtDecodedData.Size = new System.Drawing.Size(388, 21);
     this.txtDecodedData.TabIndex = 6;
     //
     // picDecode
     //
     this.picDecode.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.picDecode.BackColor = System.Drawing.Color.White;
     this.picDecode.Location = new System.Drawing.Point(6, 6);
     this.picDecode.Name = "picDecode";
     this.picDecode.Size = new System.Drawing.Size(691, 355);
     this.picDecode.TabIndex = 3;
     this.picDecode.TabStop = false;
     //
     // menuStrip1
     //
     this.menuStrip1.Location = new System.Drawing.Point(0, 0);
     this.menuStrip1.Name = "menuStrip1";
     this.menuStrip1.Size = new System.Drawing.Size(708, 24);
     this.menuStrip1.TabIndex = 1;
     this.menuStrip1.Text = "menuStrip1";
     //
     // fileToolStripMenuItem
     //
     this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.exitToolStripMenuItem});
     this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
     this.fileToolStripMenuItem.Size = new System.Drawing.Size(39, 21);
     this.fileToolStripMenuItem.Text = "&File";
     //
     // exitToolStripMenuItem
     //
     this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
     this.exitToolStripMenuItem.Size = new System.Drawing.Size(96, 22);
     this.exitToolStripMenuItem.Text = "E&xit";
     this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
     //
     // printDialog1
     //
     this.printDialog1.UseEXDialog = true;
     //
     // printDocument1
     //
     this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage);
     //
     // QrCodeSampleApp
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(708, 588);
     this.Controls.Add(this.tabMain);
     this.Controls.Add(this.menuStrip1);
     this.Name = "QrCodeSampleApp";
     this.Text = "Yc.QrCodeLib QRCode .NET Library";
     this.Load += new System.EventHandler(this.frmSample_Load);
     this.tabMain.ResumeLayout(false);
     this.tabEncode.ResumeLayout(false);
     this.panPicEncode.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.picEncode)).EndInit();
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.tabDecode.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.panel2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.picDecode)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     DevExpress.XtraCharts.XYDiagram xyDiagram1 = new DevExpress.XtraCharts.XYDiagram();
     DevExpress.XtraCharts.Series series1 = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel1 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     DevExpress.XtraCharts.PointOptions pointOptions1 = new DevExpress.XtraCharts.PointOptions();
     DevExpress.XtraCharts.Series series2 = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel2 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel3 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition1 = new DevExpress.XtraGrid.StyleFormatCondition();
     DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition2 = new DevExpress.XtraGrid.StyleFormatCondition();
     DevExpress.XtraCharts.XYDiagram xyDiagram2 = new DevExpress.XtraCharts.XYDiagram();
     DevExpress.XtraCharts.Series series3 = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel4 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     DevExpress.XtraCharts.Series series4 = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel5 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel6 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     DevExpress.XtraCharts.XYDiagram xyDiagram3 = new DevExpress.XtraCharts.XYDiagram();
     DevExpress.XtraCharts.Series series5 = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel7 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     DevExpress.XtraCharts.Series series6 = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel8 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel9 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     DevExpress.XtraCharts.XYDiagram xyDiagram4 = new DevExpress.XtraCharts.XYDiagram();
     DevExpress.XtraCharts.Series series7 = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel10 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     DevExpress.XtraCharts.Series series8 = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel11 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel12 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     DevExpress.XtraCharts.XYDiagram xyDiagram5 = new DevExpress.XtraCharts.XYDiagram();
     DevExpress.XtraCharts.Series series9 = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel13 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     DevExpress.XtraCharts.Series series10 = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel14 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel15 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     DevExpress.XtraCharts.SimpleDiagram3D simpleDiagram3D1 = new DevExpress.XtraCharts.SimpleDiagram3D();
     DevExpress.XtraCharts.Series series11 = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.Pie3DSeriesLabel pie3DSeriesLabel1 = new DevExpress.XtraCharts.Pie3DSeriesLabel();
     DevExpress.XtraCharts.PiePointOptions piePointOptions1 = new DevExpress.XtraCharts.PiePointOptions();
     DevExpress.XtraCharts.Pie3DSeriesView pie3DSeriesView1 = new DevExpress.XtraCharts.Pie3DSeriesView();
     DevExpress.XtraCharts.Pie3DSeriesLabel pie3DSeriesLabel2 = new DevExpress.XtraCharts.Pie3DSeriesLabel();
     DevExpress.XtraCharts.Pie3DSeriesView pie3DSeriesView2 = new DevExpress.XtraCharts.Pie3DSeriesView();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel16 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ItemDetailReport));
     this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.txtItemName = new DevExpress.XtraEditors.TextEdit();
     this.label1 = new System.Windows.Forms.Label();
     this.chartBar = new DevExpress.XtraCharts.ChartControl();
     this.tabControl1 = new DevExpress.XtraTab.XtraTabControl();
     this.tabPage11 = new DevExpress.XtraTab.XtraTabPage();
     this.gridDispensaryView = new DevExpress.XtraGrid.GridControl();
     this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.tabPage4 = new DevExpress.XtraTab.XtraTabPage();
     this.lblItemID = new System.Windows.Forms.Label();
     this.lblLastIssue = new System.Windows.Forms.Label();
     this.txtSOH = new System.Windows.Forms.Label();
     this.txtAMC = new System.Windows.Forms.Label();
     this.txtMOS = new System.Windows.Forms.Label();
     this.txtMin = new System.Windows.Forms.Label();
     this.txtMax = new System.Windows.Forms.Label();
     this.txtReorderAmount = new System.Windows.Forms.Label();
     this.txtExpiredAmount = new System.Windows.Forms.Label();
     this.txtNearExp = new System.Windows.Forms.Label();
     this.txtFreeItem = new System.Windows.Forms.Label();
     this.txtRefrigerated = new System.Windows.Forms.Label();
     this.txtPediatric = new System.Windows.Forms.Label();
     this.lblLastRec = new System.Windows.Forms.Label();
     this.label31 = new System.Windows.Forms.Label();
     this.label32 = new System.Windows.Forms.Label();
     this.lblstat = new System.Windows.Forms.Label();
     this.label30 = new System.Windows.Forms.Label();
     this.label9 = new System.Windows.Forms.Label();
     this.label8 = new System.Windows.Forms.Label();
     this.label7 = new System.Windows.Forms.Label();
     this.label6 = new System.Windows.Forms.Label();
     this.label5 = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.label40 = new System.Windows.Forms.Label();
     this.label26 = new System.Windows.Forms.Label();
     this.label25 = new System.Windows.Forms.Label();
     this.label24 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.tabPage5 = new DevExpress.XtraTab.XtraTabPage();
     this.cboFiscalYear = new DevExpress.XtraEditors.ComboBoxEdit();
     this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
     this.gridItemsList = new DevExpress.XtraGrid.GridControl();
     this.gridItemListView = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colItemName = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn12 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn14 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn15 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemLookUpEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
     this.unitBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.repositoryItemCheckEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
     this.txtBBalance = new DevExpress.XtraEditors.TextEdit();
     this.label28 = new System.Windows.Forms.Label();
     this.label27 = new System.Windows.Forms.Label();
     this.tabPage1 = new DevExpress.XtraTab.XtraTabPage();
     this.lkShowTable = new System.Windows.Forms.LinkLabel();
     this.label29 = new System.Windows.Forms.Label();
     this.tabPage9 = new DevExpress.XtraTab.XtraTabPage();
     this.lkDetailCons = new System.Windows.Forms.LinkLabel();
     this.label33 = new System.Windows.Forms.Label();
     this.consuTrend = new DevExpress.XtraCharts.ChartControl();
     this.tabPage2 = new DevExpress.XtraTab.XtraTabPage();
     this.lkDetailAmc = new System.Windows.Forms.LinkLabel();
     this.label34 = new System.Windows.Forms.Label();
     this.chartAmc = new DevExpress.XtraCharts.ChartControl();
     this.tabPage3 = new DevExpress.XtraTab.XtraTabPage();
     this.lkDetailMos = new System.Windows.Forms.LinkLabel();
     this.label35 = new System.Windows.Forms.Label();
     this.chartMOS = new DevExpress.XtraCharts.ChartControl();
     this.tabPage6 = new DevExpress.XtraTab.XtraTabPage();
     this.label36 = new System.Windows.Forms.Label();
     this.chartComp = new DevExpress.XtraCharts.ChartControl();
     this.tabPage7 = new DevExpress.XtraTab.XtraTabPage();
     this.label20 = new System.Windows.Forms.Label();
     this.lblTime = new System.Windows.Forms.Label();
     this.lblCurStatus = new System.Windows.Forms.Label();
     this.label19 = new System.Windows.Forms.Label();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.label10 = new System.Windows.Forms.Label();
     this.label11 = new System.Windows.Forms.Label();
     this.label12 = new System.Windows.Forms.Label();
     this.label13 = new System.Windows.Forms.Label();
     this.label14 = new System.Windows.Forms.Label();
     this.label15 = new System.Windows.Forms.Label();
     this.label16 = new System.Windows.Forms.Label();
     this.label18 = new System.Windows.Forms.Label();
     this.lblThreeStockout = new System.Windows.Forms.Label();
     this.lblSixStockOut = new System.Windows.Forms.Label();
     this.lblTwelveStockOut = new System.Windows.Forms.Label();
     this.lblThreeNearStock = new System.Windows.Forms.Label();
     this.lblSixNearStock = new System.Windows.Forms.Label();
     this.lblTwelveNear = new System.Windows.Forms.Label();
     this.lblThreeBelowMin = new System.Windows.Forms.Label();
     this.lblSixBelowMin = new System.Windows.Forms.Label();
     this.lblTwelveBelowMin = new System.Windows.Forms.Label();
     this.lblTwelveOverStock = new System.Windows.Forms.Label();
     this.lblSixOverStock = new System.Windows.Forms.Label();
     this.lblThreeOverStock = new System.Windows.Forms.Label();
     this.tabPage8 = new DevExpress.XtraTab.XtraTabPage();
     this.lblAvgIssues = new System.Windows.Forms.Label();
     this.lblAvgReceives = new System.Windows.Forms.Label();
     this.lblLastIssues = new System.Windows.Forms.Label();
     this.lblLastReceive = new System.Windows.Forms.Label();
     this.label23 = new System.Windows.Forms.Label();
     this.label22 = new System.Windows.Forms.Label();
     this.label21 = new System.Windows.Forms.Label();
     this.label17 = new System.Windows.Forms.Label();
     this.tabPage10 = new DevExpress.XtraTab.XtraTabPage();
     this.chartPie = new DevExpress.XtraCharts.ChartControl();
     this.lblStatus = new System.Windows.Forms.Label();
     this.label37 = new System.Windows.Forms.Label();
     this.dtDate = new CalendarLib.DateTimePickerEx();
     this.btnCancel = new DevExpress.XtraEditors.SimpleButton();
     this.cboYear = new System.Windows.Forms.ComboBox();
     this.ckPast = new DevExpress.XtraEditors.CheckEdit();
     this.chartControl1 = new DevExpress.XtraCharts.ChartControl();
     this.printDoc = new System.Drawing.Printing.PrintDocument();
     this.printDialog1 = new System.Windows.Forms.PrintDialog();
     this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
     this.txtitmName = new System.Windows.Forms.Label();
     this.label38 = new System.Windows.Forms.Label();
     this.lblBUnit = new System.Windows.Forms.Label();
     this.cboDU = new System.Windows.Forms.ComboBox();
     this.xpButton1 = new DevExpress.XtraEditors.SimpleButton();
     this.printingSystem2 = new DevExpress.XtraPrinting.PrintingSystem(this.components);
     this.printableComponentLink1 = new DevExpress.XtraPrinting.PrintableComponentLink(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.txtItemName.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartBar)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(xyDiagram1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tabControl1)).BeginInit();
     this.tabControl1.SuspendLayout();
     this.tabPage11.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridDispensaryView)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     this.tabPage4.SuspendLayout();
     this.tabPage5.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cboFiscalYear.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridItemsList)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridItemListView)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.unitBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtBBalance.Properties)).BeginInit();
     this.tabPage1.SuspendLayout();
     this.tabPage9.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.consuTrend)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(xyDiagram2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel6)).BeginInit();
     this.tabPage2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.chartAmc)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(xyDiagram3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel9)).BeginInit();
     this.tabPage3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.chartMOS)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(xyDiagram4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel10)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel11)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel12)).BeginInit();
     this.tabPage6.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.chartComp)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(xyDiagram5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel13)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series10)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel14)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel15)).BeginInit();
     this.tabPage7.SuspendLayout();
     this.tableLayoutPanel1.SuspendLayout();
     this.tabPage8.SuspendLayout();
     this.tabPage10.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.chartPie)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(simpleDiagram3D1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series11)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pie3DSeriesLabel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pie3DSeriesView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pie3DSeriesLabel2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pie3DSeriesView2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ckPast.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel16)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.printingSystem2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.printableComponentLink1.ImageCollection)).BeginInit();
     this.SuspendLayout();
     //
     // gridColumn7
     //
     this.gridColumn7.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumn7.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.gridColumn7.Caption = "Receive";
     this.gridColumn7.DisplayFormat.FormatString = "#,###";
     this.gridColumn7.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.gridColumn7.FieldName = "Received";
     this.gridColumn7.Name = "gridColumn7";
     this.gridColumn7.OptionsColumn.AllowEdit = false;
     this.gridColumn7.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumn7.OptionsColumn.AllowMove = false;
     this.gridColumn7.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumn7.OptionsColumn.ReadOnly = true;
     this.gridColumn7.OptionsFilter.AllowFilter = false;
     this.gridColumn7.Visible = true;
     this.gridColumn7.VisibleIndex = 2;
     this.gridColumn7.Width = 76;
     //
     // gridColumn8
     //
     this.gridColumn8.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumn8.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.gridColumn8.Caption = "Issue";
     this.gridColumn8.DisplayFormat.FormatString = "#,###";
     this.gridColumn8.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.gridColumn8.FieldName = "Issued";
     this.gridColumn8.Name = "gridColumn8";
     this.gridColumn8.OptionsColumn.AllowEdit = false;
     this.gridColumn8.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumn8.OptionsColumn.AllowMove = false;
     this.gridColumn8.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumn8.OptionsColumn.ReadOnly = true;
     this.gridColumn8.OptionsFilter.AllowFilter = false;
     this.gridColumn8.Visible = true;
     this.gridColumn8.VisibleIndex = 3;
     this.gridColumn8.Width = 61;
     //
     // txtItemName
     //
     this.txtItemName.Enabled = false;
     this.txtItemName.Location = new System.Drawing.Point(251, 24);
     this.txtItemName.Name = "txtItemName";
     this.txtItemName.Properties.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253)))));
     this.txtItemName.Properties.Appearance.ForeColor = System.Drawing.Color.Black;
     this.txtItemName.Properties.Appearance.Options.UseBackColor = true;
     this.txtItemName.Properties.Appearance.Options.UseForeColor = true;
     this.txtItemName.Size = new System.Drawing.Size(900, 20);
     this.txtItemName.TabIndex = 0;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label1.Location = new System.Drawing.Point(169, 25);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(71, 13);
     this.label1.TabIndex = 1;
     this.label1.Text = "Item Name";
     //
     // chartBar
     //
     this.chartBar.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.chartBar.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253)))));
     xyDiagram1.AxisX.Range.ScrollingRange.SideMarginsEnabled = true;
     xyDiagram1.AxisX.Range.SideMarginsEnabled = true;
     xyDiagram1.AxisX.VisibleInPanesSerializable = "-1";
     xyDiagram1.AxisY.Range.ScrollingRange.SideMarginsEnabled = true;
     xyDiagram1.AxisY.Range.SideMarginsEnabled = true;
     xyDiagram1.AxisY.VisibleInPanesSerializable = "-1";
     this.chartBar.Diagram = xyDiagram1;
     this.chartBar.Location = new System.Drawing.Point(3, 38);
     this.chartBar.Name = "chartBar";
     this.chartBar.OptionsPrint.SizeMode = DevExpress.XtraCharts.Printing.PrintSizeMode.Stretch;
     sideBySideBarSeriesLabel1.LineVisible = true;
     pointOptions1.ValueNumericOptions.Format = DevExpress.XtraCharts.NumericFormat.Number;
     pointOptions1.ValueNumericOptions.Precision = 3;
     sideBySideBarSeriesLabel1.PointOptions = pointOptions1;
     series1.Label = sideBySideBarSeriesLabel1;
     series1.Name = "Series 1";
     sideBySideBarSeriesLabel2.LineVisible = true;
     series2.Label = sideBySideBarSeriesLabel2;
     series2.Name = "Series 2";
     this.chartBar.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
     series1,
     series2};
     sideBySideBarSeriesLabel3.LineVisible = true;
     this.chartBar.SeriesTemplate.Label = sideBySideBarSeriesLabel3;
     this.chartBar.Size = new System.Drawing.Size(894, 487);
     this.chartBar.TabIndex = 2;
     //
     // tabControl1
     //
     this.tabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.tabControl1.Location = new System.Drawing.Point(1, 63);
     this.tabControl1.Name = "tabControl1";
     this.tabControl1.SelectedTabPage = this.tabPage11;
     this.tabControl1.Size = new System.Drawing.Size(908, 560);
     this.tabControl1.TabIndex = 3;
     this.tabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
     this.tabPage4,
     this.tabPage5,
     this.tabPage1,
     this.tabPage9,
     this.tabPage2,
     this.tabPage3,
     this.tabPage6,
     this.tabPage7,
     this.tabPage8,
     this.tabPage10,
     this.tabPage11});
     //
     // tabPage11
     //
     this.tabPage11.Controls.Add(this.gridDispensaryView);
     this.tabPage11.Name = "tabPage11";
     this.tabPage11.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage11.PageVisible = false;
     this.tabPage11.Size = new System.Drawing.Size(902, 532);
     this.tabPage11.Text = "Dispensery Unit Balances";
     //
     // gridDispensaryView
     //
     this.gridDispensaryView.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridDispensaryView.Location = new System.Drawing.Point(3, 3);
     this.gridDispensaryView.MainView = this.gridView1;
     this.gridDispensaryView.Name = "gridDispensaryView";
     this.gridDispensaryView.Size = new System.Drawing.Size(896, 526);
     this.gridDispensaryView.TabIndex = 0;
     this.gridDispensaryView.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridView1});
     //
     // gridView1
     //
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.gridColumn1,
     this.gridColumn2,
     this.gridColumn3,
     this.gridColumn4});
     this.gridView1.GridControl = this.gridDispensaryView;
     this.gridView1.Name = "gridView1";
     this.gridView1.OptionsView.ShowGroupPanel = false;
     //
     // gridColumn1
     //
     this.gridColumn1.Caption = "Store Name";
     this.gridColumn1.FieldName = "StoreName";
     this.gridColumn1.Name = "gridColumn1";
     this.gridColumn1.Visible = true;
     this.gridColumn1.VisibleIndex = 0;
     this.gridColumn1.Width = 580;
     //
     // gridColumn2
     //
     this.gridColumn2.Caption = "SOH";
     this.gridColumn2.FieldName = "SOH";
     this.gridColumn2.Name = "gridColumn2";
     this.gridColumn2.Visible = true;
     this.gridColumn2.VisibleIndex = 1;
     this.gridColumn2.Width = 98;
     //
     // gridColumn3
     //
     this.gridColumn3.Caption = "MOS";
     this.gridColumn3.FieldName = "MOS";
     this.gridColumn3.Name = "gridColumn3";
     this.gridColumn3.Visible = true;
     this.gridColumn3.VisibleIndex = 3;
     this.gridColumn3.Width = 100;
     //
     // gridColumn4
     //
     this.gridColumn4.Caption = "AMC";
     this.gridColumn4.FieldName = "AMC";
     this.gridColumn4.Name = "gridColumn4";
     this.gridColumn4.Visible = true;
     this.gridColumn4.VisibleIndex = 2;
     this.gridColumn4.Width = 95;
     //
     // tabPage4
     //
     this.tabPage4.Appearance.PageClient.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253)))));
     this.tabPage4.Appearance.PageClient.Options.UseBackColor = true;
     this.tabPage4.Controls.Add(this.lblItemID);
     this.tabPage4.Controls.Add(this.lblLastIssue);
     this.tabPage4.Controls.Add(this.txtSOH);
     this.tabPage4.Controls.Add(this.txtAMC);
     this.tabPage4.Controls.Add(this.txtMOS);
     this.tabPage4.Controls.Add(this.txtMin);
     this.tabPage4.Controls.Add(this.txtMax);
     this.tabPage4.Controls.Add(this.txtReorderAmount);
     this.tabPage4.Controls.Add(this.txtExpiredAmount);
     this.tabPage4.Controls.Add(this.txtNearExp);
     this.tabPage4.Controls.Add(this.txtFreeItem);
     this.tabPage4.Controls.Add(this.txtRefrigerated);
     this.tabPage4.Controls.Add(this.txtPediatric);
     this.tabPage4.Controls.Add(this.lblLastRec);
     this.tabPage4.Controls.Add(this.label31);
     this.tabPage4.Controls.Add(this.label32);
     this.tabPage4.Controls.Add(this.lblstat);
     this.tabPage4.Controls.Add(this.label30);
     this.tabPage4.Controls.Add(this.label9);
     this.tabPage4.Controls.Add(this.label8);
     this.tabPage4.Controls.Add(this.label7);
     this.tabPage4.Controls.Add(this.label1);
     this.tabPage4.Controls.Add(this.label6);
     this.tabPage4.Controls.Add(this.txtItemName);
     this.tabPage4.Controls.Add(this.label5);
     this.tabPage4.Controls.Add(this.label4);
     this.tabPage4.Controls.Add(this.label3);
     this.tabPage4.Controls.Add(this.label40);
     this.tabPage4.Controls.Add(this.label26);
     this.tabPage4.Controls.Add(this.label25);
     this.tabPage4.Controls.Add(this.label24);
     this.tabPage4.Controls.Add(this.label2);
     this.tabPage4.Name = "tabPage4";
     this.tabPage4.Size = new System.Drawing.Size(902, 532);
     this.tabPage4.Text = "Summary";
     //
     // lblItemID
     //
     this.lblItemID.AutoSize = true;
     this.lblItemID.Enabled = false;
     this.lblItemID.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblItemID.ForeColor = System.Drawing.Color.Black;
     this.lblItemID.Location = new System.Drawing.Point(252, 473);
     this.lblItemID.Name = "lblItemID";
     this.lblItemID.Size = new System.Drawing.Size(14, 13);
     this.lblItemID.TabIndex = 26;
     this.lblItemID.Text = "0";
     //
     // lblLastIssue
     //
     this.lblLastIssue.AutoSize = true;
     this.lblLastIssue.Enabled = false;
     this.lblLastIssue.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblLastIssue.ForeColor = System.Drawing.Color.Black;
     this.lblLastIssue.Location = new System.Drawing.Point(251, 355);
     this.lblLastIssue.Name = "lblLastIssue";
     this.lblLastIssue.Size = new System.Drawing.Size(14, 13);
     this.lblLastIssue.TabIndex = 24;
     this.lblLastIssue.Text = "0";
     //
     // txtSOH
     //
     this.txtSOH.AutoSize = true;
     this.txtSOH.Enabled = false;
     this.txtSOH.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtSOH.ForeColor = System.Drawing.Color.Black;
     this.txtSOH.Location = new System.Drawing.Point(251, 85);
     this.txtSOH.Name = "txtSOH";
     this.txtSOH.Size = new System.Drawing.Size(14, 13);
     this.txtSOH.TabIndex = 25;
     this.txtSOH.Text = "0";
     //
     // txtAMC
     //
     this.txtAMC.AutoSize = true;
     this.txtAMC.Enabled = false;
     this.txtAMC.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtAMC.ForeColor = System.Drawing.Color.Black;
     this.txtAMC.Location = new System.Drawing.Point(251, 115);
     this.txtAMC.Name = "txtAMC";
     this.txtAMC.Size = new System.Drawing.Size(14, 13);
     this.txtAMC.TabIndex = 25;
     this.txtAMC.Text = "0";
     //
     // txtMOS
     //
     this.txtMOS.AutoSize = true;
     this.txtMOS.Enabled = false;
     this.txtMOS.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtMOS.ForeColor = System.Drawing.Color.Black;
     this.txtMOS.Location = new System.Drawing.Point(251, 145);
     this.txtMOS.Name = "txtMOS";
     this.txtMOS.Size = new System.Drawing.Size(14, 13);
     this.txtMOS.TabIndex = 25;
     this.txtMOS.Text = "0";
     //
     // txtMin
     //
     this.txtMin.AutoSize = true;
     this.txtMin.Enabled = false;
     this.txtMin.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtMin.ForeColor = System.Drawing.Color.Black;
     this.txtMin.Location = new System.Drawing.Point(251, 175);
     this.txtMin.Name = "txtMin";
     this.txtMin.Size = new System.Drawing.Size(14, 13);
     this.txtMin.TabIndex = 25;
     this.txtMin.Text = "0";
     //
     // txtMax
     //
     this.txtMax.AutoSize = true;
     this.txtMax.Enabled = false;
     this.txtMax.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtMax.ForeColor = System.Drawing.Color.Black;
     this.txtMax.Location = new System.Drawing.Point(251, 205);
     this.txtMax.Name = "txtMax";
     this.txtMax.Size = new System.Drawing.Size(14, 13);
     this.txtMax.TabIndex = 25;
     this.txtMax.Text = "0";
     //
     // txtReorderAmount
     //
     this.txtReorderAmount.AutoSize = true;
     this.txtReorderAmount.Enabled = false;
     this.txtReorderAmount.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtReorderAmount.ForeColor = System.Drawing.Color.Black;
     this.txtReorderAmount.Location = new System.Drawing.Point(251, 235);
     this.txtReorderAmount.Name = "txtReorderAmount";
     this.txtReorderAmount.Size = new System.Drawing.Size(14, 13);
     this.txtReorderAmount.TabIndex = 25;
     this.txtReorderAmount.Text = "0";
     //
     // txtExpiredAmount
     //
     this.txtExpiredAmount.AutoSize = true;
     this.txtExpiredAmount.Enabled = false;
     this.txtExpiredAmount.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtExpiredAmount.ForeColor = System.Drawing.Color.Black;
     this.txtExpiredAmount.Location = new System.Drawing.Point(251, 265);
     this.txtExpiredAmount.Name = "txtExpiredAmount";
     this.txtExpiredAmount.Size = new System.Drawing.Size(14, 13);
     this.txtExpiredAmount.TabIndex = 25;
     this.txtExpiredAmount.Text = "0";
     //
     // txtNearExp
     //
     this.txtNearExp.AutoSize = true;
     this.txtNearExp.Enabled = false;
     this.txtNearExp.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtNearExp.ForeColor = System.Drawing.Color.Black;
     this.txtNearExp.Location = new System.Drawing.Point(251, 295);
     this.txtNearExp.Name = "txtNearExp";
     this.txtNearExp.Size = new System.Drawing.Size(14, 13);
     this.txtNearExp.TabIndex = 25;
     this.txtNearExp.Text = "0";
     //
     // txtFreeItem
     //
     this.txtFreeItem.AutoSize = true;
     this.txtFreeItem.Enabled = false;
     this.txtFreeItem.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtFreeItem.ForeColor = System.Drawing.Color.Black;
     this.txtFreeItem.Location = new System.Drawing.Point(251, 385);
     this.txtFreeItem.Name = "txtFreeItem";
     this.txtFreeItem.Size = new System.Drawing.Size(22, 13);
     this.txtFreeItem.TabIndex = 25;
     this.txtFreeItem.Text = "No";
     //
     // txtRefrigerated
     //
     this.txtRefrigerated.AutoSize = true;
     this.txtRefrigerated.Enabled = false;
     this.txtRefrigerated.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtRefrigerated.ForeColor = System.Drawing.Color.Black;
     this.txtRefrigerated.Location = new System.Drawing.Point(251, 415);
     this.txtRefrigerated.Name = "txtRefrigerated";
     this.txtRefrigerated.Size = new System.Drawing.Size(22, 13);
     this.txtRefrigerated.TabIndex = 25;
     this.txtRefrigerated.Text = "No";
     //
     // txtPediatric
     //
     this.txtPediatric.AutoSize = true;
     this.txtPediatric.Enabled = false;
     this.txtPediatric.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtPediatric.ForeColor = System.Drawing.Color.Black;
     this.txtPediatric.Location = new System.Drawing.Point(251, 445);
     this.txtPediatric.Name = "txtPediatric";
     this.txtPediatric.Size = new System.Drawing.Size(22, 13);
     this.txtPediatric.TabIndex = 25;
     this.txtPediatric.Text = "No";
     this.txtPediatric.Visible = false;
     //
     // lblLastRec
     //
     this.lblLastRec.AutoSize = true;
     this.lblLastRec.Enabled = false;
     this.lblLastRec.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblLastRec.ForeColor = System.Drawing.Color.Black;
     this.lblLastRec.Location = new System.Drawing.Point(251, 325);
     this.lblLastRec.Name = "lblLastRec";
     this.lblLastRec.Size = new System.Drawing.Size(14, 13);
     this.lblLastRec.TabIndex = 25;
     this.lblLastRec.Text = "0";
     //
     // label31
     //
     this.label31.AutoSize = true;
     this.label31.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label31.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label31.Location = new System.Drawing.Point(137, 355);
     this.label31.Name = "label31";
     this.label31.Size = new System.Drawing.Size(103, 13);
     this.label31.TabIndex = 22;
     this.label31.Text = "Last Issued Date";
     //
     // label32
     //
     this.label32.AutoSize = true;
     this.label32.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label32.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label32.Location = new System.Drawing.Point(123, 325);
     this.label32.Name = "label32";
     this.label32.Size = new System.Drawing.Size(117, 13);
     this.label32.TabIndex = 23;
     this.label32.Text = "Last Received Date";
     //
     // lblstat
     //
     this.lblstat.AutoSize = true;
     this.lblstat.Enabled = false;
     this.lblstat.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblstat.ForeColor = System.Drawing.Color.Black;
     this.lblstat.Location = new System.Drawing.Point(251, 55);
     this.lblstat.Name = "lblstat";
     this.lblstat.Size = new System.Drawing.Size(14, 13);
     this.lblstat.TabIndex = 21;
     this.lblstat.Text = "0";
     //
     // label30
     //
     this.label30.AutoSize = true;
     this.label30.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label30.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label30.Location = new System.Drawing.Point(149, 55);
     this.label30.Name = "label30";
     this.label30.Size = new System.Drawing.Size(91, 13);
     this.label30.TabIndex = 20;
     this.label30.Text = "Current Status";
     //
     // label9
     //
     this.label9.AutoSize = true;
     this.label9.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label9.Location = new System.Drawing.Point(118, 295);
     this.label9.Name = "label9";
     this.label9.Size = new System.Drawing.Size(122, 13);
     this.label9.TabIndex = 17;
     this.label9.Text = "Near Expiry Amount";
     //
     // label8
     //
     this.label8.AutoSize = true;
     this.label8.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label8.Location = new System.Drawing.Point(190, 265);
     this.label8.Name = "label8";
     this.label8.Size = new System.Drawing.Size(50, 13);
     this.label8.TabIndex = 17;
     this.label8.Text = "Expired";
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label7.Location = new System.Drawing.Point(139, 235);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(101, 13);
     this.label7.TabIndex = 17;
     this.label7.Text = "Reorder Amount";
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label6.Location = new System.Drawing.Point(140, 145);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(100, 13);
     this.label6.TabIndex = 17;
     this.label6.Text = "Months Of Stock";
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label5.Location = new System.Drawing.Point(142, 205);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(98, 13);
     this.label5.TabIndex = 17;
     this.label5.Text = "Maximum Value";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label4.Location = new System.Drawing.Point(146, 175);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(94, 13);
     this.label4.TabIndex = 16;
     this.label4.Text = "Minimum Value";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label3.Location = new System.Drawing.Point(58, 115);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(182, 13);
     this.label3.TabIndex = 19;
     this.label3.Text = "Average Monthly Consumption";
     //
     // label40
     //
     this.label40.AutoSize = true;
     this.label40.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label40.Location = new System.Drawing.Point(189, 473);
     this.label40.Name = "label40";
     this.label40.Size = new System.Drawing.Size(52, 13);
     this.label40.TabIndex = 18;
     this.label40.Text = "Item ID";
     this.label40.Visible = false;
     //
     // label26
     //
     this.label26.AutoSize = true;
     this.label26.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label26.Location = new System.Drawing.Point(138, 445);
     this.label26.Name = "label26";
     this.label26.Size = new System.Drawing.Size(102, 13);
     this.label26.TabIndex = 18;
     this.label26.Text = "Is Pediatric Item";
     this.label26.Visible = false;
     //
     // label25
     //
     this.label25.AutoSize = true;
     this.label25.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label25.Location = new System.Drawing.Point(116, 415);
     this.label25.Name = "label25";
     this.label25.Size = new System.Drawing.Size(124, 13);
     this.label25.TabIndex = 18;
     this.label25.Text = "Is Refrigerated Item";
     //
     // label24
     //
     this.label24.AutoSize = true;
     this.label24.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label24.Location = new System.Drawing.Point(162, 385);
     this.label24.Name = "label24";
     this.label24.Size = new System.Drawing.Size(78, 13);
     this.label24.TabIndex = 18;
     this.label24.Text = "Is Free Item";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label2.Location = new System.Drawing.Point(148, 85);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(92, 13);
     this.label2.TabIndex = 18;
     this.label2.Text = "Stock On Hand";
     //
     // tabPage5
     //
     this.tabPage5.Appearance.PageClient.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253)))));
     this.tabPage5.Appearance.PageClient.Options.UseBackColor = true;
     this.tabPage5.Controls.Add(this.cboFiscalYear);
     this.tabPage5.Controls.Add(this.labelControl1);
     this.tabPage5.Controls.Add(this.gridItemsList);
     this.tabPage5.Controls.Add(this.txtBBalance);
     this.tabPage5.Controls.Add(this.label28);
     this.tabPage5.Controls.Add(this.label27);
     this.tabPage5.Name = "tabPage5";
     this.tabPage5.Size = new System.Drawing.Size(902, 532);
     this.tabPage5.Text = "Bin Card";
     //
     // cboFiscalYear
     //
     this.cboFiscalYear.Location = new System.Drawing.Point(794, 41);
     this.cboFiscalYear.Name = "cboFiscalYear";
     this.cboFiscalYear.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.cboFiscalYear.Size = new System.Drawing.Size(100, 20);
     this.cboFiscalYear.TabIndex = 34;
     this.cboFiscalYear.SelectedIndexChanged += new System.EventHandler(this.cboFiscalYear_SelectedIndexChanged);
     //
     // labelControl1
     //
     this.labelControl1.Location = new System.Drawing.Point(723, 44);
     this.labelControl1.Name = "labelControl1";
     this.labelControl1.Size = new System.Drawing.Size(51, 13);
     this.labelControl1.TabIndex = 33;
     this.labelControl1.Text = "Fiscal Year";
     //
     // gridItemsList
     //
     this.gridItemsList.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.gridItemsList.Location = new System.Drawing.Point(11, 68);
     this.gridItemsList.MainView = this.gridItemListView;
     this.gridItemsList.Name = "gridItemsList";
     this.gridItemsList.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemCheckEdit1,
     this.repositoryItemLookUpEdit1});
     this.gridItemsList.Size = new System.Drawing.Size(883, 449);
     this.gridItemsList.TabIndex = 32;
     this.gridItemsList.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridItemListView});
     //
     // gridItemListView
     //
     this.gridItemListView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colItemName,
     this.gridColumn6,
     this.gridColumn7,
     this.gridColumn8,
     this.gridColumn10,
     this.gridColumn11,
     this.gridColumn12,
     this.gridColumn13,
     this.gridColumn9,
     this.gridColumn5,
     this.gridColumn14,
     this.gridColumn15});
     styleFormatCondition1.Appearance.BackColor = System.Drawing.Color.Honeydew;
     styleFormatCondition1.Appearance.Options.UseBackColor = true;
     styleFormatCondition1.ApplyToRow = true;
     styleFormatCondition1.Column = this.gridColumn7;
     styleFormatCondition1.Condition = DevExpress.XtraGrid.FormatConditionEnum.NotEqual;
     styleFormatCondition1.Value1 = "";
     styleFormatCondition2.Appearance.BackColor = System.Drawing.Color.White;
     styleFormatCondition2.Appearance.Options.UseBackColor = true;
     styleFormatCondition2.ApplyToRow = true;
     styleFormatCondition2.Column = this.gridColumn8;
     styleFormatCondition2.Condition = DevExpress.XtraGrid.FormatConditionEnum.NotEqual;
     styleFormatCondition2.Value1 = "";
     this.gridItemListView.FormatConditions.AddRange(new DevExpress.XtraGrid.StyleFormatCondition[] {
     styleFormatCondition1,
     styleFormatCondition2});
     this.gridItemListView.GridControl = this.gridItemsList;
     this.gridItemListView.IndicatorWidth = 40;
     this.gridItemListView.Name = "gridItemListView";
     this.gridItemListView.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False;
     this.gridItemListView.OptionsDetail.AllowExpandEmptyDetails = true;
     this.gridItemListView.OptionsDetail.EnableDetailToolTip = true;
     this.gridItemListView.OptionsDetail.SmartDetailExpandButtonMode = DevExpress.XtraGrid.Views.Grid.DetailExpandButtonMode.AlwaysEnabled;
     this.gridItemListView.OptionsDetail.SmartDetailHeight = true;
     this.gridItemListView.OptionsPrint.EnableAppearanceEvenRow = true;
     this.gridItemListView.OptionsPrint.EnableAppearanceOddRow = true;
     this.gridItemListView.OptionsSelection.EnableAppearanceFocusedCell = false;
     this.gridItemListView.OptionsSelection.EnableAppearanceFocusedRow = false;
     this.gridItemListView.OptionsSelection.EnableAppearanceHideSelection = false;
     this.gridItemListView.OptionsView.EnableAppearanceEvenRow = true;
     this.gridItemListView.OptionsView.EnableAppearanceOddRow = true;
     this.gridItemListView.OptionsView.ShowFooter = true;
     this.gridItemListView.OptionsView.ShowGroupPanel = false;
     this.gridItemListView.OptionsView.ShowIndicator = false;
     //
     // colItemName
     //
     this.colItemName.Caption = "Date";
     this.colItemName.FieldName = "Date";
     this.colItemName.Name = "colItemName";
     this.colItemName.OptionsColumn.AllowEdit = false;
     this.colItemName.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.True;
     this.colItemName.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
     this.colItemName.OptionsFilter.AllowFilter = false;
     this.colItemName.Visible = true;
     this.colItemName.VisibleIndex = 0;
     this.colItemName.Width = 65;
     //
     // gridColumn6
     //
     this.gridColumn6.Caption = "Ref no.";
     this.gridColumn6.FieldName = "RefNo";
     this.gridColumn6.Name = "gridColumn6";
     this.gridColumn6.OptionsColumn.AllowEdit = false;
     this.gridColumn6.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumn6.OptionsColumn.AllowMove = false;
     this.gridColumn6.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumn6.OptionsColumn.ReadOnly = true;
     this.gridColumn6.OptionsFilter.AllowFilter = false;
     this.gridColumn6.Visible = true;
     this.gridColumn6.VisibleIndex = 1;
     this.gridColumn6.Width = 68;
     //
     // gridColumn10
     //
     this.gridColumn10.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumn10.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.gridColumn10.Caption = "Unit Price";
     this.gridColumn10.DisplayFormat.FormatString = "#,##0.#0";
     this.gridColumn10.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.gridColumn10.FieldName = "UnitPrice";
     this.gridColumn10.Name = "gridColumn10";
     this.gridColumn10.OptionsColumn.AllowEdit = false;
     this.gridColumn10.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumn10.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumn10.OptionsColumn.ReadOnly = true;
     this.gridColumn10.OptionsFilter.AllowFilter = false;
     this.gridColumn10.Visible = true;
     this.gridColumn10.VisibleIndex = 5;
     this.gridColumn10.Width = 59;
     //
     // gridColumn11
     //
     this.gridColumn11.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumn11.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.gridColumn11.Caption = "Balance";
     this.gridColumn11.DisplayFormat.FormatString = "#,##0";
     this.gridColumn11.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.gridColumn11.FieldName = "Balance";
     this.gridColumn11.Name = "gridColumn11";
     this.gridColumn11.OptionsColumn.AllowEdit = false;
     this.gridColumn11.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumn11.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumn11.OptionsColumn.ReadOnly = true;
     this.gridColumn11.OptionsFilter.AllowFilter = false;
     this.gridColumn11.Visible = true;
     this.gridColumn11.VisibleIndex = 6;
     this.gridColumn11.Width = 69;
     //
     // gridColumn12
     //
     this.gridColumn12.Caption = "Batch No";
     this.gridColumn12.FieldName = "BatchNo";
     this.gridColumn12.Name = "gridColumn12";
     this.gridColumn12.OptionsColumn.AllowEdit = false;
     this.gridColumn12.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumn12.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumn12.OptionsColumn.ReadOnly = true;
     this.gridColumn12.OptionsFilter.AllowFilter = false;
     this.gridColumn12.Visible = true;
     this.gridColumn12.VisibleIndex = 7;
     this.gridColumn12.Width = 86;
     //
     // gridColumn13
     //
     this.gridColumn13.Caption = "Expiry Date";
     this.gridColumn13.DisplayFormat.FormatString = "MMM dd,yyyy";
     this.gridColumn13.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.gridColumn13.FieldName = "ExpDate";
     this.gridColumn13.Name = "gridColumn13";
     this.gridColumn13.OptionsColumn.AllowEdit = false;
     this.gridColumn13.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumn13.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumn13.OptionsColumn.ReadOnly = true;
     this.gridColumn13.OptionsFilter.AllowFilter = false;
     this.gridColumn13.Visible = true;
     this.gridColumn13.VisibleIndex = 8;
     this.gridColumn13.Width = 94;
     //
     // gridColumn9
     //
     this.gridColumn9.Caption = "To / From";
     this.gridColumn9.FieldName = "ToFrom";
     this.gridColumn9.Name = "gridColumn9";
     this.gridColumn9.OptionsColumn.AllowEdit = false;
     this.gridColumn9.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumn9.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumn9.OptionsColumn.ReadOnly = true;
     this.gridColumn9.OptionsFilter.AllowAutoFilter = false;
     this.gridColumn9.OptionsFilter.AllowFilter = false;
     this.gridColumn9.Visible = true;
     this.gridColumn9.VisibleIndex = 9;
     this.gridColumn9.Width = 139;
     //
     // gridColumn5
     //
     this.gridColumn5.Caption = "Loss";
     this.gridColumn5.FieldName = "Loss";
     this.gridColumn5.Name = "gridColumn5";
     this.gridColumn5.OptionsColumn.AllowEdit = false;
     //
     // gridColumn14
     //
     this.gridColumn14.Caption = "Adjustment";
     this.gridColumn14.FieldName = "Adjustment";
     this.gridColumn14.Name = "gridColumn14";
     this.gridColumn14.OptionsColumn.AllowEdit = false;
     //
     // gridColumn15
     //
     this.gridColumn15.Caption = "Unit";
     this.gridColumn15.ColumnEdit = this.repositoryItemLookUpEdit1;
     this.gridColumn15.FieldName = "UnitID";
     this.gridColumn15.Name = "gridColumn15";
     this.gridColumn15.OptionsColumn.AllowEdit = false;
     this.gridColumn15.OptionsColumn.ReadOnly = true;
     this.gridColumn15.Visible = true;
     this.gridColumn15.VisibleIndex = 4;
     //
     // repositoryItemLookUpEdit1
     //
     this.repositoryItemLookUpEdit1.AutoHeight = false;
     this.repositoryItemLookUpEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemLookUpEdit1.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Text", "Text", 32, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near)});
     this.repositoryItemLookUpEdit1.DataSource = this.unitBindingSource;
     this.repositoryItemLookUpEdit1.DisplayMember = "Text";
     this.repositoryItemLookUpEdit1.Name = "repositoryItemLookUpEdit1";
     this.repositoryItemLookUpEdit1.NullText = "No Unit";
     this.repositoryItemLookUpEdit1.ValueMember = "ID";
     //
     // repositoryItemCheckEdit1
     //
     this.repositoryItemCheckEdit1.AutoHeight = false;
     this.repositoryItemCheckEdit1.Name = "repositoryItemCheckEdit1";
     this.repositoryItemCheckEdit1.NullStyle = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked;
     this.repositoryItemCheckEdit1.ValueGrayed = false;
     //
     // txtBBalance
     //
     this.txtBBalance.EditValue = "0";
     this.txtBBalance.Location = new System.Drawing.Point(126, 41);
     this.txtBBalance.Name = "txtBBalance";
     this.txtBBalance.Properties.Appearance.BackColor = System.Drawing.SystemColors.Info;
     this.txtBBalance.Properties.Appearance.Options.UseBackColor = true;
     this.txtBBalance.Properties.ReadOnly = true;
     this.txtBBalance.Size = new System.Drawing.Size(167, 20);
     this.txtBBalance.TabIndex = 11;
     //
     // label28
     //
     this.label28.AutoSize = true;
     this.label28.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label28.Location = new System.Drawing.Point(7, 15);
     this.label28.Name = "label28";
     this.label28.Size = new System.Drawing.Size(200, 23);
     this.label28.TabIndex = 10;
     this.label28.Text = "Electronic Bin Card ";
     //
     // label27
     //
     this.label27.AutoSize = true;
     this.label27.Location = new System.Drawing.Point(8, 44);
     this.label27.Name = "label27";
     this.label27.Size = new System.Drawing.Size(112, 13);
     this.label27.TabIndex = 10;
     this.label27.Text = "Beginning Balance";
     //
     // tabPage1
     //
     this.tabPage1.Appearance.PageClient.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253)))));
     this.tabPage1.Appearance.PageClient.Options.UseBackColor = true;
     this.tabPage1.Controls.Add(this.lkShowTable);
     this.tabPage1.Controls.Add(this.label29);
     this.tabPage1.Controls.Add(this.chartBar);
     this.tabPage1.Name = "tabPage1";
     this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage1.Size = new System.Drawing.Size(902, 532);
     this.tabPage1.Text = "SOH Trend";
     //
     // lkShowTable
     //
     this.lkShowTable.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.lkShowTable.AutoSize = true;
     this.lkShowTable.Location = new System.Drawing.Point(1094, 12);
     this.lkShowTable.Name = "lkShowTable";
     this.lkShowTable.Size = new System.Drawing.Size(73, 13);
     this.lkShowTable.TabIndex = 12;
     this.lkShowTable.TabStop = true;
     this.lkShowTable.Text = "Show Table";
     this.lkShowTable.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lkShowTable_LinkClicked);
     //
     // label29
     //
     this.label29.AutoSize = true;
     this.label29.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label29.Location = new System.Drawing.Point(7, 12);
     this.label29.Name = "label29";
     this.label29.Size = new System.Drawing.Size(231, 23);
     this.label29.TabIndex = 11;
     this.label29.Text = "Trend - Stock On Hand";
     //
     // tabPage9
     //
     this.tabPage9.Appearance.PageClient.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253)))));
     this.tabPage9.Appearance.PageClient.Options.UseBackColor = true;
     this.tabPage9.Controls.Add(this.lkDetailCons);
     this.tabPage9.Controls.Add(this.label33);
     this.tabPage9.Controls.Add(this.consuTrend);
     this.tabPage9.Name = "tabPage9";
     this.tabPage9.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage9.Size = new System.Drawing.Size(902, 532);
     this.tabPage9.Text = "Consumption Trend";
     //
     // lkDetailCons
     //
     this.lkDetailCons.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.lkDetailCons.AutoSize = true;
     this.lkDetailCons.Location = new System.Drawing.Point(1100, 17);
     this.lkDetailCons.Name = "lkDetailCons";
     this.lkDetailCons.Size = new System.Drawing.Size(73, 13);
     this.lkDetailCons.TabIndex = 16;
     this.lkDetailCons.TabStop = true;
     this.lkDetailCons.Text = "Show Table";
     //
     // label33
     //
     this.label33.AutoSize = true;
     this.label33.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label33.Location = new System.Drawing.Point(7, 12);
     this.label33.Name = "label33";
     this.label33.Size = new System.Drawing.Size(214, 23);
     this.label33.TabIndex = 12;
     this.label33.Text = "Trend - Consumption";
     //
     // consuTrend
     //
     this.consuTrend.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.consuTrend.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253)))));
     xyDiagram2.AxisX.Range.ScrollingRange.SideMarginsEnabled = true;
     xyDiagram2.AxisX.Range.SideMarginsEnabled = true;
     xyDiagram2.AxisX.VisibleInPanesSerializable = "-1";
     xyDiagram2.AxisY.Range.ScrollingRange.SideMarginsEnabled = true;
     xyDiagram2.AxisY.Range.SideMarginsEnabled = true;
     xyDiagram2.AxisY.VisibleInPanesSerializable = "-1";
     this.consuTrend.Diagram = xyDiagram2;
     this.consuTrend.Location = new System.Drawing.Point(3, 38);
     this.consuTrend.Name = "consuTrend";
     this.consuTrend.OptionsPrint.SizeMode = DevExpress.XtraCharts.Printing.PrintSizeMode.Stretch;
     sideBySideBarSeriesLabel4.LineVisible = true;
     series3.Label = sideBySideBarSeriesLabel4;
     series3.Name = "Series 1";
     sideBySideBarSeriesLabel5.LineVisible = true;
     series4.Label = sideBySideBarSeriesLabel5;
     series4.Name = "Series 2";
     this.consuTrend.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
     series3,
     series4};
     sideBySideBarSeriesLabel6.LineVisible = true;
     this.consuTrend.SeriesTemplate.Label = sideBySideBarSeriesLabel6;
     this.consuTrend.Size = new System.Drawing.Size(901, 487);
     this.consuTrend.TabIndex = 3;
     //
     // tabPage2
     //
     this.tabPage2.Appearance.PageClient.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253)))));
     this.tabPage2.Appearance.PageClient.Options.UseBackColor = true;
     this.tabPage2.Controls.Add(this.lkDetailAmc);
     this.tabPage2.Controls.Add(this.label34);
     this.tabPage2.Controls.Add(this.chartAmc);
     this.tabPage2.Name = "tabPage2";
     this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage2.Size = new System.Drawing.Size(902, 532);
     this.tabPage2.Text = "AMC Trend";
     //
     // lkDetailAmc
     //
     this.lkDetailAmc.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.lkDetailAmc.AutoSize = true;
     this.lkDetailAmc.Location = new System.Drawing.Point(1101, 22);
     this.lkDetailAmc.Name = "lkDetailAmc";
     this.lkDetailAmc.Size = new System.Drawing.Size(73, 13);
     this.lkDetailAmc.TabIndex = 14;
     this.lkDetailAmc.TabStop = true;
     this.lkDetailAmc.Text = "Show Table";
     //
     // label34
     //
     this.label34.AutoSize = true;
     this.label34.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label34.Location = new System.Drawing.Point(7, 12);
     this.label34.Name = "label34";
     this.label34.Size = new System.Drawing.Size(455, 23);
     this.label34.TabIndex = 12;
     this.label34.Text = "Trend - Average Monthly Consumption (AMC) ";
     //
     // chartAmc
     //
     this.chartAmc.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     xyDiagram3.AxisX.Range.ScrollingRange.SideMarginsEnabled = true;
     xyDiagram3.AxisX.Range.SideMarginsEnabled = true;
     xyDiagram3.AxisX.VisibleInPanesSerializable = "-1";
     xyDiagram3.AxisY.Range.ScrollingRange.SideMarginsEnabled = true;
     xyDiagram3.AxisY.Range.SideMarginsEnabled = true;
     xyDiagram3.AxisY.VisibleInPanesSerializable = "-1";
     this.chartAmc.Diagram = xyDiagram3;
     this.chartAmc.Location = new System.Drawing.Point(3, 38);
     this.chartAmc.Name = "chartAmc";
     this.chartAmc.OptionsPrint.SizeMode = DevExpress.XtraCharts.Printing.PrintSizeMode.Stretch;
     sideBySideBarSeriesLabel7.LineVisible = true;
     series5.Label = sideBySideBarSeriesLabel7;
     series5.Name = "Series 1";
     sideBySideBarSeriesLabel8.LineVisible = true;
     series6.Label = sideBySideBarSeriesLabel8;
     series6.Name = "Series 2";
     this.chartAmc.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
     series5,
     series6};
     sideBySideBarSeriesLabel9.LineVisible = true;
     this.chartAmc.SeriesTemplate.Label = sideBySideBarSeriesLabel9;
     this.chartAmc.Size = new System.Drawing.Size(899, 487);
     this.chartAmc.TabIndex = 3;
     //
     // tabPage3
     //
     this.tabPage3.Appearance.PageClient.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253)))));
     this.tabPage3.Appearance.PageClient.Options.UseBackColor = true;
     this.tabPage3.Controls.Add(this.lkDetailMos);
     this.tabPage3.Controls.Add(this.label35);
     this.tabPage3.Controls.Add(this.chartMOS);
     this.tabPage3.Name = "tabPage3";
     this.tabPage3.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage3.Size = new System.Drawing.Size(902, 532);
     this.tabPage3.Text = "MOS Trend";
     //
     // lkDetailMos
     //
     this.lkDetailMos.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.lkDetailMos.AutoSize = true;
     this.lkDetailMos.Location = new System.Drawing.Point(1100, 24);
     this.lkDetailMos.Name = "lkDetailMos";
     this.lkDetailMos.Size = new System.Drawing.Size(73, 13);
     this.lkDetailMos.TabIndex = 16;
     this.lkDetailMos.TabStop = true;
     this.lkDetailMos.Text = "Show Table";
     //
     // label35
     //
     this.label35.AutoSize = true;
     this.label35.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label35.Location = new System.Drawing.Point(7, 12);
     this.label35.Name = "label35";
     this.label35.Size = new System.Drawing.Size(250, 23);
     this.label35.TabIndex = 12;
     this.label35.Text = "Trend - Months of Stock ";
     //
     // chartMOS
     //
     this.chartMOS.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.chartMOS.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253)))));
     xyDiagram4.AxisX.Range.ScrollingRange.SideMarginsEnabled = true;
     xyDiagram4.AxisX.Range.SideMarginsEnabled = true;
     xyDiagram4.AxisX.VisibleInPanesSerializable = "-1";
     xyDiagram4.AxisY.Range.ScrollingRange.SideMarginsEnabled = true;
     xyDiagram4.AxisY.Range.SideMarginsEnabled = true;
     xyDiagram4.AxisY.VisibleInPanesSerializable = "-1";
     this.chartMOS.Diagram = xyDiagram4;
     this.chartMOS.Location = new System.Drawing.Point(3, 38);
     this.chartMOS.Name = "chartMOS";
     this.chartMOS.OptionsPrint.SizeMode = DevExpress.XtraCharts.Printing.PrintSizeMode.Stretch;
     sideBySideBarSeriesLabel10.LineVisible = true;
     series7.Label = sideBySideBarSeriesLabel10;
     series7.Name = "Series 1";
     sideBySideBarSeriesLabel11.LineVisible = true;
     series8.Label = sideBySideBarSeriesLabel11;
     series8.Name = "Series 2";
     this.chartMOS.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
     series7,
     series8};
     sideBySideBarSeriesLabel12.LineVisible = true;
     this.chartMOS.SeriesTemplate.Label = sideBySideBarSeriesLabel12;
     this.chartMOS.Size = new System.Drawing.Size(898, 490);
     this.chartMOS.TabIndex = 4;
     //
     // tabPage6
     //
     this.tabPage6.Appearance.PageClient.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253)))));
     this.tabPage6.Appearance.PageClient.Options.UseBackColor = true;
     this.tabPage6.Controls.Add(this.label36);
     this.tabPage6.Controls.Add(this.chartComp);
     this.tabPage6.Name = "tabPage6";
     this.tabPage6.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage6.Size = new System.Drawing.Size(902, 532);
     this.tabPage6.Text = "Activity Trend";
     //
     // label36
     //
     this.label36.AutoSize = true;
     this.label36.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label36.Location = new System.Drawing.Point(7, 12);
     this.label36.Name = "label36";
     this.label36.Size = new System.Drawing.Size(166, 23);
     this.label36.TabIndex = 12;
     this.label36.Text = "Trend - Activity ";
     //
     // chartComp
     //
     this.chartComp.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.chartComp.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253)))));
     xyDiagram5.AxisX.Range.ScrollingRange.SideMarginsEnabled = true;
     xyDiagram5.AxisX.Range.SideMarginsEnabled = true;
     xyDiagram5.AxisX.VisibleInPanesSerializable = "-1";
     xyDiagram5.AxisY.Range.ScrollingRange.SideMarginsEnabled = true;
     xyDiagram5.AxisY.Range.SideMarginsEnabled = true;
     xyDiagram5.AxisY.VisibleInPanesSerializable = "-1";
     this.chartComp.Diagram = xyDiagram5;
     this.chartComp.Location = new System.Drawing.Point(3, 38);
     this.chartComp.Name = "chartComp";
     this.chartComp.OptionsPrint.SizeMode = DevExpress.XtraCharts.Printing.PrintSizeMode.Stretch;
     sideBySideBarSeriesLabel13.LineVisible = true;
     series9.Label = sideBySideBarSeriesLabel13;
     series9.Name = "Series 1";
     sideBySideBarSeriesLabel14.LineVisible = true;
     series10.Label = sideBySideBarSeriesLabel14;
     series10.Name = "Series 2";
     this.chartComp.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
     series9,
     series10};
     sideBySideBarSeriesLabel15.LineVisible = true;
     this.chartComp.SeriesTemplate.Label = sideBySideBarSeriesLabel15;
     this.chartComp.Size = new System.Drawing.Size(899, 487);
     this.chartComp.TabIndex = 3;
     //
     // tabPage7
     //
     this.tabPage7.Appearance.PageClient.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253)))));
     this.tabPage7.Appearance.PageClient.Options.UseBackColor = true;
     this.tabPage7.Controls.Add(this.label20);
     this.tabPage7.Controls.Add(this.lblTime);
     this.tabPage7.Controls.Add(this.lblCurStatus);
     this.tabPage7.Controls.Add(this.label19);
     this.tabPage7.Controls.Add(this.tableLayoutPanel1);
     this.tabPage7.Name = "tabPage7";
     this.tabPage7.PageVisible = false;
     this.tabPage7.Size = new System.Drawing.Size(902, 532);
     this.tabPage7.Text = "Stock Status Trend";
     //
     // label20
     //
     this.label20.AutoSize = true;
     this.label20.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label20.Location = new System.Drawing.Point(35, 106);
     this.label20.Name = "label20";
     this.label20.Size = new System.Drawing.Size(143, 16);
     this.label20.TabIndex = 1;
     this.label20.Text = "Trend (No. of times)";
     //
     // lblTime
     //
     this.lblTime.AutoSize = true;
     this.lblTime.Location = new System.Drawing.Point(257, 68);
     this.lblTime.Name = "lblTime";
     this.lblTime.Size = new System.Drawing.Size(0, 13);
     this.lblTime.TabIndex = 1;
     //
     // lblCurStatus
     //
     this.lblCurStatus.AutoSize = true;
     this.lblCurStatus.Location = new System.Drawing.Point(151, 68);
     this.lblCurStatus.Name = "lblCurStatus";
     this.lblCurStatus.Size = new System.Drawing.Size(0, 13);
     this.lblCurStatus.TabIndex = 1;
     //
     // label19
     //
     this.label19.AutoSize = true;
     this.label19.Location = new System.Drawing.Point(46, 68);
     this.label19.Name = "label19";
     this.label19.Size = new System.Drawing.Size(104, 13);
     this.label19.TabIndex = 1;
     this.label19.Text = "Current Status : ";
     //
     // tableLayoutPanel1
     //
     this.tableLayoutPanel1.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single;
     this.tableLayoutPanel1.ColumnCount = 4;
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 182F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 75F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 85F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 208F));
     this.tableLayoutPanel1.Controls.Add(this.label10, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this.label11, 1, 0);
     this.tableLayoutPanel1.Controls.Add(this.label12, 2, 0);
     this.tableLayoutPanel1.Controls.Add(this.label13, 3, 0);
     this.tableLayoutPanel1.Controls.Add(this.label14, 0, 1);
     this.tableLayoutPanel1.Controls.Add(this.label15, 0, 2);
     this.tableLayoutPanel1.Controls.Add(this.label16, 0, 3);
     this.tableLayoutPanel1.Controls.Add(this.label18, 0, 4);
     this.tableLayoutPanel1.Controls.Add(this.lblThreeStockout, 1, 1);
     this.tableLayoutPanel1.Controls.Add(this.lblSixStockOut, 2, 1);
     this.tableLayoutPanel1.Controls.Add(this.lblTwelveStockOut, 3, 1);
     this.tableLayoutPanel1.Controls.Add(this.lblThreeNearStock, 1, 2);
     this.tableLayoutPanel1.Controls.Add(this.lblSixNearStock, 2, 2);
     this.tableLayoutPanel1.Controls.Add(this.lblTwelveNear, 3, 2);
     this.tableLayoutPanel1.Controls.Add(this.lblThreeBelowMin, 1, 3);
     this.tableLayoutPanel1.Controls.Add(this.lblSixBelowMin, 2, 3);
     this.tableLayoutPanel1.Controls.Add(this.lblTwelveBelowMin, 3, 3);
     this.tableLayoutPanel1.Controls.Add(this.lblTwelveOverStock, 3, 4);
     this.tableLayoutPanel1.Controls.Add(this.lblSixOverStock, 2, 4);
     this.tableLayoutPanel1.Controls.Add(this.lblThreeOverStock, 1, 4);
     this.tableLayoutPanel1.Location = new System.Drawing.Point(38, 134);
     this.tableLayoutPanel1.Name = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount = 5;
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
     this.tableLayoutPanel1.Size = new System.Drawing.Size(419, 109);
     this.tableLayoutPanel1.TabIndex = 0;
     //
     // label10
     //
     this.label10.AutoSize = true;
     this.label10.Location = new System.Drawing.Point(4, 1);
     this.label10.Name = "label10";
     this.label10.Size = new System.Drawing.Size(0, 13);
     this.label10.TabIndex = 0;
     //
     // label11
     //
     this.label11.AutoSize = true;
     this.label11.Location = new System.Drawing.Point(187, 1);
     this.label11.Name = "label11";
     this.label11.Size = new System.Drawing.Size(52, 13);
     this.label11.TabIndex = 1;
     this.label11.Text = "3 Month";
     //
     // label12
     //
     this.label12.AutoSize = true;
     this.label12.Location = new System.Drawing.Point(263, 1);
     this.label12.Name = "label12";
     this.label12.Size = new System.Drawing.Size(52, 13);
     this.label12.TabIndex = 1;
     this.label12.Text = "6 Month";
     //
     // label13
     //
     this.label13.AutoSize = true;
     this.label13.Location = new System.Drawing.Point(349, 1);
     this.label13.Name = "label13";
     this.label13.Size = new System.Drawing.Size(59, 13);
     this.label13.TabIndex = 1;
     this.label13.Text = "12 Month";
     //
     // label14
     //
     this.label14.AutoSize = true;
     this.label14.Location = new System.Drawing.Point(4, 22);
     this.label14.Name = "label14";
     this.label14.Size = new System.Drawing.Size(63, 13);
     this.label14.TabIndex = 1;
     this.label14.Text = "Stock Out";
     //
     // label15
     //
     this.label15.AutoSize = true;
     this.label15.Location = new System.Drawing.Point(4, 43);
     this.label15.Name = "label15";
     this.label15.Size = new System.Drawing.Size(94, 13);
     this.label15.TabIndex = 1;
     this.label15.Text = "Near Stock Out";
     //
     // label16
     //
     this.label16.AutoSize = true;
     this.label16.Location = new System.Drawing.Point(4, 64);
     this.label16.Name = "label16";
     this.label16.Size = new System.Drawing.Size(64, 13);
     this.label16.TabIndex = 1;
     this.label16.Text = "Below Min";
     //
     // label18
     //
     this.label18.AutoSize = true;
     this.label18.Location = new System.Drawing.Point(4, 85);
     this.label18.Name = "label18";
     this.label18.Size = new System.Drawing.Size(71, 13);
     this.label18.TabIndex = 1;
     this.label18.Text = "Over Stock";
     //
     // lblThreeStockout
     //
     this.lblThreeStockout.AutoSize = true;
     this.lblThreeStockout.Location = new System.Drawing.Point(187, 22);
     this.lblThreeStockout.Name = "lblThreeStockout";
     this.lblThreeStockout.Size = new System.Drawing.Size(14, 13);
     this.lblThreeStockout.TabIndex = 1;
     this.lblThreeStockout.Text = "0";
     //
     // lblSixStockOut
     //
     this.lblSixStockOut.AutoSize = true;
     this.lblSixStockOut.Location = new System.Drawing.Point(263, 22);
     this.lblSixStockOut.Name = "lblSixStockOut";
     this.lblSixStockOut.Size = new System.Drawing.Size(14, 13);
     this.lblSixStockOut.TabIndex = 1;
     this.lblSixStockOut.Text = "0";
     //
     // lblTwelveStockOut
     //
     this.lblTwelveStockOut.AutoSize = true;
     this.lblTwelveStockOut.Location = new System.Drawing.Point(349, 22);
     this.lblTwelveStockOut.Name = "lblTwelveStockOut";
     this.lblTwelveStockOut.Size = new System.Drawing.Size(14, 13);
     this.lblTwelveStockOut.TabIndex = 1;
     this.lblTwelveStockOut.Text = "0";
     //
     // lblThreeNearStock
     //
     this.lblThreeNearStock.AutoSize = true;
     this.lblThreeNearStock.Location = new System.Drawing.Point(187, 43);
     this.lblThreeNearStock.Name = "lblThreeNearStock";
     this.lblThreeNearStock.Size = new System.Drawing.Size(14, 13);
     this.lblThreeNearStock.TabIndex = 1;
     this.lblThreeNearStock.Text = "0";
     //
     // lblSixNearStock
     //
     this.lblSixNearStock.AutoSize = true;
     this.lblSixNearStock.Location = new System.Drawing.Point(263, 43);
     this.lblSixNearStock.Name = "lblSixNearStock";
     this.lblSixNearStock.Size = new System.Drawing.Size(14, 13);
     this.lblSixNearStock.TabIndex = 1;
     this.lblSixNearStock.Text = "0";
     //
     // lblTwelveNear
     //
     this.lblTwelveNear.AutoSize = true;
     this.lblTwelveNear.Location = new System.Drawing.Point(349, 43);
     this.lblTwelveNear.Name = "lblTwelveNear";
     this.lblTwelveNear.Size = new System.Drawing.Size(14, 13);
     this.lblTwelveNear.TabIndex = 1;
     this.lblTwelveNear.Text = "0";
     //
     // lblThreeBelowMin
     //
     this.lblThreeBelowMin.AutoSize = true;
     this.lblThreeBelowMin.Location = new System.Drawing.Point(187, 64);
     this.lblThreeBelowMin.Name = "lblThreeBelowMin";
     this.lblThreeBelowMin.Size = new System.Drawing.Size(14, 13);
     this.lblThreeBelowMin.TabIndex = 1;
     this.lblThreeBelowMin.Text = "0";
     //
     // lblSixBelowMin
     //
     this.lblSixBelowMin.AutoSize = true;
     this.lblSixBelowMin.Location = new System.Drawing.Point(263, 64);
     this.lblSixBelowMin.Name = "lblSixBelowMin";
     this.lblSixBelowMin.Size = new System.Drawing.Size(14, 13);
     this.lblSixBelowMin.TabIndex = 1;
     this.lblSixBelowMin.Text = "0";
     //
     // lblTwelveBelowMin
     //
     this.lblTwelveBelowMin.AutoSize = true;
     this.lblTwelveBelowMin.Location = new System.Drawing.Point(349, 64);
     this.lblTwelveBelowMin.Name = "lblTwelveBelowMin";
     this.lblTwelveBelowMin.Size = new System.Drawing.Size(14, 13);
     this.lblTwelveBelowMin.TabIndex = 1;
     this.lblTwelveBelowMin.Text = "0";
     //
     // lblTwelveOverStock
     //
     this.lblTwelveOverStock.AutoSize = true;
     this.lblTwelveOverStock.Location = new System.Drawing.Point(349, 85);
     this.lblTwelveOverStock.Name = "lblTwelveOverStock";
     this.lblTwelveOverStock.Size = new System.Drawing.Size(14, 13);
     this.lblTwelveOverStock.TabIndex = 1;
     this.lblTwelveOverStock.Text = "0";
     //
     // lblSixOverStock
     //
     this.lblSixOverStock.AutoSize = true;
     this.lblSixOverStock.Location = new System.Drawing.Point(263, 85);
     this.lblSixOverStock.Name = "lblSixOverStock";
     this.lblSixOverStock.Size = new System.Drawing.Size(14, 13);
     this.lblSixOverStock.TabIndex = 1;
     this.lblSixOverStock.Text = "0";
     //
     // lblThreeOverStock
     //
     this.lblThreeOverStock.AutoSize = true;
     this.lblThreeOverStock.Location = new System.Drawing.Point(187, 85);
     this.lblThreeOverStock.Name = "lblThreeOverStock";
     this.lblThreeOverStock.Size = new System.Drawing.Size(14, 13);
     this.lblThreeOverStock.TabIndex = 1;
     this.lblThreeOverStock.Text = "0";
     //
     // tabPage8
     //
     this.tabPage8.Appearance.PageClient.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253)))));
     this.tabPage8.Appearance.PageClient.Options.UseBackColor = true;
     this.tabPage8.Controls.Add(this.lblAvgIssues);
     this.tabPage8.Controls.Add(this.lblAvgReceives);
     this.tabPage8.Controls.Add(this.lblLastIssues);
     this.tabPage8.Controls.Add(this.lblLastReceive);
     this.tabPage8.Controls.Add(this.label23);
     this.tabPage8.Controls.Add(this.label22);
     this.tabPage8.Controls.Add(this.label21);
     this.tabPage8.Controls.Add(this.label17);
     this.tabPage8.Name = "tabPage8";
     this.tabPage8.Size = new System.Drawing.Size(902, 532);
     this.tabPage8.Text = "Transaction";
     //
     // lblAvgIssues
     //
     this.lblAvgIssues.AutoSize = true;
     this.lblAvgIssues.Location = new System.Drawing.Point(382, 195);
     this.lblAvgIssues.Name = "lblAvgIssues";
     this.lblAvgIssues.Size = new System.Drawing.Size(14, 13);
     this.lblAvgIssues.TabIndex = 1;
     this.lblAvgIssues.Text = "0";
     this.lblAvgIssues.Visible = false;
     //
     // lblAvgReceives
     //
     this.lblAvgReceives.AutoSize = true;
     this.lblAvgReceives.Location = new System.Drawing.Point(381, 165);
     this.lblAvgReceives.Name = "lblAvgReceives";
     this.lblAvgReceives.Size = new System.Drawing.Size(14, 13);
     this.lblAvgReceives.TabIndex = 1;
     this.lblAvgReceives.Text = "0";
     this.lblAvgReceives.Visible = false;
     //
     // lblLastIssues
     //
     this.lblLastIssues.AutoSize = true;
     this.lblLastIssues.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblLastIssues.Location = new System.Drawing.Point(386, 111);
     this.lblLastIssues.Name = "lblLastIssues";
     this.lblLastIssues.Size = new System.Drawing.Size(22, 23);
     this.lblLastIssues.TabIndex = 1;
     this.lblLastIssues.Text = "0";
     //
     // lblLastReceive
     //
     this.lblLastReceive.AutoSize = true;
     this.lblLastReceive.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblLastReceive.Location = new System.Drawing.Point(386, 78);
     this.lblLastReceive.Name = "lblLastReceive";
     this.lblLastReceive.Size = new System.Drawing.Size(22, 23);
     this.lblLastReceive.TabIndex = 1;
     this.lblLastReceive.Text = "0";
     //
     // label23
     //
     this.label23.AutoSize = true;
     this.label23.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label23.Location = new System.Drawing.Point(169, 194);
     this.label23.Name = "label23";
     this.label23.Size = new System.Drawing.Size(210, 16);
     this.label23.TabIndex = 0;
     this.label23.Text = "AVG. no. of days b/n Issues : ";
     this.label23.Visible = false;
     //
     // label22
     //
     this.label22.AutoSize = true;
     this.label22.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label22.Location = new System.Drawing.Point(152, 162);
     this.label22.Name = "label22";
     this.label22.Size = new System.Drawing.Size(226, 16);
     this.label22.TabIndex = 0;
     this.label22.Text = "AVG. no. of days b/n Receives : ";
     this.label22.Visible = false;
     //
     // label21
     //
     this.label21.AutoSize = true;
     this.label21.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label21.Location = new System.Drawing.Point(165, 113);
     this.label21.Name = "label21";
     this.label21.Size = new System.Drawing.Size(214, 23);
     this.label21.TabIndex = 0;
     this.label21.Text = "Last Issued Date : ";
     //
     // label17
     //
     this.label17.AutoSize = true;
     this.label17.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label17.Location = new System.Drawing.Point(141, 76);
     this.label17.Name = "label17";
     this.label17.Size = new System.Drawing.Size(239, 23);
     this.label17.TabIndex = 0;
     this.label17.Text = "Last Received Date : ";
     //
     // tabPage10
     //
     this.tabPage10.Appearance.PageClient.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253)))));
     this.tabPage10.Appearance.PageClient.Options.UseBackColor = true;
     this.tabPage10.Controls.Add(this.chartPie);
     this.tabPage10.Name = "tabPage10";
     this.tabPage10.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage10.Size = new System.Drawing.Size(902, 532);
     this.tabPage10.Text = "Stock Expiry Status";
     //
     // chartPie
     //
     this.chartPie.AppearanceNameSerializable = "Chameleon";
     this.chartPie.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253)))));
     this.chartPie.BorderOptions.Visible = false;
     simpleDiagram3D1.RotationMatrixSerializable = "1;0;0;0;0;0.5;-0.866025403784439;0;0;0.866025403784439;0.5;0;0;0;0;1";
     this.chartPie.Diagram = simpleDiagram3D1;
     this.chartPie.Dock = System.Windows.Forms.DockStyle.Fill;
     this.chartPie.Legend.AlignmentHorizontal = DevExpress.XtraCharts.LegendAlignmentHorizontal.Right;
     this.chartPie.Location = new System.Drawing.Point(3, 3);
     this.chartPie.Name = "chartPie";
     this.chartPie.PaletteName = "Palette 1";
     this.chartPie.PaletteRepository.Add("Palette 1", new DevExpress.XtraCharts.Palette("Palette 1", DevExpress.XtraCharts.PaletteScaleMode.Repeat, new DevExpress.XtraCharts.PaletteEntry[] {
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(62)))), ((int)(((byte)(170)))), ((int)(((byte)(15))))), System.Drawing.Color.FromArgb(((int)(((byte)(62)))), ((int)(((byte)(170)))), ((int)(((byte)(15)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(198)))), ((int)(((byte)(67)))), ((int)(((byte)(4))))), System.Drawing.Color.FromArgb(((int)(((byte)(198)))), ((int)(((byte)(67)))), ((int)(((byte)(4)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(129)))), ((int)(((byte)(188)))), ((int)(((byte)(254))))), System.Drawing.Color.FromArgb(((int)(((byte)(129)))), ((int)(((byte)(188)))), ((int)(((byte)(254))))))}));
     pie3DSeriesLabel1.LineVisible = true;
     piePointOptions1.PointView = DevExpress.XtraCharts.PointView.SeriesName;
     piePointOptions1.ValueNumericOptions.Format = DevExpress.XtraCharts.NumericFormat.Percent;
     pie3DSeriesLabel1.PointOptions = piePointOptions1;
     series11.Label = pie3DSeriesLabel1;
     series11.Name = "Series 1";
     series11.View = pie3DSeriesView1;
     this.chartPie.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
     series11};
     pie3DSeriesLabel2.LineVisible = true;
     this.chartPie.SeriesTemplate.Label = pie3DSeriesLabel2;
     this.chartPie.SeriesTemplate.View = pie3DSeriesView2;
     this.chartPie.Size = new System.Drawing.Size(896, 526);
     this.chartPie.TabIndex = 21;
     //
     // lblStatus
     //
     this.lblStatus.AutoSize = true;
     this.lblStatus.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblStatus.Location = new System.Drawing.Point(286, 41);
     this.lblStatus.Name = "lblStatus";
     this.lblStatus.Size = new System.Drawing.Size(0, 13);
     this.lblStatus.TabIndex = 12;
     //
     // label37
     //
     this.label37.AutoSize = true;
     this.label37.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label37.Location = new System.Drawing.Point(231, 41);
     this.label37.Name = "label37";
     this.label37.Size = new System.Drawing.Size(56, 13);
     this.label37.TabIndex = 12;
     this.label37.Text = "Status : ";
     //
     // dtDate
     //
     this.dtDate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.dtDate.CalendarFont = new System.Drawing.Font("Nyala", 10.75F);
     this.dtDate.CustomFormat = "MM/dd/ yy";
     this.dtDate.DayOfWeekCharacters = 2;
     this.dtDate.Location = new System.Drawing.Point(611, 10);
     this.dtDate.Name = "dtDate";
     this.dtDate.PopUpFontSize = 9.75F;
     this.dtDate.Size = new System.Drawing.Size(114, 20);
     this.dtDate.TabIndex = 17;
     this.dtDate.Value = new System.DateTime(2008, 10, 21, 0, 0, 0, 0);
     this.dtDate.Visible = false;
     //
     // btnCancel
     //
     this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnCancel.Location = new System.Drawing.Point(824, 34);
     this.btnCancel.Name = "btnCancel";
     this.btnCancel.Size = new System.Drawing.Size(75, 23);
     this.btnCancel.TabIndex = 20;
     this.btnCancel.Text = "Close";
     this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click_1);
     //
     // cboYear
     //
     this.cboYear.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.cboYear.FormattingEnabled = true;
     this.cboYear.Location = new System.Drawing.Point(484, 36);
     this.cboYear.Name = "cboYear";
     this.cboYear.Size = new System.Drawing.Size(121, 21);
     this.cboYear.TabIndex = 21;
     this.cboYear.Visible = false;
     this.cboYear.SelectedValueChanged += new System.EventHandler(this.cboYear_SelectedValueChanged);
     //
     // ckPast
     //
     this.ckPast.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.ckPast.Location = new System.Drawing.Point(611, 40);
     this.ckPast.Name = "ckPast";
     this.ckPast.Properties.Caption = "Last 12 Month";
     this.ckPast.Size = new System.Drawing.Size(105, 19);
     this.ckPast.TabIndex = 22;
     this.ckPast.Visible = false;
     this.ckPast.CheckedChanged += new System.EventHandler(this.ckPast_CheckedChanged);
     //
     // chartControl1
     //
     this.chartControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.chartControl1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253)))));
     this.chartControl1.Location = new System.Drawing.Point(7, 25);
     this.chartControl1.Name = "chartControl1";
     this.chartControl1.SeriesSerializable = new DevExpress.XtraCharts.Series[0];
     sideBySideBarSeriesLabel16.LineVisible = true;
     this.chartControl1.SeriesTemplate.Label = sideBySideBarSeriesLabel16;
     this.chartControl1.Size = new System.Drawing.Size(974, 411);
     this.chartControl1.TabIndex = 2;
     //
     // printDoc
     //
     this.printDoc.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDoc_PrintPage);
     //
     // printDialog1
     //
     this.printDialog1.UseEXDialog = true;
     //
     // toolTip1
     //
     this.toolTip1.AutoPopDelay = 5000;
     this.toolTip1.InitialDelay = 500;
     this.toolTip1.ReshowDelay = 0;
     this.toolTip1.ShowAlways = true;
     this.toolTip1.ToolTipTitle = "Item Name";
     //
     // txtitmName
     //
     this.txtitmName.AutoSize = true;
     this.txtitmName.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtitmName.Location = new System.Drawing.Point(9, 12);
     this.txtitmName.Name = "txtitmName";
     this.txtitmName.Size = new System.Drawing.Size(0, 18);
     this.txtitmName.TabIndex = 100;
     //
     // label38
     //
     this.label38.AutoSize = true;
     this.label38.Location = new System.Drawing.Point(9, 40);
     this.label38.Name = "label38";
     this.label38.Size = new System.Drawing.Size(90, 13);
     this.label38.TabIndex = 101;
     this.label38.Text = "Basic Unit in : ";
     //
     // lblBUnit
     //
     this.lblBUnit.AutoSize = true;
     this.lblBUnit.Location = new System.Drawing.Point(96, 40);
     this.lblBUnit.Name = "lblBUnit";
     this.lblBUnit.Size = new System.Drawing.Size(0, 13);
     this.lblBUnit.TabIndex = 101;
     //
     // cboDU
     //
     this.cboDU.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.cboDU.DisplayMember = "Name";
     this.cboDU.FormattingEnabled = true;
     this.cboDU.Location = new System.Drawing.Point(357, 36);
     this.cboDU.Name = "cboDU";
     this.cboDU.Size = new System.Drawing.Size(121, 21);
     this.cboDU.TabIndex = 102;
     this.cboDU.ValueMember = "ID";
     this.cboDU.Visible = false;
     this.cboDU.SelectedValueChanged += new System.EventHandler(this.cboDU_SelectedValueChanged);
     //
     // xpButton1
     //
     this.xpButton1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.xpButton1.Image = global::PharmInventory.Properties.Resources.printer;
     this.xpButton1.Location = new System.Drawing.Point(743, 34);
     this.xpButton1.Name = "xpButton1";
     this.xpButton1.Size = new System.Drawing.Size(75, 23);
     this.xpButton1.TabIndex = 15;
     this.xpButton1.Text = "Print";
     this.xpButton1.Click += new System.EventHandler(this.xpButton1_Click);
     //
     // printingSystem2
     //
     this.printingSystem2.Links.AddRange(new object[] {
     this.printableComponentLink1});
     //
     // printableComponentLink1
     //
     this.printableComponentLink1.Component = this.chartComp;
     //
     //
     //
     this.printableComponentLink1.ImageCollection.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("printableComponentLink1.ImageCollection.ImageStream")));
     this.printableComponentLink1.Landscape = true;
     this.printableComponentLink1.PaperKind = System.Drawing.Printing.PaperKind.A4;
     this.printableComponentLink1.PrintingSystem = this.printingSystem2;
     this.printableComponentLink1.PrintingSystemBase = this.printingSystem2;
     //
     // ItemDetailReport
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253)))));
     this.ClientSize = new System.Drawing.Size(912, 616);
     this.Controls.Add(this.cboDU);
     this.Controls.Add(this.lblStatus);
     this.Controls.Add(this.lblBUnit);
     this.Controls.Add(this.label37);
     this.Controls.Add(this.label38);
     this.Controls.Add(this.txtitmName);
     this.Controls.Add(this.xpButton1);
     this.Controls.Add(this.ckPast);
     this.Controls.Add(this.cboYear);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.dtDate);
     this.Controls.Add(this.tabControl1);
     this.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "ItemDetailReport";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Item Detail Reports";
     this.Load += new System.EventHandler(this.BinCardTransaction_Load);
     ((System.ComponentModel.ISupportInitialize)(this.txtItemName.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(xyDiagram1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartBar)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tabControl1)).EndInit();
     this.tabControl1.ResumeLayout(false);
     this.tabPage11.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridDispensaryView)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     this.tabPage4.ResumeLayout(false);
     this.tabPage4.PerformLayout();
     this.tabPage5.ResumeLayout(false);
     this.tabPage5.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cboFiscalYear.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridItemsList)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridItemListView)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.unitBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtBBalance.Properties)).EndInit();
     this.tabPage1.ResumeLayout(false);
     this.tabPage1.PerformLayout();
     this.tabPage9.ResumeLayout(false);
     this.tabPage9.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(xyDiagram2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.consuTrend)).EndInit();
     this.tabPage2.ResumeLayout(false);
     this.tabPage2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(xyDiagram3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartAmc)).EndInit();
     this.tabPage3.ResumeLayout(false);
     this.tabPage3.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(xyDiagram4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel10)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel11)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel12)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartMOS)).EndInit();
     this.tabPage6.ResumeLayout(false);
     this.tabPage6.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(xyDiagram5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel13)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel14)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series10)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel15)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartComp)).EndInit();
     this.tabPage7.ResumeLayout(false);
     this.tabPage7.PerformLayout();
     this.tableLayoutPanel1.ResumeLayout(false);
     this.tableLayoutPanel1.PerformLayout();
     this.tabPage8.ResumeLayout(false);
     this.tabPage8.PerformLayout();
     this.tabPage10.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(simpleDiagram3D1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pie3DSeriesLabel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pie3DSeriesView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series11)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pie3DSeriesLabel2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pie3DSeriesView2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartPie)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ckPast.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel16)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.printingSystem2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.printableComponentLink1.ImageCollection)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     DevExpress.XtraCharts.XYDiagram xyDiagram1 = new DevExpress.XtraCharts.XYDiagram();
     DevExpress.XtraCharts.Series series1 = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.PointSeriesLabel pointSeriesLabel1 = new DevExpress.XtraCharts.PointSeriesLabel();
     DevExpress.XtraCharts.LineSeriesView lineSeriesView1 = new DevExpress.XtraCharts.LineSeriesView();
     DevExpress.XtraCharts.Series series2 = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.PointSeriesLabel pointSeriesLabel2 = new DevExpress.XtraCharts.PointSeriesLabel();
     DevExpress.XtraCharts.LineSeriesView lineSeriesView2 = new DevExpress.XtraCharts.LineSeriesView();
     DevExpress.XtraCharts.PointSeriesLabel pointSeriesLabel3 = new DevExpress.XtraCharts.PointSeriesLabel();
     DevExpress.XtraCharts.LineSeriesView lineSeriesView3 = new DevExpress.XtraCharts.LineSeriesView();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(GeneralCostChart));
     this.linkLabel1 = new System.Windows.Forms.LinkLabel();
     this.linkLabel2 = new System.Windows.Forms.LinkLabel();
     this.linkLabel3 = new System.Windows.Forms.LinkLabel();
     this.linkLabel4 = new System.Windows.Forms.LinkLabel();
     this.linkLabel5 = new System.Windows.Forms.LinkLabel();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.listView1 = new System.Windows.Forms.ListView();
     this.columnHeader5 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader6 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader7 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader8 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.label6 = new System.Windows.Forms.Label();
     this.label7 = new System.Windows.Forms.Label();
     this.label8 = new System.Windows.Forms.Label();
     this.label9 = new System.Windows.Forms.Label();
     this.label10 = new System.Windows.Forms.Label();
     this.label11 = new System.Windows.Forms.Label();
     this.label12 = new System.Windows.Forms.Label();
     this.label13 = new System.Windows.Forms.Label();
     this.label14 = new System.Windows.Forms.Label();
     this.label15 = new System.Windows.Forms.Label();
     this.linkLabel11 = new System.Windows.Forms.LinkLabel();
     this.linkLabel12 = new System.Windows.Forms.LinkLabel();
     this.linkLabel13 = new System.Windows.Forms.LinkLabel();
     this.linkLabel14 = new System.Windows.Forms.LinkLabel();
     this.linkLabel15 = new System.Windows.Forms.LinkLabel();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.listView2 = new System.Windows.Forms.ListView();
     this.columnHeader17 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader18 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader19 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader20 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.label44 = new System.Windows.Forms.Label();
     this.label45 = new System.Windows.Forms.Label();
     this.label46 = new System.Windows.Forms.Label();
     this.label47 = new System.Windows.Forms.Label();
     this.label48 = new System.Windows.Forms.Label();
     this.label49 = new System.Windows.Forms.Label();
     this.label50 = new System.Windows.Forms.Label();
     this.label51 = new System.Windows.Forms.Label();
     this.cboStores = new DevExpress.XtraEditors.LookUpEdit();
     this.lblHeader = new System.Windows.Forms.Label();
     this.printDoc = new System.Drawing.Printing.PrintDocument();
     this.printDialog1 = new System.Windows.Forms.PrintDialog();
     this.btnPrint = new DevExpress.XtraEditors.SimpleButton();
     this.chartReceiveCost = new DevExpress.XtraCharts.ChartControl();
     this.printingSystem1 = new DevExpress.XtraPrinting.PrintingSystem(this.components);
     this.printableComponentLink1 = new DevExpress.XtraPrinting.PrintableComponentLink(this.components);
     this.cboYear = new DevExpress.XtraEditors.LookUpEdit();
     this.dtDate = new CalendarLib.DateTimePickerEx();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cboStores.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartReceiveCost)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(xyDiagram1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pointSeriesLabel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(lineSeriesView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pointSeriesLabel2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(lineSeriesView2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pointSeriesLabel3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(lineSeriesView3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.printingSystem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.printableComponentLink1.ImageCollection)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cboYear.Properties)).BeginInit();
     this.SuspendLayout();
     //
     // linkLabel1
     //
     this.linkLabel1.AutoSize = true;
     this.linkLabel1.Location = new System.Drawing.Point(305, 182);
     this.linkLabel1.Name = "linkLabel1";
     this.linkLabel1.Size = new System.Drawing.Size(19, 13);
     this.linkLabel1.TabIndex = 2;
     this.linkLabel1.TabStop = true;
     this.linkLabel1.Text = "list";
     //
     // linkLabel2
     //
     this.linkLabel2.AutoSize = true;
     this.linkLabel2.Location = new System.Drawing.Point(305, 155);
     this.linkLabel2.Name = "linkLabel2";
     this.linkLabel2.Size = new System.Drawing.Size(19, 13);
     this.linkLabel2.TabIndex = 2;
     this.linkLabel2.TabStop = true;
     this.linkLabel2.Text = "list";
     //
     // linkLabel3
     //
     this.linkLabel3.AutoSize = true;
     this.linkLabel3.Location = new System.Drawing.Point(305, 128);
     this.linkLabel3.Name = "linkLabel3";
     this.linkLabel3.Size = new System.Drawing.Size(19, 13);
     this.linkLabel3.TabIndex = 2;
     this.linkLabel3.TabStop = true;
     this.linkLabel3.Text = "list";
     //
     // linkLabel4
     //
     this.linkLabel4.AutoSize = true;
     this.linkLabel4.Location = new System.Drawing.Point(305, 101);
     this.linkLabel4.Name = "linkLabel4";
     this.linkLabel4.Size = new System.Drawing.Size(19, 13);
     this.linkLabel4.TabIndex = 2;
     this.linkLabel4.TabStop = true;
     this.linkLabel4.Text = "list";
     //
     // linkLabel5
     //
     this.linkLabel5.AutoSize = true;
     this.linkLabel5.Location = new System.Drawing.Point(305, 74);
     this.linkLabel5.Name = "linkLabel5";
     this.linkLabel5.Size = new System.Drawing.Size(19, 13);
     this.linkLabel5.TabIndex = 2;
     this.linkLabel5.TabStop = true;
     this.linkLabel5.Text = "list";
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.listView1);
     this.groupBox1.Location = new System.Drawing.Point(457, 3);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(682, 463);
     this.groupBox1.TabIndex = 1;
     this.groupBox1.TabStop = false;
     //
     // listView1
     //
     this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
     this.columnHeader5,
     this.columnHeader6,
     this.columnHeader7,
     this.columnHeader8});
     this.listView1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.listView1.FullRowSelect = true;
     this.listView1.GridLines = true;
     this.listView1.Location = new System.Drawing.Point(3, 16);
     this.listView1.Name = "listView1";
     this.listView1.ShowItemToolTips = true;
     this.listView1.Size = new System.Drawing.Size(676, 444);
     this.listView1.TabIndex = 0;
     this.listView1.UseCompatibleStateImageBehavior = false;
     this.listView1.View = System.Windows.Forms.View.Details;
     //
     // columnHeader5
     //
     this.columnHeader5.Text = "No.";
     this.columnHeader5.Width = 34;
     //
     // columnHeader6
     //
     this.columnHeader6.Text = "Stock Code";
     this.columnHeader6.Width = 98;
     //
     // columnHeader7
     //
     this.columnHeader7.Text = "Item Name";
     this.columnHeader7.Width = 393;
     //
     // columnHeader8
     //
     this.columnHeader8.Text = "Unit";
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Location = new System.Drawing.Point(39, 182);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(85, 13);
     this.label6.TabIndex = 0;
     this.label6.Text = "Pediatric Items : ";
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.Location = new System.Drawing.Point(39, 155);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(74, 13);
     this.label7.TabIndex = 0;
     this.label7.Text = "Refrigerated : ";
     //
     // label8
     //
     this.label8.AutoSize = true;
     this.label8.Location = new System.Drawing.Point(39, 128);
     this.label8.Name = "label8";
     this.label8.Size = new System.Drawing.Size(65, 13);
     this.label8.TabIndex = 0;
     this.label8.Text = "Free Items : ";
     //
     // label9
     //
     this.label9.AutoSize = true;
     this.label9.Location = new System.Drawing.Point(39, 101);
     this.label9.Name = "label9";
     this.label9.Size = new System.Drawing.Size(93, 13);
     this.label9.TabIndex = 0;
     this.label9.Text = "Items Not in EDL :";
     //
     // label10
     //
     this.label10.AutoSize = true;
     this.label10.Location = new System.Drawing.Point(167, 155);
     this.label10.Name = "label10";
     this.label10.Size = new System.Drawing.Size(0, 13);
     this.label10.TabIndex = 0;
     //
     // label11
     //
     this.label11.AutoSize = true;
     this.label11.Location = new System.Drawing.Point(167, 182);
     this.label11.Name = "label11";
     this.label11.Size = new System.Drawing.Size(0, 13);
     this.label11.TabIndex = 0;
     //
     // label12
     //
     this.label12.AutoSize = true;
     this.label12.Location = new System.Drawing.Point(167, 128);
     this.label12.Name = "label12";
     this.label12.Size = new System.Drawing.Size(0, 13);
     this.label12.TabIndex = 0;
     //
     // label13
     //
     this.label13.AutoSize = true;
     this.label13.Location = new System.Drawing.Point(167, 101);
     this.label13.Name = "label13";
     this.label13.Size = new System.Drawing.Size(0, 13);
     this.label13.TabIndex = 0;
     //
     // label14
     //
     this.label14.AutoSize = true;
     this.label14.Location = new System.Drawing.Point(167, 74);
     this.label14.Name = "label14";
     this.label14.Size = new System.Drawing.Size(0, 13);
     this.label14.TabIndex = 0;
     //
     // label15
     //
     this.label15.AutoSize = true;
     this.label15.Location = new System.Drawing.Point(39, 74);
     this.label15.Name = "label15";
     this.label15.Size = new System.Drawing.Size(52, 13);
     this.label15.TabIndex = 0;
     this.label15.Text = "All Items :";
     //
     // linkLabel11
     //
     this.linkLabel11.AutoSize = true;
     this.linkLabel11.Location = new System.Drawing.Point(98, 169);
     this.linkLabel11.Name = "linkLabel11";
     this.linkLabel11.Size = new System.Drawing.Size(150, 13);
     this.linkLabel11.TabIndex = 20;
     this.linkLabel11.TabStop = true;
     this.linkLabel11.Text = "Top 10 Least Received Items ";
     //
     // linkLabel12
     //
     this.linkLabel12.AutoSize = true;
     this.linkLabel12.Location = new System.Drawing.Point(98, 140);
     this.linkLabel12.Name = "linkLabel12";
     this.linkLabel12.Size = new System.Drawing.Size(147, 13);
     this.linkLabel12.TabIndex = 20;
     this.linkLabel12.TabStop = true;
     this.linkLabel12.Text = "Top 10 Most Received Items ";
     //
     // linkLabel13
     //
     this.linkLabel13.AutoSize = true;
     this.linkLabel13.Location = new System.Drawing.Point(259, 99);
     this.linkLabel13.Name = "linkLabel13";
     this.linkLabel13.Size = new System.Drawing.Size(19, 13);
     this.linkLabel13.TabIndex = 20;
     this.linkLabel13.TabStop = true;
     this.linkLabel13.Text = "list";
     //
     // linkLabel14
     //
     this.linkLabel14.AutoSize = true;
     this.linkLabel14.Location = new System.Drawing.Point(259, 72);
     this.linkLabel14.Name = "linkLabel14";
     this.linkLabel14.Size = new System.Drawing.Size(19, 13);
     this.linkLabel14.TabIndex = 20;
     this.linkLabel14.TabStop = true;
     this.linkLabel14.Text = "list";
     //
     // linkLabel15
     //
     this.linkLabel15.AutoSize = true;
     this.linkLabel15.Location = new System.Drawing.Point(259, 48);
     this.linkLabel15.Name = "linkLabel15";
     this.linkLabel15.Size = new System.Drawing.Size(19, 13);
     this.linkLabel15.TabIndex = 20;
     this.linkLabel15.TabStop = true;
     this.linkLabel15.Text = "list";
     //
     // groupBox2
     //
     this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox2.Controls.Add(this.listView2);
     this.groupBox2.Location = new System.Drawing.Point(462, 3);
     this.groupBox2.Name = "groupBox2";
     this.groupBox2.Size = new System.Drawing.Size(682, 463);
     this.groupBox2.TabIndex = 19;
     this.groupBox2.TabStop = false;
     //
     // listView2
     //
     this.listView2.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
     this.columnHeader17,
     this.columnHeader18,
     this.columnHeader19,
     this.columnHeader20});
     this.listView2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.listView2.FullRowSelect = true;
     this.listView2.GridLines = true;
     this.listView2.Location = new System.Drawing.Point(3, 16);
     this.listView2.Name = "listView2";
     this.listView2.ShowItemToolTips = true;
     this.listView2.Size = new System.Drawing.Size(676, 444);
     this.listView2.TabIndex = 0;
     this.listView2.UseCompatibleStateImageBehavior = false;
     this.listView2.View = System.Windows.Forms.View.Details;
     //
     // columnHeader17
     //
     this.columnHeader17.Text = "No.";
     this.columnHeader17.Width = 34;
     //
     // columnHeader18
     //
     this.columnHeader18.Text = "Stock Code";
     this.columnHeader18.Width = 98;
     //
     // columnHeader19
     //
     this.columnHeader19.Text = "Item Name";
     this.columnHeader19.Width = 393;
     //
     // columnHeader20
     //
     this.columnHeader20.Text = "Unit";
     //
     // label44
     //
     this.label44.AutoSize = true;
     this.label44.Location = new System.Drawing.Point(309, 48);
     this.label44.Name = "label44";
     this.label44.Size = new System.Drawing.Size(0, 13);
     this.label44.TabIndex = 9;
     //
     // label45
     //
     this.label45.AutoSize = true;
     this.label45.Location = new System.Drawing.Point(203, 48);
     this.label45.Name = "label45";
     this.label45.Size = new System.Drawing.Size(0, 13);
     this.label45.TabIndex = 10;
     //
     // label46
     //
     this.label46.AutoSize = true;
     this.label46.Location = new System.Drawing.Point(238, 72);
     this.label46.Name = "label46";
     this.label46.Size = new System.Drawing.Size(13, 13);
     this.label46.TabIndex = 7;
     this.label46.Text = "0";
     //
     // label47
     //
     this.label47.AutoSize = true;
     this.label47.Location = new System.Drawing.Point(238, 99);
     this.label47.Name = "label47";
     this.label47.Size = new System.Drawing.Size(13, 13);
     this.label47.TabIndex = 7;
     this.label47.Text = "0";
     //
     // label48
     //
     this.label48.AutoSize = true;
     this.label48.Location = new System.Drawing.Point(238, 48);
     this.label48.Name = "label48";
     this.label48.Size = new System.Drawing.Size(13, 13);
     this.label48.TabIndex = 7;
     this.label48.Text = "0";
     //
     // label49
     //
     this.label49.AutoSize = true;
     this.label49.Location = new System.Drawing.Point(98, 99);
     this.label49.Name = "label49";
     this.label49.Size = new System.Drawing.Size(119, 13);
     this.label49.TabIndex = 8;
     this.label49.Text = "Never Received Items :";
     //
     // label50
     //
     this.label50.AutoSize = true;
     this.label50.Location = new System.Drawing.Point(98, 72);
     this.label50.Name = "label50";
     this.label50.Size = new System.Drawing.Size(94, 13);
     this.label50.TabIndex = 8;
     this.label50.Text = "No of Days since :";
     //
     // label51
     //
     this.label51.AutoSize = true;
     this.label51.Location = new System.Drawing.Point(98, 48);
     this.label51.Name = "label51";
     this.label51.Size = new System.Drawing.Size(102, 13);
     this.label51.TabIndex = 8;
     this.label51.Text = "Last Receive Date :";
     //
     // cboStores
     //
     this.cboStores.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.cboStores.Location = new System.Drawing.Point(600, 12);
     this.cboStores.Name = "cboStores";
     this.cboStores.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Down)});
     this.cboStores.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("StoreName", "Name")});
     this.cboStores.Properties.DisplayMember = "StoreName";
     this.cboStores.Properties.NullText = "";
     this.cboStores.Properties.ValueMember = "ID";
     this.cboStores.Size = new System.Drawing.Size(193, 20);
     this.cboStores.TabIndex = 21;
     this.cboStores.EditValueChanged += new System.EventHandler(this.cboStores_SelectedValueChanged);
     //
     // lblHeader
     //
     this.lblHeader.AutoSize = true;
     this.lblHeader.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblHeader.Location = new System.Drawing.Point(41, 15);
     this.lblHeader.Name = "lblHeader";
     this.lblHeader.Size = new System.Drawing.Size(232, 23);
     this.lblHeader.TabIndex = 23;
     this.lblHeader.Text = "Issue and Receive Cost";
     this.lblHeader.Click += new System.EventHandler(this.lblHeader_Click);
     //
     // printDialog1
     //
     this.printDialog1.UseEXDialog = true;
     //
     // btnPrint
     //
     this.btnPrint.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnPrint.Location = new System.Drawing.Point(799, 9);
     this.btnPrint.Name = "btnPrint";
     this.btnPrint.Size = new System.Drawing.Size(63, 24);
     this.btnPrint.TabIndex = 24;
     this.btnPrint.Text = "Print";
     this.btnPrint.Click += new System.EventHandler(this.button1_Click);
     //
     // chartReceiveCost
     //
     this.chartReceiveCost.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     xyDiagram1.AxisX.Range.ScrollingRange.SideMarginsEnabled = true;
     xyDiagram1.AxisX.Range.SideMarginsEnabled = true;
     xyDiagram1.AxisX.VisibleInPanesSerializable = "-1";
     xyDiagram1.AxisY.Range.ScrollingRange.SideMarginsEnabled = true;
     xyDiagram1.AxisY.Range.SideMarginsEnabled = true;
     xyDiagram1.AxisY.VisibleInPanesSerializable = "-1";
     this.chartReceiveCost.Diagram = xyDiagram1;
     this.chartReceiveCost.EmptyChartText.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartReceiveCost.EmptyChartText.Text = "Data is not available for the selected Store and Year. ";
     this.chartReceiveCost.EmptyChartText.TextColor = System.Drawing.Color.Black;
     this.chartReceiveCost.Legend.AlignmentHorizontal = DevExpress.XtraCharts.LegendAlignmentHorizontal.Right;
     this.chartReceiveCost.Location = new System.Drawing.Point(12, 41);
     this.chartReceiveCost.Name = "chartReceiveCost";
     pointSeriesLabel1.LineVisible = true;
     series1.Label = pointSeriesLabel1;
     series1.Name = "Series 1";
     series1.View = lineSeriesView1;
     pointSeriesLabel2.LineVisible = true;
     series2.Label = pointSeriesLabel2;
     series2.Name = "Series 2";
     series2.View = lineSeriesView2;
     this.chartReceiveCost.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
     series1,
     series2};
     pointSeriesLabel3.LineVisible = true;
     this.chartReceiveCost.SeriesTemplate.Label = pointSeriesLabel3;
     this.chartReceiveCost.SeriesTemplate.View = lineSeriesView3;
     this.chartReceiveCost.Size = new System.Drawing.Size(849, 527);
     this.chartReceiveCost.TabIndex = 25;
     //
     // printingSystem1
     //
     this.printingSystem1.Links.AddRange(new object[] {
     this.printableComponentLink1});
     //
     // printableComponentLink1
     //
     this.printableComponentLink1.Component = this.chartReceiveCost;
     //
     //
     //
     this.printableComponentLink1.ImageCollection.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("printableComponentLink1.ImageCollection.ImageStream")));
     this.printableComponentLink1.Landscape = true;
     this.printableComponentLink1.Margins = new System.Drawing.Printing.Margins(20, 20, 100, 100);
     this.printableComponentLink1.PaperKind = System.Drawing.Printing.PaperKind.A4;
     this.printableComponentLink1.PrintingSystem = this.printingSystem1;
     this.printableComponentLink1.PrintingSystemBase = this.printingSystem1;
     //
     // cboYear
     //
     this.cboYear.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.cboYear.Location = new System.Drawing.Point(505, 12);
     this.cboYear.Name = "cboYear";
     this.cboYear.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Down)});
     this.cboYear.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("year", "year")});
     this.cboYear.Properties.DisplayMember = "year";
     this.cboYear.Properties.NullText = "";
     this.cboYear.Properties.ValueMember = "year";
     this.cboYear.Size = new System.Drawing.Size(77, 20);
     this.cboYear.TabIndex = 26;
     this.cboYear.EditValueChanged += new System.EventHandler(this.cboYear_EditValueChanged);
     //
     // dtDate
     //
     this.dtDate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.dtDate.CalendarFont = new System.Drawing.Font("Nyala", 10.75F);
     this.dtDate.CalendarForeColor = System.Drawing.Color.Black;
     this.dtDate.CustomFormat = "MM/dd/ yy";
     this.dtDate.DayOfWeekCharacters = 2;
     this.dtDate.ForeColor = System.Drawing.Color.Black;
     this.dtDate.Location = new System.Drawing.Point(198, 18);
     this.dtDate.Name = "dtDate";
     this.dtDate.PopUpFontSize = 9.75F;
     this.dtDate.Size = new System.Drawing.Size(114, 20);
     this.dtDate.TabIndex = 22;
     this.dtDate.Value = new System.DateTime(2009, 1, 20, 0, 0, 0, 0);
     this.dtDate.Visible = false;
     //
     // GeneralCostChart
     //
     this.Appearance.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Appearance.Options.UseFont = true;
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(873, 580);
     this.Controls.Add(this.cboYear);
     this.Controls.Add(this.chartReceiveCost);
     this.Controls.Add(this.btnPrint);
     this.Controls.Add(this.lblHeader);
     this.Controls.Add(this.dtDate);
     this.Controls.Add(this.cboStores);
     this.Name = "GeneralCostChart";
     this.Text = "GeneralReport";
     this.Load += new System.EventHandler(this.GeneralReport_Load);
     this.groupBox1.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.cboStores.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(xyDiagram1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pointSeriesLabel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(lineSeriesView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pointSeriesLabel2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(lineSeriesView2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pointSeriesLabel3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(lineSeriesView3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartReceiveCost)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.printingSystem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.printableComponentLink1.ImageCollection)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cboYear.Properties)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #51
0
ファイル: PdfToolBarMain.cs プロジェクト: Patagames/Pdf.Wpf
		/// <summary>
		/// Occurs when the Print button is clicked
		/// </summary>
		/// <param name="item">The item that has been clicked</param>
		protected virtual void OnPrintClick(Button item)
		{
			if (PdfViewer.Document.FormFill != null)
				PdfViewer.Document.FormFill.ForceToKillFocus();

			//Show standard print dialog
			var printDoc = new PdfPrintDocument(PdfViewer.Document);
			var dlg = new System.Windows.Forms.PrintDialog();
			dlg.AllowCurrentPage = true;
			dlg.AllowSomePages = true;
			dlg.UseEXDialog = true;
			dlg.Document = printDoc;
			OnPdfPrinDocumentCreaded(new EventArgs<PdfPrintDocument>(printDoc));
			ShowPrintDialogDelegate showprintdialog = ShowPrintDialog;
			Dispatcher.BeginInvoke(showprintdialog, dlg);
		}
コード例 #52
0
        private void OnImprimirEtiqueta_Individual(object sender, EventArgs e)
        {
          Boolean validacion = false;
          List<String> codAuxiliares = new List<String>();
          String serial=View.GetMacImpre_Individual.Text;
          String mac = View.GetSerialImpre_Individual.Text;
          Int32 cantidadImpresiones=1;

          if(serial!="" || mac!=""){
         
            if (View.Get_StackCodigosAdicionales.Children.Count > 0) { //Si el stackpanel tiene controles adicionales para codigos aparte de serial y mac

              // Se recorre todo el stackpanel en busca de Textbox, especificamente del valor que tengan estos
              foreach (var child in View.Get_StackCodigosAdicionales.Children)
              {
                 var textBox = child as TextBox;
                 if (textBox == null) continue;

                 if (textBox.Text == "")
                 {
                   textBox.BorderBrush = Brushes.Red;
                   textBox.KeyUp += new KeyEventHandler(KeyUp_CodigoAdicional);
                   validacion = true;
                 }
                 else {
                    textBox.BorderBrush = Brushes.AliceBlue;
                    codAuxiliares.Add(textBox.Text);
                 }
              }
            }

            if (validacion)
            {
                Util.ShowError("Todos los campo deben estar completos.");
                return;
            }
            else { 
               System.Windows.Forms.PrintDialog pd = new System.Windows.Forms.PrintDialog();
               pd.PrinterSettings = new PrinterSettings();
               Int32.TryParse(View.GetCantidad_Impresiones.Text, out cantidadImpresiones);

               //try {
                   if (System.Windows.Forms.DialogResult.OK == pd.ShowDialog())
                   {
                       PrinterControl.EtiquetadoEquipoIndividual(serial, mac, this.rutaEtiqueta, this.ipservidor, codAuxiliares, cantidadImpresiones, pd.PrinterSettings.PrinterName);
                   }
               //}
               // catch(Exception ex){
               //     Util.ShowError("Error en la impresión, por favor verifique la conexión a la impresora Zebra "+ex.Message);
               // }
             }
         }
         else{
           Util.ShowError("Todos los campo deben estar completos.");
         }
       }
コード例 #53
0
    private void ButtonPrint_Click(object sender, EventArgs e)
    {
      if(fDocument.NumPages > 0)
      {
        System.Windows.Forms.PrintDialog dlg = new System.Windows.Forms.PrintDialog();
        dlg.AllowSomePages = true;
        dlg.UseEXDialog = true;
        dlg.PrinterSettings.PrinterName = "PrimoPDF";
        dlg.PrinterSettings.MinimumPage = 1;
        dlg.PrinterSettings.MaximumPage = fDocument.NumPages;
        dlg.PrinterSettings.FromPage = dlg.PrinterSettings.MinimumPage;
        dlg.PrinterSettings.ToPage = dlg.PrinterSettings.MaximumPage;

        if(dlg.ShowDialog() == System.Windows.Forms.DialogResult.OK)
        {
          //if(MenuSettingsPrinterUsePreview.Checked)
          //{
          fPrinter.PreviewDocument(fDocument, dlg.PrinterSettings);
          //}
          //else
          //{
          //  fPrinter.PrintDocument(fDocument, dlg.PrinterSettings);
          //}
        }
      }
    }
コード例 #54
0
    /// <summary>
    /// Sets the print document for both the page setup dialog and the print dialog.
    /// </summary>
    /// <param name="printDocument">The document to set.</param>
    public void SetPrintDocument(System.Drawing.Printing.PrintDocument printDocument)
    {
      if (_pageSetupDialog == null)
        _pageSetupDialog = new System.Windows.Forms.PageSetupDialog();
      if (_printDialog == null)
        _printDialog = new System.Windows.Forms.PrintDialog();

      _pageSetupDialog.Document = printDocument;
      _printDialog.Document = printDocument;
    }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.XtraCharts.SimpleDiagram3D simpleDiagram3D1 = new DevExpress.XtraCharts.SimpleDiagram3D();
     DevExpress.XtraCharts.Series series1 = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.Pie3DSeriesLabel pie3DSeriesLabel1 = new DevExpress.XtraCharts.Pie3DSeriesLabel();
     DevExpress.XtraCharts.PiePointOptions piePointOptions1 = new DevExpress.XtraCharts.PiePointOptions();
     DevExpress.XtraCharts.Pie3DSeriesView pie3DSeriesView1 = new DevExpress.XtraCharts.Pie3DSeriesView();
     DevExpress.XtraCharts.Pie3DSeriesLabel pie3DSeriesLabel2 = new DevExpress.XtraCharts.Pie3DSeriesLabel();
     DevExpress.XtraCharts.Pie3DSeriesView pie3DSeriesView2 = new DevExpress.XtraCharts.Pie3DSeriesView();
     this.linkLabel1 = new System.Windows.Forms.LinkLabel();
     this.linkLabel2 = new System.Windows.Forms.LinkLabel();
     this.linkLabel3 = new System.Windows.Forms.LinkLabel();
     this.linkLabel4 = new System.Windows.Forms.LinkLabel();
     this.linkLabel5 = new System.Windows.Forms.LinkLabel();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.listView1 = new System.Windows.Forms.ListView();
     this.columnHeader5 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader6 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader7 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader8 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.label6 = new System.Windows.Forms.Label();
     this.label7 = new System.Windows.Forms.Label();
     this.label8 = new System.Windows.Forms.Label();
     this.label9 = new System.Windows.Forms.Label();
     this.label10 = new System.Windows.Forms.Label();
     this.label11 = new System.Windows.Forms.Label();
     this.label12 = new System.Windows.Forms.Label();
     this.label13 = new System.Windows.Forms.Label();
     this.label14 = new System.Windows.Forms.Label();
     this.label15 = new System.Windows.Forms.Label();
     this.linkLabel11 = new System.Windows.Forms.LinkLabel();
     this.linkLabel12 = new System.Windows.Forms.LinkLabel();
     this.linkLabel13 = new System.Windows.Forms.LinkLabel();
     this.linkLabel14 = new System.Windows.Forms.LinkLabel();
     this.linkLabel15 = new System.Windows.Forms.LinkLabel();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.listView2 = new System.Windows.Forms.ListView();
     this.columnHeader17 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader18 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader19 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader20 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.label44 = new System.Windows.Forms.Label();
     this.label45 = new System.Windows.Forms.Label();
     this.label46 = new System.Windows.Forms.Label();
     this.label47 = new System.Windows.Forms.Label();
     this.label48 = new System.Windows.Forms.Label();
     this.label49 = new System.Windows.Forms.Label();
     this.label50 = new System.Windows.Forms.Label();
     this.label51 = new System.Windows.Forms.Label();
     this.chartPie = new DevExpress.XtraCharts.ChartControl();
     this.cboStores = new System.Windows.Forms.ComboBox();
     this.dtDate = new CalendarLib.DateTimePickerEx();
     this.printDoc = new System.Drawing.Printing.PrintDocument();
     this.printDialog1 = new System.Windows.Forms.PrintDialog();
     this.progressBar1 = new System.Windows.Forms.ProgressBar();
     this.btnPrint = new System.Windows.Forms.Button();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.chartPie)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(simpleDiagram3D1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pie3DSeriesLabel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pie3DSeriesView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pie3DSeriesLabel2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pie3DSeriesView2)).BeginInit();
     this.SuspendLayout();
     //
     // linkLabel1
     //
     this.linkLabel1.AutoSize = true;
     this.linkLabel1.Location = new System.Drawing.Point(305, 182);
     this.linkLabel1.Name = "linkLabel1";
     this.linkLabel1.Size = new System.Drawing.Size(19, 13);
     this.linkLabel1.TabIndex = 2;
     this.linkLabel1.TabStop = true;
     this.linkLabel1.Text = "list";
     //
     // linkLabel2
     //
     this.linkLabel2.AutoSize = true;
     this.linkLabel2.Location = new System.Drawing.Point(305, 155);
     this.linkLabel2.Name = "linkLabel2";
     this.linkLabel2.Size = new System.Drawing.Size(19, 13);
     this.linkLabel2.TabIndex = 2;
     this.linkLabel2.TabStop = true;
     this.linkLabel2.Text = "list";
     //
     // linkLabel3
     //
     this.linkLabel3.AutoSize = true;
     this.linkLabel3.Location = new System.Drawing.Point(305, 128);
     this.linkLabel3.Name = "linkLabel3";
     this.linkLabel3.Size = new System.Drawing.Size(19, 13);
     this.linkLabel3.TabIndex = 2;
     this.linkLabel3.TabStop = true;
     this.linkLabel3.Text = "list";
     //
     // linkLabel4
     //
     this.linkLabel4.AutoSize = true;
     this.linkLabel4.Location = new System.Drawing.Point(305, 101);
     this.linkLabel4.Name = "linkLabel4";
     this.linkLabel4.Size = new System.Drawing.Size(19, 13);
     this.linkLabel4.TabIndex = 2;
     this.linkLabel4.TabStop = true;
     this.linkLabel4.Text = "list";
     //
     // linkLabel5
     //
     this.linkLabel5.AutoSize = true;
     this.linkLabel5.Location = new System.Drawing.Point(305, 74);
     this.linkLabel5.Name = "linkLabel5";
     this.linkLabel5.Size = new System.Drawing.Size(19, 13);
     this.linkLabel5.TabIndex = 2;
     this.linkLabel5.TabStop = true;
     this.linkLabel5.Text = "list";
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.listView1);
     this.groupBox1.Location = new System.Drawing.Point(457, 3);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(682, 463);
     this.groupBox1.TabIndex = 1;
     this.groupBox1.TabStop = false;
     //
     // listView1
     //
     this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
     this.columnHeader5,
     this.columnHeader6,
     this.columnHeader7,
     this.columnHeader8});
     this.listView1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.listView1.FullRowSelect = true;
     this.listView1.GridLines = true;
     this.listView1.Location = new System.Drawing.Point(3, 16);
     this.listView1.Name = "listView1";
     this.listView1.ShowItemToolTips = true;
     this.listView1.Size = new System.Drawing.Size(676, 444);
     this.listView1.TabIndex = 0;
     this.listView1.UseCompatibleStateImageBehavior = false;
     this.listView1.View = System.Windows.Forms.View.Details;
     //
     // columnHeader5
     //
     this.columnHeader5.Text = "No.";
     this.columnHeader5.Width = 34;
     //
     // columnHeader6
     //
     this.columnHeader6.Text = "Stock Code";
     this.columnHeader6.Width = 98;
     //
     // columnHeader7
     //
     this.columnHeader7.Text = "Item Name";
     this.columnHeader7.Width = 393;
     //
     // columnHeader8
     //
     this.columnHeader8.Text = "Unit";
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Location = new System.Drawing.Point(39, 182);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(85, 13);
     this.label6.TabIndex = 0;
     this.label6.Text = "Pediatric Items : ";
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.Location = new System.Drawing.Point(39, 155);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(74, 13);
     this.label7.TabIndex = 0;
     this.label7.Text = "Refrigerated : ";
     //
     // label8
     //
     this.label8.AutoSize = true;
     this.label8.Location = new System.Drawing.Point(39, 128);
     this.label8.Name = "label8";
     this.label8.Size = new System.Drawing.Size(65, 13);
     this.label8.TabIndex = 0;
     this.label8.Text = "Free Items : ";
     //
     // label9
     //
     this.label9.AutoSize = true;
     this.label9.Location = new System.Drawing.Point(39, 101);
     this.label9.Name = "label9";
     this.label9.Size = new System.Drawing.Size(93, 13);
     this.label9.TabIndex = 0;
     this.label9.Text = "Items Not in EDL :";
     //
     // label10
     //
     this.label10.AutoSize = true;
     this.label10.Location = new System.Drawing.Point(167, 155);
     this.label10.Name = "label10";
     this.label10.Size = new System.Drawing.Size(0, 13);
     this.label10.TabIndex = 0;
     //
     // label11
     //
     this.label11.AutoSize = true;
     this.label11.Location = new System.Drawing.Point(167, 182);
     this.label11.Name = "label11";
     this.label11.Size = new System.Drawing.Size(0, 13);
     this.label11.TabIndex = 0;
     //
     // label12
     //
     this.label12.AutoSize = true;
     this.label12.Location = new System.Drawing.Point(167, 128);
     this.label12.Name = "label12";
     this.label12.Size = new System.Drawing.Size(0, 13);
     this.label12.TabIndex = 0;
     //
     // label13
     //
     this.label13.AutoSize = true;
     this.label13.Location = new System.Drawing.Point(167, 101);
     this.label13.Name = "label13";
     this.label13.Size = new System.Drawing.Size(0, 13);
     this.label13.TabIndex = 0;
     //
     // label14
     //
     this.label14.AutoSize = true;
     this.label14.Location = new System.Drawing.Point(167, 74);
     this.label14.Name = "label14";
     this.label14.Size = new System.Drawing.Size(0, 13);
     this.label14.TabIndex = 0;
     //
     // label15
     //
     this.label15.AutoSize = true;
     this.label15.Location = new System.Drawing.Point(39, 74);
     this.label15.Name = "label15";
     this.label15.Size = new System.Drawing.Size(52, 13);
     this.label15.TabIndex = 0;
     this.label15.Text = "All Items :";
     //
     // linkLabel11
     //
     this.linkLabel11.AutoSize = true;
     this.linkLabel11.Location = new System.Drawing.Point(98, 169);
     this.linkLabel11.Name = "linkLabel11";
     this.linkLabel11.Size = new System.Drawing.Size(150, 13);
     this.linkLabel11.TabIndex = 20;
     this.linkLabel11.TabStop = true;
     this.linkLabel11.Text = "Top 10 Least Received Items ";
     //
     // linkLabel12
     //
     this.linkLabel12.AutoSize = true;
     this.linkLabel12.Location = new System.Drawing.Point(98, 140);
     this.linkLabel12.Name = "linkLabel12";
     this.linkLabel12.Size = new System.Drawing.Size(147, 13);
     this.linkLabel12.TabIndex = 20;
     this.linkLabel12.TabStop = true;
     this.linkLabel12.Text = "Top 10 Most Received Items ";
     //
     // linkLabel13
     //
     this.linkLabel13.AutoSize = true;
     this.linkLabel13.Location = new System.Drawing.Point(259, 99);
     this.linkLabel13.Name = "linkLabel13";
     this.linkLabel13.Size = new System.Drawing.Size(19, 13);
     this.linkLabel13.TabIndex = 20;
     this.linkLabel13.TabStop = true;
     this.linkLabel13.Text = "list";
     //
     // linkLabel14
     //
     this.linkLabel14.AutoSize = true;
     this.linkLabel14.Location = new System.Drawing.Point(259, 72);
     this.linkLabel14.Name = "linkLabel14";
     this.linkLabel14.Size = new System.Drawing.Size(19, 13);
     this.linkLabel14.TabIndex = 20;
     this.linkLabel14.TabStop = true;
     this.linkLabel14.Text = "list";
     //
     // linkLabel15
     //
     this.linkLabel15.AutoSize = true;
     this.linkLabel15.Location = new System.Drawing.Point(259, 48);
     this.linkLabel15.Name = "linkLabel15";
     this.linkLabel15.Size = new System.Drawing.Size(19, 13);
     this.linkLabel15.TabIndex = 20;
     this.linkLabel15.TabStop = true;
     this.linkLabel15.Text = "list";
     //
     // groupBox2
     //
     this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox2.Controls.Add(this.listView2);
     this.groupBox2.Location = new System.Drawing.Point(462, 3);
     this.groupBox2.Name = "groupBox2";
     this.groupBox2.Size = new System.Drawing.Size(682, 463);
     this.groupBox2.TabIndex = 19;
     this.groupBox2.TabStop = false;
     //
     // listView2
     //
     this.listView2.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
     this.columnHeader17,
     this.columnHeader18,
     this.columnHeader19,
     this.columnHeader20});
     this.listView2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.listView2.FullRowSelect = true;
     this.listView2.GridLines = true;
     this.listView2.Location = new System.Drawing.Point(3, 16);
     this.listView2.Name = "listView2";
     this.listView2.ShowItemToolTips = true;
     this.listView2.Size = new System.Drawing.Size(676, 444);
     this.listView2.TabIndex = 0;
     this.listView2.UseCompatibleStateImageBehavior = false;
     this.listView2.View = System.Windows.Forms.View.Details;
     //
     // columnHeader17
     //
     this.columnHeader17.Text = "No.";
     this.columnHeader17.Width = 34;
     //
     // columnHeader18
     //
     this.columnHeader18.Text = "Stock Code";
     this.columnHeader18.Width = 98;
     //
     // columnHeader19
     //
     this.columnHeader19.Text = "Item Name";
     this.columnHeader19.Width = 393;
     //
     // columnHeader20
     //
     this.columnHeader20.Text = "Unit";
     //
     // label44
     //
     this.label44.AutoSize = true;
     this.label44.Location = new System.Drawing.Point(309, 48);
     this.label44.Name = "label44";
     this.label44.Size = new System.Drawing.Size(0, 13);
     this.label44.TabIndex = 9;
     //
     // label45
     //
     this.label45.AutoSize = true;
     this.label45.Location = new System.Drawing.Point(203, 48);
     this.label45.Name = "label45";
     this.label45.Size = new System.Drawing.Size(0, 13);
     this.label45.TabIndex = 10;
     //
     // label46
     //
     this.label46.AutoSize = true;
     this.label46.Location = new System.Drawing.Point(238, 72);
     this.label46.Name = "label46";
     this.label46.Size = new System.Drawing.Size(13, 13);
     this.label46.TabIndex = 7;
     this.label46.Text = "0";
     //
     // label47
     //
     this.label47.AutoSize = true;
     this.label47.Location = new System.Drawing.Point(238, 99);
     this.label47.Name = "label47";
     this.label47.Size = new System.Drawing.Size(13, 13);
     this.label47.TabIndex = 7;
     this.label47.Text = "0";
     //
     // label48
     //
     this.label48.AutoSize = true;
     this.label48.Location = new System.Drawing.Point(238, 48);
     this.label48.Name = "label48";
     this.label48.Size = new System.Drawing.Size(13, 13);
     this.label48.TabIndex = 7;
     this.label48.Text = "0";
     //
     // label49
     //
     this.label49.AutoSize = true;
     this.label49.Location = new System.Drawing.Point(98, 99);
     this.label49.Name = "label49";
     this.label49.Size = new System.Drawing.Size(119, 13);
     this.label49.TabIndex = 8;
     this.label49.Text = "Never Received Items :";
     //
     // label50
     //
     this.label50.AutoSize = true;
     this.label50.Location = new System.Drawing.Point(98, 72);
     this.label50.Name = "label50";
     this.label50.Size = new System.Drawing.Size(94, 13);
     this.label50.TabIndex = 8;
     this.label50.Text = "No of Days since :";
     //
     // label51
     //
     this.label51.AutoSize = true;
     this.label51.Location = new System.Drawing.Point(98, 48);
     this.label51.Name = "label51";
     this.label51.Size = new System.Drawing.Size(102, 13);
     this.label51.TabIndex = 8;
     this.label51.Text = "Last Receive Date :";
     //
     // chartPie
     //
     this.chartPie.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.chartPie.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253)))));
     this.chartPie.BorderOptions.Visible = false;
     simpleDiagram3D1.RotationMatrixSerializable = "1;0;0;0;0;0.5;-0.866025403784439;0;0;0.866025403784439;0.5;0;0;0;0;1";
     this.chartPie.Diagram = simpleDiagram3D1;
     this.chartPie.Location = new System.Drawing.Point(26, 48);
     this.chartPie.Name = "chartPie";
     this.chartPie.PaletteName = "Palette 2";
     this.chartPie.PaletteRepository.Add("Palette 1", new DevExpress.XtraCharts.Palette("Palette 1", DevExpress.XtraCharts.PaletteScaleMode.Repeat, new DevExpress.XtraCharts.PaletteEntry[] {
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(5)))), ((int)(((byte)(169)))), ((int)(((byte)(10))))), System.Drawing.Color.FromArgb(((int)(((byte)(5)))), ((int)(((byte)(169)))), ((int)(((byte)(10)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(33)))), ((int)(((byte)(15))))), System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(33)))), ((int)(((byte)(15)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(186)))), ((int)(((byte)(217))))), System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(186)))), ((int)(((byte)(217)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(94))))), System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(94)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(119)))), ((int)(((byte)(199)))), ((int)(((byte)(70))))), System.Drawing.Color.FromArgb(((int)(((byte)(144)))), ((int)(((byte)(238)))), ((int)(((byte)(82)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(152)))), ((int)(((byte)(58)))), ((int)(((byte)(23))))), System.Drawing.Color.FromArgb(((int)(((byte)(187)))), ((int)(((byte)(86)))), ((int)(((byte)(49)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(136)))), ((int)(((byte)(0))))), System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(171)))), ((int)(((byte)(27)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(161)))), ((int)(((byte)(0))))), System.Drawing.Color.FromArgb(((int)(((byte)(196)))), ((int)(((byte)(194)))), ((int)(((byte)(0)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(159)))), ((int)(((byte)(113))))), System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(194)))), ((int)(((byte)(141)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(172)))), ((int)(((byte)(104))))), System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(202)))), ((int)(((byte)(134)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))), System.Drawing.Color.FromArgb(((int)(((byte)(132)))), ((int)(((byte)(227)))), ((int)(((byte)(181)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(147)))), ((int)(((byte)(115))))), System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(175)))), ((int)(((byte)(149))))))}));
     this.chartPie.PaletteRepository.Add("Palette 2", new DevExpress.XtraCharts.Palette("Palette 2", DevExpress.XtraCharts.PaletteScaleMode.Repeat, new DevExpress.XtraCharts.PaletteEntry[] {
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(168)))), ((int)(((byte)(9))))), System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(201)))), ((int)(((byte)(67)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(76)))), ((int)(((byte)(27))))), System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(118)))), ((int)(((byte)(72)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(111)))), ((int)(((byte)(203)))), ((int)(((byte)(219))))), System.Drawing.Color.FromArgb(((int)(((byte)(111)))), ((int)(((byte)(203)))), ((int)(((byte)(219)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(94))))), System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(94)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(152)))), ((int)(((byte)(58)))), ((int)(((byte)(23))))), System.Drawing.Color.FromArgb(((int)(((byte)(187)))), ((int)(((byte)(86)))), ((int)(((byte)(49)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(136)))), ((int)(((byte)(0))))), System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(171)))), ((int)(((byte)(27)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(161)))), ((int)(((byte)(0))))), System.Drawing.Color.FromArgb(((int)(((byte)(196)))), ((int)(((byte)(194)))), ((int)(((byte)(0)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(159)))), ((int)(((byte)(113))))), System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(194)))), ((int)(((byte)(141)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(172)))), ((int)(((byte)(104))))), System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(202)))), ((int)(((byte)(134)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))), System.Drawing.Color.FromArgb(((int)(((byte)(132)))), ((int)(((byte)(227)))), ((int)(((byte)(181)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(147)))), ((int)(((byte)(115))))), System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(175)))), ((int)(((byte)(149))))))}));
     pie3DSeriesLabel1.LineVisible = true;
     series1.Label = pie3DSeriesLabel1;
     series1.Name = "Series 1";
     piePointOptions1.ValueNumericOptions.Format = DevExpress.XtraCharts.NumericFormat.Percent;
     series1.PointOptions = piePointOptions1;
     series1.View = pie3DSeriesView1;
     this.chartPie.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
     series1};
     pie3DSeriesLabel2.LineVisible = true;
     this.chartPie.SeriesTemplate.Label = pie3DSeriesLabel2;
     this.chartPie.SeriesTemplate.View = pie3DSeriesView2;
     this.chartPie.Size = new System.Drawing.Size(1104, 442);
     this.chartPie.TabIndex = 20;
     //
     // cboStores
     //
     this.cboStores.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.cboStores.DisplayMember = "StoreName";
     this.cboStores.FormattingEnabled = true;
     this.cboStores.Location = new System.Drawing.Point(904, 18);
     this.cboStores.Name = "cboStores";
     this.cboStores.Size = new System.Drawing.Size(121, 21);
     this.cboStores.TabIndex = 21;
     this.cboStores.ValueMember = "ID";
     this.cboStores.SelectedValueChanged += new System.EventHandler(this.cboStores_SelectedValueChanged_1);
     //
     // dtDate
     //
     this.dtDate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.dtDate.CalendarFont = new System.Drawing.Font("Nyala", 10.75F);
     this.dtDate.CalendarForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(31)))), ((int)(((byte)(53)))));
     this.dtDate.CustomFormat = "MM/dd/ yy";
     this.dtDate.DayOfWeekCharacters = 2;
     this.dtDate.Location = new System.Drawing.Point(738, 20);
     this.dtDate.Name = "dtDate";
     this.dtDate.PopUpFontSize = 9.75F;
     this.dtDate.Size = new System.Drawing.Size(114, 20);
     this.dtDate.TabIndex = 22;
     this.dtDate.Value = new System.DateTime(2009, 1, 20, 0, 0, 0, 0);
     this.dtDate.Visible = false;
     //
     // printDoc
     //
     this.printDoc.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage);
     //
     // printDialog1
     //
     this.printDialog1.UseEXDialog = true;
     //
     // progressBar1
     //
     this.progressBar1.Location = new System.Drawing.Point(427, 245);
     this.progressBar1.Minimum = 1;
     this.progressBar1.Name = "progressBar1";
     this.progressBar1.Size = new System.Drawing.Size(300, 23);
     this.progressBar1.Style = System.Windows.Forms.ProgressBarStyle.Continuous;
     this.progressBar1.TabIndex = 25;
     this.progressBar1.UseWaitCursor = true;
     this.progressBar1.Value = 1;
     this.progressBar1.Visible = false;
     //
     // btnPrint
     //
     this.btnPrint.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnPrint.Image = global::HCMIS.Desktop.Properties.Resources.printer;
     this.btnPrint.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnPrint.Location = new System.Drawing.Point(1065, 18);
     this.btnPrint.Name = "btnPrint";
     this.btnPrint.Size = new System.Drawing.Size(65, 22);
     this.btnPrint.TabIndex = 24;
     this.btnPrint.Text = "Print";
     this.btnPrint.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.btnPrint.UseVisualStyleBackColor = true;
     this.btnPrint.Click += new System.EventHandler(this.button1_Click);
     //
     // GeneralExpiryChart
     //
     this.Appearance.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Appearance.Options.UseFont = true;
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(1155, 513);
     this.Controls.Add(this.progressBar1);
     this.Controls.Add(this.btnPrint);
     this.Controls.Add(this.dtDate);
     this.Controls.Add(this.cboStores);
     this.Controls.Add(this.chartPie);
     this.Name = "GeneralExpiryChart";
     this.Text = "GeneralReport";
     this.Load += new System.EventHandler(this.GeneralReport_Load);
     this.groupBox1.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(simpleDiagram3D1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pie3DSeriesLabel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pie3DSeriesView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pie3DSeriesLabel2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pie3DSeriesView2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartPie)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #56
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Invoices));
     this.panel50 = new System.Windows.Forms.Panel();
     this.lblInvDiscountTotal = new System.Windows.Forms.Label();
     this.panel54 = new System.Windows.Forms.Panel();
     this.label29 = new System.Windows.Forms.Label();
     this.panel9 = new System.Windows.Forms.Panel();
     this.txtInvMess3 = new System.Windows.Forms.TextBox();
     this.txtInvMess2 = new System.Windows.Forms.TextBox();
     this.txtInvMess1 = new System.Windows.Forms.TextBox();
     this.label9 = new System.Windows.Forms.Label();
     this.txtInvoiceNumber = new System.Windows.Forms.TextBox();
     this.panel10 = new System.Windows.Forms.Panel();
     this.txtInvEmail = new System.Windows.Forms.TextBox();
     this.txtInvMobile = new System.Windows.Forms.TextBox();
     this.txtInvFax = new System.Windows.Forms.TextBox();
     this.txtInvTel = new System.Windows.Forms.TextBox();
     this.txtInvContact = new System.Windows.Forms.TextBox();
     this.txtInvDelAd5 = new System.Windows.Forms.TextBox();
     this.txtInvDelAd4 = new System.Windows.Forms.TextBox();
     this.txtInvDelAd3 = new System.Windows.Forms.TextBox();
     this.txtInvDelAd2 = new System.Windows.Forms.TextBox();
     this.txtInvDelAd1 = new System.Windows.Forms.TextBox();
     this.label10 = new System.Windows.Forms.Label();
     this.txtInvoiceCustomer = new System.Windows.Forms.TextBox();
     this.txtInvoiceCustomerName = new System.Windows.Forms.TextBox();
     this.panel12 = new System.Windows.Forms.Panel();
     this.lblInvTotal = new System.Windows.Forms.Label();
     this.tabControl1 = new System.Windows.Forms.TabControl();
     this.tabPage1 = new System.Windows.Forms.TabPage();
     this.txtInvShip = new System.Windows.Forms.TextBox();
     this.txtInvFreight = new System.Windows.Forms.TextBox();
     this.label12 = new System.Windows.Forms.Label();
     this.label13 = new System.Windows.Forms.Label();
     this.label14 = new System.Windows.Forms.Label();
     this.label17 = new System.Windows.Forms.Label();
     this.label18 = new System.Windows.Forms.Label();
     this.label19 = new System.Windows.Forms.Label();
     this.tabPage2 = new System.Windows.Forms.TabPage();
     this.panel13 = new System.Windows.Forms.Panel();
     this.txtInvPostAd4 = new System.Windows.Forms.TextBox();
     this.txtInvPostAd3 = new System.Windows.Forms.TextBox();
     this.txtInvPostAd2 = new System.Windows.Forms.TextBox();
     this.txtInvPostAd1 = new System.Windows.Forms.TextBox();
     this.panel14 = new System.Windows.Forms.Panel();
     this.lblInvTotalTax = new System.Windows.Forms.Label();
     this.panel15 = new System.Windows.Forms.Panel();
     this.label21 = new System.Windows.Forms.Label();
     this.panel16 = new System.Windows.Forms.Panel();
     this.label22 = new System.Windows.Forms.Label();
     this.panel17 = new System.Windows.Forms.Panel();
     this.label23 = new System.Windows.Forms.Label();
     this.panel18 = new System.Windows.Forms.Panel();
     this.lblInvTotExcl = new System.Windows.Forms.Label();
     this.panel19 = new System.Windows.Forms.Panel();
     this.label25 = new System.Windows.Forms.Label();
     this.panel20 = new System.Windows.Forms.Panel();
     this.panel21 = new System.Windows.Forms.Panel();
     this.label26 = new System.Windows.Forms.Label();
     this.label27 = new System.Windows.Forms.Label();
     this.panel22 = new System.Windows.Forms.Panel();
     this.panel24 = new System.Windows.Forms.Panel();
     this.lblInvPeriod = new System.Windows.Forms.Label();
     this.textBox1 = new System.Windows.Forms.TextBox();
     this.panel23 = new System.Windows.Forms.Panel();
     this.label11 = new System.Windows.Forms.Label();
     this.panel46 = new System.Windows.Forms.Panel();
     this.lblInvDate = new System.Windows.Forms.Label();
     this.panel47 = new System.Windows.Forms.Panel();
     this.dtDelivery = new System.Windows.Forms.DateTimePicker();
     this.lblInvDelAdd = new System.Windows.Forms.Label();
     this.panel48 = new System.Windows.Forms.Panel();
     this.label40 = new System.Windows.Forms.Label();
     this.panel49 = new System.Windows.Forms.Panel();
     this.label41 = new System.Windows.Forms.Label();
     this.panel51 = new System.Windows.Forms.Panel();
     this.lblInvSalesCode = new System.Windows.Forms.Label();
     this.panel52 = new System.Windows.Forms.Panel();
     this.label42 = new System.Windows.Forms.Label();
     this.panel53 = new System.Windows.Forms.Panel();
     this.txtDiscount = new System.Windows.Forms.TextBox();
     this.lblInvDiscount = new System.Windows.Forms.Label();
     this.grpDeliveryNote = new System.Windows.Forms.GroupBox();
     this.cmdPrint = new System.Windows.Forms.Button();
     this.cmdSearchNumber = new System.Windows.Forms.Button();
     this.cmdPayInvoices = new System.Windows.Forms.Button();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.cmdUpdateBatch = new System.Windows.Forms.Button();
     this.pnlDetails = new System.Windows.Forms.Panel();
     this.panel8 = new System.Windows.Forms.Panel();
     this.panel25 = new System.Windows.Forms.Panel();
     this.lblNet = new System.Windows.Forms.Label();
     this.pnlNet = new System.Windows.Forms.Panel();
     this.pnlNettLabel = new System.Windows.Forms.Panel();
     this.label4 = new System.Windows.Forms.Label();
     this.pnlExcTax = new System.Windows.Forms.Panel();
     this.pnlExcPriceLabel = new System.Windows.Forms.Panel();
     this.lblDis = new System.Windows.Forms.Label();
     this.pnlDiscount = new System.Windows.Forms.Panel();
     this.pnlDisLabel = new System.Windows.Forms.Panel();
     this.label24 = new System.Windows.Forms.Label();
     this.pnlQtyValues = new System.Windows.Forms.Panel();
     this.pnlQtyLabel = new System.Windows.Forms.Panel();
     this.lblQty = new System.Windows.Forms.Label();
     this.pnlUnit = new System.Windows.Forms.Panel();
     this.pnlUnitLabel = new System.Windows.Forms.Panel();
     this.lblUnit = new System.Windows.Forms.Label();
     this.pnlReturnDate = new System.Windows.Forms.Panel();
     this.panel2 = new System.Windows.Forms.Panel();
     this.lblReturn = new System.Windows.Forms.Label();
     this.pnlDeliveryDate = new System.Windows.Forms.Panel();
     this.pnlDelLabel = new System.Windows.Forms.Panel();
     this.lblDel = new System.Windows.Forms.Label();
     this.pnlDescription = new System.Windows.Forms.Panel();
     this.pnlDescriptionLabel = new System.Windows.Forms.Panel();
     this.lblDescription = new System.Windows.Forms.Label();
     this.pnlCode = new System.Windows.Forms.Panel();
     this.pnlCodeLabel = new System.Windows.Forms.Panel();
     this.lblCode = new System.Windows.Forms.Label();
     this.pnlStor = new System.Windows.Forms.Panel();
     this.pnlStoreLabel = new System.Windows.Forms.Panel();
     this.lblStore = new System.Windows.Forms.Label();
     this.printDialog1 = new System.Windows.Forms.PrintDialog();
     this.panel50.SuspendLayout();
     this.panel54.SuspendLayout();
     this.panel9.SuspendLayout();
     this.panel10.SuspendLayout();
     this.panel12.SuspendLayout();
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.tabPage2.SuspendLayout();
     this.panel13.SuspendLayout();
     this.panel14.SuspendLayout();
     this.panel15.SuspendLayout();
     this.panel16.SuspendLayout();
     this.panel17.SuspendLayout();
     this.panel18.SuspendLayout();
     this.panel19.SuspendLayout();
     this.panel20.SuspendLayout();
     this.panel21.SuspendLayout();
     this.panel22.SuspendLayout();
     this.panel24.SuspendLayout();
     this.panel23.SuspendLayout();
     this.panel46.SuspendLayout();
     this.panel47.SuspendLayout();
     this.panel48.SuspendLayout();
     this.panel49.SuspendLayout();
     this.panel51.SuspendLayout();
     this.panel52.SuspendLayout();
     this.panel53.SuspendLayout();
     this.grpDeliveryNote.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.pnlDetails.SuspendLayout();
     this.panel8.SuspendLayout();
     this.panel25.SuspendLayout();
     this.pnlNet.SuspendLayout();
     this.pnlNettLabel.SuspendLayout();
     this.pnlExcTax.SuspendLayout();
     this.pnlExcPriceLabel.SuspendLayout();
     this.pnlDiscount.SuspendLayout();
     this.pnlDisLabel.SuspendLayout();
     this.pnlQtyValues.SuspendLayout();
     this.pnlQtyLabel.SuspendLayout();
     this.pnlUnit.SuspendLayout();
     this.pnlUnitLabel.SuspendLayout();
     this.pnlReturnDate.SuspendLayout();
     this.panel2.SuspendLayout();
     this.pnlDeliveryDate.SuspendLayout();
     this.pnlDelLabel.SuspendLayout();
     this.pnlDescription.SuspendLayout();
     this.pnlDescriptionLabel.SuspendLayout();
     this.pnlCode.SuspendLayout();
     this.pnlCodeLabel.SuspendLayout();
     this.pnlStor.SuspendLayout();
     this.pnlStoreLabel.SuspendLayout();
     this.SuspendLayout();
     //
     // panel50
     //
     this.panel50.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel50.Controls.Add(this.lblInvDiscountTotal);
     this.panel50.Location = new System.Drawing.Point(886, 513);
     this.panel50.Margin = new System.Windows.Forms.Padding(0);
     this.panel50.Name = "panel50";
     this.panel50.Size = new System.Drawing.Size(97, 23);
     this.panel50.TabIndex = 106;
     //
     // lblInvDiscountTotal
     //
     this.lblInvDiscountTotal.Location = new System.Drawing.Point(11, 5);
     this.lblInvDiscountTotal.Name = "lblInvDiscountTotal";
     this.lblInvDiscountTotal.Size = new System.Drawing.Size(80, 13);
     this.lblInvDiscountTotal.TabIndex = 11;
     this.lblInvDiscountTotal.Text = "0.00";
     this.lblInvDiscountTotal.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // panel54
     //
     this.panel54.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel54.Controls.Add(this.label29);
     this.panel54.Location = new System.Drawing.Point(809, 513);
     this.panel54.Name = "panel54";
     this.panel54.Size = new System.Drawing.Size(78, 23);
     this.panel54.TabIndex = 105;
     //
     // label29
     //
     this.label29.AutoSize = true;
     this.label29.Location = new System.Drawing.Point(3, 5);
     this.label29.Name = "label29";
     this.label29.Size = new System.Drawing.Size(49, 13);
     this.label29.TabIndex = 10;
     this.label29.Text = "Discount";
     //
     // panel9
     //
     this.panel9.BackColor = System.Drawing.Color.White;
     this.panel9.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel9.Controls.Add(this.txtInvMess3);
     this.panel9.Controls.Add(this.txtInvMess2);
     this.panel9.Controls.Add(this.txtInvMess1);
     this.panel9.Location = new System.Drawing.Point(14, 511);
     this.panel9.Name = "panel9";
     this.panel9.Size = new System.Drawing.Size(216, 89);
     this.panel9.TabIndex = 102;
     this.panel9.TabStop = true;
     //
     // txtInvMess3
     //
     this.txtInvMess3.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.txtInvMess3.Location = new System.Drawing.Point(2, 34);
     this.txtInvMess3.MaxLength = 30;
     this.txtInvMess3.Name = "txtInvMess3";
     this.txtInvMess3.Size = new System.Drawing.Size(206, 13);
     this.txtInvMess3.TabIndex = 6;
     //
     // txtInvMess2
     //
     this.txtInvMess2.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.txtInvMess2.Location = new System.Drawing.Point(2, 18);
     this.txtInvMess2.MaxLength = 30;
     this.txtInvMess2.Name = "txtInvMess2";
     this.txtInvMess2.Size = new System.Drawing.Size(206, 13);
     this.txtInvMess2.TabIndex = 5;
     //
     // txtInvMess1
     //
     this.txtInvMess1.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.txtInvMess1.Location = new System.Drawing.Point(2, 2);
     this.txtInvMess1.MaxLength = 30;
     this.txtInvMess1.Name = "txtInvMess1";
     this.txtInvMess1.Size = new System.Drawing.Size(206, 13);
     this.txtInvMess1.TabIndex = 4;
     //
     // label9
     //
     this.label9.AutoSize = true;
     this.label9.Location = new System.Drawing.Point(306, 12);
     this.label9.Name = "label9";
     this.label9.Size = new System.Drawing.Size(44, 13);
     this.label9.TabIndex = 76;
     this.label9.Text = "Number";
     //
     // txtInvoiceNumber
     //
     this.txtInvoiceNumber.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtInvoiceNumber.Location = new System.Drawing.Point(356, 8);
     this.txtInvoiceNumber.Name = "txtInvoiceNumber";
     this.txtInvoiceNumber.Size = new System.Drawing.Size(75, 20);
     this.txtInvoiceNumber.TabIndex = 77;
     this.txtInvoiceNumber.Text = "*Select*";
     this.txtInvoiceNumber.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtInvoiceNumber_KeyDown);
     //
     // panel10
     //
     this.panel10.BackColor = System.Drawing.Color.White;
     this.panel10.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel10.Controls.Add(this.txtInvEmail);
     this.panel10.Controls.Add(this.txtInvMobile);
     this.panel10.Controls.Add(this.txtInvFax);
     this.panel10.Controls.Add(this.txtInvTel);
     this.panel10.Controls.Add(this.txtInvContact);
     this.panel10.Controls.Add(this.txtInvDelAd5);
     this.panel10.Controls.Add(this.txtInvDelAd4);
     this.panel10.Controls.Add(this.txtInvDelAd3);
     this.panel10.Controls.Add(this.txtInvDelAd2);
     this.panel10.Controls.Add(this.txtInvDelAd1);
     this.panel10.Location = new System.Drawing.Point(309, 55);
     this.panel10.Name = "panel10";
     this.panel10.Size = new System.Drawing.Size(401, 85);
     this.panel10.TabIndex = 101;
     this.panel10.TabStop = true;
     //
     // txtInvEmail
     //
     this.txtInvEmail.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.txtInvEmail.Location = new System.Drawing.Point(213, 66);
     this.txtInvEmail.MaxLength = 30;
     this.txtInvEmail.Name = "txtInvEmail";
     this.txtInvEmail.Size = new System.Drawing.Size(140, 13);
     this.txtInvEmail.TabIndex = 13;
     //
     // txtInvMobile
     //
     this.txtInvMobile.BackColor = System.Drawing.Color.White;
     this.txtInvMobile.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.txtInvMobile.Location = new System.Drawing.Point(213, 50);
     this.txtInvMobile.MaxLength = 30;
     this.txtInvMobile.Name = "txtInvMobile";
     this.txtInvMobile.ReadOnly = true;
     this.txtInvMobile.Size = new System.Drawing.Size(140, 13);
     this.txtInvMobile.TabIndex = 12;
     //
     // txtInvFax
     //
     this.txtInvFax.BackColor = System.Drawing.Color.White;
     this.txtInvFax.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.txtInvFax.Location = new System.Drawing.Point(213, 33);
     this.txtInvFax.MaxLength = 30;
     this.txtInvFax.Name = "txtInvFax";
     this.txtInvFax.ReadOnly = true;
     this.txtInvFax.Size = new System.Drawing.Size(140, 13);
     this.txtInvFax.TabIndex = 11;
     //
     // txtInvTel
     //
     this.txtInvTel.BackColor = System.Drawing.Color.White;
     this.txtInvTel.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.txtInvTel.Location = new System.Drawing.Point(213, 18);
     this.txtInvTel.MaxLength = 30;
     this.txtInvTel.Name = "txtInvTel";
     this.txtInvTel.ReadOnly = true;
     this.txtInvTel.Size = new System.Drawing.Size(140, 13);
     this.txtInvTel.TabIndex = 10;
     //
     // txtInvContact
     //
     this.txtInvContact.BackColor = System.Drawing.Color.White;
     this.txtInvContact.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.txtInvContact.Location = new System.Drawing.Point(213, 2);
     this.txtInvContact.MaxLength = 30;
     this.txtInvContact.Name = "txtInvContact";
     this.txtInvContact.ReadOnly = true;
     this.txtInvContact.Size = new System.Drawing.Size(140, 13);
     this.txtInvContact.TabIndex = 9;
     //
     // txtInvDelAd5
     //
     this.txtInvDelAd5.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.txtInvDelAd5.Location = new System.Drawing.Point(2, 66);
     this.txtInvDelAd5.MaxLength = 30;
     this.txtInvDelAd5.Name = "txtInvDelAd5";
     this.txtInvDelAd5.Size = new System.Drawing.Size(206, 13);
     this.txtInvDelAd5.TabIndex = 8;
     //
     // txtInvDelAd4
     //
     this.txtInvDelAd4.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.txtInvDelAd4.Location = new System.Drawing.Point(2, 50);
     this.txtInvDelAd4.MaxLength = 30;
     this.txtInvDelAd4.Name = "txtInvDelAd4";
     this.txtInvDelAd4.Size = new System.Drawing.Size(206, 13);
     this.txtInvDelAd4.TabIndex = 7;
     //
     // txtInvDelAd3
     //
     this.txtInvDelAd3.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.txtInvDelAd3.Location = new System.Drawing.Point(2, 34);
     this.txtInvDelAd3.MaxLength = 30;
     this.txtInvDelAd3.Name = "txtInvDelAd3";
     this.txtInvDelAd3.Size = new System.Drawing.Size(206, 13);
     this.txtInvDelAd3.TabIndex = 6;
     //
     // txtInvDelAd2
     //
     this.txtInvDelAd2.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.txtInvDelAd2.Location = new System.Drawing.Point(2, 18);
     this.txtInvDelAd2.MaxLength = 30;
     this.txtInvDelAd2.Name = "txtInvDelAd2";
     this.txtInvDelAd2.Size = new System.Drawing.Size(206, 13);
     this.txtInvDelAd2.TabIndex = 5;
     //
     // txtInvDelAd1
     //
     this.txtInvDelAd1.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.txtInvDelAd1.Location = new System.Drawing.Point(2, 2);
     this.txtInvDelAd1.MaxLength = 30;
     this.txtInvDelAd1.Name = "txtInvDelAd1";
     this.txtInvDelAd1.Size = new System.Drawing.Size(206, 13);
     this.txtInvDelAd1.TabIndex = 4;
     //
     // label10
     //
     this.label10.AutoSize = true;
     this.label10.Location = new System.Drawing.Point(568, 12);
     this.label10.Name = "label10";
     this.label10.Size = new System.Drawing.Size(51, 13);
     this.label10.TabIndex = 78;
     this.label10.Text = "Customer";
     //
     // txtInvoiceCustomer
     //
     this.txtInvoiceCustomer.BackColor = System.Drawing.Color.White;
     this.txtInvoiceCustomer.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtInvoiceCustomer.Location = new System.Drawing.Point(628, 8);
     this.txtInvoiceCustomer.MaxLength = 6;
     this.txtInvoiceCustomer.Name = "txtInvoiceCustomer";
     this.txtInvoiceCustomer.ReadOnly = true;
     this.txtInvoiceCustomer.Size = new System.Drawing.Size(82, 20);
     this.txtInvoiceCustomer.TabIndex = 79;
     //
     // txtInvoiceCustomerName
     //
     this.txtInvoiceCustomerName.BackColor = System.Drawing.Color.LightSteelBlue;
     this.txtInvoiceCustomerName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtInvoiceCustomerName.Location = new System.Drawing.Point(736, 8);
     this.txtInvoiceCustomerName.Name = "txtInvoiceCustomerName";
     this.txtInvoiceCustomerName.ReadOnly = true;
     this.txtInvoiceCustomerName.Size = new System.Drawing.Size(246, 20);
     this.txtInvoiceCustomerName.TabIndex = 80;
     //
     // panel12
     //
     this.panel12.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel12.Controls.Add(this.lblInvTotal);
     this.panel12.Location = new System.Drawing.Point(886, 579);
     this.panel12.Name = "panel12";
     this.panel12.Size = new System.Drawing.Size(97, 23);
     this.panel12.TabIndex = 100;
     //
     // lblInvTotal
     //
     this.lblInvTotal.Location = new System.Drawing.Point(11, 5);
     this.lblInvTotal.Name = "lblInvTotal";
     this.lblInvTotal.Size = new System.Drawing.Size(80, 13);
     this.lblInvTotal.TabIndex = 13;
     this.lblInvTotal.Text = "0.00";
     this.lblInvTotal.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.tabPage1);
     this.tabControl1.Controls.Add(this.tabPage2);
     this.tabControl1.Location = new System.Drawing.Point(736, 34);
     this.tabControl1.Name = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.ShowToolTips = true;
     this.tabControl1.Size = new System.Drawing.Size(246, 146);
     this.tabControl1.TabIndex = 81;
     //
     // tabPage1
     //
     this.tabPage1.BackColor = System.Drawing.Color.LightSteelBlue;
     this.tabPage1.Controls.Add(this.txtInvShip);
     this.tabPage1.Controls.Add(this.txtInvFreight);
     this.tabPage1.Controls.Add(this.label12);
     this.tabPage1.Controls.Add(this.label13);
     this.tabPage1.Controls.Add(this.label14);
     this.tabPage1.Controls.Add(this.label17);
     this.tabPage1.Controls.Add(this.label18);
     this.tabPage1.Controls.Add(this.label19);
     this.tabPage1.Location = new System.Drawing.Point(4, 22);
     this.tabPage1.Name = "tabPage1";
     this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage1.Size = new System.Drawing.Size(238, 120);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text = "Ship / Deliver";
     //
     // txtInvShip
     //
     this.txtInvShip.BackColor = System.Drawing.Color.White;
     this.txtInvShip.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtInvShip.Location = new System.Drawing.Point(108, 42);
     this.txtInvShip.MaxLength = 30;
     this.txtInvShip.Name = "txtInvShip";
     this.txtInvShip.ReadOnly = true;
     this.txtInvShip.Size = new System.Drawing.Size(124, 20);
     this.txtInvShip.TabIndex = 42;
     //
     // txtInvFreight
     //
     this.txtInvFreight.BackColor = System.Drawing.Color.White;
     this.txtInvFreight.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtInvFreight.Location = new System.Drawing.Point(108, 23);
     this.txtInvFreight.MaxLength = 30;
     this.txtInvFreight.Name = "txtInvFreight";
     this.txtInvFreight.ReadOnly = true;
     this.txtInvFreight.Size = new System.Drawing.Size(124, 20);
     this.txtInvFreight.TabIndex = 34;
     //
     // label12
     //
     this.label12.AutoSize = true;
     this.label12.Location = new System.Drawing.Point(95, 85);
     this.label12.Name = "label12";
     this.label12.Size = new System.Drawing.Size(0, 13);
     this.label12.TabIndex = 41;
     //
     // label13
     //
     this.label13.AutoSize = true;
     this.label13.Location = new System.Drawing.Point(95, 65);
     this.label13.Name = "label13";
     this.label13.Size = new System.Drawing.Size(0, 13);
     this.label13.TabIndex = 40;
     //
     // label14
     //
     this.label14.AutoSize = true;
     this.label14.Location = new System.Drawing.Point(95, 5);
     this.label14.Name = "label14";
     this.label14.Size = new System.Drawing.Size(0, 13);
     this.label14.TabIndex = 39;
     //
     // label17
     //
     this.label17.AutoSize = true;
     this.label17.Location = new System.Drawing.Point(3, 45);
     this.label17.Name = "label17";
     this.label17.Size = new System.Drawing.Size(72, 13);
     this.label17.TabIndex = 36;
     this.label17.Text = "Ship / Deliver";
     //
     // label18
     //
     this.label18.AutoSize = true;
     this.label18.Location = new System.Drawing.Point(3, 25);
     this.label18.Name = "label18";
     this.label18.Size = new System.Drawing.Size(102, 13);
     this.label18.TabIndex = 35;
     this.label18.Text = "Sales Order Number";
     //
     // label19
     //
     this.label19.AutoSize = true;
     this.label19.Location = new System.Drawing.Point(3, 5);
     this.label19.Name = "label19";
     this.label19.Size = new System.Drawing.Size(36, 13);
     this.label19.TabIndex = 34;
     this.label19.Text = "Terms";
     //
     // tabPage2
     //
     this.tabPage2.BackColor = System.Drawing.Color.LightSteelBlue;
     this.tabPage2.Controls.Add(this.panel13);
     this.tabPage2.Location = new System.Drawing.Point(4, 22);
     this.tabPage2.Name = "tabPage2";
     this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage2.Size = new System.Drawing.Size(238, 120);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text = "Postal Address";
     //
     // panel13
     //
     this.panel13.BackColor = System.Drawing.Color.LightSteelBlue;
     this.panel13.Controls.Add(this.txtInvPostAd4);
     this.panel13.Controls.Add(this.txtInvPostAd3);
     this.panel13.Controls.Add(this.txtInvPostAd2);
     this.panel13.Controls.Add(this.txtInvPostAd1);
     this.panel13.Location = new System.Drawing.Point(0, 0);
     this.panel13.Name = "panel13";
     this.panel13.Size = new System.Drawing.Size(189, 114);
     this.panel13.TabIndex = 34;
     this.panel13.TabStop = true;
     //
     // txtInvPostAd4
     //
     this.txtInvPostAd4.BackColor = System.Drawing.Color.LightSteelBlue;
     this.txtInvPostAd4.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.txtInvPostAd4.Location = new System.Drawing.Point(2, 60);
     this.txtInvPostAd4.MaxLength = 30;
     this.txtInvPostAd4.Name = "txtInvPostAd4";
     this.txtInvPostAd4.Size = new System.Drawing.Size(161, 13);
     this.txtInvPostAd4.TabIndex = 7;
     //
     // txtInvPostAd3
     //
     this.txtInvPostAd3.BackColor = System.Drawing.Color.LightSteelBlue;
     this.txtInvPostAd3.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.txtInvPostAd3.Location = new System.Drawing.Point(2, 41);
     this.txtInvPostAd3.MaxLength = 30;
     this.txtInvPostAd3.Name = "txtInvPostAd3";
     this.txtInvPostAd3.Size = new System.Drawing.Size(161, 13);
     this.txtInvPostAd3.TabIndex = 6;
     //
     // txtInvPostAd2
     //
     this.txtInvPostAd2.BackColor = System.Drawing.Color.LightSteelBlue;
     this.txtInvPostAd2.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.txtInvPostAd2.Location = new System.Drawing.Point(2, 23);
     this.txtInvPostAd2.MaxLength = 30;
     this.txtInvPostAd2.Name = "txtInvPostAd2";
     this.txtInvPostAd2.Size = new System.Drawing.Size(161, 13);
     this.txtInvPostAd2.TabIndex = 5;
     //
     // txtInvPostAd1
     //
     this.txtInvPostAd1.BackColor = System.Drawing.Color.LightSteelBlue;
     this.txtInvPostAd1.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.txtInvPostAd1.Location = new System.Drawing.Point(2, 5);
     this.txtInvPostAd1.MaxLength = 30;
     this.txtInvPostAd1.Name = "txtInvPostAd1";
     this.txtInvPostAd1.Size = new System.Drawing.Size(161, 13);
     this.txtInvPostAd1.TabIndex = 4;
     //
     // panel14
     //
     this.panel14.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel14.Controls.Add(this.lblInvTotalTax);
     this.panel14.Location = new System.Drawing.Point(886, 557);
     this.panel14.Name = "panel14";
     this.panel14.Size = new System.Drawing.Size(97, 23);
     this.panel14.TabIndex = 98;
     //
     // lblInvTotalTax
     //
     this.lblInvTotalTax.Location = new System.Drawing.Point(11, 5);
     this.lblInvTotalTax.Name = "lblInvTotalTax";
     this.lblInvTotalTax.Size = new System.Drawing.Size(80, 13);
     this.lblInvTotalTax.TabIndex = 12;
     this.lblInvTotalTax.Text = "0.00";
     this.lblInvTotalTax.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // panel15
     //
     this.panel15.BackColor = System.Drawing.Color.WhiteSmoke;
     this.panel15.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel15.Controls.Add(this.label21);
     this.panel15.Location = new System.Drawing.Point(309, 34);
     this.panel15.Name = "panel15";
     this.panel15.Size = new System.Drawing.Size(401, 22);
     this.panel15.TabIndex = 82;
     //
     // label21
     //
     this.label21.AutoSize = true;
     this.label21.Location = new System.Drawing.Point(3, 4);
     this.label21.Name = "label21";
     this.label21.Size = new System.Drawing.Size(183, 13);
     this.label21.TabIndex = 8;
     this.label21.Text = "Delivery Address And Contact Details";
     //
     // panel16
     //
     this.panel16.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel16.Controls.Add(this.label22);
     this.panel16.Location = new System.Drawing.Point(809, 579);
     this.panel16.Name = "panel16";
     this.panel16.Size = new System.Drawing.Size(78, 23);
     this.panel16.TabIndex = 99;
     //
     // label22
     //
     this.label22.AutoSize = true;
     this.label22.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label22.Location = new System.Drawing.Point(3, 4);
     this.label22.Name = "label22";
     this.label22.Size = new System.Drawing.Size(36, 13);
     this.label22.TabIndex = 12;
     this.label22.Text = "Total";
     //
     // panel17
     //
     this.panel17.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel17.Controls.Add(this.label23);
     this.panel17.Location = new System.Drawing.Point(13, 182);
     this.panel17.Name = "panel17";
     this.panel17.Size = new System.Drawing.Size(50, 21);
     this.panel17.TabIndex = 84;
     //
     // label23
     //
     this.label23.Dock = System.Windows.Forms.DockStyle.Fill;
     this.label23.Location = new System.Drawing.Point(0, 0);
     this.label23.Name = "label23";
     this.label23.Size = new System.Drawing.Size(48, 19);
     this.label23.TabIndex = 23;
     this.label23.Text = "Period";
     this.label23.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // panel18
     //
     this.panel18.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel18.Controls.Add(this.lblInvTotExcl);
     this.panel18.Location = new System.Drawing.Point(886, 535);
     this.panel18.Margin = new System.Windows.Forms.Padding(0);
     this.panel18.Name = "panel18";
     this.panel18.Size = new System.Drawing.Size(97, 23);
     this.panel18.TabIndex = 96;
     //
     // lblInvTotExcl
     //
     this.lblInvTotExcl.Location = new System.Drawing.Point(11, 5);
     this.lblInvTotExcl.Name = "lblInvTotExcl";
     this.lblInvTotExcl.Size = new System.Drawing.Size(80, 13);
     this.lblInvTotExcl.TabIndex = 13;
     this.lblInvTotExcl.Text = "0.00";
     this.lblInvTotExcl.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // panel19
     //
     this.panel19.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel19.Controls.Add(this.label25);
     this.panel19.Location = new System.Drawing.Point(62, 182);
     this.panel19.Name = "panel19";
     this.panel19.Size = new System.Drawing.Size(90, 21);
     this.panel19.TabIndex = 85;
     //
     // label25
     //
     this.label25.Dock = System.Windows.Forms.DockStyle.Fill;
     this.label25.Location = new System.Drawing.Point(0, 0);
     this.label25.Name = "label25";
     this.label25.Size = new System.Drawing.Size(88, 19);
     this.label25.TabIndex = 23;
     this.label25.Text = "Date";
     this.label25.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // panel20
     //
     this.panel20.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel20.Controls.Add(this.panel21);
     this.panel20.Controls.Add(this.label27);
     this.panel20.Location = new System.Drawing.Point(809, 557);
     this.panel20.Name = "panel20";
     this.panel20.Size = new System.Drawing.Size(78, 23);
     this.panel20.TabIndex = 97;
     //
     // panel21
     //
     this.panel21.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel21.Controls.Add(this.label26);
     this.panel21.Location = new System.Drawing.Point(-1, -1);
     this.panel21.Name = "panel21";
     this.panel21.Size = new System.Drawing.Size(78, 23);
     this.panel21.TabIndex = 27;
     //
     // label26
     //
     this.label26.AutoSize = true;
     this.label26.Location = new System.Drawing.Point(3, 4);
     this.label26.Name = "label26";
     this.label26.Size = new System.Drawing.Size(25, 13);
     this.label26.TabIndex = 11;
     this.label26.Text = "Tax";
     //
     // label27
     //
     this.label27.AutoSize = true;
     this.label27.Location = new System.Drawing.Point(3, 5);
     this.label27.Name = "label27";
     this.label27.Size = new System.Drawing.Size(25, 13);
     this.label27.TabIndex = 11;
     this.label27.Text = "Tax";
     //
     // panel22
     //
     this.panel22.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel22.Controls.Add(this.panel24);
     this.panel22.Location = new System.Drawing.Point(13, 202);
     this.panel22.Name = "panel22";
     this.panel22.Size = new System.Drawing.Size(50, 21);
     this.panel22.TabIndex = 89;
     //
     // panel24
     //
     this.panel24.BackColor = System.Drawing.Color.White;
     this.panel24.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel24.Controls.Add(this.lblInvPeriod);
     this.panel24.Controls.Add(this.textBox1);
     this.panel24.Location = new System.Drawing.Point(-11, -1);
     this.panel24.Name = "panel24";
     this.panel24.Size = new System.Drawing.Size(70, 21);
     this.panel24.TabIndex = 54;
     //
     // lblInvPeriod
     //
     this.lblInvPeriod.AutoSize = true;
     this.lblInvPeriod.Location = new System.Drawing.Point(14, 3);
     this.lblInvPeriod.Name = "lblInvPeriod";
     this.lblInvPeriod.Size = new System.Drawing.Size(0, 13);
     this.lblInvPeriod.TabIndex = 29;
     //
     // textBox1
     //
     this.textBox1.BackColor = System.Drawing.Color.White;
     this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.textBox1.Location = new System.Drawing.Point(3, 2);
     this.textBox1.Name = "textBox1";
     this.textBox1.ReadOnly = true;
     this.textBox1.Size = new System.Drawing.Size(30, 13);
     this.textBox1.TabIndex = 28;
     //
     // panel23
     //
     this.panel23.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel23.Controls.Add(this.label11);
     this.panel23.Location = new System.Drawing.Point(809, 535);
     this.panel23.Name = "panel23";
     this.panel23.Size = new System.Drawing.Size(78, 23);
     this.panel23.TabIndex = 95;
     //
     // label11
     //
     this.label11.AutoSize = true;
     this.label11.Location = new System.Drawing.Point(3, 5);
     this.label11.Name = "label11";
     this.label11.Size = new System.Drawing.Size(57, 13);
     this.label11.TabIndex = 12;
     this.label11.Text = "Total Excl.";
     //
     // panel46
     //
     this.panel46.BackColor = System.Drawing.Color.White;
     this.panel46.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel46.Controls.Add(this.lblInvDate);
     this.panel46.Location = new System.Drawing.Point(62, 202);
     this.panel46.Name = "panel46";
     this.panel46.Size = new System.Drawing.Size(90, 21);
     this.panel46.TabIndex = 90;
     //
     // lblInvDate
     //
     this.lblInvDate.AutoSize = true;
     this.lblInvDate.Location = new System.Drawing.Point(5, 3);
     this.lblInvDate.Name = "lblInvDate";
     this.lblInvDate.Size = new System.Drawing.Size(0, 13);
     this.lblInvDate.TabIndex = 30;
     //
     // panel47
     //
     this.panel47.BackColor = System.Drawing.Color.White;
     this.panel47.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel47.Controls.Add(this.dtDelivery);
     this.panel47.Controls.Add(this.lblInvDelAdd);
     this.panel47.Location = new System.Drawing.Point(289, 202);
     this.panel47.Name = "panel47";
     this.panel47.Size = new System.Drawing.Size(90, 21);
     this.panel47.TabIndex = 92;
     //
     // dtDelivery
     //
     this.dtDelivery.CustomFormat = "dd/MM/yy";
     this.dtDelivery.Enabled = false;
     this.dtDelivery.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dtDelivery.Location = new System.Drawing.Point(3, -1);
     this.dtDelivery.Name = "dtDelivery";
     this.dtDelivery.Size = new System.Drawing.Size(84, 20);
     this.dtDelivery.TabIndex = 111;
     //
     // lblInvDelAdd
     //
     this.lblInvDelAdd.AutoSize = true;
     this.lblInvDelAdd.Location = new System.Drawing.Point(6, 3);
     this.lblInvDelAdd.Name = "lblInvDelAdd";
     this.lblInvDelAdd.Size = new System.Drawing.Size(0, 13);
     this.lblInvDelAdd.TabIndex = 33;
     //
     // panel48
     //
     this.panel48.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel48.Controls.Add(this.label40);
     this.panel48.Location = new System.Drawing.Point(151, 182);
     this.panel48.Name = "panel48";
     this.panel48.Size = new System.Drawing.Size(70, 21);
     this.panel48.TabIndex = 87;
     //
     // label40
     //
     this.label40.Dock = System.Windows.Forms.DockStyle.Fill;
     this.label40.Location = new System.Drawing.Point(0, 0);
     this.label40.Name = "label40";
     this.label40.Size = new System.Drawing.Size(68, 19);
     this.label40.TabIndex = 25;
     this.label40.Text = "Sales Code";
     this.label40.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // panel49
     //
     this.panel49.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel49.Controls.Add(this.label41);
     this.panel49.Location = new System.Drawing.Point(289, 182);
     this.panel49.Name = "panel49";
     this.panel49.Size = new System.Drawing.Size(90, 21);
     this.panel49.TabIndex = 86;
     //
     // label41
     //
     this.label41.Dock = System.Windows.Forms.DockStyle.Fill;
     this.label41.Location = new System.Drawing.Point(0, 0);
     this.label41.Name = "label41";
     this.label41.Size = new System.Drawing.Size(88, 19);
     this.label41.TabIndex = 29;
     this.label41.Text = "Delivery Date";
     this.label41.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // panel51
     //
     this.panel51.BackColor = System.Drawing.Color.White;
     this.panel51.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel51.Controls.Add(this.lblInvSalesCode);
     this.panel51.Location = new System.Drawing.Point(151, 202);
     this.panel51.Name = "panel51";
     this.panel51.Size = new System.Drawing.Size(70, 21);
     this.panel51.TabIndex = 91;
     this.panel51.Paint += new System.Windows.Forms.PaintEventHandler(this.panel51_Paint);
     //
     // lblInvSalesCode
     //
     this.lblInvSalesCode.AutoSize = true;
     this.lblInvSalesCode.Location = new System.Drawing.Point(6, 3);
     this.lblInvSalesCode.Name = "lblInvSalesCode";
     this.lblInvSalesCode.Size = new System.Drawing.Size(0, 13);
     this.lblInvSalesCode.TabIndex = 31;
     //
     // panel52
     //
     this.panel52.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel52.Controls.Add(this.label42);
     this.panel52.Location = new System.Drawing.Point(220, 182);
     this.panel52.Name = "panel52";
     this.panel52.Size = new System.Drawing.Size(70, 21);
     this.panel52.TabIndex = 88;
     //
     // label42
     //
     this.label42.Dock = System.Windows.Forms.DockStyle.Fill;
     this.label42.Location = new System.Drawing.Point(0, 0);
     this.label42.Name = "label42";
     this.label42.Size = new System.Drawing.Size(68, 19);
     this.label42.TabIndex = 26;
     this.label42.Text = "Discount %";
     this.label42.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // panel53
     //
     this.panel53.BackColor = System.Drawing.Color.White;
     this.panel53.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel53.Controls.Add(this.txtDiscount);
     this.panel53.Controls.Add(this.lblInvDiscount);
     this.panel53.Location = new System.Drawing.Point(220, 202);
     this.panel53.Name = "panel53";
     this.panel53.Size = new System.Drawing.Size(70, 21);
     this.panel53.TabIndex = 93;
     //
     // txtDiscount
     //
     this.txtDiscount.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.txtDiscount.Location = new System.Drawing.Point(6, 2);
     this.txtDiscount.Name = "txtDiscount";
     this.txtDiscount.ReadOnly = true;
     this.txtDiscount.Size = new System.Drawing.Size(57, 13);
     this.txtDiscount.TabIndex = 111;
     //
     // lblInvDiscount
     //
     this.lblInvDiscount.AutoSize = true;
     this.lblInvDiscount.Location = new System.Drawing.Point(6, 3);
     this.lblInvDiscount.Name = "lblInvDiscount";
     this.lblInvDiscount.Size = new System.Drawing.Size(0, 13);
     this.lblInvDiscount.TabIndex = 32;
     //
     // grpDeliveryNote
     //
     this.grpDeliveryNote.Controls.Add(this.cmdPrint);
     this.grpDeliveryNote.Location = new System.Drawing.Point(576, 143);
     this.grpDeliveryNote.Name = "grpDeliveryNote";
     this.grpDeliveryNote.Size = new System.Drawing.Size(134, 76);
     this.grpDeliveryNote.TabIndex = 108;
     this.grpDeliveryNote.TabStop = false;
     this.grpDeliveryNote.Text = "Re-Print Invoice";
     //
     // cmdPrint
     //
     this.cmdPrint.Image = global::Solsage_Process_Management_System.Properties.Resources.printer3;
     this.cmdPrint.Location = new System.Drawing.Point(29, 19);
     this.cmdPrint.Name = "cmdPrint";
     this.cmdPrint.Size = new System.Drawing.Size(75, 50);
     this.cmdPrint.TabIndex = 103;
     this.cmdPrint.UseVisualStyleBackColor = true;
     this.cmdPrint.Click += new System.EventHandler(this.cmdPrint_Click);
     //
     // cmdSearchNumber
     //
     this.cmdSearchNumber.BackColor = System.Drawing.Color.White;
     this.cmdSearchNumber.Cursor = System.Windows.Forms.Cursors.Hand;
     this.cmdSearchNumber.Image = ((System.Drawing.Image)(resources.GetObject("cmdSearchNumber.Image")));
     this.cmdSearchNumber.Location = new System.Drawing.Point(430, 7);
     this.cmdSearchNumber.Name = "cmdSearchNumber";
     this.cmdSearchNumber.Size = new System.Drawing.Size(25, 23);
     this.cmdSearchNumber.TabIndex = 104;
     this.cmdSearchNumber.UseVisualStyleBackColor = false;
     this.cmdSearchNumber.Click += new System.EventHandler(this.cmdSearchNumber_Click);
     //
     // cmdPayInvoices
     //
     this.cmdPayInvoices.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cmdPayInvoices.Image = global::Solsage_Process_Management_System.Properties.Resources.media_play_green;
     this.cmdPayInvoices.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.cmdPayInvoices.Location = new System.Drawing.Point(16, 34);
     this.cmdPayInvoices.Name = "cmdPayInvoices";
     this.cmdPayInvoices.Size = new System.Drawing.Size(146, 31);
     this.cmdPayInvoices.TabIndex = 107;
     this.cmdPayInvoices.Text = "Make Payment";
     this.cmdPayInvoices.UseVisualStyleBackColor = true;
     this.cmdPayInvoices.Click += new System.EventHandler(this.cmdPayInvoices_Click);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.cmdUpdateBatch);
     this.groupBox1.Location = new System.Drawing.Point(439, 146);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(97, 72);
     this.groupBox1.TabIndex = 109;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "Edit Batch";
     //
     // cmdUpdateBatch
     //
     this.cmdUpdateBatch.BackColor = System.Drawing.Color.Transparent;
     this.cmdUpdateBatch.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cmdUpdateBatch.Image = ((System.Drawing.Image)(resources.GetObject("cmdUpdateBatch.Image")));
     this.cmdUpdateBatch.Location = new System.Drawing.Point(10, 15);
     this.cmdUpdateBatch.Name = "cmdUpdateBatch";
     this.cmdUpdateBatch.Size = new System.Drawing.Size(75, 50);
     this.cmdUpdateBatch.TabIndex = 111;
     this.cmdUpdateBatch.UseVisualStyleBackColor = false;
     this.cmdUpdateBatch.Click += new System.EventHandler(this.cmdSaveOrder_Click);
     //
     // pnlDetails
     //
     this.pnlDetails.AutoScroll = true;
     this.pnlDetails.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pnlDetails.Controls.Add(this.panel8);
     this.pnlDetails.Controls.Add(this.pnlNet);
     this.pnlDetails.Controls.Add(this.pnlExcTax);
     this.pnlDetails.Controls.Add(this.pnlDiscount);
     this.pnlDetails.Controls.Add(this.pnlQtyValues);
     this.pnlDetails.Controls.Add(this.pnlUnit);
     this.pnlDetails.Controls.Add(this.pnlReturnDate);
     this.pnlDetails.Controls.Add(this.pnlDeliveryDate);
     this.pnlDetails.Controls.Add(this.pnlDescription);
     this.pnlDetails.Controls.Add(this.pnlCode);
     this.pnlDetails.Controls.Add(this.pnlStor);
     this.pnlDetails.Location = new System.Drawing.Point(12, 225);
     this.pnlDetails.Name = "pnlDetails";
     this.pnlDetails.Size = new System.Drawing.Size(988, 283);
     this.pnlDetails.TabIndex = 110;
     //
     // panel8
     //
     this.panel8.BackColor = System.Drawing.Color.White;
     this.panel8.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel8.Controls.Add(this.panel25);
     this.panel8.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel8.Location = new System.Drawing.Point(897, 0);
     this.panel8.Name = "panel8";
     this.panel8.Size = new System.Drawing.Size(89, 281);
     this.panel8.TabIndex = 13;
     //
     // panel25
     //
     this.panel25.BackColor = System.Drawing.Color.LightSteelBlue;
     this.panel25.Controls.Add(this.lblNet);
     this.panel25.Dock = System.Windows.Forms.DockStyle.Top;
     this.panel25.Location = new System.Drawing.Point(0, 0);
     this.panel25.Name = "panel25";
     this.panel25.Size = new System.Drawing.Size(87, 21);
     this.panel25.TabIndex = 12;
     //
     // lblNet
     //
     this.lblNet.AutoSize = true;
     this.lblNet.Location = new System.Drawing.Point(37, 1);
     this.lblNet.Name = "lblNet";
     this.lblNet.Size = new System.Drawing.Size(27, 13);
     this.lblNet.TabIndex = 0;
     this.lblNet.Text = "Nett";
     //
     // pnlNet
     //
     this.pnlNet.BackColor = System.Drawing.Color.White;
     this.pnlNet.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pnlNet.Controls.Add(this.pnlNettLabel);
     this.pnlNet.Dock = System.Windows.Forms.DockStyle.Left;
     this.pnlNet.Location = new System.Drawing.Point(816, 0);
     this.pnlNet.Name = "pnlNet";
     this.pnlNet.Size = new System.Drawing.Size(81, 281);
     this.pnlNet.TabIndex = 9;
     //
     // pnlNettLabel
     //
     this.pnlNettLabel.BackColor = System.Drawing.Color.LightSteelBlue;
     this.pnlNettLabel.Controls.Add(this.label4);
     this.pnlNettLabel.Dock = System.Windows.Forms.DockStyle.Top;
     this.pnlNettLabel.Location = new System.Drawing.Point(0, 0);
     this.pnlNettLabel.Name = "pnlNettLabel";
     this.pnlNettLabel.Size = new System.Drawing.Size(79, 21);
     this.pnlNettLabel.TabIndex = 0;
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(27, 2);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(52, 13);
     this.label4.TabIndex = 13;
     this.label4.Text = "Exc Price";
     //
     // pnlExcTax
     //
     this.pnlExcTax.BackColor = System.Drawing.Color.White;
     this.pnlExcTax.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pnlExcTax.Controls.Add(this.pnlExcPriceLabel);
     this.pnlExcTax.Dock = System.Windows.Forms.DockStyle.Left;
     this.pnlExcTax.Location = new System.Drawing.Point(756, 0);
     this.pnlExcTax.Name = "pnlExcTax";
     this.pnlExcTax.Size = new System.Drawing.Size(60, 281);
     this.pnlExcTax.TabIndex = 8;
     //
     // pnlExcPriceLabel
     //
     this.pnlExcPriceLabel.BackColor = System.Drawing.Color.LightSteelBlue;
     this.pnlExcPriceLabel.Controls.Add(this.lblDis);
     this.pnlExcPriceLabel.Dock = System.Windows.Forms.DockStyle.Top;
     this.pnlExcPriceLabel.Location = new System.Drawing.Point(0, 0);
     this.pnlExcPriceLabel.Name = "pnlExcPriceLabel";
     this.pnlExcPriceLabel.Size = new System.Drawing.Size(58, 21);
     this.pnlExcPriceLabel.TabIndex = 9;
     //
     // lblDis
     //
     this.lblDis.AutoSize = true;
     this.lblDis.Location = new System.Drawing.Point(6, 2);
     this.lblDis.Name = "lblDis";
     this.lblDis.Size = new System.Drawing.Size(49, 13);
     this.lblDis.TabIndex = 11;
     this.lblDis.Text = "Discount";
     //
     // pnlDiscount
     //
     this.pnlDiscount.BackColor = System.Drawing.Color.White;
     this.pnlDiscount.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pnlDiscount.Controls.Add(this.pnlDisLabel);
     this.pnlDiscount.Dock = System.Windows.Forms.DockStyle.Left;
     this.pnlDiscount.Location = new System.Drawing.Point(691, 0);
     this.pnlDiscount.Name = "pnlDiscount";
     this.pnlDiscount.Size = new System.Drawing.Size(65, 281);
     this.pnlDiscount.TabIndex = 6;
     //
     // pnlDisLabel
     //
     this.pnlDisLabel.BackColor = System.Drawing.Color.LightSteelBlue;
     this.pnlDisLabel.Controls.Add(this.label24);
     this.pnlDisLabel.Dock = System.Windows.Forms.DockStyle.Top;
     this.pnlDisLabel.Location = new System.Drawing.Point(0, 0);
     this.pnlDisLabel.Name = "pnlDisLabel";
     this.pnlDisLabel.Size = new System.Drawing.Size(63, 21);
     this.pnlDisLabel.TabIndex = 11;
     //
     // label24
     //
     this.label24.AutoSize = true;
     this.label24.Location = new System.Drawing.Point(15, 2);
     this.label24.Name = "label24";
     this.label24.Size = new System.Drawing.Size(37, 13);
     this.label24.TabIndex = 10;
     this.label24.Text = "Period";
     //
     // pnlQtyValues
     //
     this.pnlQtyValues.BackColor = System.Drawing.Color.White;
     this.pnlQtyValues.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pnlQtyValues.Controls.Add(this.pnlQtyLabel);
     this.pnlQtyValues.Dock = System.Windows.Forms.DockStyle.Left;
     this.pnlQtyValues.Location = new System.Drawing.Point(626, 0);
     this.pnlQtyValues.Name = "pnlQtyValues";
     this.pnlQtyValues.Size = new System.Drawing.Size(65, 281);
     this.pnlQtyValues.TabIndex = 5;
     //
     // pnlQtyLabel
     //
     this.pnlQtyLabel.BackColor = System.Drawing.Color.LightSteelBlue;
     this.pnlQtyLabel.Controls.Add(this.lblQty);
     this.pnlQtyLabel.Dock = System.Windows.Forms.DockStyle.Top;
     this.pnlQtyLabel.Location = new System.Drawing.Point(0, 0);
     this.pnlQtyLabel.Name = "pnlQtyLabel";
     this.pnlQtyLabel.Size = new System.Drawing.Size(63, 21);
     this.pnlQtyLabel.TabIndex = 12;
     //
     // lblQty
     //
     this.lblQty.AutoSize = true;
     this.lblQty.Location = new System.Drawing.Point(13, 1);
     this.lblQty.Name = "lblQty";
     this.lblQty.Size = new System.Drawing.Size(46, 13);
     this.lblQty.TabIndex = 10;
     this.lblQty.Text = "Quantity";
     //
     // pnlUnit
     //
     this.pnlUnit.BackColor = System.Drawing.Color.White;
     this.pnlUnit.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pnlUnit.Controls.Add(this.pnlUnitLabel);
     this.pnlUnit.Dock = System.Windows.Forms.DockStyle.Left;
     this.pnlUnit.Location = new System.Drawing.Point(566, 0);
     this.pnlUnit.Name = "pnlUnit";
     this.pnlUnit.Size = new System.Drawing.Size(60, 281);
     this.pnlUnit.TabIndex = 4;
     //
     // pnlUnitLabel
     //
     this.pnlUnitLabel.BackColor = System.Drawing.Color.LightSteelBlue;
     this.pnlUnitLabel.Controls.Add(this.lblUnit);
     this.pnlUnitLabel.Dock = System.Windows.Forms.DockStyle.Top;
     this.pnlUnitLabel.Location = new System.Drawing.Point(0, 0);
     this.pnlUnitLabel.Name = "pnlUnitLabel";
     this.pnlUnitLabel.Size = new System.Drawing.Size(58, 21);
     this.pnlUnitLabel.TabIndex = 6;
     //
     // lblUnit
     //
     this.lblUnit.AutoSize = true;
     this.lblUnit.Location = new System.Drawing.Point(13, 1);
     this.lblUnit.Name = "lblUnit";
     this.lblUnit.Size = new System.Drawing.Size(26, 13);
     this.lblUnit.TabIndex = 9;
     this.lblUnit.Text = "Unit";
     //
     // pnlReturnDate
     //
     this.pnlReturnDate.BackColor = System.Drawing.Color.White;
     this.pnlReturnDate.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pnlReturnDate.Controls.Add(this.panel2);
     this.pnlReturnDate.Dock = System.Windows.Forms.DockStyle.Left;
     this.pnlReturnDate.Location = new System.Drawing.Point(466, 0);
     this.pnlReturnDate.Name = "pnlReturnDate";
     this.pnlReturnDate.Size = new System.Drawing.Size(100, 281);
     this.pnlReturnDate.TabIndex = 10;
     //
     // panel2
     //
     this.panel2.BackColor = System.Drawing.Color.LightSteelBlue;
     this.panel2.Controls.Add(this.lblReturn);
     this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
     this.panel2.Location = new System.Drawing.Point(0, 0);
     this.panel2.Name = "panel2";
     this.panel2.Size = new System.Drawing.Size(98, 21);
     this.panel2.TabIndex = 0;
     //
     // lblReturn
     //
     this.lblReturn.AutoSize = true;
     this.lblReturn.Location = new System.Drawing.Point(23, 3);
     this.lblReturn.Name = "lblReturn";
     this.lblReturn.Size = new System.Drawing.Size(46, 13);
     this.lblReturn.TabIndex = 0;
     this.lblReturn.Text = "Date To";
     //
     // pnlDeliveryDate
     //
     this.pnlDeliveryDate.BackColor = System.Drawing.Color.White;
     this.pnlDeliveryDate.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pnlDeliveryDate.Controls.Add(this.pnlDelLabel);
     this.pnlDeliveryDate.Dock = System.Windows.Forms.DockStyle.Left;
     this.pnlDeliveryDate.Location = new System.Drawing.Point(365, 0);
     this.pnlDeliveryDate.Name = "pnlDeliveryDate";
     this.pnlDeliveryDate.Size = new System.Drawing.Size(101, 281);
     this.pnlDeliveryDate.TabIndex = 10;
     //
     // pnlDelLabel
     //
     this.pnlDelLabel.BackColor = System.Drawing.Color.LightSteelBlue;
     this.pnlDelLabel.Controls.Add(this.lblDel);
     this.pnlDelLabel.Dock = System.Windows.Forms.DockStyle.Top;
     this.pnlDelLabel.Location = new System.Drawing.Point(0, 0);
     this.pnlDelLabel.Name = "pnlDelLabel";
     this.pnlDelLabel.Size = new System.Drawing.Size(99, 21);
     this.pnlDelLabel.TabIndex = 0;
     //
     // lblDel
     //
     this.lblDel.AutoSize = true;
     this.lblDel.Location = new System.Drawing.Point(24, 3);
     this.lblDel.Name = "lblDel";
     this.lblDel.Size = new System.Drawing.Size(56, 13);
     this.lblDel.TabIndex = 0;
     this.lblDel.Text = "Date From";
     //
     // pnlDescription
     //
     this.pnlDescription.BackColor = System.Drawing.Color.White;
     this.pnlDescription.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pnlDescription.Controls.Add(this.pnlDescriptionLabel);
     this.pnlDescription.Dock = System.Windows.Forms.DockStyle.Left;
     this.pnlDescription.Location = new System.Drawing.Point(115, 0);
     this.pnlDescription.Name = "pnlDescription";
     this.pnlDescription.Size = new System.Drawing.Size(250, 281);
     this.pnlDescription.TabIndex = 3;
     //
     // pnlDescriptionLabel
     //
     this.pnlDescriptionLabel.BackColor = System.Drawing.Color.LightSteelBlue;
     this.pnlDescriptionLabel.Controls.Add(this.lblDescription);
     this.pnlDescriptionLabel.Dock = System.Windows.Forms.DockStyle.Top;
     this.pnlDescriptionLabel.Location = new System.Drawing.Point(0, 0);
     this.pnlDescriptionLabel.Name = "pnlDescriptionLabel";
     this.pnlDescriptionLabel.Size = new System.Drawing.Size(248, 21);
     this.pnlDescriptionLabel.TabIndex = 6;
     //
     // lblDescription
     //
     this.lblDescription.AutoSize = true;
     this.lblDescription.Location = new System.Drawing.Point(4, 1);
     this.lblDescription.Name = "lblDescription";
     this.lblDescription.Size = new System.Drawing.Size(60, 13);
     this.lblDescription.TabIndex = 8;
     this.lblDescription.Text = "Description";
     //
     // pnlCode
     //
     this.pnlCode.BackColor = System.Drawing.Color.White;
     this.pnlCode.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pnlCode.Controls.Add(this.pnlCodeLabel);
     this.pnlCode.Dock = System.Windows.Forms.DockStyle.Left;
     this.pnlCode.Location = new System.Drawing.Point(0, 0);
     this.pnlCode.Name = "pnlCode";
     this.pnlCode.Size = new System.Drawing.Size(115, 281);
     this.pnlCode.TabIndex = 2;
     //
     // pnlCodeLabel
     //
     this.pnlCodeLabel.BackColor = System.Drawing.Color.LightSteelBlue;
     this.pnlCodeLabel.Controls.Add(this.lblCode);
     this.pnlCodeLabel.Dock = System.Windows.Forms.DockStyle.Top;
     this.pnlCodeLabel.Location = new System.Drawing.Point(0, 0);
     this.pnlCodeLabel.Name = "pnlCodeLabel";
     this.pnlCodeLabel.Size = new System.Drawing.Size(113, 21);
     this.pnlCodeLabel.TabIndex = 6;
     //
     // lblCode
     //
     this.lblCode.AutoSize = true;
     this.lblCode.Location = new System.Drawing.Point(5, 1);
     this.lblCode.Name = "lblCode";
     this.lblCode.Size = new System.Drawing.Size(32, 13);
     this.lblCode.TabIndex = 7;
     this.lblCode.Text = "Code";
     //
     // pnlStor
     //
     this.pnlStor.BackColor = System.Drawing.Color.White;
     this.pnlStor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pnlStor.Controls.Add(this.pnlStoreLabel);
     this.pnlStor.Location = new System.Drawing.Point(0, 0);
     this.pnlStor.Name = "pnlStor";
     this.pnlStor.Size = new System.Drawing.Size(50, 281);
     this.pnlStor.TabIndex = 1;
     this.pnlStor.TabStop = true;
     this.pnlStor.Visible = false;
     //
     // pnlStoreLabel
     //
     this.pnlStoreLabel.BackColor = System.Drawing.Color.LemonChiffon;
     this.pnlStoreLabel.Controls.Add(this.lblStore);
     this.pnlStoreLabel.Dock = System.Windows.Forms.DockStyle.Top;
     this.pnlStoreLabel.Location = new System.Drawing.Point(0, 0);
     this.pnlStoreLabel.Name = "pnlStoreLabel";
     this.pnlStoreLabel.Size = new System.Drawing.Size(48, 21);
     this.pnlStoreLabel.TabIndex = 5;
     //
     // lblStore
     //
     this.lblStore.AutoSize = true;
     this.lblStore.Location = new System.Drawing.Point(5, 1);
     this.lblStore.Name = "lblStore";
     this.lblStore.Size = new System.Drawing.Size(32, 13);
     this.lblStore.TabIndex = 6;
     this.lblStore.Text = "Store";
     this.lblStore.Visible = false;
     //
     // printDialog1
     //
     this.printDialog1.UseEXDialog = true;
     //
     // Invoices
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.LightSteelBlue;
     this.ClientSize = new System.Drawing.Size(1008, 607);
     this.Controls.Add(this.pnlDetails);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.cmdSearchNumber);
     this.Controls.Add(this.grpDeliveryNote);
     this.Controls.Add(this.cmdPayInvoices);
     this.Controls.Add(this.panel50);
     this.Controls.Add(this.panel54);
     this.Controls.Add(this.panel9);
     this.Controls.Add(this.label9);
     this.Controls.Add(this.txtInvoiceNumber);
     this.Controls.Add(this.panel10);
     this.Controls.Add(this.label10);
     this.Controls.Add(this.txtInvoiceCustomer);
     this.Controls.Add(this.txtInvoiceCustomerName);
     this.Controls.Add(this.panel12);
     this.Controls.Add(this.tabControl1);
     this.Controls.Add(this.panel14);
     this.Controls.Add(this.panel15);
     this.Controls.Add(this.panel16);
     this.Controls.Add(this.panel17);
     this.Controls.Add(this.panel18);
     this.Controls.Add(this.panel19);
     this.Controls.Add(this.panel20);
     this.Controls.Add(this.panel22);
     this.Controls.Add(this.panel23);
     this.Controls.Add(this.panel46);
     this.Controls.Add(this.panel47);
     this.Controls.Add(this.panel48);
     this.Controls.Add(this.panel49);
     this.Controls.Add(this.panel52);
     this.Controls.Add(this.panel53);
     this.Controls.Add(this.panel51);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.Name = "Invoices";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Invoices";
     this.Load += new System.EventHandler(this.Invoices_Load);
     this.panel50.ResumeLayout(false);
     this.panel54.ResumeLayout(false);
     this.panel54.PerformLayout();
     this.panel9.ResumeLayout(false);
     this.panel9.PerformLayout();
     this.panel10.ResumeLayout(false);
     this.panel10.PerformLayout();
     this.panel12.ResumeLayout(false);
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.tabPage1.PerformLayout();
     this.tabPage2.ResumeLayout(false);
     this.panel13.ResumeLayout(false);
     this.panel13.PerformLayout();
     this.panel14.ResumeLayout(false);
     this.panel15.ResumeLayout(false);
     this.panel15.PerformLayout();
     this.panel16.ResumeLayout(false);
     this.panel16.PerformLayout();
     this.panel17.ResumeLayout(false);
     this.panel18.ResumeLayout(false);
     this.panel19.ResumeLayout(false);
     this.panel20.ResumeLayout(false);
     this.panel20.PerformLayout();
     this.panel21.ResumeLayout(false);
     this.panel21.PerformLayout();
     this.panel22.ResumeLayout(false);
     this.panel24.ResumeLayout(false);
     this.panel24.PerformLayout();
     this.panel23.ResumeLayout(false);
     this.panel23.PerformLayout();
     this.panel46.ResumeLayout(false);
     this.panel46.PerformLayout();
     this.panel47.ResumeLayout(false);
     this.panel47.PerformLayout();
     this.panel48.ResumeLayout(false);
     this.panel49.ResumeLayout(false);
     this.panel51.ResumeLayout(false);
     this.panel51.PerformLayout();
     this.panel52.ResumeLayout(false);
     this.panel53.ResumeLayout(false);
     this.panel53.PerformLayout();
     this.grpDeliveryNote.ResumeLayout(false);
     this.groupBox1.ResumeLayout(false);
     this.pnlDetails.ResumeLayout(false);
     this.panel8.ResumeLayout(false);
     this.panel25.ResumeLayout(false);
     this.panel25.PerformLayout();
     this.pnlNet.ResumeLayout(false);
     this.pnlNettLabel.ResumeLayout(false);
     this.pnlNettLabel.PerformLayout();
     this.pnlExcTax.ResumeLayout(false);
     this.pnlExcPriceLabel.ResumeLayout(false);
     this.pnlExcPriceLabel.PerformLayout();
     this.pnlDiscount.ResumeLayout(false);
     this.pnlDisLabel.ResumeLayout(false);
     this.pnlDisLabel.PerformLayout();
     this.pnlQtyValues.ResumeLayout(false);
     this.pnlQtyLabel.ResumeLayout(false);
     this.pnlQtyLabel.PerformLayout();
     this.pnlUnit.ResumeLayout(false);
     this.pnlUnitLabel.ResumeLayout(false);
     this.pnlUnitLabel.PerformLayout();
     this.pnlReturnDate.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.panel2.PerformLayout();
     this.pnlDeliveryDate.ResumeLayout(false);
     this.pnlDelLabel.ResumeLayout(false);
     this.pnlDelLabel.PerformLayout();
     this.pnlDescription.ResumeLayout(false);
     this.pnlDescriptionLabel.ResumeLayout(false);
     this.pnlDescriptionLabel.PerformLayout();
     this.pnlCode.ResumeLayout(false);
     this.pnlCodeLabel.ResumeLayout(false);
     this.pnlCodeLabel.PerformLayout();
     this.pnlStor.ResumeLayout(false);
     this.pnlStoreLabel.ResumeLayout(false);
     this.pnlStoreLabel.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     DevExpress.XtraCharts.SimpleDiagram3D simpleDiagram3D1 = new DevExpress.XtraCharts.SimpleDiagram3D();
     DevExpress.XtraCharts.Series series1 = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.Pie3DSeriesLabel pie3DSeriesLabel1 = new DevExpress.XtraCharts.Pie3DSeriesLabel();
     DevExpress.XtraCharts.PiePointOptions piePointOptions1 = new DevExpress.XtraCharts.PiePointOptions();
     DevExpress.XtraCharts.Pie3DSeriesView pie3DSeriesView1 = new DevExpress.XtraCharts.Pie3DSeriesView();
     DevExpress.XtraCharts.Pie3DSeriesLabel pie3DSeriesLabel2 = new DevExpress.XtraCharts.Pie3DSeriesLabel();
     DevExpress.XtraCharts.Pie3DSeriesView pie3DSeriesView2 = new DevExpress.XtraCharts.Pie3DSeriesView();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(GeneralExpiryChart));
     this.linkLabel1 = new System.Windows.Forms.LinkLabel();
     this.linkLabel2 = new System.Windows.Forms.LinkLabel();
     this.dtFrom = new CalendarLib.DateTimePickerEx();
     this.dtTo = new CalendarLib.DateTimePickerEx();
     this.linkLabel3 = new System.Windows.Forms.LinkLabel();
     this.linkLabel4 = new System.Windows.Forms.LinkLabel();
     this.linkLabel5 = new System.Windows.Forms.LinkLabel();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.listView1 = new System.Windows.Forms.ListView();
     this.columnHeader5 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader6 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader7 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader8 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.label6 = new System.Windows.Forms.Label();
     this.label7 = new System.Windows.Forms.Label();
     this.label8 = new System.Windows.Forms.Label();
     this.label9 = new System.Windows.Forms.Label();
     this.label10 = new System.Windows.Forms.Label();
     this.label11 = new System.Windows.Forms.Label();
     this.label12 = new System.Windows.Forms.Label();
     this.label13 = new System.Windows.Forms.Label();
     this.label14 = new System.Windows.Forms.Label();
     this.label15 = new System.Windows.Forms.Label();
     this.linkLabel11 = new System.Windows.Forms.LinkLabel();
     this.linkLabel12 = new System.Windows.Forms.LinkLabel();
     this.linkLabel13 = new System.Windows.Forms.LinkLabel();
     this.linkLabel14 = new System.Windows.Forms.LinkLabel();
     this.linkLabel15 = new System.Windows.Forms.LinkLabel();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.listView2 = new System.Windows.Forms.ListView();
     this.columnHeader17 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader18 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader19 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader20 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.label44 = new System.Windows.Forms.Label();
     this.label45 = new System.Windows.Forms.Label();
     this.label46 = new System.Windows.Forms.Label();
     this.label47 = new System.Windows.Forms.Label();
     this.label48 = new System.Windows.Forms.Label();
     this.label49 = new System.Windows.Forms.Label();
     this.label50 = new System.Windows.Forms.Label();
     this.label51 = new System.Windows.Forms.Label();
     this.chartPie = new DevExpress.XtraCharts.ChartControl();
     this.cboStores = new DevExpress.XtraEditors.LookUpEdit();
     this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
     this.lkCategory = new DevExpress.XtraEditors.LookUpEdit();
     this.label1 = new System.Windows.Forms.Label();
     this.btnPrint = new DevExpress.XtraEditors.SimpleButton();
     this.dtDate = new CalendarLib.DateTimePickerEx();
     this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup();
     this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
     this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem();
     this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem();
     this.printDoc = new System.Drawing.Printing.PrintDocument();
     this.printDialog1 = new System.Windows.Forms.PrintDialog();
     this.groupBox3 = new System.Windows.Forms.GroupBox();
     this.lstExpStatus = new PrintableListView.PrintableListView();
     this.StockCode = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.printingSystem1 = new DevExpress.XtraPrinting.PrintingSystem(this.components);
     this.printableComponentLink1 = new DevExpress.XtraPrinting.PrintableComponentLink(this.components);
     this.layoutControlItem13 = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem();
     this.cboYear = new DevExpress.XtraEditors.LookUpEdit();
     this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.chartPie)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(simpleDiagram3D1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pie3DSeriesLabel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pie3DSeriesView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pie3DSeriesLabel2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pie3DSeriesView2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cboStores.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
     this.layoutControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lkCategory.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit();
     this.groupBox3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.printingSystem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.printableComponentLink1.ImageCollection)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cboYear.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit();
     this.SuspendLayout();
     //
     // linkLabel1
     //
     this.linkLabel1.AutoSize = true;
     this.linkLabel1.Location = new System.Drawing.Point(305, 182);
     this.linkLabel1.Name = "linkLabel1";
     this.linkLabel1.Size = new System.Drawing.Size(19, 13);
     this.linkLabel1.TabIndex = 2;
     this.linkLabel1.TabStop = true;
     this.linkLabel1.Text = "list";
     //
     // linkLabel2
     //
     this.linkLabel2.AutoSize = true;
     this.linkLabel2.Location = new System.Drawing.Point(305, 155);
     this.linkLabel2.Name = "linkLabel2";
     this.linkLabel2.Size = new System.Drawing.Size(19, 13);
     this.linkLabel2.TabIndex = 2;
     this.linkLabel2.TabStop = true;
     this.linkLabel2.Text = "list";
     //
     // dtFrom
     //
     this.dtFrom.CalendarFont = new System.Drawing.Font("Microsoft Sans Serif", 7F);
     this.dtFrom.DayOfWeekCharacters = 2;
     this.dtFrom.Location = new System.Drawing.Point(279, 14);
     this.dtFrom.Name = "dtFrom";
     this.dtFrom.PopUpFontSize = 11F;
     this.dtFrom.Size = new System.Drawing.Size(98, 20);
     this.dtFrom.TabIndex = 28;
     this.dtFrom.Visible = false;
     //
     // dtTo
     //
     this.dtTo.CalendarFont = new System.Drawing.Font("Microsoft Sans Serif", 5F);
     this.dtTo.DayOfWeekCharacters = 2;
     this.dtTo.Location = new System.Drawing.Point(223, 49);
     this.dtTo.Name = "dtTo";
     this.dtTo.PopUpFontSize = 11F;
     this.dtTo.Size = new System.Drawing.Size(80, 20);
     this.dtTo.TabIndex = 29;
     this.dtTo.Visible = false;
     //
     // linkLabel3
     //
     this.linkLabel3.AutoSize = true;
     this.linkLabel3.Location = new System.Drawing.Point(305, 128);
     this.linkLabel3.Name = "linkLabel3";
     this.linkLabel3.Size = new System.Drawing.Size(19, 13);
     this.linkLabel3.TabIndex = 2;
     this.linkLabel3.TabStop = true;
     this.linkLabel3.Text = "list";
     //
     // linkLabel4
     //
     this.linkLabel4.AutoSize = true;
     this.linkLabel4.Location = new System.Drawing.Point(305, 101);
     this.linkLabel4.Name = "linkLabel4";
     this.linkLabel4.Size = new System.Drawing.Size(19, 13);
     this.linkLabel4.TabIndex = 2;
     this.linkLabel4.TabStop = true;
     this.linkLabel4.Text = "list";
     //
     // linkLabel5
     //
     this.linkLabel5.AutoSize = true;
     this.linkLabel5.Location = new System.Drawing.Point(305, 74);
     this.linkLabel5.Name = "linkLabel5";
     this.linkLabel5.Size = new System.Drawing.Size(19, 13);
     this.linkLabel5.TabIndex = 2;
     this.linkLabel5.TabStop = true;
     this.linkLabel5.Text = "list";
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.listView1);
     this.groupBox1.Location = new System.Drawing.Point(457, 3);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(682, 463);
     this.groupBox1.TabIndex = 1;
     this.groupBox1.TabStop = false;
     //
     // listView1
     //
     this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
     this.columnHeader5,
     this.columnHeader6,
     this.columnHeader7,
     this.columnHeader8});
     this.listView1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.listView1.FullRowSelect = true;
     this.listView1.GridLines = true;
     this.listView1.Location = new System.Drawing.Point(3, 16);
     this.listView1.Name = "listView1";
     this.listView1.ShowItemToolTips = true;
     this.listView1.Size = new System.Drawing.Size(676, 444);
     this.listView1.TabIndex = 0;
     this.listView1.UseCompatibleStateImageBehavior = false;
     this.listView1.View = System.Windows.Forms.View.Details;
     //
     // columnHeader5
     //
     this.columnHeader5.Text = "No.";
     this.columnHeader5.Width = 34;
     //
     // columnHeader6
     //
     this.columnHeader6.Text = "Stock Code";
     this.columnHeader6.Width = 98;
     //
     // columnHeader7
     //
     this.columnHeader7.Text = "Item Name";
     this.columnHeader7.Width = 393;
     //
     // columnHeader8
     //
     this.columnHeader8.Text = "Unit";
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Location = new System.Drawing.Point(39, 182);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(85, 13);
     this.label6.TabIndex = 0;
     this.label6.Text = "Pediatric Items : ";
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.Location = new System.Drawing.Point(39, 155);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(74, 13);
     this.label7.TabIndex = 0;
     this.label7.Text = "Refrigerated : ";
     //
     // label8
     //
     this.label8.AutoSize = true;
     this.label8.Location = new System.Drawing.Point(39, 128);
     this.label8.Name = "label8";
     this.label8.Size = new System.Drawing.Size(65, 13);
     this.label8.TabIndex = 0;
     this.label8.Text = "Free Items : ";
     //
     // label9
     //
     this.label9.AutoSize = true;
     this.label9.Location = new System.Drawing.Point(39, 101);
     this.label9.Name = "label9";
     this.label9.Size = new System.Drawing.Size(93, 13);
     this.label9.TabIndex = 0;
     this.label9.Text = "Items Not in EDL :";
     //
     // label10
     //
     this.label10.AutoSize = true;
     this.label10.Location = new System.Drawing.Point(167, 155);
     this.label10.Name = "label10";
     this.label10.Size = new System.Drawing.Size(0, 13);
     this.label10.TabIndex = 0;
     //
     // label11
     //
     this.label11.AutoSize = true;
     this.label11.Location = new System.Drawing.Point(167, 182);
     this.label11.Name = "label11";
     this.label11.Size = new System.Drawing.Size(0, 13);
     this.label11.TabIndex = 0;
     //
     // label12
     //
     this.label12.AutoSize = true;
     this.label12.Location = new System.Drawing.Point(167, 128);
     this.label12.Name = "label12";
     this.label12.Size = new System.Drawing.Size(0, 13);
     this.label12.TabIndex = 0;
     //
     // label13
     //
     this.label13.AutoSize = true;
     this.label13.Location = new System.Drawing.Point(167, 101);
     this.label13.Name = "label13";
     this.label13.Size = new System.Drawing.Size(0, 13);
     this.label13.TabIndex = 0;
     //
     // label14
     //
     this.label14.AutoSize = true;
     this.label14.Location = new System.Drawing.Point(167, 74);
     this.label14.Name = "label14";
     this.label14.Size = new System.Drawing.Size(0, 13);
     this.label14.TabIndex = 0;
     //
     // label15
     //
     this.label15.AutoSize = true;
     this.label15.Location = new System.Drawing.Point(39, 74);
     this.label15.Name = "label15";
     this.label15.Size = new System.Drawing.Size(52, 13);
     this.label15.TabIndex = 0;
     this.label15.Text = "All Items :";
     //
     // linkLabel11
     //
     this.linkLabel11.AutoSize = true;
     this.linkLabel11.Location = new System.Drawing.Point(98, 169);
     this.linkLabel11.Name = "linkLabel11";
     this.linkLabel11.Size = new System.Drawing.Size(150, 13);
     this.linkLabel11.TabIndex = 20;
     this.linkLabel11.TabStop = true;
     this.linkLabel11.Text = "Top 10 Least Received Items ";
     //
     // linkLabel12
     //
     this.linkLabel12.AutoSize = true;
     this.linkLabel12.Location = new System.Drawing.Point(98, 140);
     this.linkLabel12.Name = "linkLabel12";
     this.linkLabel12.Size = new System.Drawing.Size(147, 13);
     this.linkLabel12.TabIndex = 20;
     this.linkLabel12.TabStop = true;
     this.linkLabel12.Text = "Top 10 Most Received Items ";
     //
     // linkLabel13
     //
     this.linkLabel13.AutoSize = true;
     this.linkLabel13.Location = new System.Drawing.Point(259, 99);
     this.linkLabel13.Name = "linkLabel13";
     this.linkLabel13.Size = new System.Drawing.Size(19, 13);
     this.linkLabel13.TabIndex = 20;
     this.linkLabel13.TabStop = true;
     this.linkLabel13.Text = "list";
     //
     // linkLabel14
     //
     this.linkLabel14.AutoSize = true;
     this.linkLabel14.Location = new System.Drawing.Point(259, 72);
     this.linkLabel14.Name = "linkLabel14";
     this.linkLabel14.Size = new System.Drawing.Size(19, 13);
     this.linkLabel14.TabIndex = 20;
     this.linkLabel14.TabStop = true;
     this.linkLabel14.Text = "list";
     //
     // linkLabel15
     //
     this.linkLabel15.AutoSize = true;
     this.linkLabel15.Location = new System.Drawing.Point(259, 48);
     this.linkLabel15.Name = "linkLabel15";
     this.linkLabel15.Size = new System.Drawing.Size(19, 13);
     this.linkLabel15.TabIndex = 20;
     this.linkLabel15.TabStop = true;
     this.linkLabel15.Text = "list";
     //
     // groupBox2
     //
     this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox2.Controls.Add(this.listView2);
     this.groupBox2.Location = new System.Drawing.Point(462, 3);
     this.groupBox2.Name = "groupBox2";
     this.groupBox2.Size = new System.Drawing.Size(682, 463);
     this.groupBox2.TabIndex = 19;
     this.groupBox2.TabStop = false;
     //
     // listView2
     //
     this.listView2.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
     this.columnHeader17,
     this.columnHeader18,
     this.columnHeader19,
     this.columnHeader20});
     this.listView2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.listView2.FullRowSelect = true;
     this.listView2.GridLines = true;
     this.listView2.Location = new System.Drawing.Point(3, 16);
     this.listView2.Name = "listView2";
     this.listView2.ShowItemToolTips = true;
     this.listView2.Size = new System.Drawing.Size(676, 444);
     this.listView2.TabIndex = 0;
     this.listView2.UseCompatibleStateImageBehavior = false;
     this.listView2.View = System.Windows.Forms.View.Details;
     //
     // columnHeader17
     //
     this.columnHeader17.Text = "No.";
     this.columnHeader17.Width = 34;
     //
     // columnHeader18
     //
     this.columnHeader18.Text = "Stock Code";
     this.columnHeader18.Width = 98;
     //
     // columnHeader19
     //
     this.columnHeader19.Text = "Item Name";
     this.columnHeader19.Width = 393;
     //
     // columnHeader20
     //
     this.columnHeader20.Text = "Unit";
     //
     // label44
     //
     this.label44.AutoSize = true;
     this.label44.Location = new System.Drawing.Point(309, 48);
     this.label44.Name = "label44";
     this.label44.Size = new System.Drawing.Size(0, 13);
     this.label44.TabIndex = 9;
     //
     // label45
     //
     this.label45.AutoSize = true;
     this.label45.Location = new System.Drawing.Point(203, 48);
     this.label45.Name = "label45";
     this.label45.Size = new System.Drawing.Size(0, 13);
     this.label45.TabIndex = 10;
     //
     // label46
     //
     this.label46.AutoSize = true;
     this.label46.Location = new System.Drawing.Point(238, 72);
     this.label46.Name = "label46";
     this.label46.Size = new System.Drawing.Size(13, 13);
     this.label46.TabIndex = 7;
     this.label46.Text = "0";
     //
     // label47
     //
     this.label47.AutoSize = true;
     this.label47.Location = new System.Drawing.Point(238, 99);
     this.label47.Name = "label47";
     this.label47.Size = new System.Drawing.Size(13, 13);
     this.label47.TabIndex = 7;
     this.label47.Text = "0";
     //
     // label48
     //
     this.label48.AutoSize = true;
     this.label48.Location = new System.Drawing.Point(238, 48);
     this.label48.Name = "label48";
     this.label48.Size = new System.Drawing.Size(13, 13);
     this.label48.TabIndex = 7;
     this.label48.Text = "0";
     //
     // label49
     //
     this.label49.AutoSize = true;
     this.label49.Location = new System.Drawing.Point(98, 99);
     this.label49.Name = "label49";
     this.label49.Size = new System.Drawing.Size(119, 13);
     this.label49.TabIndex = 8;
     this.label49.Text = "Never Received Items :";
     //
     // label50
     //
     this.label50.AutoSize = true;
     this.label50.Location = new System.Drawing.Point(98, 72);
     this.label50.Name = "label50";
     this.label50.Size = new System.Drawing.Size(94, 13);
     this.label50.TabIndex = 8;
     this.label50.Text = "No of Days since :";
     //
     // label51
     //
     this.label51.AutoSize = true;
     this.label51.Location = new System.Drawing.Point(98, 48);
     this.label51.Name = "label51";
     this.label51.Size = new System.Drawing.Size(102, 13);
     this.label51.TabIndex = 8;
     this.label51.Text = "Last Receive Date :";
     //
     // chartPie
     //
     this.chartPie.AppearanceNameSerializable = "Pastel Kit";
     this.chartPie.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))));
     simpleDiagram3D1.RotationMatrixSerializable = "1;0;0;0;0;0.5;-0.866025403784439;0;0;0.866025403784439;0.5;0;0;0;0;1";
     this.chartPie.Diagram = simpleDiagram3D1;
     this.chartPie.EmptyChartText.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartPie.EmptyChartText.Text = "Data is not available for the selected Store and Year. ";
     this.chartPie.EmptyChartText.TextColor = System.Drawing.Color.Black;
     this.chartPie.Location = new System.Drawing.Point(12, 38);
     this.chartPie.Name = "chartPie";
     this.chartPie.PaletteName = "Palette 2";
     this.chartPie.PaletteRepository.Add("Palette 1", new DevExpress.XtraCharts.Palette("Palette 1", DevExpress.XtraCharts.PaletteScaleMode.Repeat, new DevExpress.XtraCharts.PaletteEntry[] {
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(5)))), ((int)(((byte)(169)))), ((int)(((byte)(10))))), System.Drawing.Color.FromArgb(((int)(((byte)(5)))), ((int)(((byte)(169)))), ((int)(((byte)(10)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(33)))), ((int)(((byte)(15))))), System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(33)))), ((int)(((byte)(15)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(186)))), ((int)(((byte)(217))))), System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(186)))), ((int)(((byte)(217)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(94))))), System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(94)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(119)))), ((int)(((byte)(199)))), ((int)(((byte)(70))))), System.Drawing.Color.FromArgb(((int)(((byte)(144)))), ((int)(((byte)(238)))), ((int)(((byte)(82)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(152)))), ((int)(((byte)(58)))), ((int)(((byte)(23))))), System.Drawing.Color.FromArgb(((int)(((byte)(187)))), ((int)(((byte)(86)))), ((int)(((byte)(49)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(136)))), ((int)(((byte)(0))))), System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(171)))), ((int)(((byte)(27)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(161)))), ((int)(((byte)(0))))), System.Drawing.Color.FromArgb(((int)(((byte)(196)))), ((int)(((byte)(194)))), ((int)(((byte)(0)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(159)))), ((int)(((byte)(113))))), System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(194)))), ((int)(((byte)(141)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(172)))), ((int)(((byte)(104))))), System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(202)))), ((int)(((byte)(134)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))), System.Drawing.Color.FromArgb(((int)(((byte)(132)))), ((int)(((byte)(227)))), ((int)(((byte)(181)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(147)))), ((int)(((byte)(115))))), System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(175)))), ((int)(((byte)(149))))))}));
     this.chartPie.PaletteRepository.Add("Palette 2", new DevExpress.XtraCharts.Palette("Palette 2", DevExpress.XtraCharts.PaletteScaleMode.Repeat, new DevExpress.XtraCharts.PaletteEntry[] {
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(168)))), ((int)(((byte)(9))))), System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(201)))), ((int)(((byte)(67)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(76)))), ((int)(((byte)(27))))), System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(118)))), ((int)(((byte)(72)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(111)))), ((int)(((byte)(203)))), ((int)(((byte)(219))))), System.Drawing.Color.FromArgb(((int)(((byte)(111)))), ((int)(((byte)(203)))), ((int)(((byte)(219)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(94))))), System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(94)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(152)))), ((int)(((byte)(58)))), ((int)(((byte)(23))))), System.Drawing.Color.FromArgb(((int)(((byte)(187)))), ((int)(((byte)(86)))), ((int)(((byte)(49)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(136)))), ((int)(((byte)(0))))), System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(171)))), ((int)(((byte)(27)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(161)))), ((int)(((byte)(0))))), System.Drawing.Color.FromArgb(((int)(((byte)(196)))), ((int)(((byte)(194)))), ((int)(((byte)(0)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(159)))), ((int)(((byte)(113))))), System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(194)))), ((int)(((byte)(141)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(172)))), ((int)(((byte)(104))))), System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(202)))), ((int)(((byte)(134)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))), System.Drawing.Color.FromArgb(((int)(((byte)(132)))), ((int)(((byte)(227)))), ((int)(((byte)(181)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(147)))), ((int)(((byte)(115))))), System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(175)))), ((int)(((byte)(149))))))}));
     this.chartPie.PaletteRepository.Add("Palette 3", new DevExpress.XtraCharts.Palette("Palette 3", DevExpress.XtraCharts.PaletteScaleMode.Repeat, new DevExpress.XtraCharts.PaletteEntry[] {
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(76)))), ((int)(((byte)(27))))), System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(118)))), ((int)(((byte)(72)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(111)))), ((int)(((byte)(203)))), ((int)(((byte)(219))))), System.Drawing.Color.FromArgb(((int)(((byte)(111)))), ((int)(((byte)(203)))), ((int)(((byte)(219)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(94))))), System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(94)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(152)))), ((int)(((byte)(58)))), ((int)(((byte)(23))))), System.Drawing.Color.FromArgb(((int)(((byte)(187)))), ((int)(((byte)(86)))), ((int)(((byte)(49)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(136)))), ((int)(((byte)(0))))), System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(171)))), ((int)(((byte)(27)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(161)))), ((int)(((byte)(0))))), System.Drawing.Color.FromArgb(((int)(((byte)(196)))), ((int)(((byte)(194)))), ((int)(((byte)(0)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(159)))), ((int)(((byte)(113))))), System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(194)))), ((int)(((byte)(141)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(172)))), ((int)(((byte)(104))))), System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(202)))), ((int)(((byte)(134)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))), System.Drawing.Color.FromArgb(((int)(((byte)(132)))), ((int)(((byte)(227)))), ((int)(((byte)(181)))))),
         new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(147)))), ((int)(((byte)(115))))), System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(175)))), ((int)(((byte)(149))))))}));
     pie3DSeriesLabel1.LineVisible = true;
     piePointOptions1.PointView = DevExpress.XtraCharts.PointView.SeriesName;
     piePointOptions1.ValueNumericOptions.Format = DevExpress.XtraCharts.NumericFormat.Percent;
     pie3DSeriesLabel1.PointOptions = piePointOptions1;
     series1.Label = pie3DSeriesLabel1;
     series1.Name = "Series 1";
     series1.View = pie3DSeriesView1;
     this.chartPie.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
     series1};
     pie3DSeriesLabel2.LineVisible = true;
     this.chartPie.SeriesTemplate.Label = pie3DSeriesLabel2;
     this.chartPie.SeriesTemplate.View = pie3DSeriesView2;
     this.chartPie.Size = new System.Drawing.Size(1037, 530);
     this.chartPie.TabIndex = 20;
     //
     // cboStores
     //
     this.cboStores.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.cboStores.Location = new System.Drawing.Point(803, 12);
     this.cboStores.Name = "cboStores";
     this.cboStores.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Down)});
     this.cboStores.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("StoreName", "Name")});
     this.cboStores.Properties.DisplayMember = "StoreName";
     this.cboStores.Properties.NullText = "";
     this.cboStores.Properties.ValueMember = "ID";
     this.cboStores.Size = new System.Drawing.Size(190, 20);
     this.cboStores.StyleController = this.layoutControl1;
     this.cboStores.TabIndex = 21;
     this.cboStores.EditValueChanged += new System.EventHandler(this.cboStores_SelectedValueChanged_1);
     //
     // layoutControl1
     //
     this.layoutControl1.Controls.Add(this.cboYear);
     this.layoutControl1.Controls.Add(this.lkCategory);
     this.layoutControl1.Controls.Add(this.label1);
     this.layoutControl1.Controls.Add(this.chartPie);
     this.layoutControl1.Controls.Add(this.btnPrint);
     this.layoutControl1.Controls.Add(this.dtDate);
     this.layoutControl1.Controls.Add(this.cboStores);
     this.layoutControl1.Controls.Add(this.dtFrom);
     this.layoutControl1.Controls.Add(this.dtTo);
     this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.layoutControl1.HiddenItems.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
     this.layoutControlItem2});
     this.layoutControl1.Location = new System.Drawing.Point(0, 0);
     this.layoutControl1.Name = "layoutControl1";
     this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(50, 194, 250, 350);
     this.layoutControl1.Root = this.layoutControlGroup1;
     this.layoutControl1.Size = new System.Drawing.Size(1061, 580);
     this.layoutControl1.TabIndex = 28;
     this.layoutControl1.Text = "layoutControl1";
     //
     // lkCategory
     //
     this.lkCategory.Location = new System.Drawing.Point(606, 12);
     this.lkCategory.Name = "lkCategory";
     this.lkCategory.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lkCategory.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Name", "Name")});
     this.lkCategory.Properties.DisplayMember = "Name";
     this.lkCategory.Properties.NullText = "";
     this.lkCategory.Properties.ValueMember = "ID";
     this.lkCategory.Size = new System.Drawing.Size(193, 20);
     this.lkCategory.StyleController = this.layoutControl1;
     this.lkCategory.TabIndex = 26;
     this.lkCategory.EditValueChanged += new System.EventHandler(this.cboStores_SelectedValueChanged_1);
     //
     // label1
     //
     this.label1.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(12, 12);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(353, 22);
     this.label1.TabIndex = 25;
     this.label1.Text = "General Expiry For Current Year";
     //
     // btnPrint
     //
     this.btnPrint.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnPrint.Image = global::PharmInventory.Properties.Resources.printer;
     this.btnPrint.Location = new System.Drawing.Point(997, 12);
     this.btnPrint.Name = "btnPrint";
     this.btnPrint.Size = new System.Drawing.Size(52, 22);
     this.btnPrint.StyleController = this.layoutControl1;
     this.btnPrint.TabIndex = 24;
     this.btnPrint.Text = "Print";
     this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click);
     //
     // dtDate
     //
     this.dtDate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.dtDate.CalendarFont = new System.Drawing.Font("Nyala", 11.75F);
     this.dtDate.CustomFormat = "MM/dd/ yy";
     this.dtDate.DayOfWeekCharacters = 1;
     this.dtDate.Location = new System.Drawing.Point(561, 12);
     this.dtDate.Name = "dtDate";
     this.dtDate.PopUpFontSize = 9.75F;
     this.dtDate.Size = new System.Drawing.Size(186, 22);
     this.dtDate.TabIndex = 22;
     this.dtDate.Value = new System.DateTime(2009, 1, 20, 0, 0, 0, 0);
     this.dtDate.Visible = false;
     //
     // layoutControlItem2
     //
     this.layoutControlItem2.Control = this.dtDate;
     this.layoutControlItem2.CustomizationFormText = "layoutControlItem2";
     this.layoutControlItem2.Location = new System.Drawing.Point(549, 0);
     this.layoutControlItem2.Name = "layoutControlItem2";
     this.layoutControlItem2.Size = new System.Drawing.Size(190, 26);
     this.layoutControlItem2.Text = "layoutControlItem2";
     this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0);
     this.layoutControlItem2.TextToControlDistance = 0;
     this.layoutControlItem2.TextVisible = false;
     //
     // layoutControlGroup1
     //
     this.layoutControlGroup1.CustomizationFormText = "Root";
     this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
     this.layoutControlGroup1.GroupBordersVisible = false;
     this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
     this.layoutControlItem1,
     this.layoutControlItem3,
     this.layoutControlItem4,
     this.emptySpaceItem1,
     this.layoutControlItem5,
     this.layoutControlItem6,
     this.layoutControlItem8});
     this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0);
     this.layoutControlGroup1.Name = "Root";
     this.layoutControlGroup1.Size = new System.Drawing.Size(1061, 580);
     this.layoutControlGroup1.Text = "Root";
     this.layoutControlGroup1.TextVisible = false;
     //
     // layoutControlItem1
     //
     this.layoutControlItem1.Control = this.chartPie;
     this.layoutControlItem1.CustomizationFormText = "layoutControlItem1";
     this.layoutControlItem1.Location = new System.Drawing.Point(0, 26);
     this.layoutControlItem1.Name = "layoutControlItem1";
     this.layoutControlItem1.Size = new System.Drawing.Size(1041, 534);
     this.layoutControlItem1.Text = "layoutControlItem1";
     this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0);
     this.layoutControlItem1.TextToControlDistance = 0;
     this.layoutControlItem1.TextVisible = false;
     //
     // layoutControlItem3
     //
     this.layoutControlItem3.Control = this.cboStores;
     this.layoutControlItem3.CustomizationFormText = "layoutControlItem3";
     this.layoutControlItem3.Location = new System.Drawing.Point(791, 0);
     this.layoutControlItem3.Name = "layoutControlItem3";
     this.layoutControlItem3.Size = new System.Drawing.Size(194, 26);
     this.layoutControlItem3.Text = "layoutControlItem3";
     this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0);
     this.layoutControlItem3.TextToControlDistance = 0;
     this.layoutControlItem3.TextVisible = false;
     //
     // layoutControlItem4
     //
     this.layoutControlItem4.Control = this.btnPrint;
     this.layoutControlItem4.CustomizationFormText = "layoutControlItem4";
     this.layoutControlItem4.Location = new System.Drawing.Point(985, 0);
     this.layoutControlItem4.Name = "layoutControlItem4";
     this.layoutControlItem4.Size = new System.Drawing.Size(56, 26);
     this.layoutControlItem4.Text = "layoutControlItem4";
     this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0);
     this.layoutControlItem4.TextToControlDistance = 0;
     this.layoutControlItem4.TextVisible = false;
     //
     // emptySpaceItem1
     //
     this.emptySpaceItem1.AllowHotTrack = false;
     this.emptySpaceItem1.CustomizationFormText = "emptySpaceItem1";
     this.emptySpaceItem1.Location = new System.Drawing.Point(357, 0);
     this.emptySpaceItem1.Name = "emptySpaceItem1";
     this.emptySpaceItem1.Size = new System.Drawing.Size(118, 26);
     this.emptySpaceItem1.Text = "emptySpaceItem1";
     this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0);
     //
     // layoutControlItem5
     //
     this.layoutControlItem5.Control = this.label1;
     this.layoutControlItem5.CustomizationFormText = "layoutControlItem5";
     this.layoutControlItem5.Location = new System.Drawing.Point(0, 0);
     this.layoutControlItem5.Name = "layoutControlItem5";
     this.layoutControlItem5.Size = new System.Drawing.Size(357, 26);
     this.layoutControlItem5.Text = "layoutControlItem5";
     this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0);
     this.layoutControlItem5.TextToControlDistance = 0;
     this.layoutControlItem5.TextVisible = false;
     //
     // layoutControlItem6
     //
     this.layoutControlItem6.Control = this.lkCategory;
     this.layoutControlItem6.CustomizationFormText = "layoutControlItem6";
     this.layoutControlItem6.Location = new System.Drawing.Point(594, 0);
     this.layoutControlItem6.Name = "layoutControlItem6";
     this.layoutControlItem6.Size = new System.Drawing.Size(197, 26);
     this.layoutControlItem6.Text = "layoutControlItem6";
     this.layoutControlItem6.TextSize = new System.Drawing.Size(0, 0);
     this.layoutControlItem6.TextToControlDistance = 0;
     this.layoutControlItem6.TextVisible = false;
     //
     // printDoc
     //
     this.printDoc.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage);
     //
     // printDialog1
     //
     this.printDialog1.UseEXDialog = true;
     //
     // groupBox3
     //
     this.groupBox3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox3.Controls.Add(this.lstExpStatus);
     this.groupBox3.Location = new System.Drawing.Point(507, 446);
     this.groupBox3.Name = "groupBox3";
     this.groupBox3.Size = new System.Drawing.Size(529, 111);
     this.groupBox3.TabIndex = 27;
     this.groupBox3.TabStop = false;
     this.groupBox3.Text = "Stock Expiry Status";
     //
     // lstExpStatus
     //
     this.lstExpStatus.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.lstExpStatus.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
     this.StockCode,
     this.columnHeader3,
     this.columnHeader4,
     this.columnHeader1});
     this.lstExpStatus.FitToPage = false;
     this.lstExpStatus.GridLines = true;
     this.lstExpStatus.Location = new System.Drawing.Point(6, 20);
     this.lstExpStatus.Name = "lstExpStatus";
     this.lstExpStatus.Size = new System.Drawing.Size(510, 85);
     this.lstExpStatus.TabIndex = 14;
     this.lstExpStatus.Title = "";
     this.lstExpStatus.UseCompatibleStateImageBehavior = false;
     this.lstExpStatus.View = System.Windows.Forms.View.Details;
     //
     // StockCode
     //
     this.StockCode.Text = "Stock Status";
     this.StockCode.Width = 121;
     //
     // columnHeader3
     //
     this.columnHeader3.Text = "Percentage ";
     this.columnHeader3.Width = 101;
     //
     // columnHeader4
     //
     this.columnHeader4.Text = "Quantity";
     this.columnHeader4.Width = 102;
     //
     // columnHeader1
     //
     this.columnHeader1.Text = "Price";
     this.columnHeader1.Width = 100;
     //
     // printingSystem1
     //
     this.printingSystem1.Links.AddRange(new object[] {
     this.printableComponentLink1});
     //
     // printableComponentLink1
     //
     this.printableComponentLink1.Component = this.chartPie;
     //
     //
     //
     this.printableComponentLink1.ImageCollection.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("printableComponentLink1.ImageCollection.ImageStream")));
     this.printableComponentLink1.Landscape = true;
     this.printableComponentLink1.Margins = new System.Drawing.Printing.Margins(20, 20, 100, 100);
     this.printableComponentLink1.MinMargins = new System.Drawing.Printing.Margins(5, 5, 20, 20);
     this.printableComponentLink1.PageHeaderFooter = new DevExpress.XtraPrinting.PageHeaderFooter(new DevExpress.XtraPrinting.PageHeaderArea(new string[] {
         "",
         "Expiry Status Chart",
         ""}, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))), DevExpress.XtraPrinting.BrickAlignment.Near), new DevExpress.XtraPrinting.PageFooterArea(new string[] {
         "[Page # of Pages #]",
         "",
         "[Date Printed]"}, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))), DevExpress.XtraPrinting.BrickAlignment.Near));
     this.printableComponentLink1.PaperKind = System.Drawing.Printing.PaperKind.A4;
     this.printableComponentLink1.PrintingSystem = this.printingSystem1;
     this.printableComponentLink1.PrintingSystemBase = this.printingSystem1;
     //
     // layoutControlItem13
     //
     this.layoutControlItem13.CustomizationFormText = " From : ";
     this.layoutControlItem13.Location = new System.Drawing.Point(884, 24);
     this.layoutControlItem13.Name = "layoutControlItem13";
     this.layoutControlItem13.Size = new System.Drawing.Size(206, 24);
     this.layoutControlItem13.Text = " From : ";
     this.layoutControlItem13.TextSize = new System.Drawing.Size(52, 13);
     this.layoutControlItem13.TextToControlDistance = 5;
     this.layoutControlItem13.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
     //
     // layoutControlItem7
     //
     this.layoutControlItem7.CustomizationFormText = " From : ";
     this.layoutControlItem7.Location = new System.Drawing.Point(884, 24);
     this.layoutControlItem7.Name = "layoutControlItem13";
     this.layoutControlItem7.Size = new System.Drawing.Size(206, 24);
     this.layoutControlItem7.Text = " From : ";
     this.layoutControlItem7.TextSize = new System.Drawing.Size(52, 13);
     this.layoutControlItem7.TextToControlDistance = 5;
     this.layoutControlItem7.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
     //
     // cboYear
     //
     this.cboYear.Location = new System.Drawing.Point(487, 12);
     this.cboYear.Name = "cboYear";
     this.cboYear.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.cboYear.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
     new DevExpress.XtraEditors.Controls.LookUpColumnInfo("year", "Year")});
     this.cboYear.Properties.DisplayMember = "year";
     this.cboYear.Properties.NullText = "";
     this.cboYear.Properties.ValueMember = "year";
     this.cboYear.Size = new System.Drawing.Size(115, 20);
     this.cboYear.StyleController = this.layoutControl1;
     this.cboYear.TabIndex = 26;
     this.cboYear.EditValueChanged += new System.EventHandler(this.cboYear_EditValueChanged);
     //
     // layoutControlItem8
     //
     this.layoutControlItem8.Control = this.cboYear;
     this.layoutControlItem8.CustomizationFormText = "layoutControlItem8";
     this.layoutControlItem8.Location = new System.Drawing.Point(475, 0);
     this.layoutControlItem8.Name = "layoutControlItem8";
     this.layoutControlItem8.Size = new System.Drawing.Size(119, 26);
     this.layoutControlItem8.Text = "layoutControlItem8";
     this.layoutControlItem8.TextSize = new System.Drawing.Size(0, 0);
     this.layoutControlItem8.TextToControlDistance = 0;
     this.layoutControlItem8.TextVisible = false;
     //
     // GeneralExpiryChart
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253)))));
     this.ClientSize = new System.Drawing.Size(1061, 580);
     this.Controls.Add(this.layoutControl1);
     this.Controls.Add(this.groupBox3);
     this.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name = "GeneralExpiryChart";
     this.Text = "GeneralReport";
     this.Load += new System.EventHandler(this.GeneralReport_Load);
     this.groupBox1.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(simpleDiagram3D1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pie3DSeriesLabel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pie3DSeriesView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pie3DSeriesLabel2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pie3DSeriesView2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartPie)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cboStores.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
     this.layoutControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.lkCategory.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit();
     this.groupBox3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.printingSystem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.printableComponentLink1.ImageCollection)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cboYear.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #58
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.settingsSaveButton = new System.Windows.Forms.Button();
     this.settingsCancelButton = new System.Windows.Forms.Button();
     this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog();
     this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
     this.printDialog1 = new System.Windows.Forms.PrintDialog();
     this.filesTab = new System.Windows.Forms.TabPage();
     this.botPicsLocationBox = new System.Windows.Forms.TextBox();
     this.botPicsFolderBrowseButton = new System.Windows.Forms.Button();
     this.label4 = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     this.settingsXsplitLocationBox = new System.Windows.Forms.TextBox();
     this.settingsBTLFolderLocationBox = new System.Windows.Forms.TextBox();
     this.settingsBTLFolderBrowseButton = new System.Windows.Forms.Button();
     this.settingsXsplitBrowseButton = new System.Windows.Forms.Button();
     this.label2 = new System.Windows.Forms.Label();
     this.tabControl1 = new System.Windows.Forms.TabControl();
     this.twitterTab = new System.Windows.Forms.TabPage();
     this.twitterInstructionsLabel = new System.Windows.Forms.Label();
     this.twitterPinBox = new System.Windows.Forms.TextBox();
     this.twitterConnectbutton = new System.Windows.Forms.Button();
     this.twitterVerifyButton = new System.Windows.Forms.Button();
     this.otherTab = new System.Windows.Forms.TabPage();
     this.enableResetCheckBox = new System.Windows.Forms.CheckBox();
     this.resetSettingsButton = new System.Windows.Forms.Button();
     this.eventTab = new System.Windows.Forms.TabPage();
     this.label3 = new System.Windows.Forms.Label();
     this.apiUrlBox = new System.Windows.Forms.TextBox();
     this.enablePublishButtonCheckBox = new System.Windows.Forms.CheckBox();
     this.filesTab.SuspendLayout();
     this.tabControl1.SuspendLayout();
     this.twitterTab.SuspendLayout();
     this.otherTab.SuspendLayout();
     this.eventTab.SuspendLayout();
     this.SuspendLayout();
     //
     // settingsSaveButton
     //
     this.settingsSaveButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.settingsSaveButton.Location = new System.Drawing.Point(343, 350);
     this.settingsSaveButton.Name = "settingsSaveButton";
     this.settingsSaveButton.Size = new System.Drawing.Size(75, 23);
     this.settingsSaveButton.TabIndex = 0;
     this.settingsSaveButton.Text = "Save";
     this.settingsSaveButton.UseVisualStyleBackColor = true;
     this.settingsSaveButton.Click += new System.EventHandler(this.settingsSaveButton_Click);
     //
     // settingsCancelButton
     //
     this.settingsCancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.settingsCancelButton.Location = new System.Drawing.Point(262, 350);
     this.settingsCancelButton.Name = "settingsCancelButton";
     this.settingsCancelButton.Size = new System.Drawing.Size(75, 23);
     this.settingsCancelButton.TabIndex = 1;
     this.settingsCancelButton.Text = "Cancel";
     this.settingsCancelButton.UseVisualStyleBackColor = true;
     this.settingsCancelButton.Click += new System.EventHandler(this.settingsCancelButton_Click);
     //
     // openFileDialog1
     //
     this.openFileDialog1.FileName = "openFileDialog1";
     //
     // printDialog1
     //
     this.printDialog1.UseEXDialog = true;
     //
     // filesTab
     //
     this.filesTab.Controls.Add(this.botPicsLocationBox);
     this.filesTab.Controls.Add(this.botPicsFolderBrowseButton);
     this.filesTab.Controls.Add(this.label4);
     this.filesTab.Controls.Add(this.label1);
     this.filesTab.Controls.Add(this.settingsXsplitLocationBox);
     this.filesTab.Controls.Add(this.settingsBTLFolderLocationBox);
     this.filesTab.Controls.Add(this.settingsBTLFolderBrowseButton);
     this.filesTab.Controls.Add(this.settingsXsplitBrowseButton);
     this.filesTab.Controls.Add(this.label2);
     this.filesTab.Location = new System.Drawing.Point(4, 22);
     this.filesTab.Name = "filesTab";
     this.filesTab.Padding = new System.Windows.Forms.Padding(3);
     this.filesTab.Size = new System.Drawing.Size(427, 318);
     this.filesTab.TabIndex = 0;
     this.filesTab.Text = "Files / Folders";
     //
     // botPicsLocationBox
     //
     this.botPicsLocationBox.Location = new System.Drawing.Point(6, 119);
     this.botPicsLocationBox.Name = "botPicsLocationBox";
     this.botPicsLocationBox.Size = new System.Drawing.Size(333, 20);
     this.botPicsLocationBox.TabIndex = 8;
     //
     // botPicsFolderBrowseButton
     //
     this.botPicsFolderBrowseButton.Location = new System.Drawing.Point(345, 117);
     this.botPicsFolderBrowseButton.Name = "botPicsFolderBrowseButton";
     this.botPicsFolderBrowseButton.Size = new System.Drawing.Size(75, 23);
     this.botPicsFolderBrowseButton.TabIndex = 10;
     this.botPicsFolderBrowseButton.Text = "Browse";
     this.botPicsFolderBrowseButton.UseVisualStyleBackColor = true;
     this.botPicsFolderBrowseButton.Click += new System.EventHandler(this.botPicsFolderBrowseButton_Click);
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(6, 100);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(135, 13);
     this.label4.TabIndex = 9;
     this.label4.Text = "Robot Pics Folder Location";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(8, 3);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(78, 13);
     this.label1.TabIndex = 3;
     this.label1.Text = "XSplit Location";
     //
     // settingsXsplitLocationBox
     //
     this.settingsXsplitLocationBox.Location = new System.Drawing.Point(8, 22);
     this.settingsXsplitLocationBox.Name = "settingsXsplitLocationBox";
     this.settingsXsplitLocationBox.Size = new System.Drawing.Size(333, 20);
     this.settingsXsplitLocationBox.TabIndex = 2;
     //
     // settingsBTLFolderLocationBox
     //
     this.settingsBTLFolderLocationBox.Location = new System.Drawing.Point(8, 71);
     this.settingsBTLFolderLocationBox.Name = "settingsBTLFolderLocationBox";
     this.settingsBTLFolderLocationBox.Size = new System.Drawing.Size(333, 20);
     this.settingsBTLFolderLocationBox.TabIndex = 5;
     //
     // settingsBTLFolderBrowseButton
     //
     this.settingsBTLFolderBrowseButton.Location = new System.Drawing.Point(347, 69);
     this.settingsBTLFolderBrowseButton.Name = "settingsBTLFolderBrowseButton";
     this.settingsBTLFolderBrowseButton.Size = new System.Drawing.Size(75, 23);
     this.settingsBTLFolderBrowseButton.TabIndex = 7;
     this.settingsBTLFolderBrowseButton.Text = "Browse";
     this.settingsBTLFolderBrowseButton.UseVisualStyleBackColor = true;
     this.settingsBTLFolderBrowseButton.Click += new System.EventHandler(this.settingsOverlaysBrowseButton_Click);
     //
     // settingsXsplitBrowseButton
     //
     this.settingsXsplitBrowseButton.Location = new System.Drawing.Point(347, 20);
     this.settingsXsplitBrowseButton.Name = "settingsXsplitBrowseButton";
     this.settingsXsplitBrowseButton.Size = new System.Drawing.Size(75, 23);
     this.settingsXsplitBrowseButton.TabIndex = 4;
     this.settingsXsplitBrowseButton.Text = "Browse";
     this.settingsXsplitBrowseButton.UseVisualStyleBackColor = true;
     this.settingsXsplitBrowseButton.Click += new System.EventHandler(this.settingsXsplitBrowseButton_Click);
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(8, 52);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(125, 13);
     this.label2.TabIndex = 6;
     this.label2.Text = "Graphics Folder Location";
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.filesTab);
     this.tabControl1.Controls.Add(this.twitterTab);
     this.tabControl1.Controls.Add(this.otherTab);
     this.tabControl1.Controls.Add(this.eventTab);
     this.tabControl1.Location = new System.Drawing.Point(0, 0);
     this.tabControl1.Name = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size = new System.Drawing.Size(435, 344);
     this.tabControl1.TabIndex = 9;
     //
     // twitterTab
     //
     this.twitterTab.BackColor = System.Drawing.SystemColors.Control;
     this.twitterTab.Controls.Add(this.twitterInstructionsLabel);
     this.twitterTab.Controls.Add(this.twitterPinBox);
     this.twitterTab.Controls.Add(this.twitterConnectbutton);
     this.twitterTab.Controls.Add(this.twitterVerifyButton);
     this.twitterTab.Location = new System.Drawing.Point(4, 22);
     this.twitterTab.Name = "twitterTab";
     this.twitterTab.Padding = new System.Windows.Forms.Padding(3);
     this.twitterTab.Size = new System.Drawing.Size(427, 318);
     this.twitterTab.TabIndex = 1;
     this.twitterTab.Text = "Twitter";
     //
     // twitterInstructionsLabel
     //
     this.twitterInstructionsLabel.AutoSize = true;
     this.twitterInstructionsLabel.Location = new System.Drawing.Point(3, 38);
     this.twitterInstructionsLabel.Name = "twitterInstructionsLabel";
     this.twitterInstructionsLabel.Size = new System.Drawing.Size(423, 13);
     this.twitterInstructionsLabel.TabIndex = 2;
     this.twitterInstructionsLabel.Text = "Authorize the app and enter the PIN you\'re shown in the box below.  Then click \"V" +
     "erify.\"";
     this.twitterInstructionsLabel.Visible = false;
     //
     // twitterPinBox
     //
     this.twitterPinBox.Location = new System.Drawing.Point(6, 64);
     this.twitterPinBox.Name = "twitterPinBox";
     this.twitterPinBox.Size = new System.Drawing.Size(100, 20);
     this.twitterPinBox.TabIndex = 1;
     //
     // twitterConnectbutton
     //
     this.twitterConnectbutton.Location = new System.Drawing.Point(6, 6);
     this.twitterConnectbutton.Name = "twitterConnectbutton";
     this.twitterConnectbutton.Size = new System.Drawing.Size(415, 23);
     this.twitterConnectbutton.TabIndex = 0;
     this.twitterConnectbutton.Text = "Get PIN";
     this.twitterConnectbutton.UseVisualStyleBackColor = true;
     this.twitterConnectbutton.Click += new System.EventHandler(this.twitterConnectbutton_Click);
     //
     // twitterVerifyButton
     //
     this.twitterVerifyButton.Enabled = false;
     this.twitterVerifyButton.Location = new System.Drawing.Point(112, 61);
     this.twitterVerifyButton.Name = "twitterVerifyButton";
     this.twitterVerifyButton.Size = new System.Drawing.Size(72, 23);
     this.twitterVerifyButton.TabIndex = 0;
     this.twitterVerifyButton.Text = "Verify";
     this.twitterVerifyButton.UseVisualStyleBackColor = true;
     this.twitterVerifyButton.Click += new System.EventHandler(this.twitterVerifyButton_Click);
     //
     // otherTab
     //
     this.otherTab.BackColor = System.Drawing.SystemColors.Control;
     this.otherTab.Controls.Add(this.enablePublishButtonCheckBox);
     this.otherTab.Controls.Add(this.enableResetCheckBox);
     this.otherTab.Controls.Add(this.resetSettingsButton);
     this.otherTab.Location = new System.Drawing.Point(4, 22);
     this.otherTab.Name = "otherTab";
     this.otherTab.Padding = new System.Windows.Forms.Padding(3);
     this.otherTab.Size = new System.Drawing.Size(427, 318);
     this.otherTab.TabIndex = 2;
     this.otherTab.Text = "Other";
     //
     // enableResetCheckBox
     //
     this.enableResetCheckBox.AutoSize = true;
     this.enableResetCheckBox.Location = new System.Drawing.Point(174, 17);
     this.enableResetCheckBox.Name = "enableResetCheckBox";
     this.enableResetCheckBox.Size = new System.Drawing.Size(131, 17);
     this.enableResetCheckBox.TabIndex = 2;
     this.enableResetCheckBox.Text = "Enable Settings Reset";
     this.enableResetCheckBox.UseVisualStyleBackColor = true;
     this.enableResetCheckBox.CheckedChanged += new System.EventHandler(this.enableResetCheckBox_CheckedChanged);
     //
     // resetSettingsButton
     //
     this.resetSettingsButton.Enabled = false;
     this.resetSettingsButton.Location = new System.Drawing.Point(9, 13);
     this.resetSettingsButton.Name = "resetSettingsButton";
     this.resetSettingsButton.Size = new System.Drawing.Size(159, 23);
     this.resetSettingsButton.TabIndex = 0;
     this.resetSettingsButton.Text = "Reset All Settings";
     this.resetSettingsButton.UseVisualStyleBackColor = true;
     this.resetSettingsButton.Click += new System.EventHandler(this.resetSettingsButton_Click);
     //
     // eventTab
     //
     this.eventTab.BackColor = System.Drawing.SystemColors.Control;
     this.eventTab.Controls.Add(this.label3);
     this.eventTab.Controls.Add(this.apiUrlBox);
     this.eventTab.Location = new System.Drawing.Point(4, 22);
     this.eventTab.Name = "eventTab";
     this.eventTab.Size = new System.Drawing.Size(427, 318);
     this.eventTab.TabIndex = 3;
     this.eventTab.Text = "Event";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(8, 9);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(49, 13);
     this.label3.TabIndex = 5;
     this.label3.Text = "API URL";
     //
     // apiUrlBox
     //
     this.apiUrlBox.Location = new System.Drawing.Point(8, 28);
     this.apiUrlBox.Name = "apiUrlBox";
     this.apiUrlBox.Size = new System.Drawing.Size(333, 20);
     this.apiUrlBox.TabIndex = 4;
     //
     // enablePublishButtonCheckBox
     //
     this.enablePublishButtonCheckBox.AutoSize = true;
     this.enablePublishButtonCheckBox.Location = new System.Drawing.Point(9, 63);
     this.enablePublishButtonCheckBox.Name = "enablePublishButtonCheckBox";
     this.enablePublishButtonCheckBox.Size = new System.Drawing.Size(130, 17);
     this.enablePublishButtonCheckBox.TabIndex = 3;
     this.enablePublishButtonCheckBox.Text = "Enable Publish Button";
     this.enablePublishButtonCheckBox.UseVisualStyleBackColor = true;
     //
     // SettingsForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
     this.ClientSize = new System.Drawing.Size(431, 385);
     this.Controls.Add(this.tabControl1);
     this.Controls.Add(this.settingsCancelButton);
     this.Controls.Add(this.settingsSaveButton);
     this.Name = "SettingsForm";
     this.Text = "Settings";
     this.Load += new System.EventHandler(this.SettingsForm_Load);
     this.filesTab.ResumeLayout(false);
     this.filesTab.PerformLayout();
     this.tabControl1.ResumeLayout(false);
     this.twitterTab.ResumeLayout(false);
     this.twitterTab.PerformLayout();
     this.otherTab.ResumeLayout(false);
     this.otherTab.PerformLayout();
     this.eventTab.ResumeLayout(false);
     this.eventTab.PerformLayout();
     this.ResumeLayout(false);
 }
コード例 #59
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EmptyWeightPrint));
     this.panel1 = new System.Windows.Forms.Panel();
     this.btnPrint = new System.Windows.Forms.Button();
     this.panel2 = new System.Windows.Forms.Panel();
     this.printD = new System.Windows.Forms.PrintDialog();
     this.printDocument = new System.Drawing.Printing.PrintDocument();
     this.pageSetupD = new System.Windows.Forms.PageSetupDialog();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.White;
     this.panel1.Controls.Add(this.btnPrint);
     this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(872, 43);
     this.panel1.TabIndex = 1;
     //
     // btnPrint
     //
     this.btnPrint.BackgroundImage = global::CoalTraffic.Properties.Resources.printIcon;
     this.btnPrint.Location = new System.Drawing.Point(0, 0);
     this.btnPrint.Name = "btnPrint";
     this.btnPrint.Size = new System.Drawing.Size(52, 43);
     this.btnPrint.TabIndex = 0;
     this.btnPrint.UseVisualStyleBackColor = true;
     this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click);
     //
     // panel2
     //
     this.panel2.BackColor = System.Drawing.Color.White;
     this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel2.Location = new System.Drawing.Point(0, 43);
     this.panel2.Name = "panel2";
     this.panel2.Size = new System.Drawing.Size(872, 403);
     this.panel2.TabIndex = 2;
     this.panel2.Paint += new System.Windows.Forms.PaintEventHandler(this.panel2_Paint);
     //
     // printDocument
     //
     this.printDocument.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument_PrintPage);
     //
     // EmptyWeightPrint
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(872, 446);
     this.ControlBox = false;
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "EmptyWeightPrint";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "空车过磅打印预览";
     this.Load += new System.EventHandler(this.EmptyWeightPrint_Load);
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #60
0
 public bool PrintSettings()
 {
     System.Windows.Forms.DialogResult dlgRslt = System.Windows.Forms.DialogResult.None;
     this.CreatePrintDocument();
     using (System.Windows.Forms.PrintDialog dlg = new System.Windows.Forms.PrintDialog())
     {
         dlg.Document = this._printDoc;
         dlg.AllowSomePages = false;
         dlg.AllowCurrentPage = false;
         dlgRslt = dlg.ShowDialog(this.FindForm());
         if (dlgRslt == System.Windows.Forms.DialogResult.OK)
             this._printDoc.PrinterSettings = dlg.PrinterSettings;
     }
     return (dlgRslt == System.Windows.Forms.DialogResult.OK);
 }