示例#1
0
        public ViewerForm(string argument)
        {
            InitializeComponent();

            _xmlHandler = new XmlHandler();
            //Set the 'Open File' Directory to the Samples folder
            openFileDialog.InitialDirectory = Settings.Default.PathSamples;
            _loadFile(argument);
        }
示例#2
0
        public ViewerForm()
        {
            InitializeComponent();

            _xmlHandler = new XmlHandler();
            //Set the 'Open File' Directory to the Samples folder
            openFileDialog.InitialDirectory = Settings.Default.PathSamples;

            statusMain.Text = "Ready";
        }