当前位置: 首页>>代码示例>>C#>>正文


C# Form2.Execute方法代码示例

本文整理汇总了C#中Form2.Execute方法的典型用法代码示例。如果您正苦于以下问题:C# Form2.Execute方法的具体用法?C# Form2.Execute怎么用?C# Form2.Execute使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Form2的用法示例。


在下文中一共展示了Form2.Execute方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: f2Exec

 private void f2Exec(string[] names)
 {
     if (String.IsNullOrEmpty(baseUrlTextbox.Text))
     {
         if (MessageBox.Show("Use html data from clipboard?", "No BaseUrl specified", MessageBoxButtons.OKCancel) == DialogResult.OK)
         {
             Form2 f2 = new Form2();
             f2.Execute(String.Empty, Clipboard.GetText(), null, names, true);
         }
     }
     else
         F2Execute(String.Empty, baseUrlTextbox.Text, names, true);
 }
开发者ID:leesanghyun2,项目名称:mp-onlinevideos2,代码行数:13,代码来源:Form1.cs

示例2: CreateVideoUrlRegexButton_Click

 private void CreateVideoUrlRegexButton_Click(object sender, EventArgs e)
 {
     VideoInfo video = GetTreeViewSelectedNode() as VideoInfo;
     if (video != null)
     {
         Form2 f2 = new Form2();
         videoUrlRegExTextBox.Text = f2.Execute(videoUrlRegExTextBox.Text, video.VideoUrl, null,
             new string[] { "m0", "m1", "m2" }, false);
     }
     else
         MessageBox.Show("no valid video selected");
 }
开发者ID:leesanghyun2,项目名称:mp-onlinevideos2,代码行数:12,代码来源:Form1.cs

示例3: CreateFileUrlRegexButton_Click

        private void CreateFileUrlRegexButton_Click(object sender, EventArgs e)
        {
            GuiToUtil(generic);
            if (String.IsNullOrEmpty(playListUrlResultTextBox.Text))
                MessageBox.Show("PlaylistUrlResult is empty");
            else
            {
                string webData;
                string post = (string)GetProperty(generic, "fileUrlPostString");
                if (String.IsNullOrEmpty(post))
                    webData = WebCache.Instance.GetWebData(playListUrlResultTextBox.Text, forceUTF8: GetForceUTF8(),
                            cookies: GetCookieContainer());
                else
                    webData = WebCache.Instance.GetWebData(playListUrlResultTextBox.Text, post, forceUTF8: GetForceUTF8(),
                            cookies: GetCookieContainer());

                Form2 f2 = new Form2();
                fileUrlRegexTextBox.Text = f2.Execute(fileUrlRegexTextBox.Text, webData, playListUrlResultTextBox.Text,
                    new string[] { "m0", "m1", "m2", "n0", "n1", "n2" }, false);
            }
        }
开发者ID:leesanghyun2,项目名称:mp-onlinevideos2,代码行数:21,代码来源:Form1.cs

示例4: F2Execute

 private string F2Execute(string regexString, string url, string[] names, bool cleanupValues)
 {
     Form2 f2 = new Form2();
     return f2.Execute(regexString, url, names, cleanupValues, GetForceUTF8(), GetCookieContainer());
 }
开发者ID:leesanghyun2,项目名称:mp-onlinevideos2,代码行数:5,代码来源:Form1.cs


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