public static int Execute(List <string> args) { NonstopFile items = new NonstopFile(args[0]); NonstopForm itemForm = new NonstopForm(items); itemForm.Show(); return(0); }
public static int Execute(List <string> args) { if (args.Count < 1) { System.Windows.Forms.MessageBox.Show("Requires 1 argument, path to nonstop data file."); return(-1); } NonstopFile items = new NonstopFile(args[0]); NonstopForm itemForm = new NonstopForm(items); itemForm.Show(); return(0); }