예제 #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;
 }