コード例 #1
0
        private void init()
        {
            c            = new clientData();
            c.connection = new NetworkManager();
            c.port       = 20500;
            c.ip         = "127.0.0.1"; //default ip
            c.bufferSize = 1024;

            this.toolStripStatusLabel1.Text = "Disconnected";
            this.ipTextBox.Text             = c.ip;
            this.SizeTrackBar.Value         = 50;
            this.SizeLabel.Text             = "Size = 50 %";

            componentVisibility(false);
        }
コード例 #2
0
ファイル: Form1.cs プロジェクト: Risca/sgct
        private void init()
        {
            c = new clientData();
            c.connection = new NetworkManager();
            c.port = 20500;
            c.ip = "127.0.0.1"; //default ip
            c.bufferSize = 1024;

            this.toolStripStatusLabel1.Text = "Disconnected";
            this.ipTextBox.Text = c.ip;
            this.SizeTrackBar.Value = 50;
            this.SizeLabel.Text = "Size = 50 %";

            componentVisibility(false);
        }