/// <summary> /// /// </summary> public frmMain() { InitializeComponent(); CommuniSoft.UISynchronizationContext = WindowsFormsSynchronizationContext.Current; CommuniSoft.IsUseUISynchronizationContext = true; this.tvStation.ImageList = YeHeCommuniServerApp.Default.ResourceManager.ImageList; appp = YeHeCommuniServer.YeHeCommuniServerApp.Default; appp.MainForm = this; this.Text = strings.AppName; this.SetListenPortText(); }
/// <summary> /// /// </summary> public frmMain() { InitializeComponent(); CommuniSoft.UISynchronizationContext = WindowsFormsSynchronizationContext.Current; CommuniSoft.IsUseUISynchronizationContext = true; this.tvStation.ImageList = YeHeCommuniServerApp.Default.ResourceManager.ImageList; appp = YeHeCommuniServer.YeHeCommuniServerApp.Default; appp.MainForm = this; this.Text = strings.AppName; this.SetListenPortText(); }