void on_jumps_runs_more_delete_event(object o, DeleteEventArgs args) { RunsMoreWindowBox.jumps_runs_more.Hide(); RunsMoreWindowBox = null; }
void on_button_cancel_clicked(object o, EventArgs args) { RunsMoreWindowBox.jumps_runs_more.Hide(); RunsMoreWindowBox = null; }
//when a run is done using runsMoreWindow, the accept doesn't destroy this instance, because //later we need data from it. //This is used for destroying, then if a new run type is added, it will be shown at first time clicking "more" button public void Destroy() { RunsMoreWindowBox = null; }
public static RunsMoreWindow Show(Gtk.Window parent, bool testOrDelete) { if (RunsMoreWindowBox == null) { RunsMoreWindowBox = new RunsMoreWindow (parent, testOrDelete); } RunsMoreWindowBox.jumps_runs_more.Show (); return RunsMoreWindowBox; }
private void on_run_type_delete_simple(object o, EventArgs args) { runsMoreWin = RunsMoreWindow.Show(app1, false); //delete run type }
private void on_run_type_delete_simple(object o, EventArgs args) { runsMoreWin = RunsMoreWindow.Show(app1, false); //delete run type runsMoreWin.Button_deleted_test.Clicked += new EventHandler(on_deleted_run_type); }