public cCosaNePensi() { InitializeComponent(); AutoFocus = eOggetto; LatoDaDisegnare = new sLatoBordo() { Setted = true }; }
private void inita() { lVer.Text = "v. " + Application.ProductVersion; lCopyRight.Text = cGB.CopyrightHolder; LatoDaDisegnare = new sLatoBordo() { Setted = true }; richTextBox1.LoadFile("Licenza.rtf"); }
private void inita() { lVer.Text = "v. " + Application.ProductVersion; lCopyRight.Text = cGB.CopyrightHolder; LatoDaDisegnare = new sLatoBordo { Setted = true }; var ep = Application.ExecutablePath; ep = Path.GetDirectoryName(ep); ep = Path.Combine(ep, "Licenza.rtf"); richTextBox1.LoadFile(ep); }
public cRicerca(string AutoSetCassa_) { InitializeComponent(); if (!DesignTime) { LatoDaDisegnare = new sLatoBordo { Setted = true }; AutoSetCassa = AutoSetCassa_; AcceptButton = bCerca; AutoFocus = eDataDa; var m = new cMovimenti(); eDescrizione.AutoCompleteCustomSource = m.TutteLeDescrizioni(); eMacroArea.AutoCompleteCustomSource = m.TutteLeMacroAree(); eDataDa.Value = new DateTime(2005, 1, 1); eDataA.Value = cGB.DateTo235959(DateTime.Now.AddYears(1)); Carica(); } }