Tool interface of codebuilder

Source: Internet
Author: User
Code

Using System;
Using System. Collections. Generic;
Using System. drawing;
Using System. Windows. forms;
Using Faibclass. basepackage;

Namespace Faibclass. toolpackage
{
Public   Interface Ibasetool: ipackage
{
///   <Summary>
/// Development Framework.
///   </Summary>
Devframe { Set ; Get ;}
///   <Summary>
/// The icon on the menu.
///   </Summary>
Image image { Get ;}
///   <Summary>
/// Whether it is displayed at startup.
///   </Summary>
Bool Showitonstart { Get ;}
///   <Summary>
/// Processing When the tool is started.
///   </Summary>
Void Onstart ( Params   Object [] PARS );
///   <Summary>
/// Tool type.
///   </Summary>
Tooltype { Get ;}
///   <Summary>
/// Index
///   </Summary>
Int Index { Get ;}

///   <Summary>
/// Sub-tool set
///   </Summary>
List < Isubtool > Subtools { Get ;}
}
Public   Interface Itool: ibasetool
{
Applicationcontext content { Get ; Set ;}
///   <Summary>
/// Tool installation process.
///   </Summary>
Void Onsetup ();
///   <Summary>
/// After the table object is selected, it is processed in the tool.
///   </Summary>
///   <Param name = "OBJ"> </param>
Void Onselecttableobject ( Object OBJ );
///   <Summary>
/// Visible or not.
///   </Summary>
Bool Visible { Get ;}
}

Public InterfaceIsubtool: ibasetool
{
}

///   <Summary>
/// Tool type.
///   </Summary>
[Flags]
Public   Enum Tooltype
{
///   <Summary>
/// Tool menu.
///   </Summary>
Toolmenu =   1 ,
///   <Summary>
/// Table menu.
///   </Summary>
Tablemenu =   2 ,
///   <Summary>
/// Toolbar button.
///   </Summary>
Toolbutton =   4 ,
///   <Summary>
/// Tray menu.
///   </Summary>
Traymenu =   8
}
}

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.