• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# Help类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中Help的典型用法代码示例。如果您正苦于以下问题:C# Help类的具体用法?C# Help怎么用?C# Help使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



Help类属于命名空间,在下文中一共展示了Help类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: ekle

        public ekle(string firma, string firmad, int i, string firmakod, string urunkod="",string kategorikod = "",string turkod="")
        {
            InitializeComponent();

            fkod = firmakod;
            ukod = urunkod;
            kkod = kategorikod;
            tkod = turkod;

            DB = new Database();
            HP = new Help();

            panel1.Controls.Clear();
            if (i == 1)
            {
                groupBox1.Dock = DockStyle.Fill;
                panel1.Controls.Add(groupBox1);
            }
            else if (i == 2)
            {
                groupBox2.Dock = DockStyle.Fill;
                panel1.Controls.Add(groupBox2);
            }
            else
            {
                groupBox3.Dock = DockStyle.Fill;
                panel1.Controls.Add(groupBox3);
            }
        }
开发者ID:semihozkoroglu,项目名称:bedix,代码行数:29,代码来源:ekle.cs


示例2: ExecuteAction

        public static void ExecuteAction(string actionName, IList<string> parameters)
        {
            IAction actionInstance;
            if (ActionExists(actionName))
            {
                actionInstance = GetActionInstance(actionName);
            }
            else
            {
                actionInstance = new Help();
                parameters.Clear();
            }

            if (parameters.Count != actionInstance.ParametersCount)
            {
                // -1 signifie un nombre illimité d'arguments (mais pas 0)
                if (actionInstance.ParametersCount != -1)
                {
                    string puralIfNeeded = actionInstance.ParametersCount != 1 ? "s" : "";
                    Console.WriteLine(
                        "This action require {0} parameter{1}.",
                        actionInstance.ParametersCount,
                        puralIfNeeded);
                    return;
                }
            }

            actionInstance.Execute(parameters);
        }
开发者ID:vbfox,项目名称:win32iam,代码行数:29,代码来源:ActionManager.cs


示例3: aboutSudokuToolStripMenuItem_Click

 private void aboutSudokuToolStripMenuItem_Click(object sender, 
     EventArgs e)
 {
     Form help = new Help(2);
     help.ShowDialog(this);
     help = null;
 }
开发者ID:bjeanes,项目名称:uni,代码行数:7,代码来源:Sudoku.cs


示例4: help_Click

 private void help_Click(object sender, EventArgs e)
 {
     this.Hide();
     Help help = new Help(this);
     help.SetDesktopLocation(this.DesktopLocation.X, this.DesktopLocation.Y);
     help.Show();
 }
开发者ID:cbzfy6188,项目名称:MyEnglish,代码行数:7,代码来源:Main.cs


示例5: ShowHelp

        /// <summary>
        /// Show the help form for a given page
        /// </summary>
        /// <param name="page"></param>
        public static void ShowHelp(Help.HelpPage page)
        {
            // Check if the help form exists, otherwise create a new one
            if (help == null || !help.Visible) help = new Help();

            // Set the form to show the right tab, then show it in the front
            help.ShowPage(page);
        }
开发者ID:DouglasHeriot,项目名称:Uno,代码行数:12,代码来源:Program.cs


示例6: ShowHelp

 public void ShowHelp(Help h, string url)
 {
     this.Show();
     if (string.IsNullOrEmpty(url))
         h.Navigate();
     else
         h.Navigate(url);
 }
开发者ID:svn2github,项目名称:autowikibrowser,代码行数:8,代码来源:Help.cs


示例7: MethodEditor

        /// <summary>
        /// Instantiates a new instance of the <see cref="MethodEditor"/> class
        /// </summary>
        /// <param name="parentManager"></param>
        /// <param name="specialCharacters"></param>
        /// <param name="help"></param>
        public MethodEditor(MacroManager parentManager, SpecialCharacters specialCharacters, Help help)
        {
            InitializeComponent();

            this._macroManager = parentManager;
            this._specialCharacters = specialCharacters;
            this._help = help;
            this._methodRegister = new MacroMethodRegister();
        }
开发者ID:zmsl,项目名称:Ennerbot,代码行数:15,代码来源:MethodEditor.cs


示例8: button4_Click

 private void button4_Click(object sender, EventArgs e)
 {
     if (helpForm == null || !helpForm.Visible)
     {
         helpForm = new Help();
         helpForm.Show();
         helpForm.BringToFront();
     }
 }
开发者ID:ngaspar,项目名称:Triablo,代码行数:9,代码来源:Menu.cs


示例9: ShouldLoadHelpAndPrintToTextWriter

        public void ShouldLoadHelpAndPrintToTextWriter()
        {
            var output = new StringWriter();
            var printer = new Help(output);

            printer.PrintHelp();

            Assert.That(output.ToString().Contains("confgen"));
        }
开发者ID:refractalize,项目名称:confgen,代码行数:9,代码来源:HelpTest.cs


示例10: ShowHelp

 public static void ShowHelp(Help h, string url)
 {
     if (h == null || h.IsDisposed)
         h = new Help();
     h.Show();
     if (string.IsNullOrEmpty(url))
         h.Navigate();
     else
         h.Navigate(url);
 }
开发者ID:svn2github,项目名称:autowikibrowser,代码行数:10,代码来源:Help.cs


示例11: Satis

        public Satis()
        {
            DB = new Database();
            HP = new Help();
            depoSatir = new DataTable();

            InitializeComponent();

            datatable();
        }
开发者ID:semihozkoroglu,项目名称:bedix,代码行数:10,代码来源:Satis.cs


示例12: ShouldReturnTrueForHelpArguments

        public void ShouldReturnTrueForHelpArguments()
        {
            var printer = new Help(null);
            AssertIsHelpArgument(printer, "/?");
            AssertIsHelpArgument(printer, "/help");
            AssertIsHelpArgument(printer, "/help", "another");
            AssertIsHelpArgument(printer, "/?", "another");

            AssertIsNotHelpArgument(printer, "/nothelp");
            AssertIsNotHelpArgument(printer, "somefile.xml.master");
            AssertIsNotHelpArgument(printer, "somefile.xml");
        }
开发者ID:refractalize,项目名称:confgen,代码行数:12,代码来源:HelpTest.cs


示例13: helpToolStripMenuItem_Click

        private void helpToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Help_Details helpDetails = new Help_Details();
            helpDetails.MdiParent = this;
            helpDetails.Show();

            Help help = new Help();
            help.MdiParent = this;
            help.Show();

            LayoutMdi(MdiLayout.TileVertical);
        }
开发者ID:endamccormack,项目名称:draughts-checkers-game,代码行数:12,代码来源:StartForm.cs


示例14: MainClass

 public MainClass()
 {
     InitializeComponent();
     FunctionManager.Setup();
     PrefsManager.Load();
     lm = new LabelManager(this, PrefsManager.ResultHeight);
     lm.Sc = LMSelectionChanged;
     ResizeInputField();
     prefs = new Prefs();
     prefs.Hide();
     hlp = new Help();
     hlp.Hide();
     vchk = new VersionCheck();
 }
开发者ID:henderea,项目名称:PopupMultibox,代码行数:14,代码来源:MainClass.cs


示例15: Sil

        public Sil(int i, string firmakod, string urunkod, string kategorikod, string turkod)
        {
            InitializeComponent();

            this.fkod = firmakod;
            this.ukod = urunkod;
            this.kkod = kategorikod;
            this.tkod = turkod;

            table = i;

            DB = new Database();
            HP = new Help();
        }
开发者ID:semihozkoroglu,项目名称:bedix,代码行数:14,代码来源:Sil.cs


示例16: Anasayfa

        public Anasayfa(int a, string n)
        {
            InitializeComponent();

            this.Admin = a;
            this.name = n;

            if (Admin == 0)
            {
                button6.Visible = false;
                button7.Visible = false;
            }
            HP = new Help();
            //HP.addPanel(ref panel1);
        }
开发者ID:semihozkoroglu,项目名称:bedix,代码行数:15,代码来源:Anasayfa.cs


示例17: MacroManager

        /// <summary>
        /// Instantiates a new instance of the <see cref="MacroManager"/> class
        /// </summary>
        /// <param name="buddyEnabled">
        /// Specifies whether macros allow RebornBuddy functionality. Passing true
        /// when Ennerbot is not being run under the context of a RebornBuddy plugin
        /// will cause the program to throw
        /// </param>
        /// <param name="testMode">
        /// Test mode will use a different set of execution logic that will not actually
        /// send messages to the FFXIV client
        /// </param>
        public MacroManager(bool buddyEnabled, bool testMode)
        {
            this.InitializeComponent();

            this._buddyEnabled = buddyEnabled;
            this._testMode = testMode;

            this._currentFile = null;
            this._windowFactory = new ArrWindowFactory(new WindowFactory());
            this._help = new Help();
            this._specialCharacters = new SpecialCharacters();
            this._methodEditor = new MethodEditor(this, this._specialCharacters, this._help);
            this._windowPicker = new WindowPicker();
            this._windowPicker.OnWindowSelected += title => this.UpdateClient((new WindowFactory()).HookWindowByCaption(title));

            this.saveFileDialog.InitialDirectory = Application.StartupPath;
        }
开发者ID:zmsl,项目名称:Ennerbot,代码行数:29,代码来源:MacroManager.cs


示例18: Game

        public Game()
        {
            try
            {
                FileStream inFile = new FileStream("Setting.txt", FileMode.Open);
                StreamReader sr = new StreamReader(inFile);
                string st = sr.ReadLine();
                map= new Map(this, st[0] - '0', st[1] - '0');

                st = sr.ReadLine();
                cntPlayer = st.Length;
                player = new Player[cntPlayer];
                for (int i = 0; i < cntPlayer; ++i)
                    player[i] = new Player(i, "", st[i].ToString(), map.MapX / 2, map.MapY / 2);
            }
            catch
            {
                map = new Map(this);
                cntPlayer = 4;
                player = new Player[cntPlayer];
                player[0] = new Player(0, "", "A", map.MapX / 2, map.MapY / 2);
                player[1] = new Player(1, "", "B", map.MapX / 2, map.MapY / 2);
                player[2] = new Player(2, "", "C", map.MapX / 2, map.MapY / 2);
                player[3] = new Player(3, "", "D", map.MapX / 2, map.MapY / 2);

            }

            //cntPlayer = 4;
            //player = new Player[cntPlayer];
            //player[0] = new Player(0, "", "A", map.MapX / 2, map.MapY / 2);
            //player[1] = new Player(1, "", "B", map.MapX / 2, map.MapY / 2);
            //player[2] = new Player(2, "", "C", map.MapX / 2, map.MapY / 2);
            //player[3] = new Player(3, "", "D", map.MapX / 2, map.MapY / 2);
            //nowPlayerID = -1;

            alg = new Alg(this);
            help = new Help(this);
            Mover.game = this;

            nowPlayerID = -1;

            WaitReviving = true;

            NewRound();
        }
开发者ID:sugar10w,项目名称:NumberHero,代码行数:45,代码来源:Game.cs


示例19: Button1_Click

    protected void Button1_Click(object sender, EventArgs e)
    {
        Help help = new Help();
        help.Title = txt_title.Text;
        help.Content =FCKeditor1.Value;
        help.Cateid = Convert.ToInt32(dl_cate.SelectedValue);

        BLLhelp bllhelp = new BLLhelp();
        int result = bllhelp.insert(help);
        if (result>0)
        {
            Common.MessageAlert.AlertLocation(Page, "alert('添加成功');location.href='helplist.aspx'");
        }
        else
        {
            Common.MessageAlert.Alert(Page,"添加失败");
        }
    }
开发者ID:kavilee2012,项目名称:kvShop,代码行数:18,代码来源:helpadd.aspx.cs


示例20: Giris

        public Giris()
        {
            InitializeComponent();

            DB = new Database();
            HP = new Help();
            barkodSatir = new DataTable();
            table = new PdfPTable(4);

            button4.Enabled = false;
            button5.Enabled = false;
            button6.Enabled = false;
            button7.Enabled = false;
            button8.Enabled = false;
            button9.Enabled = false;

            panel2.Controls.Clear();
        }
开发者ID:semihozkoroglu,项目名称:bedix,代码行数:18,代码来源:Giris.cs



注:本文中的Help类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# HelpPageApiModel类代码示例发布时间:2022-05-24
下一篇:
C# Hello类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap