public override string CyberFunc(CyberParams Params) { if (base_component != null) { return(base_component.CyberFunc(Params)); } return(""); }
public override string CyberFunc(CyberParams Params) { string cont = "No file"; if (File.Exists(Params.Path)) { string fileContent = File.ReadAllText(Params.Path); cont = Params.Name + " found at: " + fileContent.IndexOf(Params.Name).ToString(); } return(cont + "\n" + base_component.CyberFunc(Params)); }
private void find_Click(object sender, RoutedEventArgs e) { param = new CyberParams(filePath.Text, fileName.Text, urlPath.Text, searchFile.IsChecked.Value /*(filePath.Text != "")*/, searchUrl.IsChecked.Value /*urlPath.Text != ""*/); output.Text = Program.station1.ActivateSatellite(Id, param); }
public override string CyberFunc(CyberParams Params) { return("this url search" + "\n" + base_component.CyberFunc(Params)); }
//public virtual void AddString(string txt) //{ // text.AddLast(txt); //} public override string CyberFunc(CyberParams Params) { return(""); }
public abstract string CyberFunc(CyberParams Params);