public UserControl_Conversations_Channel(UserControl_ChatControl UserControlChatControl) { InitializeComponent(); this.conversationViewModel = new ConversationsChannel_ViewModel(this); DataContext = this.conversationViewModel; this.UserControlChatControl = UserControlChatControl; }
public ChannelCreation_ViewModel(ChannelCreationWindow main, ConversationsChannel_ViewModel convm) { this.ConvVM = convm; this.main = main; channelName = ""; errorText = ""; created = ""; Close = new GeneralCommands <object>(CloseBox, CanClose); CreateChannel = new GeneralCommands <object>(CreateTheChannel, CanCreate); }
public SerchChanel_Window(ConversationsChannel_ViewModel ConversationViewModel) { InitializeComponent(); this.conversationViewModel = ConversationViewModel; DataContext = new SerchChannel_ViewModel(this); }
public ChannelCreationWindow(ConversationsChannel_ViewModel conVM) { InitializeComponent(); DataContext = new ChannelCreation_ViewModel(this, conVM); }