private void Add_Subject_Load(object sender, EventArgs e) { data = new data_class(); data.open_connection(); dt = data.select_subjects(); sub_grid_view.DataSource = dt; }
private void SubReports_Load(object sender, EventArgs e) { data = new data_class(); calculation = new calculation_class(); dt = new DataTable(); data.open_connection(); ds = data.select_custom_test(); select_box.ValueMember = "test_id"; select_box.DisplayMember = "test_name"; select_box.DataSource = ds; }
private void Add_Topic_Load(object sender, EventArgs e) { data = new data_class(); data.open_connection(); dt = data.select_topics_all(); sub_grid_view.DataSource = dt; DataTable sub = data.select_subjects(); comboBox1.ValueMember = "subject_id"; comboBox1.DisplayMember = "subject_name"; comboBox1.DataSource = sub; }
private void Sub_Sheet_Designer_Load(object sender, EventArgs e) { option = (int)option_type.NONE; bubbleWidth = 30; bubbleHeight = 30; X_bubbleSpace = x_space_bar.Value; Y_bubbleSpace = y_space_bar.Value; radius_bar.Value = bubbleWidth / 2; calculate = new calculation_class(); data = new data_class(); data.open_connection(); status_lbl.Text = "Ready"; }
public delete_test() { InitializeComponent(); data = new data_class(); data.open_connection(); }
// private void updater(object sender, RoutedEventArgs e) // { // MainWindow nove = new MainWindow(); // nove.InvalidateVisual(); // } private void Window_Loaded_1(object sender, RoutedEventArgs e) { objekt_data2 = new data_class(_datact); }
private void update_button_Loaded(object sender, RoutedEventArgs e) { _zastupce_tridy_dat = new data_class(_datact); }
public AnswerSheet() { InitializeComponent(); data = new data_class(); data.open_connection(); }
public SubUpdateBatch() { InitializeComponent(); data = new data_class(); data.open_connection(); }
//udalost po loadingu okna aneb nacteni observable kolekce lisboxem private void Window_Loaded_1(object sender, RoutedEventArgs e) { //inicialiazce instance datove tridy, ktera ziskava v parametru linqtosql context, jeho tables ulozi do sve kolekce _zastupce_tridy_dat = new data_class(_datact); //listbox ziska jako itemsource instance dataclass this.listbox1.ItemsSource = _zastupce_tridy_dat; }
public int core_number; //set the core number to get correct temp and load for this core // Start is called before the first frame update void Start() { //Set the data_class of the object to the internal data_class variable data_class data = data_getter.GetComponent <data_class>(); }
public SubSheetProcessor() { InitializeComponent(); data = new data_class(); data.open_connection(); }
public Form1() { InitializeComponent(); data = new data_class(); data.open_connection(); }
public Delete_Batch() { InitializeComponent(); data = new data_class(); data.open_connection(); }