예제 #1
0
        public SessionWindow(string ClientName, bool old, int session, ClientThread parentthread)
        {
            this.ActiveSession = !old;
            this.ClientName = ClientName;
            this.client = parentthread;
            Session = session;

            count = 0;

            updateMetingen = new UpdateMetingen(this.SaveMeting);
            updateGraph = new UpdateGraph(this.LoadGraph);

            InitializeComponent();
            if(! ActiveSession)
            {
                panelClientChat.richTextBox1.Enabled = false;
                panelClientChat.button1.Enabled = false;
                panelDataViewLeft.Visible = false;
            }
        }
예제 #2
0
        public SessionWindow(string ClientName, bool old, int session, ClientThread parentthread)
        {
            this.ActiveSession = !old;
            this.ClientName    = ClientName;
            this.client        = parentthread;
            Session            = session;

            count = 0;

            updateMetingen = new UpdateMetingen(this.SaveMeting);
            updateGraph    = new UpdateGraph(this.LoadGraph);

            InitializeComponent();
            if (!ActiveSession)
            {
                panelClientChat.richTextBox1.Enabled = false;
                panelClientChat.button1.Enabled      = false;
                panelDataViewLeft.Visible            = false;
            }
        }