프로젝트

일반

사용자정보

개정판 7b031678

ID7b03167823793d514aac45c83183eb87394201e4
상위 b5f9f7fb
하위 14963423

임예철이(가) 9달 전에 추가함

all text type previous 적용

Change-Id: I0958671f319dbece1aa5325a70e6280aceecc38b

차이점 보기:

KCOM/Views/MainMenu.xaml.cs
3993 3993
                                    (currentControl as TextControl).ApplyTemplate();
3994 3994
                                    (currentControl as TextControl).Base_TextBox.Focus();
3995 3995
                                    (currentControl as TextControl).SetFontFamily(this.ParentOfType<MainWindow>().dzTopMenu.GetFontFamily().FontFamily);
3996

  
3997
                                    if (previousControl == null)
3998
                                    {
3999
                                        previousControl = currentControl as TextControl;
4000
                                    }
4001
                                    else
4002
                                    {
4003
                                        var vPreviousControl = previousControl as TextControl;
4004
                                        if (string.IsNullOrEmpty(vPreviousControl.Text))
4005
                                        {
4006
                                            DeleteCommand.Instance.Execute(new[] { previousControl });
4007
                                            previousControl = null;
4008
                                        }
4009
                                        else
4010
                                        {
4011
                                            previousControl = currentControl as TextControl;
4012
                                        }
4013
                                    }
3996 4014
                                    CreateCommand.Instance.Execute(currentControl);
4015
                                    if (previousControl == null)
4016
                                        previousControl = currentControl;
3997 4017
                                }
3998 4018
                            }
3999 4019
                        }
......
4028 4048
                                    (currentControl as TextControl).SetFontFamily(this.ParentOfType<MainWindow>().dzTopMenu.GetFontFamily().FontFamily);
4029 4049

  
4030 4050
                                    (currentControl as TextControl).Base_TextBox.Focus();
4051
                                    if (previousControl == null)
4052
                                    {
4053
                                        previousControl = currentControl as TextControl;
4054
                                    }
4055
                                    else
4056
                                    {
4057
                                        var vPreviousControl = previousControl as TextControl;
4058
                                        if (string.IsNullOrEmpty(vPreviousControl.Text))
4059
                                        {
4060
                                            DeleteCommand.Instance.Execute(new[] { previousControl });
4061
                                            previousControl = null;
4062
                                        }
4063
                                        else
4064
                                        {
4065
                                            previousControl = currentControl as TextControl;
4066
                                        }
4067
                                    }
4031 4068
                                    CreateCommand.Instance.Execute(currentControl);
4032
                                    
4069
                                    if (previousControl == null)
4070
                                        previousControl = currentControl;
4071

  
4033 4072
                                    //currentControl = null;
4034 4073
                                }
4035 4074
                            }

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)