예제 #1
0
        public MainWindow()
        {
            InitializeComponent();

            ModalDialog_AddBarcode.SetParent(Container_Main);
            ModalDialog_AddListBarcode.SetParent(Container_Main);
            ModalDialog_DeleteBarcode.SetParent(Container_Main);
            ModalDialog_DeleteBarcode_Index.SetParent(Container_Main);
            ModalDialog_PrintBarcode.SetParent(Container_Main);
            ModalDialog_PaperSetting.SetParent(Container_Main);

            bg_worker.WorkerReportsProgress      = true;
            bg_worker.WorkerSupportsCancellation = true;
            bg_worker.DoWork             += Bg_worker_DoWork;
            bg_worker.ProgressChanged    += Bg_worker_ProgressChanged;
            bg_worker.RunWorkerCompleted += Bg_worker_RunWorkerCompleted;
        }
예제 #2
0
 private void RibbonButton_Delete_Click(object sender, RoutedEventArgs e)
 {
     ModalDialog_DeleteBarcode.ShowHandlerDialog();
 }