private void btnTest_OnClick(object sender, RoutedEventArgs e)
        {
            var fileName = General.GetFileName("Select Excel File", "Excel Documents | *.xlsx; *.xlsm");
            var package  = match(fileName, Some: s => General.GetExcelPackage(s), None: () => null);

            JediMethods.PrintTables(package);
        }
        public void btnApplyModifications_OnClick(object sender, RoutedEventArgs e)
        {
            var modifications =
                (
                    AddSelfWeight : (bool)(AddSelfWeightCb.IsChecked),
                    SetChordsForInertia : (bool)(SetChordsForInertiaCb.IsChecked),
                    ApplyAdditionalTakeoffInfo : (bool)(ApplyAdditionalTakeoffInfoCb.IsChecked)
                );

            try
            {
                JediMethods.ApplyModifications(modifications);
            }
            catch (Exception ex)
            {
                MessageBox.Show("Error: " + ex.Message);
            }
        }