Exemple #1
0
        public WmsgSend()
        {
            controlrequest       = new ControlRequest();
            datamng              = DataManager.getInstance();
            recvform             = RecvMsgs.getInstance();
            recvform.MainTextBox = string.Empty;
            recvform.Show();

            InitializeComponent();
        }
Exemple #2
0
        public static RecvMsgs getInstance()
        {
            mutex.WaitOne();

            if (instance == null)
            {
                instance = new RecvMsgs();
            }

            mutex.ReleaseMutex();

            return(instance);
        }