Пример #1
0
        private void Window_Closed(object sender, EventArgs e)
        {
            // Resouce 반납
            dispatcherTimer.Stop();
            dlgBcrReadFail.ExitOK = true;
            dlgBcrReadFail.Close();
            //for (int i = 0; i < pnlMid.Controls.Count; i++)
            //    pnlMid.Controls[i].Dispose();

            //pnlMid.Controls.Clear();
            GBL.Close();
        }
Пример #2
0
        public MainWindow()
        {
            InitializeComponent();

            // Create BCR Read Fail Dialog
            dlgBcrReadFail = new DlgBcrReadFail();

            // Windows Style
            if (GBL.wndMax)
            {
                this.ResizeMode    = ResizeMode.CanResizeWithGrip;
                this.WindowStyle   = WindowStyle.None;
                this.ShowInTaskbar = true;
                this.WindowState   = WindowState.Maximized;
            }

            // GLOBAL 초기화
            GBL.Init();

            // Create Page Screen
            Create_Page();
        }