예제 #1
0
        private void btnRandom_Click(object sender, EventArgs e)
        {
            var newInfo = randomFileInfo.getRandomFileInfo();

            txtTitle.Text             = newInfo.Title;
            txtDescription.Text       = newInfo.Description;
            txtProduct.Text           = newInfo.Product;
            txtCompany.Text           = newInfo.Company;
            txtCopyright.Text         = newInfo.Copyright;
            txtTrademark.Text         = newInfo.Trademark;
            assemblyMajorVersion.Text = newInfo.MajorVersion;
            assemblyMinorVersion.Text = newInfo.MinorVersion;
            assemblyBuildPart.Text    = newInfo.BuildPart;
            assemblyPrivatePart.Text  = newInfo.PrivatePart;
        }
예제 #2
0
        //random
        private void BtnFillenameRandom_Click(object sender, EventArgs e)
        {
            var newInfo = randomFileInfo.getRandomFileInfo();

            txtFilename.Text = newInfo.Title.Replace(".exe", null);
        }