Inheritance: IBugTraqProvider2
示例#1
0
        public IssuesForm(Plugin plugin)
        {
            InitializeComponent();

            Plugin.lang.langProcess(this);

            this.plugin = plugin;

            bugList.Tag = SearchOperate.BUG;
            taskList.Tag = SearchOperate.TASK;
        }
        public SiteManageForm(Plugin plugin)
        {
            InitializeComponent();

            editForm = new SiteEditForm(this);
            this.plugin = plugin;
            dbManage = new DbManage();

            initSiteList();
            Plugin.lang.langProcess(this);

            this.statusStrip1.Hide();
        }
示例#3
0
        static void Main(string[] argv)
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            Plugin plugin = new Plugin();
            Plugin.lang.load("Chinese");

            plugin.installPlugin();

            if (plugin.isPluginInstalled())
            {
                MessageBox.Show(Plugin.lang.getText("InstallSuccess"));
            }
            else{
                MessageBox.Show(Plugin.lang.getText("InstallFailed"));
            }
        }