// 직무추가 버튼을 클릭 했을 때 새창을 띄움. 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(); }
void DisplayWindowAction() { var wnd = new SubWindow(); wnd.Show(); }