public static void SagOpdater() { //Create a new instance of the SagUI class SagUI sagUI = new SagUI(); // Show the settings form sagUI.Show(); sagUI.GetOpretSagKnap().Visible = false; sagUI.GetHentSagKnap().Visible = false; sagUI.GetSletSagKnap().Visible = false; }
public static void SagHent() { //Create a new instance of the SagUI class SagUI sagUI = new SagUI(); // Show the settings form sagUI.Show(); sagUI.GetOpretSagKnap().Visible = false; sagUI.GetClearOpretSag().Visible = false; sagUI.GetSletSagKnap().Visible = false; sagUI.DisableAll(); sagUI.GetSagsIDTekstboks().Enabled = true; }
public static void SagOpret() { //Create a new instance of the SagUI class SagUI sagUI = new SagUI(); // Show the settings form sagUI.Show(); sagUI.GetHentSagKnap().Visible = false; sagUI.GetOpdaterSagKnap().Visible = false; sagUI.GetSletSagKnap().Visible = false; sagUI.GetAllowRedigeringSagKnap().Visible = false; sagUI.GetClearHentKnap().Visible = false; sagUI.GetSagsIDTekstboks().Enabled = false; }
public static void SagSlet() { //Create a new instance of the SagUI class SagUI sagUI = new SagUI(); // Show the settings form sagUI.Show(); sagUI.GetOpretSagKnap().Visible = false; sagUI.GetClearOpretSag().Visible = false; sagUI.GetHentSagKnap().Visible = false; sagUI.GetAllowRedigeringSagKnap().Visible = false; sagUI.GetOpdaterSagKnap().Visible = false; sagUI.GetSagStatusComboboks().Enabled = false; sagUI.GetSagBoligIDComboboks().Enabled = false; sagUI.GetSagSælgerIDComboboks().Enabled = false; sagUI.GetSagMæglerIDComboboks().Enabled = false; }