Click here to Skip to main content
15,915,750 members
Home / Discussions / C#
   

C#

 
AnswerRe: Showing system time in application Pin
Christian Graus14-Nov-07 23:19
protectorChristian Graus14-Nov-07 23:19 
QuestionWeb Services Pin
Garth Styer14-Nov-07 23:05
Garth Styer14-Nov-07 23:05 
AnswerRe: Web Services Pin
Christian Graus14-Nov-07 23:19
protectorChristian Graus14-Nov-07 23:19 
GeneralRe: Web Services Pin
Garth Styer14-Nov-07 23:27
Garth Styer14-Nov-07 23:27 
AnswerRe: Web Services Pin
Andrei Ungureanu14-Nov-07 23:20
Andrei Ungureanu14-Nov-07 23:20 
GeneralRe: Web Services Pin
Garth Styer14-Nov-07 23:26
Garth Styer14-Nov-07 23:26 
QuestionClosing and opening button's bacground images by sequential clicks. [modified] Pin
omegazafer14-Nov-07 22:58
omegazafer14-Nov-07 22:58 
AnswerRe: Closing and opening button's bacground images by sequential clicks. Pin
omegazafer14-Nov-07 23:52
omegazafer14-Nov-07 23:52 
QuestionHelp needed - Extracting data from Excel to Access Pin
drawmylyfe14-Nov-07 22:52
drawmylyfe14-Nov-07 22:52 
AnswerRe: Help needed - Extracting data from Excel to Access Pin
Andrei Ungureanu14-Nov-07 22:58
Andrei Ungureanu14-Nov-07 22:58 
GeneralRe: Help needed - Extracting data from Excel to Access Pin
drawmylyfe14-Nov-07 23:11
drawmylyfe14-Nov-07 23:11 
GeneralRe: Help needed - Extracting data from Excel to Access Pin
Andrei Ungureanu14-Nov-07 23:17
Andrei Ungureanu14-Nov-07 23:17 
GeneralRe: Help needed - Extracting data from Excel to Access Pin
drawmylyfe15-Nov-07 3:26
drawmylyfe15-Nov-07 3:26 
AnswerRe: Help needed - Extracting data from Excel to Access Pin
Satish - Developer15-Nov-07 0:22
Satish - Developer15-Nov-07 0:22 
GeneralRe: Help needed - Extracting data from Excel to Access Pin
drawmylyfe15-Nov-07 3:31
drawmylyfe15-Nov-07 3:31 
QuestionRipping CD+G discs Pin
SreeniTheGinie14-Nov-07 22:50
SreeniTheGinie14-Nov-07 22:50 
QuestionSynchronize two scrollbars Pin
stancrm14-Nov-07 22:50
stancrm14-Nov-07 22:50 
AnswerRe: Synchronize two scrollbars Pin
Christian Graus14-Nov-07 23:22
protectorChristian Graus14-Nov-07 23:22 
AnswerRe: Synchronize two scrollbars Pin
Martin#14-Nov-07 23:41
Martin#14-Nov-07 23:41 
QuestionInputLanguage Pin
SVb.net14-Nov-07 22:37
SVb.net14-Nov-07 22:37 
QuestionInputLanguage Pin
SVb.net14-Nov-07 22:36
SVb.net14-Nov-07 22:36 
QuestionHow to: Override function with other function, that already exists? [modified] (Unanswered!) Pin
alex_inside14-Nov-07 22:14
alex_inside14-Nov-07 22:14 
public abstract class Test_setting_date_value_base : My_test_base
{

[Step ("2.INHERITED attribute")]
protected abstract bool s2_custom (object data);
protected abstract bool s7_custom (object data);

protected bool s7_goto_datetime_month_value_and_press_ok_up (object data)
{//do something
}


public override BlaTests.Test_step [] get_steps ()
{
Test_step [] steps =
{
s1_initialise,
s2_custom,
//...
s7_custom,
s12_deactivate
};

return (steps);
}
}



public class Test_setting_date_value_1 : Test_setting_date_value_base
{
protected override bool s2_custom (object data)
{
return set_date (30, 11, 2003);
}

protected override bool s7_custom (object data)
{
return s7_goto_datetime_month_value_and_press_ok_up (data);
}
}





Is it possible to do for a class the function that overrides previous implementation by setting 'pointer to function' like in JavaScript? I.e. I want something like that in second class (Test_setting_date_value_1):

protected new bool s7_custom = s7_goto_datetime_month_value_and_press_ok_up ;


I dont' know, but it somehow connected to keyword delegate.


-- modified at 5:14 Thursday 15th November, 2007
QuestionRe: Set function to other function. C# (I mean I want that:) Pin
alex_inside15-Nov-07 0:29
alex_inside15-Nov-07 0:29 
QuestionChoosing and setting a control's property programatically Pin
Dewald14-Nov-07 21:59
Dewald14-Nov-07 21:59 
AnswerRe: Choosing and setting a control's property programatically Pin
Martin#14-Nov-07 22:07
Martin#14-Nov-07 22:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.