private void BTN_AddChannel_Click(object sender, RoutedEventArgs e)
        {
            Window w      = new WINDOW_AddChannel(groupId);
            bool?  result = w.ShowDialog();

            switch (result)
            {
            case true:
                //Update
                break;

            default:
                break;
            }
        }
Пример #2
0
        private void Btn_AddChannel_Click(object sender, RoutedEventArgs e)
        {
            switch (_selectedChannel)
            {
            case Channel.Chat:
                FORMS.COMPONENTS.OTHERS.WINDOW_AddChannel addChannel = new WINDOW_AddChannel(_selectedGroup.GroupId);
                addChannel.ShowDialog();

                break;

            case Channel.Event:
                Fr_Channel.Content = new CHANNEL.PAGE_AddEvent(_selectedGroup, _client, _contentFrame, _selectedGroup, client, Main);
                break;
            }
            LoadChannelList();
        }