179 lines
6.2 KiB
C#
179 lines
6.2 KiB
C#
namespace LevelCode.License.Forms
|
|
{
|
|
partial class FrmLicencas
|
|
{
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
private System.Windows.Forms.Label lblCliente;
|
|
private System.Windows.Forms.TextBox txtCliente;
|
|
|
|
private System.Windows.Forms.Label lblTipo;
|
|
private System.Windows.Forms.ComboBox cmbTipoLicenca;
|
|
|
|
private System.Windows.Forms.Label lblLimite;
|
|
private System.Windows.Forms.TextBox txtLimiteMaquinas;
|
|
|
|
private System.Windows.Forms.Label lblExpira;
|
|
private System.Windows.Forms.DateTimePicker dtpExpiraEm;
|
|
private System.Windows.Forms.CheckBox chkSemExpiracao;
|
|
|
|
private System.Windows.Forms.Label lblModulos;
|
|
private System.Windows.Forms.CheckedListBox chkModulos;
|
|
|
|
private System.Windows.Forms.Button btnSalvar;
|
|
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
components.Dispose();
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
private void InitializeComponent()
|
|
{
|
|
this.lblCliente = new System.Windows.Forms.Label();
|
|
this.txtCliente = new System.Windows.Forms.TextBox();
|
|
|
|
this.lblTipo = new System.Windows.Forms.Label();
|
|
this.cmbTipoLicenca = new System.Windows.Forms.ComboBox();
|
|
|
|
this.lblLimite = new System.Windows.Forms.Label();
|
|
this.txtLimiteMaquinas = new System.Windows.Forms.TextBox();
|
|
|
|
this.lblExpira = new System.Windows.Forms.Label();
|
|
this.dtpExpiraEm = new System.Windows.Forms.DateTimePicker();
|
|
this.chkSemExpiracao = new System.Windows.Forms.CheckBox();
|
|
|
|
this.lblModulos = new System.Windows.Forms.Label();
|
|
this.chkModulos = new System.Windows.Forms.CheckedListBox();
|
|
|
|
this.btnSalvar = new System.Windows.Forms.Button();
|
|
|
|
this.SuspendLayout();
|
|
|
|
//
|
|
// lblCliente
|
|
//
|
|
this.lblCliente.AutoSize = true;
|
|
this.lblCliente.Location = new System.Drawing.Point(20, 20);
|
|
this.lblCliente.Text = "Cliente:";
|
|
|
|
//
|
|
// txtCliente
|
|
//
|
|
this.txtCliente.Location = new System.Drawing.Point(20, 40);
|
|
this.txtCliente.Size = new System.Drawing.Size(300, 20);
|
|
|
|
//
|
|
// lblTipo
|
|
//
|
|
this.lblTipo.AutoSize = true;
|
|
this.lblTipo.Location = new System.Drawing.Point(20, 75);
|
|
this.lblTipo.Text = "Tipo da Licença:";
|
|
|
|
//
|
|
// cmbTipoLicenca
|
|
//
|
|
this.cmbTipoLicenca.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cmbTipoLicenca.Location = new System.Drawing.Point(20, 95);
|
|
this.cmbTipoLicenca.Size = new System.Drawing.Size(200, 21);
|
|
|
|
//
|
|
// lblLimite
|
|
//
|
|
this.lblLimite.AutoSize = true;
|
|
this.lblLimite.Location = new System.Drawing.Point(20, 130);
|
|
this.lblLimite.Text = "Limite de Máquinas:";
|
|
|
|
//
|
|
// txtLimiteMaquinas
|
|
//
|
|
this.txtLimiteMaquinas.Location = new System.Drawing.Point(20, 150);
|
|
this.txtLimiteMaquinas.Size = new System.Drawing.Size(100, 20);
|
|
|
|
//
|
|
// lblExpira
|
|
//
|
|
this.lblExpira.AutoSize = true;
|
|
this.lblExpira.Location = new System.Drawing.Point(20, 185);
|
|
this.lblExpira.Text = "Data de Expiração:";
|
|
|
|
//
|
|
// dtpExpiraEm
|
|
//
|
|
this.dtpExpiraEm.Location = new System.Drawing.Point(20, 205);
|
|
this.dtpExpiraEm.Size = new System.Drawing.Size(200, 20);
|
|
|
|
//
|
|
// chkSemExpiracao
|
|
//
|
|
this.chkSemExpiracao.AutoSize = true;
|
|
this.chkSemExpiracao.Location = new System.Drawing.Point(230, 207);
|
|
this.chkSemExpiracao.Text = "Sem expiração";
|
|
this.chkSemExpiracao.CheckedChanged +=
|
|
new System.EventHandler(this.chkSemExpiracao_CheckedChanged);
|
|
|
|
//
|
|
// lblModulos
|
|
//
|
|
this.lblModulos.AutoSize = true;
|
|
this.lblModulos.Location = new System.Drawing.Point(20, 240);
|
|
this.lblModulos.Text = "Módulos liberados:";
|
|
|
|
//
|
|
// chkModulos
|
|
//
|
|
this.chkModulos.CheckOnClick = true;
|
|
this.chkModulos.Items.AddRange(new object[] {
|
|
"Vendas",
|
|
"Estoque",
|
|
"Financeiro",
|
|
"Relatorios",
|
|
"Usuarios",
|
|
"Todos"
|
|
});
|
|
this.chkModulos.Location = new System.Drawing.Point(20, 260);
|
|
this.chkModulos.Size = new System.Drawing.Size(200, 94);
|
|
|
|
//
|
|
// btnSalvar
|
|
//
|
|
this.btnSalvar.Location = new System.Drawing.Point(20, 370);
|
|
this.btnSalvar.Size = new System.Drawing.Size(140, 35);
|
|
this.btnSalvar.Text = "Salvar Licença";
|
|
this.btnSalvar.Click +=
|
|
new System.EventHandler(this.btnSalvar_Click);
|
|
|
|
//
|
|
// FrmLicencas
|
|
//
|
|
this.ClientSize = new System.Drawing.Size(360, 430);
|
|
this.Controls.Add(this.lblCliente);
|
|
this.Controls.Add(this.txtCliente);
|
|
|
|
this.Controls.Add(this.lblTipo);
|
|
this.Controls.Add(this.cmbTipoLicenca);
|
|
|
|
this.Controls.Add(this.lblLimite);
|
|
this.Controls.Add(this.txtLimiteMaquinas);
|
|
|
|
this.Controls.Add(this.lblExpira);
|
|
this.Controls.Add(this.dtpExpiraEm);
|
|
this.Controls.Add(this.chkSemExpiracao);
|
|
|
|
this.Controls.Add(this.lblModulos);
|
|
this.Controls.Add(this.chkModulos);
|
|
|
|
this.Controls.Add(this.btnSalvar);
|
|
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
this.MaximizeBox = false;
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "Cadastro de Licenças";
|
|
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
}
|
|
}
|
|
}
|