/// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Queue.Common.Settings.LoginSettings loginSettings1 = new Queue.Common.Settings.LoginSettings();
            this.loginSettingsControl = new Queue.UI.WinForms.LoginSettingsControl();
            this.loginButton = new System.Windows.Forms.Button();
            this.SuspendLayout();
            // 
            // loginSettingsControl
            // 
            this.loginSettingsControl.Location = new System.Drawing.Point(5, 5);
            this.loginSettingsControl.Name = "loginSettingsControl";
            loginSettings1.Endpoint = "net.tcp://queue:4505";
            loginSettings1.LockItem = false;
            loginSettings1.Password = "";
            loginSettings1.User = new System.Guid("00000000-0000-0000-0000-000000000000");
            this.loginSettingsControl.Settings = loginSettings1;
            this.loginSettingsControl.Size = new System.Drawing.Size(340, 176);
            this.loginSettingsControl.TabIndex = 0;
            this.loginSettingsControl.UserRole = Queue.Model.Common.UserRole.Administrator;
            // 
            // loginButton
            // 
            this.loginButton.Location = new System.Drawing.Point(270, 190);
            this.loginButton.Name = "loginButton";
            this.loginButton.Size = new System.Drawing.Size(75, 25);
            this.loginButton.TabIndex = 1;
            this.loginButton.Text = "Войти";
            this.loginButton.UseVisualStyleBackColor = true;
            this.loginButton.Click += new System.EventHandler(this.loginButton_Click);
            // 
            // OfficeLoginForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(349, 222);
            this.Controls.Add(this.loginButton);
            this.Controls.Add(this.loginSettingsControl);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
            this.Name = "OfficeLoginForm";
            this.Text = "Вход в удаленный офис";
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.OfficeLoginForm_FormClosing);
            this.Load += new System.EventHandler(this.OfficeLoginForm_Load);
            this.ResumeLayout(false);

        }
Example #2
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            Queue.Common.Settings.LoginSettings loginSettings2 = new Queue.Common.Settings.LoginSettings();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
            this.stopButton = new System.Windows.Forms.Button();
            this.serviceGroupBox = new System.Windows.Forms.GroupBox();
            this.startServiceButton = new System.Windows.Forms.Button();
            this.serviceStatePicture = new System.Windows.Forms.PictureBox();
            this.installServiseButton = new System.Windows.Forms.Button();
            this.startButton = new System.Windows.Forms.Button();
            this.settingsGroupBox = new System.Windows.Forms.GroupBox();
            this.contentFolderGroupBox = new System.Windows.Forms.GroupBox();
            this.contentFolderTextBox = new System.Windows.Forms.TextBox();
            this.selectContentFolderButton = new System.Windows.Forms.Button();
            this.loginSettingsControl = new Queue.UI.WinForms.LoginSettingsControl();
            this.serverGroupBox = new System.Windows.Forms.GroupBox();
            this.portLabel = new System.Windows.Forms.Label();
            this.portUpDown = new System.Windows.Forms.NumericUpDown();
            this.portalSettingsBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.saveButton = new System.Windows.Forms.Button();
            this.serviceStateTimer = new System.Windows.Forms.Timer(this.components);
            this.logoPictureBox = new System.Windows.Forms.PictureBox();
            this.folderBrowserDialog = new System.Windows.Forms.FolderBrowserDialog();
            this.portalServiceSettingsBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.serviceGroupBox.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.serviceStatePicture)).BeginInit();
            this.settingsGroupBox.SuspendLayout();
            this.contentFolderGroupBox.SuspendLayout();
            this.serverGroupBox.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.portUpDown)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.portalSettingsBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.logoPictureBox)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.portalServiceSettingsBindingSource)).BeginInit();
            this.SuspendLayout();
            // 
            // stopButton
            // 
            this.stopButton.Enabled = false;
            this.stopButton.Location = new System.Drawing.Point(215, 455);
            this.stopButton.Name = "stopButton";
            this.stopButton.Size = new System.Drawing.Size(190, 30);
            this.stopButton.TabIndex = 15;
            this.stopButton.Text = "Остановить";
            this.stopButton.UseVisualStyleBackColor = true;
            this.stopButton.Click += new System.EventHandler(this.stopButton_Click);
            // 
            // serviceGroupBox
            // 
            this.serviceGroupBox.Controls.Add(this.startServiceButton);
            this.serviceGroupBox.Controls.Add(this.serviceStatePicture);
            this.serviceGroupBox.Controls.Add(this.installServiseButton);
            this.serviceGroupBox.Location = new System.Drawing.Point(5, 390);
            this.serviceGroupBox.Name = "serviceGroupBox";
            this.serviceGroupBox.Size = new System.Drawing.Size(405, 60);
            this.serviceGroupBox.TabIndex = 14;
            this.serviceGroupBox.TabStop = false;
            this.serviceGroupBox.Text = "Служба";
            // 
            // startServiceButton
            // 
            this.startServiceButton.Location = new System.Drawing.Point(220, 20);
            this.startServiceButton.Margin = new System.Windows.Forms.Padding(5);
            this.startServiceButton.Name = "startServiceButton";
            this.startServiceButton.Size = new System.Drawing.Size(180, 35);
            this.startServiceButton.TabIndex = 1;
            this.startServiceButton.Text = "Запустить службу";
            this.startServiceButton.UseVisualStyleBackColor = true;
            this.startServiceButton.Click += new System.EventHandler(this.startServiceButton_Click);
            // 
            // serviceStatePicture
            // 
            this.serviceStatePicture.Location = new System.Drawing.Point(190, 25);
            this.serviceStatePicture.Name = "serviceStatePicture";
            this.serviceStatePicture.Size = new System.Drawing.Size(24, 24);
            this.serviceStatePicture.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
            this.serviceStatePicture.TabIndex = 2;
            this.serviceStatePicture.TabStop = false;
            // 
            // installServiseButton
            // 
            this.installServiseButton.Location = new System.Drawing.Point(5, 20);
            this.installServiseButton.Margin = new System.Windows.Forms.Padding(5);
            this.installServiseButton.Name = "installServiseButton";
            this.installServiseButton.Size = new System.Drawing.Size(180, 35);
            this.installServiseButton.TabIndex = 0;
            this.installServiseButton.Text = "Установить службу";
            this.installServiseButton.UseVisualStyleBackColor = true;
            this.installServiseButton.Click += new System.EventHandler(this.installServiseButton_Click);
            // 
            // startButton
            // 
            this.startButton.Location = new System.Drawing.Point(10, 455);
            this.startButton.Name = "startButton";
            this.startButton.Size = new System.Drawing.Size(190, 30);
            this.startButton.TabIndex = 13;
            this.startButton.Text = "Запустить";
            this.startButton.UseVisualStyleBackColor = true;
            this.startButton.Click += new System.EventHandler(this.startButton_Click);
            // 
            // settingsGroupBox
            // 
            this.settingsGroupBox.Controls.Add(this.contentFolderGroupBox);
            this.settingsGroupBox.Controls.Add(this.loginSettingsControl);
            this.settingsGroupBox.Controls.Add(this.serverGroupBox);
            this.settingsGroupBox.Controls.Add(this.saveButton);
            this.settingsGroupBox.Location = new System.Drawing.Point(5, 100);
            this.settingsGroupBox.Name = "settingsGroupBox";
            this.settingsGroupBox.Size = new System.Drawing.Size(405, 285);
            this.settingsGroupBox.TabIndex = 16;
            this.settingsGroupBox.TabStop = false;
            this.settingsGroupBox.Text = "Настройки";
            // 
            // contentFolderGroupBox
            // 
            this.contentFolderGroupBox.Controls.Add(this.contentFolderTextBox);
            this.contentFolderGroupBox.Controls.Add(this.selectContentFolderButton);
            this.contentFolderGroupBox.Location = new System.Drawing.Point(205, 195);
            this.contentFolderGroupBox.Name = "contentFolderGroupBox";
            this.contentFolderGroupBox.Size = new System.Drawing.Size(195, 45);
            this.contentFolderGroupBox.TabIndex = 19;
            this.contentFolderGroupBox.TabStop = false;
            this.contentFolderGroupBox.Text = "Папка контента";
            // 
            // contentFolderTextBox
            // 
            this.contentFolderTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.portalServiceSettingsBindingSource, "ContentFolder", true));
            this.contentFolderTextBox.Location = new System.Drawing.Point(6, 18);
            this.contentFolderTextBox.Name = "contentFolderTextBox";
            this.contentFolderTextBox.ReadOnly = true;
            this.contentFolderTextBox.Size = new System.Drawing.Size(144, 20);
            this.contentFolderTextBox.TabIndex = 12;
            // 
            // selectContentFolderButton
            // 
            this.selectContentFolderButton.Location = new System.Drawing.Point(155, 15);
            this.selectContentFolderButton.Name = "selectContentFolderButton";
            this.selectContentFolderButton.Size = new System.Drawing.Size(35, 25);
            this.selectContentFolderButton.TabIndex = 13;
            this.selectContentFolderButton.Text = "...";
            this.selectContentFolderButton.Click += new System.EventHandler(this.selectContentFolderButton_Click);
            // 
            // loginSettingsControl
            // 
            this.loginSettingsControl.Location = new System.Drawing.Point(5, 20);
            this.loginSettingsControl.Name = "loginSettingsControl";
            loginSettings2.Endpoint = "net.tcp://queue:4505";
            loginSettings2.LockItem = false;
            loginSettings2.Password = "";
            loginSettings2.User = new System.Guid("00000000-0000-0000-0000-000000000000");
            this.loginSettingsControl.Settings = loginSettings2;
            this.loginSettingsControl.Size = new System.Drawing.Size(395, 170);
            this.loginSettingsControl.TabIndex = 0;
            // 
            // serverGroupBox
            // 
            this.serverGroupBox.Controls.Add(this.portLabel);
            this.serverGroupBox.Controls.Add(this.portUpDown);
            this.serverGroupBox.Location = new System.Drawing.Point(5, 195);
            this.serverGroupBox.Name = "serverGroupBox";
            this.serverGroupBox.Size = new System.Drawing.Size(180, 45);
            this.serverGroupBox.TabIndex = 3;
            this.serverGroupBox.TabStop = false;
            this.serverGroupBox.Text = "HTTP сервис";
            // 
            // portLabel
            // 
            this.portLabel.Location = new System.Drawing.Point(5, 15);
            this.portLabel.Name = "portLabel";
            this.portLabel.Size = new System.Drawing.Size(110, 25);
            this.portLabel.TabIndex = 1;
            this.portLabel.Text = "Порт";
            this.portLabel.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
            // 
            // portUpDown
            // 
            this.portUpDown.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.portalSettingsBindingSource, "Port", true));
            this.portUpDown.Location = new System.Drawing.Point(115, 20);
            this.portUpDown.Maximum = new decimal(new int[] {
            65536,
            0,
            0,
            0});
            this.portUpDown.Minimum = new decimal(new int[] {
            1,
            0,
            0,
            0});
            this.portUpDown.Name = "portUpDown";
            this.portUpDown.Size = new System.Drawing.Size(55, 20);
            this.portUpDown.TabIndex = 2;
            this.portUpDown.Value = new decimal(new int[] {
            9090,
            0,
            0,
            0});
            // 
            // portalSettingsBindingSource
            // 
            this.portalSettingsBindingSource.DataSource = typeof(Queue.Portal.PortalSettings);
            // 
            // saveButton
            // 
            this.saveButton.Location = new System.Drawing.Point(5, 245);
            this.saveButton.Name = "saveButton";
            this.saveButton.Size = new System.Drawing.Size(395, 35);
            this.saveButton.TabIndex = 10;
            this.saveButton.Text = "Сохранить";
            this.saveButton.UseVisualStyleBackColor = true;
            this.saveButton.Click += new System.EventHandler(this.saveButton_Click);
            // 
            // serviceStateTimer
            // 
            this.serviceStateTimer.Interval = 1000;
            this.serviceStateTimer.Tick += new System.EventHandler(this.serviceStateTimer_Tick);
            // 
            // logoPictureBox
            // 
            this.logoPictureBox.Image = ((System.Drawing.Image)(resources.GetObject("logoPictureBox.Image")));
            this.logoPictureBox.Location = new System.Drawing.Point(0, 0);
            this.logoPictureBox.Name = "logoPictureBox";
            this.logoPictureBox.Size = new System.Drawing.Size(415, 95);
            this.logoPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
            this.logoPictureBox.TabIndex = 18;
            this.logoPictureBox.TabStop = false;
            // 
            // portalServiceSettingsBindingSource
            // 
            this.portalServiceSettingsBindingSource.DataSource = typeof(Queue.Services.Portal.Settings.PortalServiceSettings);
            // 
            // MainForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(414, 492);
            this.Controls.Add(this.logoPictureBox);
            this.Controls.Add(this.settingsGroupBox);
            this.Controls.Add(this.serviceGroupBox);
            this.Controls.Add(this.startButton);
            this.Controls.Add(this.stopButton);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MinimumSize = new System.Drawing.Size(420, 530);
            this.Name = "MainForm";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Портал";
            this.Load += new System.EventHandler(this.MainForm_Load);
            this.serviceGroupBox.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.serviceStatePicture)).EndInit();
            this.settingsGroupBox.ResumeLayout(false);
            this.contentFolderGroupBox.ResumeLayout(false);
            this.contentFolderGroupBox.PerformLayout();
            this.serverGroupBox.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.portUpDown)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.portalSettingsBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.logoPictureBox)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.portalServiceSettingsBindingSource)).EndInit();
            this.ResumeLayout(false);

        }