C#宏程序/应用程序 [英] C# Macro Program/application

查看:95
本文介绍了C#宏程序/应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我不想创建一个c#应用程序,它通过使用宏来简化编写器的生命周期。我知道这个工具已经存在于众所周知的程序中,例如Word或OpenOffice。但是,我想将这个额外的"工具"(宏程序)添加到我已经完成的主程序中。

那么,这个程序应该做的是替换句子的键绑定(即!DP)进入鹿父母,..或者Ctrl + L进入期待..)。

这些是程序应具备的特性:
1- Windows形式,带有textarea写入其中。 (这里是用户键入他/她的文本并应用宏的情况)
2-具有宏观选项的窗口(用户键入要替换的句子的文本区域和键绑定进入的文本框)和显然是一个应用按钮。
3-一个'复制到剪贴板'按钮,用户复制在textarea中写入的所有内容(来自特征号1)。

我希望我能大声解释自己并清楚。 简而言之,我只需要ac#程序写入,用户可以选择然后应用宏,最后将其复制到Gmail,Hotmail等。

非常非常感谢您。
您需要的任何额外信息请告诉我。顺便说一下,我不希望有人为我编码,但是引导我并给我一些提示 ..谢谢! Chris。

Hello,
I wan't to create a c# application which simplifies the life of a writer by using macros. I know this tool already exists in well-known programs such as Word or OpenOffice. However, I want to add this extra 'tool' (the macro program) to a main program I've already done.

So, what this program should do is replace keybindings for sentences (i.e. !DP into Deer Parents,.. or Ctrl+L into Looking forward to..).

These are the characteristics the program should have:
1- Windows form with a textarea to write in it. (here is where the user types his/her text and applies the macros)
2- A window with the macroing options (a textarea where the user types the sentence to be replaced and a textbox where the keybinding comes in) and obviously an apply button.
3- A 'copy-to-clipboard' button where the user copies everything written in the textarea (from characteristic number 1).

I hope I explained myself loud and clear. To make it short, I just need a c# program to write in, where the user can choose and then apply macros to finally copy it onto i.e. Gmail, hotmail, etc..

Thanks you very, very much in advance.
Any extra info you'll need please let me know. And, by the way, I don't want someone to code this FOR me, but guide me and give me some hints .. Thank you!
Chris.

推荐答案

一些额外的信息:
我没有创建这个应用程序的思维导图。第一。

程序布局:Windows窗体(文本框,复制按钮,退出按钮)顶栏(文件>退出;选项> 宏窗口 (键绑定,替换句子,应用按钮)

Some extra info:
I did not create a mind-map of this app. first.

Program Layout: Windows form (Textbox, copy button, exit button) Top-bar (File>Exit ; Options>Macros ) Macros-window (Keybinding, Replace-sentence, apply button)

这些是'if'值以及出现错误时的程序响应: Keybindings将是'pre '-制作。意思是,用户将无法在按键之间进行选择,只能在字母之间进行选择。 (即'Ctrl'将是强制性的,创建宏的键绑定的字母将由用户选择.Ctrl只是一个例子。)

These are the 'if' values and the program responses in case of an error: Keybindings will be 'pre'-made. Meaning, user won't be able to choose between the key-button, only the letter. (i.e. 'Ctrl' will be obligatory and the letter which creates the keybinding for the macro will be chosen by user. Ctrl is just an example.)

键绑定文本框只允许用户输入最多3个字符。

The keybinding textbox will only allow user to type a maximum of 3 characters.

替换句子文本框具有非常高的字符限制,允许用户替换长句。

The replace-sentence texboxes have a very high limit of characters, allowing user to replace long sentences.

我希望能更好地了解我的内容我很期待。

I hope gives a better idea of what I'm looking forward to.

Chris。


这篇关于C#宏程序/应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆