Esempio n. 1
0
        public Talk(MainForm parentForm, string login, int talkId, string contactLogin, string contactName)
        {
            InitializeComponent();
            _talkId = talkId;
            _parentForm = parentForm;
            _contactLogin = contactLogin;
            _contactName = contactName;
            _login = login;

            Text += contactName;

            Communicator.getInstance().archive.createNewTalk(_login, _talkId, contactLogin, DateTime.Now);
            string url = string.Format(Communicator.getInstance().getBasePath() + "archive/{0}/{1}.html", _login, _talkId);
            
            //url = "file:///C:/komunikator/prog/Klient/Klient/Klient/bin/Debug/archive/c/35.html";
            talkBox.Navigate(url);            
        }
Esempio n. 2
0
 public CreateAccount(MainForm mainForm)
 {
     this.mainForm = mainForm;
     InitializeComponent();
 }
Esempio n. 3
0
 public SelectProfile(MainForm mainForm)
 {
     this.mainForm = mainForm;
     InitializeComponent();
 }