/// <summary> /// 생성자 /// </summary> /// <param name="PAlmScreenUIController"></param> public OrderGroupEditForm(PAlmScreenUIController orderView) : this() { this.orderView = orderView; this.provInfo = this.orderView.ProvInfo; this.Init(); }
/// <summary> /// 생성자 /// </summary> /// <param name="mainForm">MainForm에서 넘겨주는 참조</param> public PDAlmScreenBiz(MainForm mainForm) : this() { this.mainForm = mainForm; this.provInfo = this.mainForm.ProvInfo; this.TtsDelay = this.mainForm.TtsDelayTime; }
/// <summary> /// 생성자 /// </summary> /// <param name="provInfo"></param> public TermDestination(ProvInfo provInfo) : this() { this.provInfo = provInfo; this.InitTreeView(); this.InitListView(); }
/// <summary> /// 생성자 /// </summary> /// <param name="main">MainForm에서 넘겨주는 참조</param> public DeviceMonitorView(MainForm main) : this() { this.main = main; this.centInfo = main.CentInfo; this.centInfo2 = main.CentInfo2; this.provInfo = main.ProvInfo; }
/// <summary> /// 생성자 /// </summary> /// <param name="mainForm"></param> public ReOrderViewForm(MainForm mainForm) : this() { this.mainForm = mainForm; this.provInfo = mainForm.ProvInfo; this.timer = new Timer(); this.timer.Interval = 1000; this.timer.Tick += new EventHandler(timer_Tick); this.timer.Start(); }
/// <summary> /// 생성자 /// </summary> /// <param name="orderview"></param> /// <param name="type">1-단말그룹, 2-시군그룹</param> public OrderGroupEditForm(OrderView19201080 orderview, byte type, NCasButton button) : this() { if (type == 2) { this.isTerm = false; } this.provInfo = orderview.ProvInfo; this.ncasButton = button; this.Init(); }
/// <summary> /// 서버 로컬IP를 받아 해당하는 MMF파일을 로드한다. /// </summary> /// <param name="localIpAddr">서버 로컬IP</param> private void InitMmfInfo(string localIpAddr) { this.mmfMng = new NCasMMFMng(); this.mmfMng.LoadAllMMF(); #if release this.provInfo = this.mmfMng.GetProvInfoByNetId(localIpAddr); #endif #if debug this.provInfo = this.mmfMng.GetProvInfoByNetId("10.112.1.231"); #endif if (this.provInfo == null) { MessageBox.Show("데이터파일을 정상적으로 로드하지 못했습니다.", "데이터파일 로드", MessageBoxButtons.OK, MessageBoxIcon.Error); throw new Exception("MainForm.InitMmfInfo(string localIpAddr) Method Error!"); } }
public Customer(NewMainWindow owner) { Owner = owner; this.Hosts = new List <Host>(); this.Info = new ObservableCollection <BindingListItem>(); this.Employees = new List <Employee>(); //ContextMenuCreate(); //CustomerContextMenuCreate(); Provider = new ProvInfo(); Provider.Info = new ObservableCollection <BindingListItem>(); //LoadPopup(); ListViewHostsInCustomer = new ListView(); ListViewHostsInCustomer.DataContext = this; //Binding myBind = new Binding("SelectedIPTest"); //Binding selIPCust = new Binding("SelectedIPInCustomer"); //selIPCust.Source = Owner; //Binding selIPCust = new Binding("SelectedIPInCustomer"); //selIPCust.Source = Owner; //SetBinding(SelectedIPProperty, selIPCust); //Binding commentCust = new Binding("Text"); //commentCust.Source = Owner.TTPinComment; //this.SetBinding(CommentProperty, commentCust); //ListViewHostsInCustomer.SetBinding(System.Windows.Controls.ListView.SelectedItemProperty, selIPCust); //Binding ipArrayBind = new Binding("IPArray"); //ipArrayBind.UpdateSourceTrigger = UpdateSourceTrigger.PropertyChanged; //ipArrayBind.Source = this; //ipArrayBind.Source = IPArray; //ipArrayBind.Mode = BindingMode.OneWay; //ListViewHostsInCustomer.SetBinding(ListView.ItemsSourceProperty, ipArrayBind); //FillCustomer(); }
/// <summary> /// 생성자 /// </summary> /// <param name="main">MainForm에서 넘겨주는 참조</param> public PBrdScreenBiz(MainForm mainForm) : this() { this.mainForm = mainForm; this.provInfo = this.mainForm.ProvInfo; }
/// <summary> /// 생성자 /// </summary> /// <param name="main">MainForm에서 넘겨주는 참조</param> public OrderResultView(MainForm main) : this() { this.main = main; this.provInfo = main.ProvInfo; }
public OptionForm(ProvInfo provInfo) { InitializeComponent(); this.provInfo = provInfo; this.Init(); }