//�ΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡι��캯��
        public ClassCompiler(string name)
            : base(name, 600, 360)
        {
            m_obOptionsBar.Parent = this;
            m_obWarningsMode.Enabled = false;
            LineLayout layout = new LineLayout(this);
            layout.initTool(m_obAppTargetTool, m_obAppTargetText, m_obAppTargetButton, m_stAppTargetPath);
            layout.initTool(m_obWebosTargetTool, m_obWebosTargetText, m_obWebosTargetButton, m_stWebosTargetPath);
            layout.initTool(m_obTargetTool, m_obClassInfoText, m_obTargetButton, m_stClassInfoPath);
            //�ΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡ�
            m_obOptionsBar.AddItem(m_obStrictState, false);
            m_obOptionsBar.AddItem(m_obIncludeMode, false);
            m_obOptionsBar.AddItem(m_obWarningsMode, false);
            m_obOptionsBar.Items.Add(m_obCompilerInfoMode);
            m_obMainBar.Parent = this;
            m_obMainBar.Dock = DockStyle.Top;
            m_obOptionsBar.Dock = DockStyle.Top;
            m_obMainBar.AddItem(m_obLinkSingleButton, false);
            m_obMainBar.Items.Add(m_obWebosOpenButton);

            m_obOpenBar.Parent = this;
            m_obOpenBar.Dock = DockStyle.Top;
            m_obOpenBar.AddItem(m_obWebosLinkButton, false);
            m_obOpenBar.AddItem(m_obLinkbutton, false);
            m_obOpenBar.AddItem(new ToolStripSeparator(), false);
            m_obOpenBar.AddItem(m_obCompilerButton, false);
            m_obOpenBar.Items.Add(m_obClassOpenButton);
            m_obOpenBar.Items.Add(m_obFreshButton);
            m_obOpenBar.Items.Add(m_obAppOpenButton);
            //�ΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡ�
            layout.initTool(m_obClassTool, m_obClassText, m_obClassButton, m_stClassPath);
            layout.initTool(m_obAppTool, m_obAppText, m_obAppButton, m_stAppPath);
            layout.initTool(m_obWebosTool, m_obWebosText, m_obWebosButton, m_stWebosPath);
            m_obPanel.Parent = this;
            m_obPanel.Dock = DockStyle.Left;
            m_obPanel.target = m_obClassText.Text;

            string[] pathList = new string[] { m_stClassPath, m_stWindowsSharedPath, m_stWindowsBasePath };
            string[] fileList = new string[] { m_stSkinsConfigPath };
            m_obFinder.freshList(pathList, fileList);
            string[] infoPathList = new string[] { m_stClassInfoPath, m_stWebosInfoPath, m_stAppInfoPath, m_stWindowsInfoPath };
            m_obInfoFinder.freshList(infoPathList, null);
            m_obFreshButton.Click += new EventHandler(m_obFreshButton_Click);
            m_obCompilerButton.DoubleClickEnabled = true;
            m_obCompilerButton.DoubleClick += new EventHandler(m_obCompilerButton_DoubleClick);
            m_obLinkbutton.Click += new EventHandler(m_obLinkbutton_Click);
            m_obAppOpenButton.Click += new EventHandler(m_obAppOpenButton_Click);
            m_obClassOpenButton.Click += new EventHandler(m_obClassOpenButton_Click);
            m_obWebosOpenButton.Click += new EventHandler(m_obWebosOpenButton_Click);
            m_obWebosLinkButton.Click += new EventHandler(m_obWebosLinkButton_Click);
            m_obLinkSingleButton.Click += new EventHandler(m_obLinkSingleButton_Click);
        }
Beispiel #2
0
        //�ΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡι��캯��
        public SkinLinker(string name)
            : base(name, 600, 300)
        {
            LineLayout layout = new LineLayout(this);
            layout.initTool(m_obResourceTool, m_obResourceText, m_obResourceButton, m_stResourcePath);
            layout.initTool(m_obTargetTool, m_obTargetText, m_obTargetButton, m_stTargetPath);

            m_obMainBar.Parent = this;
            m_obMainBar.Dock = DockStyle.Top;
            m_obMainBar.AddItem(m_obLinkSingleButton, false);
            m_obMainBar.Items.Add(m_obOpenClassButton);
            //�ΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡ�
            string[] arrPath = new string[] { m_stClassBasePath, m_stClassSkinsPath, m_stResourcePath };
            string[] arrName = new string[] { m_stClassPath };
            m_obFinder.freshList(arrPath, arrName);
            //
            m_obOpenBar.Parent = this;
            m_obOpenBar.Dock = DockStyle.Top;
            m_obOpenBar.AddItem(m_obLinkButton, false);
            m_obOpenBar.AddItem(m_obOpenBaseButton, false);
            m_obOpenBar.AddItem(new ToolStripSeparator(), false);
            m_obOpenBar.AddItem(m_obCompilerButton, false);
            m_obOpenBar.Items.Add(m_obBaseLinkButton);
            m_obOpenBar.Items.Add(m_obOpenInfoButton);
            m_obOpenBar.Items.Add(m_obFreshButton);

            layout.initTool(m_obClassSkinsTool, m_obClassSkinsText, m_obClassSkinsButton, m_stClassSkinsPath);
            layout.initTool(m_obClassBaseTool, m_obClassBaseText, m_obClassBaseButton, m_stClassBasePath);
            layout.initTool(m_obClassTool, m_obClassText, m_obClassButton, m_stClassPath);

            m_obCompilerButton.DoubleClickEnabled = true;
            m_obCompilerButton.DoubleClick += new EventHandler(m_obCompilerButton_DoubleClick);
            m_obFreshButton.Click += new EventHandler(m_obFreshButton_Click);
            m_obOpenBaseButton.Click += new EventHandler(m_obOpenBaseButton_Click);
            m_obOpenClassButton.Click += new EventHandler(m_obOpenClassButton_Click);
            m_obOpenInfoButton.Click += new EventHandler(m_obOpenInfoButton_Click);
            m_obLinkSingleButton.Click += new EventHandler(m_obLinkSingleButton_Click);
            m_obBaseLinkButton.Click += new EventHandler(m_obBaseLinkButton_Click);
        }
Beispiel #3
0
        //�ΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡι��캯��
        public SkinMaker(string name)
            : base(name, 600, 300)
        {
            m_obMainBar.Parent = this;
            m_obMainBar.Dock = DockStyle.Top;
            m_obMainBar.AddItem(m_obTargetBrowseButton, false);
            m_obMainBar.AddItem(new ToolStripSeparator(), false);
            m_obMainBar.AddItem(m_obMakeButton, false);
            m_obMainBar.AddItem(m_obOpenButton, false);
            m_obMainBar.Items.Add(m_obLinkButton);

            LineLayout layout = new LineLayout(this);
            layout.initTool(m_obTargetTool, m_obTargetText, m_obTargetButton, m_stTargetPath);
            layout.initTool(m_obNumbersTool, m_obNumbersText, m_obNumbersButton, m_stNumbersPath);
            layout.initTool(m_obTemplateTool, m_obTemplateText, m_obTemplateButton, m_obTemplatePath);

            m_obMakeButton.Click += new EventHandler(m_obMakeButton_Click);
            m_obOpenButton.Click += new EventHandler(m_obOpenButton_Click);
            m_obLinkButton.DoubleClickEnabled = true;
            m_obLinkButton.DoubleClick += new EventHandler(m_obLinkButton_DoubleClick);
            //�ΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡΡ�
            m_obTargetBrowseButton.target = m_obTargetText.Text;
        }