Esempio n. 1
0
        static void Test()
        {
            ChatMessageViewerControl c = new ChatMessageViewerControl();

            //c.ResetContent("Hello");
            c.AddInformation("Hello Again");
            c.Dock = DockStyle.Fill;
            Form f = new Form();

            f.Controls.Add(c);
            //OperaterServiceAgent = OperatorServiceAgent.Default;
            //OperaterServiceAgent.Login("100000", "user1", "123");
            f.Show();
            c.AddInformation("www");
            Application.Run(f);
        }
Esempio n. 2
0
 static void Test()
 {
     ChatMessageViewerControl c = new ChatMessageViewerControl();
     //c.ResetContent("Hello");
     c.AddInformation("Hello Again");
     c.Dock = DockStyle.Fill;
     Form f = new Form();
     f.Controls.Add(c);
     //OperaterServiceAgent = OperatorServiceAgent.Default;
     //OperaterServiceAgent.Login("100000", "user1", "123");
     f.Show();
     c.AddInformation("www");
     Application.Run(f);
 }