Пример #1
0
        private void đăngXuấtToolStripMenuItem_Click(object sender, EventArgs e)
        {
            MainChat main = new MainChat();

            main.Show();
            this.Dispose();
        }
Пример #2
0
 public PrivateUser(MainChat f1)
 {
     InitializeComponent();
     form = f1;
     if (form.getFlag() == true)
     {
         this.ml.SetLanguage((int)eLanguage.TiengViet);
         this.ml.ChangeLanguage(this);
     }
     else
     {
         this.ml.SetLanguage((int)eLanguage.TiengAnh);
         this.ml.ChangeLanguage(this);
     }
     this.Icon = Properties.Resources.Private_Chat;
 }
Пример #3
0
 public PrivateChat(MainChat f1)
 {
     InitializeComponent();
     pChat = f1;
     if (pChat.getFlag() == true)
     {
         this.ml.SetLanguage((int)eLanguage.TiengViet);
         this.ml.ChangeLanguage(this);
     }
     else
     {
         this.ml.SetLanguage((int)eLanguage.TiengAnh);
         this.ml.ChangeLanguage(this);
     }
     this.Icon = Properties.Resources.Noti;
 }
Пример #4
0
 public GroupChat(MainChat f1)
 {
     InitializeComponent();
     form      = f1;
     this.Icon = Properties.Resources.group_chat;
 }