예제 #1
0
        public MainForm()
        {
            InitializeComponent();
            this.Enabled = false; // input is disabled until we login to steam3

            Steam3.AddHandler(this);

            selfControl.IsHighlighted  = false;
            selfControl.BorderStyle    = BorderStyle.None;
            selfControl.CanOpenProfile = true;

            selfControl.DisableDoubleClick();

            sortTimer          = new Timer();
            sortTimer.Interval = 100;
            sortTimer.Tick    += new EventHandler(sortTimer_Tick);
        }
예제 #2
0
        public FriendControl()
        {
            InitializeComponent();

            btnAccept.Visible = false;
            btnDeny.Visible   = false;

            IsHighlighted = true;

            Steam3.AddHandler(this);

            this.MouseDoubleClick += FriendControl_MouseDoubleClick;
            this.MouseEnter       += FriendControl_MouseEnter;
            this.MouseLeave       += FriendControl_MouseLeave;

            foreach (Control ctrl in this.Controls)
            {
                ctrl.MouseDoubleClick += FriendControl_MouseDoubleClick;
                ctrl.MouseEnter       += FriendControl_MouseEnter;
                ctrl.MouseLeave       += FriendControl_MouseLeave;
            }
        }
예제 #3
0
        public ChatManager()
        {
            chatMap = new Dictionary <SteamID, ChatDialog>();

            Steam3.AddHandler(this);
        }