Exemple #1
0
        private void FileColumns_Load(object sender, EventArgs e)
        {
            Form1 form1 = new Form1();

            ShowColumn showColumn = new ShowColumn();

            showColumn.ShowColumnName(Form1.fileName, listBoxColumn);
        }
Exemple #2
0
        private void ShowColumnCategory_Load(object sender, EventArgs e)
        {
            try
            {
                Form1 form1 = new Form1();
                groupParameter.Text = "Parameter of category " + Form1.selectedCategory;

                ShowColumn showColumn = new ShowColumn();
                showColumn.ShowColumnName(Form1.fileName, listBoxColumn);


                ShowCategoryParameters showCategory = new ShowCategoryParameters();
                showCategory.ShowCategoryName(document, listBoxCategory);
            }
            catch
            {
                TaskDialog.Show("Warning!", "Selected category doesn't exist in this document!");
                this.Close();
            }
        }