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

            _vm       = new ToastViewModel("1", 5, "TopRight", 10, 10);
            Unloaded += OnUnload;
        }
예제 #2
0
        public uc_DashBoard()
        {
            InitializeComponent();

            _vm       = new ToastViewModel("1", 5, "TopRight", 10, 10);
            Unloaded += OnUnload;

            String[] weekinfo = new CommonUtil().getWeekInfo(DateTime.Now.ToString("yyyyMMdd"));
            lb_week.Content = weekinfo[0];
            String[] wi = weekinfo[1].Split('^');
            sDate.Content = wi[0];
            eDate.Content = wi[1];
        }
예제 #3
0
        public MainWindow()
        {
            InitializeComponent();

            _vm  = new ToastViewModel("0", 15, "", 5, 5);
            _vm2 = new ToastViewModel("0", 15, "BottomCenter", 1,
                                      System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Height / 2);

            Unloaded += OnUnload;

            string strVersionText = Assembly.GetExecutingAssembly().FullName
                                    .Split(',')[1]
                                    .Trim()
                                    .Split('=')[1];

            version.Content = "버전정보 : " + strVersionText;

            InitSetting.Instance.Init();

            AutoLogin();
        }