コード例 #1
0
        public Form1()
        {
            InitializeComponent();

            // hook the DockPanel's ActiveContentChanged event so we can update the Graph Navigator
            _dockPanel.ActiveContentChanged += new EventHandler(_dockPanel_ActiveContentChanged);

            // create the default tool windows
            _filtersForm    = new FiltersForm();
            _graphNavigator = new GraphNavigatorForm();
        }
コード例 #2
0
        public Form1()
        {
            InitializeComponent();

            // hook the DockPanel's ActiveContentChanged event so we can update the Graph Navigator
            _dockPanel.ActiveContentChanged += new EventHandler(_dockPanel_ActiveContentChanged);

            // create the default tool windows
            _filtersForm    = new FiltersForm();
            _graphNavigator = new GraphNavigatorForm();

            if (System.Runtime.InteropServices.Marshal.SizeOf(typeof(IntPtr)) == 8)
            {
                this.Text += " (64-bit)";
            }
            else
            {
                this.Text += " (32-bit)";
            }
        }