Beispiel #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);            
        }
 public CreateAccount(MainForm mainForm)
 {
     this.mainForm = mainForm;
     InitializeComponent();
 }
 public SelectProfile(MainForm mainForm)
 {
     this.mainForm = mainForm;
     InitializeComponent();
 }