Esempio n. 1
0
        //ChatListSubItem cm
        public CreateMeetingForm()
        {
            InitializeComponent();
            ChatListItem cli = new ChatListItem("主持人");

            height = this.Height;
            this.Height = this.cbxVote.Location.Y + 20;
            meetGrouplist.Location = new Point(meetGrouplist.Location.X, label1.Location.Y);

            btnAdd.Location = new Point(btnAdd.Location.X, this.Height - btnAdd.Height-5);
            MenuColorTable mct = new MenuColorTable();
            ToolStripRendererEx t = new ToolStripRendererEx(mct);
            cmsiAdd.Renderer = t;

            ChatListSubItem clsl = new ChatListSubItem(SysParams.LoginUser.UID.ToString(), SysParams.LoginUser.Name, (SysParams.LoginUser.Company));
            clsl.ID = SysParams.LoginUser.UID.ToString();//给初始化网络会议室的默认主持人ID复制

            clsl.HeadImage = SysParams.loginUserImage != SysParams.defaultHead ? (Image)SysParams.loginUserImage.Clone() : SysParams.loginUserImage;
            cli.SubItems.Add(clsl);
            cli.IsOpen = true;

            meetGrouplist.ChatListBox_group.Items.Insert(0, cli);
            meetGrouplist.SkinContextMenuStrip_Group.Items.Clear();
            meetGrouplist.SkinContextMenuStrip_Group.Items.Add("删除成员");
            meetGrouplist.SkinContextMenuStrip_Group.Items[0].Click += CreateMeetingForm_Click;
        }
Esempio n. 2
0
 public Control4()
 {
     this.int_0 = 120;
     this.method_0();
     this.method_1();
     this.menuColorTable_0 = new MenuColorTable();
 }
Esempio n. 3
0
 public Control0()
 {
     this.font_0      = new Font("宋体", 9f);
     this.int_0       = 0x1f;
     this.rectangle_4 = new Rectangle(0, 0, 0, 0);
     this.toolTip_0   = new ToolTip();
     this.bool_3      = true;
     this.method_13();
     this.method_2();
     this.point_0                      = new Point(-1, -1);
     this.menuColorTable_0             = new MenuColorTable();
     this.navigateMenuNodeCollection_0 = new NavigateMenuNodeCollection();
     this.list_0 = new List <NavigateMenuNodeRect>();
     this.navigateMenuNodeCollection_0.Changed += new EventHandler(this.navigateMenuNodeCollection_0_Changed);
 }
Esempio n. 4
0
 public Control1()
 {
     this.int_0       = 0x20;
     this.int_1       = 0x20;
     this.int_2       = 0x18;
     this.int_3       = 0x1a;
     this.int_4       = 12;
     this.int_5       = 0x2c;
     this.font_0      = new Font("宋体", 11f);
     this.font_1      = new Font("宋体", 10f);
     this.toolTip_0   = new ToolTip();
     this.rectangle_4 = new Rectangle(0, 0, 0, 0);
     this.method_0();
     this.method_3();
     this.list_0           = new List <NavigateMenuNodeRect>();
     this.menuColorTable_0 = new MenuColorTable();
     this.point_0          = new Point(-1, -1);
 }
Esempio n. 5
0
 public Control3()
 {
     this.int_0       = 0x20;
     this.int_1       = 10;
     this.int_2       = 0x20;
     this.int_3       = 20;
     this.int_4       = 30;
     this.int_5       = 0xea;
     this.int_6       = 6;
     this.font_0      = new Font("宋体", 10f);
     this.rectangle_0 = new Rectangle(0, 0, 0, 0);
     this.toolTip_0   = new ToolTip();
     this.method_14();
     this.method_4();
     this.menuColorTable_0           = new MenuColorTable();
     this.contextMenuStrip_0         = new ContextMenuStrip(this.container_0);
     this.toolStripMenuItem_1        = new ToolStripMenuItem();
     this.toolStripMenuItem_1.Text   = "显示更多菜单项";
     this.toolStripMenuItem_0        = new ToolStripMenuItem();
     this.toolStripMenuItem_0.Text   = "显示更少菜单项";
     this.toolStripMenuItem_1.Click += new EventHandler(this.toolStripMenuItem_1_Click);
     this.toolStripMenuItem_0.Click += new EventHandler(this.toolStripMenuItem_0_Click);
     this.list_0 = new List <NavigateMenuNodeRect>();
 }