private void ButtonReassignCase_Click(object sender, RoutedEventArgs e) { if (this.PanelSetOrderSurgical != null) { Common.ReassignCaseDialog reassignCaseDialog = new Common.ReassignCaseDialog(this.PanelSetOrderSurgical, Business.User.SystemIdentity.Instance); reassignCaseDialog.ShowDialog(); this.Save(false); } }