/// <summary> /// Constructor /// </summary> /// <param name="theChatWindow">The chat window to print info to</param> /// <param name="thePipeMessageSender">The PipeMessage sending interface</param> public PipeGameBaseForm(IClientChatWindow theChatWindow, IPipeMessageSender thePipeMessageSender) { ChatWindow = theChatWindow; PipeSender = thePipeMessageSender; // Create the handle so we can make changes to the form before it is shown CreateHandle(); this.FormClosing += OnFormClosing; }
/// <summary> /// Constructor /// </summary> /// <param name="theChatWindow">The chat window to print info to</param> /// <param name="thePipeMessageSender">The PipeMessage sending interface</param> public UserListForm(IClientChatWindow theChatWindow, IPipeMessageSender thePipeMessageSender) : base(theChatWindow, thePipeMessageSender) { InitializeComponent(); }
/// <summary> /// Constructor /// </summary> /// <param name="theChatWindow">The chat window to print info to</param> /// <param name="thePipeMessageSender">The PipeMessage sending interface</param> public ImageSharingForm(IClientChatWindow theChatWindow, IPipeMessageSender thePipeMessageSender) : base(theChatWindow, thePipeMessageSender) { InitializeComponent(); this.itsLabelFileName.Text = string.Empty; this.itsLabelSenderName.Text = string.Empty; }
/// <summary> /// Constructor /// </summary> /// <param name="theChatWindow">The chat window to print info to</param> /// <param name="thePipeMessageSender">The PipeMessage sending interface</param> public NumberGameForm(IClientChatWindow theChatWindow, IPipeMessageSender thePipeMessageSender) : base(theChatWindow, thePipeMessageSender) { InitializeComponent(); }