コード例 #1
0
ファイル: Panel_HelpIndexer.cs プロジェクト: bencz/OrangeC
        public Panel_HelpIndexer()
        {
            InitializeComponent();
            self = this;

            Assembly thisAssembly = System.Reflection.Assembly.GetExecutingAssembly();
            _helpIndexerPath = Path.Combine(Path.GetDirectoryName(thisAssembly.Location), "HelpIndexer\\helpIndexer.exe");

            new SuperTip(RunBtnTip, "HelpIndexer.exe",
                "HelpIndexer.exe currently ships with Windows 8 ADK (Assessment and Deployment Kit),",
                "You can download Win 8 ADK from MSDN Subscription Downloads. This page expects",
                "HelpIndexer.exe to be in the following location: ",
                _helpIndexerPath);

            //Persistence: Load settings
            using (UserData userData = new UserData(Globals.DataRegKey))
            {
                InputFilename = userData.ReadStr("Mshx.InputFilename", "");
                OutputDir = userData.ReadStr("Mshx.OutputDir", "");
                OutputName = userData.ReadStr("Mshx.OutputName", "");
                VendorName = userData.ReadStr("Mshx.VendorName", "");
                CombineMode = userData.ReadBool("Mshx.CombineMode", true);
            }
            EnableDisable();
            UpdateCommandLine();
        }
コード例 #2
0
        public Panel_HelpIndexer()
        {
            InitializeComponent();
            self = this;

            Assembly thisAssembly = System.Reflection.Assembly.GetExecutingAssembly();

            _helpIndexerPath = Path.Combine(Path.GetDirectoryName(thisAssembly.Location), "HelpIndexer\\helpIndexer.exe");

            new SuperTip(RunBtnTip, "HelpIndexer.exe",
                         "HelpIndexer.exe currently ships with Windows 8 ADK (Assessment and Deployment Kit),",
                         "You can download Win 8 ADK from MSDN Subscription Downloads. This page expects",
                         "HelpIndexer.exe to be in the following location: ",
                         _helpIndexerPath);

            //Persistence: Load settings
            using (UserData userData = new UserData(Globals.DataRegKey))
            {
                InputFilename = userData.ReadStr("Mshx.InputFilename", "");
                OutputDir     = userData.ReadStr("Mshx.OutputDir", "");
                OutputName    = userData.ReadStr("Mshx.OutputName", "");
                VendorName    = userData.ReadStr("Mshx.VendorName", "");
                CombineMode   = userData.ReadBool("Mshx.CombineMode", true);
            }
            EnableDisable();
            UpdateCommandLine();
        }
コード例 #3
0
        public Form_RunHelpIndexer()
        {
            InitializeComponent();

            //fill the window with Help Indexer Panel
            helpIndexer        = Panel_HelpIndexer.Create();
            helpIndexer.Parent = this;
            helpIndexer.Dock   = DockStyle.Fill;
            helpIndexer.BringToFront();
        }
コード例 #4
0
ファイル: Form_RunHelpIndexer.cs プロジェクト: bencz/OrangeC
        public Form_RunHelpIndexer()
        {
            InitializeComponent();

            //fill the window with Help Indexer Panel
            helpIndexer = Panel_HelpIndexer.Create();
            helpIndexer.Parent = this;
            helpIndexer.Dock = DockStyle.Fill;
            helpIndexer.BringToFront();
        }
コード例 #5
0
ファイル: Page_CreateMSHX.cs プロジェクト: bencz/OrangeC
        public Page_CreateMSHX()
        {
            InitializeComponent();
            self = this;

            //fill the window with Help Indexer Panel
            helpIndexer = Panel_HelpIndexer.Create();
            helpIndexer.Parent = this.dockPanel;
            helpIndexer.Dock = DockStyle.Fill;
            helpIndexer.BringToFront();
        }
コード例 #6
0
        public Page_CreateMSHX()
        {
            InitializeComponent();
            self = this;

            //fill the window with Help Indexer Panel
            helpIndexer        = Panel_HelpIndexer.Create();
            helpIndexer.Parent = this.dockPanel;
            helpIndexer.Dock   = DockStyle.Fill;
            helpIndexer.BringToFront();
        }
コード例 #7
0
ファイル: Panel_HelpIndexer.cs プロジェクト: bencz/OrangeC
 internal static Panel_HelpIndexer Create()
 {
     self = new Panel_HelpIndexer();
     return self;
 }
コード例 #8
0
 internal static Panel_HelpIndexer Create()
 {
     self = new Panel_HelpIndexer();
     return(self);
 }