Exemplo n.º 1
0
Arquivo: Form1.cs Projeto: koonath/mwp
 private void HideMergeItems()
 {
     InstructionsLabel1.Hide();
     InstructionsLabel2.Hide();
     FileNameBox.Hide();
     PathsListBox.Hide();
     DestinationFilePathTextBox.Hide();
     RemoveButton.Hide();
     RemoveAllButton.Hide();
     GoButton.Hide();
     HidePathsButton.Hide();
 }
Exemplo n.º 2
0
        void ReleaseDesignerOutlets()
        {
            if (AddAllButton != null)
            {
                AddAllButton.Dispose();
                AddAllButton = null;
            }

            if (AddButton != null)
            {
                AddButton.Dispose();
                AddButton = null;
            }

            if (ApplyButton != null)
            {
                ApplyButton.Dispose();
                ApplyButton = null;
            }

            if (CancelButton != null)
            {
                CancelButton.Dispose();
                CancelButton = null;
            }

            if (RemoveAllButton != null)
            {
                RemoveAllButton.Dispose();
                RemoveAllButton = null;
            }

            if (RemoveButton != null)
            {
                RemoveButton.Dispose();
                RemoveButton = null;
            }

            if (NewAttributesList != null)
            {
                NewAttributesList.Dispose();
                NewAttributesList = null;
            }

            if (ExistingAttributesList != null)
            {
                ExistingAttributesList.Dispose();
                ExistingAttributesList = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (RemoveButton != null)
            {
                RemoveButton.Dispose();
                RemoveButton = null;
            }

            if (AddButton != null)
            {
                AddButton.Dispose();
                AddButton = null;
            }

            if (RemoveAllButton != null)
            {
                RemoveAllButton.Dispose();
                RemoveAllButton = null;
            }

            if (AllReturnAttrCheckBox != null)
            {
                AllReturnAttrCheckBox.Dispose();
                AllReturnAttrCheckBox = null;
            }

            if (AttributeToExportComboBox != null)
            {
                AttributeToExportComboBox.Dispose();
                AttributeToExportComboBox = null;
            }

            if (AttributeToExportTableView != null)
            {
                AttributeToExportTableView.Dispose();
                AttributeToExportTableView = null;
            }

            if (FormatComboBox != null)
            {
                FormatComboBox.Dispose();
                FormatComboBox = null;
            }

            if (ScopeComboBox != null)
            {
                ScopeComboBox.Dispose();
                ScopeComboBox = null;
            }
        }
Exemplo n.º 4
0
Arquivo: Form1.cs Projeto: koonath/mwp
 private void ShowExplodeItems()
 {
     InstructionsLabel1.Show();
     InstructionsLabel1.Text = "Drag and drop PDF files to explode, into the box below:";
     //InstructionsLabel2.Show();
     //InstructionsLabel2.Text = "Full file path for exploded pages";
     FileNameBox.Show();
     PathsListBox.Show();
     //DestinationFilePathTextBox.Show();
     //DestinationFilePathTextBox.Text = destinationFilePath;
     RemoveButton.Show();
     RemoveAllButton.Show();
     GoButton.Show();
     GoButton.Text = "Kaboom!";
     HidePathsButton.Show();
     HidePathsButton.Text = "Hide Paths";
 }
Exemplo n.º 5
0
Arquivo: Form1.cs Projeto: koonath/mwp
 private void ShowMergeItems()
 {
     InstructionsLabel1.Show();
     InstructionsLabel1.Text = "Drag and drop PDF files to merge, into the box below:";
     InstructionsLabel2.Show();
     InstructionsLabel2.Text = "Full file path for merged file:";
     FileNameBox.Show();
     PathsListBox.Show();
     DestinationFilePathTextBox.Show();
     DestinationFilePathTextBox.Text = destinationFilePath;
     RemoveButton.Show();
     RemoveAllButton.Show();
     GoButton.Show();
     GoButton.Text = "Merge";
     HidePathsButton.Show();
     HidePathsButton.Text = "Hide Paths";
 }
Exemplo n.º 6
0
Arquivo: Form1.cs Projeto: koonath/mwp
 private void ShowStampItems()
 {
     InstructionsLabel1.Show();
     InstructionsLabel1.Text = "Drag and drop PDF files that need stamping, into the box below:";
     InstructionsLabel2.Show();
     InstructionsLabel2.Text = "Drag and drop image/PDF into the box:";
     FileNameBox.Show();
     PathsListBox.Show();
     StampFileBox.Show();
     RemoveButton.Show();
     RemoveAllButton.Show();
     RemoveImageButton.Show();
     GoButton.Show();
     GoButton.Text = "Stamp";
     HidePathsButton.Show();
     HidePathsButton.Text = "Hide Paths";
     StampAllButton.Show();
     StampAllButton.Checked = true;
     StampLastPageButton.Show();
 }