Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Re: C# question
Hi shebo
Yes, Class B will call have to call a method in Class A, which is Amember()
Class A
{
private B instance = new B();
public Amember(string)
{
listBox1.Items.Add(); //post
}
}
Class B
{
i need to call Amember here
}
thanks
Re: C# question
Thanks for your reply
however, using static will caused another problem because Amember will call other funciton like listBox1.Items.Add(message), unless i make the listBox1 become static too.
I heard people suggest using delegate, however i have not success on that yet...
Hi:
I would like to ask some question about class in C#, my OO wasnt very good
i have a Class A, and Class B , what if class A require to have instance of class B, and class B need to call a memeber of class A, just 1 member, what should i do?
like the following:
public class A : other class...
mci_wave_set_parms
Dear sir:
Im trying to use mciSendCommand to select one sound card for playing wave, another for recording, however, i read MSDN and other sample i still cant get it right, and i couldnt find any C# sample on the internet. my code as follow:
MCI_WAVE_SET_PARMS parms = new...
c# volume control
Dear Sir:
Is there anyway to control the microphone mute, unmute and/or volume control by using either C++ or C# in simplest way? or P/Invoke is ok. THanks
Regards,
Louis
Dear Sir:
Im doing a project to build a DLL file in EVC++ and porting to WinCE with C#.(so C# will use the DLL file).
I have tried to use EVC C++ with the C++ DLL which is working wth the WinCE emulator. However, When i try to use C# (VS.NET) with the C++ dll file, and run it in the WinCE...
c# arraylist of class
Dear Sir:
Im new to C# and Im trying to assign multipe object into Arraylist and the code as follow:
using System;
using System.Collections;
class contact
{
public string Name
{
get
{
return name;
}
set
{
this.name=name; //should this be...
To get the standard AT command docuemnt you need the ETSI or 3GPP for TS0707 pdf, there are all inside the docuemnt for general mobile AT command.
www.etsi.org
Generally speaking, the AT command has similar to what we used on modem, however, its depends on the function of the modem. For...
Re: mobile phones
Its depends on which Mobile you using, and What solution(Chip) inside the MS.
Mostly, the MS has basic AT command + Manufacture extend. For the general one, you can visit ETSI and get the 3GPP TS 0707.
Command like AT+CKPD are specific for one solution, that's why you need to...
Dear Bilgekann:
Can you provide the Urls for those image compare tools? and if possible, are those tools able to compare the quality between 2 images? if not? any suggestion? thanks a LOT!
Louis
Dear Sir:
I have tried many method with AT command to set a voice modem to detect a real "NO Answer" if the target phone didnt pick up. such as:
ATS7=20;
ATD 1234567;
However, no matter if i pick up the call in the target phone or not, the modem always return "NO ANSWER" So my question is, is...
cin default value c++
Thanks a Lot Sir, it works!
char Chr[10]; //Chr is array
int number;
gets(Chr);//get strings
if(Chr[0]==0)//if Chr[0] is space
number=50;
else
number=atoi(Chr); // is valid
cout << number;
BTW, instead of using Char, is that possible to use Int for all variable...
default integer value + int + cpp
Sorry for any mistake. Actually, I want to write a program that will prompt for a user to enter an int value. If however, the user did not enter any value and just pressed enter, the program will use the default value.
For example
Int i=50; set the default...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.