Пример #1
0
 public ConfigProperty(XmlNode station, frmSysConfig fm, string stationName)
 {
     form        = fm;
     thisNode    = station;
     StationName = stationName;
     Refish();
 }
Пример #2
0
                public override object EditValue(System.ComponentModel.ITypeDescriptorContext context, System.IServiceProvider provider, object value)
                {
                    IWindowsFormsEditorService edSvc = (IWindowsFormsEditorService)provider.GetService(typeof(IWindowsFormsEditorService));

                    if (edSvc != null)
                    {
                        frmSysConfig fsc = new frmSysConfig();
                        fsc.lineName = value.ToString();
                        fsc.ShowDialog();
                    }
                    return(value);
                }