Пример #1
0
        public Privatechat(string nm, d_sendmess dsmdel, d_changeon dcl)
        {
            name = nm;
            InitializeComponent();
            label2.Text = name;

            senddel = dsmdel;
            dclosed = dcl;

            logged = true;
        }
Пример #2
0
        public Privatechat(string nm, d_sendmess dsmdel,d_changeon dcl)
        {
            name = nm;
            InitializeComponent();
            label2.Text = name;

            senddel = dsmdel;
            dclosed = dcl;

            logged = true;
        }
Пример #3
0
        public Mainchat(string user, List <string> friends, d_sendmess dsmdel)
        {
            InitializeComponent();

            label2.Text = user;
            listBox1.Items.AddRange(friends.ToArray());

            dchon     = new d_changeon(changeon);
            dchoff    = new d_changeon(changeoff);
            dchcreate = new d_changeon(openprchat);//fswgdd
            dtkm      = new d_takemess(takemess);
            dclosed   = new d_changeon(chatclosed);
            daddf     = new d_changeon(addfriend);

            senddel = dsmdel;

            oclist = new Dictionary <string, Privatechat>();
        }
Пример #4
0
        public Mainchat(string user, List<string> friends, d_sendmess dsmdel)
        {
            InitializeComponent();

            label2.Text = user;
            listBox1.Items.AddRange(friends.ToArray());

            dchon = new d_changeon(changeon);
            dchoff = new d_changeon(changeoff);
            dchcreate = new d_changeon(openprchat);//fswgdd
            dtkm = new d_takemess(takemess);
            dclosed = new d_changeon(chatclosed);
            daddf = new d_changeon(addfriend);

            senddel = dsmdel;

            oclist = new Dictionary<string, Privatechat>();
        }