public static void OpenPrestigeTitleViewer() { TitlesHandle form = new TitlesHandle(Client.TitlesHandleAdmin, true); form.Show(); Application.Current.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(() => form.Activate())); }
public void OpenTitlesForm(Profil window) { Client.Send(PacketType.AskTitle, new StandardClientAskTitles()); TitlesHandle form = new TitlesHandle(Client.TitlesHandleAdmin, false); form.Show(); Application.Current.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(() => form.Activate())); }