コード例 #1
0
        private void frmEF_Cadastro_de_Declarante_Novo_Load(object sender, EventArgs e)
        {
            try
            {           

                DefaultToolTipController tootip = new DefaultToolTipController();
                tootip.DefaultController.AutoPopDelay = 10000;

                Listas();

                modDeclaranteAux = rep.ListarDeclarante();

                if (modDeclaranteAux.CHAVE != 0)
                {
                    txtCnpj.Text = modDeclaranteAux.CNPJDECLARANTE;
                    txtGiin.Text = modDeclaranteAux.GIIN;
                    txtNome.Text = modDeclaranteAux.NOME;
                    txtEndereco.Text = modDeclaranteAux.ENDERECOLIVRE;
                    txtCodigoMunicipio.Text = modDeclaranteAux.MUNICIPIO;
                    cboUf.EditValue = modDeclaranteAux.UF;
                    cboPais.EditValue = modDeclaranteAux.PAIS;
                    cboPais.EditValue = modDeclaranteAux.PAISRESIDENCIA;
                }

                ListarCamposObrigatorios();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
コード例 #2
0
        private void frmEF_Movimento_Operacoes_Novo_Load(object sender, EventArgs e)
        {
            DefaultToolTipController tootip = new DefaultToolTipController();
            tootip.DefaultController.AutoPopDelay = 20000;

            Listar();

            txtTotalCrédito.Text = "0,00";
            txtTotalDebito.Text = "0,00";
            txtTotalCreditoTitular.Text = "0,00";
            txtTotalDebitoTitular.Text = "0,00";

            txtValorUltMes.Text = "0,00";
            txtTotalPagtoAcum.Text = "0,00";

            txtTotalVenda.Text = "0,00";
            txtTotalCompra.Text = "0,00";
            txtTotalTransf.Text = "0,00";
        }
コード例 #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="controller"></param>
 public static void InitTooltipController(this DefaultToolTipController controller)
 {
     InitDefaultFont();
     InitAppearance(controller.DefaultController.Appearance);
     InitAppearance(controller.DefaultController.AppearanceTitle);
 }
コード例 #4
0
ファイル: FrmBase.cs プロジェクト: micheljung/gpgnetfix
 private void InitializeComponent()
 {
     this.components = new Container();
     ComponentResourceManager manager = new ComponentResourceManager(typeof(FrmBase));
     this.ttDefault = new DefaultToolTipController(this.components);
     base.SuspendLayout();
     this.ttDefault.DefaultController.AutoPopDelay = 0x3e8;
     this.ttDefault.DefaultController.ToolTipLocation = ToolTipLocation.RightTop;
     base.AutoScaleMode = AutoScaleMode.None;
     base.ClientSize = new Size(0x124, 0x10a);
     base.Icon = (Icon) manager.GetObject("$this.Icon");
     base.Name = "FrmBase";
     base.Opacity = 1.0;
     this.ttDefault.SetSuperTip(this, null);
     this.Text = "FrmBase";
     base.ResumeLayout(false);
 }