public SerchChannel_ViewModel(SerchChanel_Window serchWind) { this.SerchWind = serchWind; conversationView = this.SerchWind.conversationViewModel.convChannelVM; this.errorText = ""; SerchChannel = new GeneralCommands <object>(serchChannel, CanSerch); SelectChannel = new GeneralCommands <object>(selectChannel, canSelect); Close = new GeneralCommands <object>(CloseDialog, CanClose); }
public void SerchChannel(object o) { SerchChanel_Window popup = new SerchChanel_Window(this); popup.ShowDialog(); }