コード例 #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
ファイル: GroupChat.cs プロジェクト: lhthang/LanChat-Winforms
 public GroupChat(MainChat f1)
 {
     InitializeComponent();
     form      = f1;
     this.Icon = Properties.Resources.group_chat;
 }