Click here to Skip to main content
15,891,033 members
Home / Discussions / C#
   

C#

 
GeneralRe: Syntax error: Missing operand after 'Percent' operator. Pin
Richard A Knox12-Feb-22 2:04
Richard A Knox12-Feb-22 2:04 
GeneralRe: Syntax error: Missing operand after 'Percent' operator. Pin
OriginalGriff12-Feb-22 2:18
mveOriginalGriff12-Feb-22 2:18 
AnswerRe: Syntax error: Missing operand after 'Percent' operator. Pin
jsc4215-Feb-22 5:48
professionaljsc4215-Feb-22 5:48 
QuestionI can not see inside my phone directory branch when I plug it into my PC Pin
_Q12_9-Feb-22 22:51
_Q12_9-Feb-22 22:51 
AnswerRe: I can not see inside my phone directory branch when I plug it into my PC Pin
OriginalGriff9-Feb-22 23:09
mveOriginalGriff9-Feb-22 23:09 
GeneralRe: I can not see inside my phone directory branch when I plug it into my PC Pin
_Q12_9-Feb-22 23:33
_Q12_9-Feb-22 23:33 
GeneralRe: I can not see inside my phone directory branch when I plug it into my PC Pin
OriginalGriff10-Feb-22 0:14
mveOriginalGriff10-Feb-22 0:14 
GeneralMessage Closed Pin
10-Feb-22 0:39
_Q12_10-Feb-22 0:39 
GeneralMessage Closed Pin
10-Feb-22 0:52
_Q12_10-Feb-22 0:52 
GeneralMessage Closed Pin
10-Feb-22 0:55
_Q12_10-Feb-22 0:55 
GeneralRe: I can not see inside my phone directory branch when I plug it into my PC Pin
_Q12_10-Feb-22 1:38
_Q12_10-Feb-22 1:38 
GeneralRe: I can not see inside my phone directory branch when I plug it into my PC Pin
_Q12_10-Feb-22 3:05
_Q12_10-Feb-22 3:05 
GeneralRe: I can not see inside my phone directory branch when I plug it into my PC Pin
OriginalGriff10-Feb-22 3:58
mveOriginalGriff10-Feb-22 3:58 
GeneralRe: I can not see inside my phone directory branch when I plug it into my PC Pin
_Q12_15-Feb-22 1:46
_Q12_15-Feb-22 1:46 
GeneralRe: I can not see inside my phone directory branch when I plug it into my PC Pin
OriginalGriff15-Feb-22 2:15
mveOriginalGriff15-Feb-22 2:15 
GeneralRe: I can not see inside my phone directory branch when I plug it into my PC Pin
_Q12_9-Feb-22 23:39
_Q12_9-Feb-22 23:39 
AnswerRe: I can not see inside my phone directory branch when I plug it into my PC Pin
trønderen10-Feb-22 6:25
trønderen10-Feb-22 6:25 
GeneralRe: I can not see inside my phone directory branch when I plug it into my PC Pin
Richard Andrew x6410-Feb-22 9:25
professionalRichard Andrew x6410-Feb-22 9:25 
QuestionIt doesn't seem like resizable forms are inheritable Pin
RobertSF9-Feb-22 10:44
professionalRobertSF9-Feb-22 10:44 
AnswerRe: It doesn't seem like resizable forms are inheritable Pin
Eddy Vluggen9-Feb-22 10:59
professionalEddy Vluggen9-Feb-22 10:59 
GeneralRe: It doesn't seem like resizable forms are inheritable Pin
RobertSF9-Feb-22 11:01
professionalRobertSF9-Feb-22 11:01 
GeneralRe: It doesn't seem like resizable forms are inheritable Pin
Eddy Vluggen9-Feb-22 11:08
professionalEddy Vluggen9-Feb-22 11:08 
AnswerRe: It doesn't seem like resizable forms are inheritable Pin
OriginalGriff9-Feb-22 20:09
mveOriginalGriff9-Feb-22 20:09 
I inherit from resizable WinForms quite often (mostly to provide a common "look and feel" plus I use large image buttons and fonts that all forms need - and it works well:
    public partial class FormBase : Form
        {
...
        }

    public partial class FrmMain : FormBase
        {
...
        }


The "standard" buttons are set in FrmBase, and all derived forms include them.

The only PITA for me is that the base form cannot be abstract because the designer can't cope unless you add a dummy concrete class "in the middle" for design mode only (which I hate because it means I'm not testing the same code I'll use in production).

I've never had a problem with Anchoring or Docking - what exactly is happening to your derived form when you resize it?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!

GeneralRe: It doesn't seem like resizable forms are inheritable Pin
RobertSF10-Feb-22 5:25
professionalRobertSF10-Feb-22 5:25 
GeneralRe: It doesn't seem like resizable forms are inheritable Pin
OriginalGriff10-Feb-22 5:34
mveOriginalGriff10-Feb-22 5:34 

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.