Example #1
0
        public void initialize_Form()
        {
            List <string> styles = Align_Style.getAlignStyles();

            foreach (string style in styles)
            {
                cbxAlignStyle.Items.Add(style);
            }

            styles = Align_Style.getAlignmentLabelSetStyles();
            foreach (string style in styles)
            {
                cbxAlignLabelSetStyles.Items.Add(style);
            }

            styles = Prof_Style.getProfileStyles();
            foreach (string style in styles)
            {
                cbxProfileStyleDE.Items.Add(style);
                cbxProfileStyleEX.Items.Add(style);
            }

            styles = Prof_Style.getProfileViewStyles();
            foreach (string style in styles)
            {
                cbxProfileViewStyle.Items.Add(style);
            }

            styles = Prof_Style.getProfileLabelSetStyles();
            foreach (string style in styles)
            {
                cbxProfileLabelSetDE.Items.Add(style);
                cbxProfileLabelSetEX.Items.Add(style);
                if (style.ToUpper() == "NONE" || style.ToUpper() == "_NO LABEL")
                {
                    cbxProfileLabelSetDE.SelectedItem = style;
                    cbxProfileLabelSetEX.SelectedItem = style;
                }
            }

            cbxLineLat.SelectedIndex = 0;

            optSD.Checked = true;
            cmd           = "cmdSD";
            tbxType.Text  = "SD";

            Height = 620;
        }