Exemplo n.º 1
0
        private void uxBuild_Click(object sender, EventArgs e)
        {
            if (!CanBuild())
            {
                return;
            }

            SheetBuilder builder = new SheetBuilder((int)uxHPadding.Value, (int)uxVPadding.Value);
            builder.BuildSheet(uxFolderName.Text, uxOutputName.Text, uxCropTransparency.Checked, uxRoundUpPower2.Checked);
        }
Exemplo n.º 2
0
 public void ConstructorSinglePadding()
 {
     int expected = 25;
     SheetBuilder builder = new SheetBuilder(expected);
     Assert.IsNotNull(builder);
     int horizontalActual = builder.HorizontalPadding;
     Assert.AreEqual(expected, horizontalActual);
     int verticalActual = builder.VerticalPadding;
     Assert.AreEqual(expected, verticalActual);
 }
Exemplo n.º 3
0
        private void uxBuild_Click(object sender, EventArgs e)
        {
            if (!CanBuild())
            {
                return;
            }

            SheetBuilder builder = new SheetBuilder((int)uxHPadding.Value, (int)uxVPadding.Value);

            builder.BuildSheet(uxFolderName.Text, uxOutputName.Text, uxCropTransparency.Checked, uxRoundUpPower2.Checked);
        }