示例#1
0
        // 직무추가 버튼을 클릭 했을 때 새창을 띄움.
        private void OpenNewWindow(object sender, RoutedEventArgs e)
        {
            SubWindow subWindow = new SubWindow();

            RefreshListEvent     += new RefreshList(RefreshListBox); //event initialization
            subWindow.UpdateActor = RefreshListEvent;                // assigning event to the Delegate
            subWindow.Show();
        }
示例#2
0
        void DisplayWindowAction()
        {
            var wnd = new SubWindow();

            wnd.Show();
        }