Beispiel #1
0
 public MainForm()
 {
     conv = new Converter();
     Hashtable fontTeXTable = getFonts();
     if (fontTeXTable.Count != 0)
     {
         conv.fontTeXTable = fontTeXTable;
     }
     compileWithPdflatex = false;
     nameChange += new fileNameChangeHandler(displayChange); // Used to change the sbml file loaded
     compileWithPdfLaTeXChange += new compileToPdfChangeHandler(enableShowPDFCheckBox);
     //Complete mainform initialization
     InitializeComponent();
     InitializeMyComponents(); // sets default values to UserAppDataRegistry values
     setToolTips();
 }
Beispiel #2
0
        private event compileToPdfChangeHandler compileWithPdfLaTeXChange; //event when compileWithPdfLaTeXCheckBox has checkbox changed

        public MainForm()
        {
            conv = new Converter();
            Hashtable fontTeXTable = getFonts();

            if (fontTeXTable.Count != 0)
            {
                conv.fontTeXTable = fontTeXTable;
            }
            compileWithPdflatex        = false;
            nameChange                += new fileNameChangeHandler(displayChange); // Used to change the sbml file loaded
            compileWithPdfLaTeXChange += new compileToPdfChangeHandler(enableShowPDFCheckBox);
            //Complete mainform initialization
            InitializeComponent();
            InitializeMyComponents(); // sets default values to UserAppDataRegistry values
            setToolTips();
        }